* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #f4f6f8 0%, #eef2f7 100%);
    color: #1f2937;
}

.page {
    min-height: 100vh;
    padding: 32px 20px 56px;
}

.hero,
.benefits-section,
.form-section {
    display: flex;
    justify-content: center;
}

.hero {
    margin-bottom: 24px;
}

.benefits-section {
    margin-bottom: 24px;
}

.hero-card,
.benefits-card {
    width: 100%;
    max-width: 1100px;
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(17, 24, 39, 0.04);
}

.section-badge,
.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 700;
}

.hero-title {
    margin: 0 0 14px;
    font-size: 46px;
    line-height: 1.08;
    color: #111827;
    letter-spacing: -0.02em;
}

.hero-subtitle,
.section-subtitle,
.subtitle {
    color: #6b7280;
    line-height: 1.55;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 18px;
}

.section-title {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    color: #111827;
}

.section-subtitle {
    margin: 0 0 24px;
    max-width: 780px;
    font-size: 17px;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-action {
    appearance: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #dbe3ee;
    background: #fff;
    color: #111827;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.hero-action-title {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.hero-action-text {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.hero-action-primary {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    border-color: #111827;
    color: #fff;
}

.hero-action-primary .hero-action-text {
    color: rgba(255, 255, 255, 0.8);
}

.hero-action-secondary {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    border-color: #c7d7f3;
}

.hero-action-disabled {
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
    border-color: #e5e7eb;
    cursor: default;
    opacity: 0.92;
}

.hero-action-disabled:hover {
    transform: none;
    box-shadow: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.benefit-item {
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    padding: 22px;
}

.benefit-title {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    color: #111827;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.card {
    width: 100%;
    max-width: 760px;
    background: white;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

#formScreen {
    position: relative;
    padding: 4px 2px 2px;
}

#formScreen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 10%, rgba(219, 234, 254, 0.36) 0, rgba(219, 234, 254, 0) 24%),
        radial-gradient(circle at 86% 6%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 22%);
    pointer-events: none;
}

#formScreen > * {
    position: relative;
    z-index: 1;
}

.form-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.subtitle {
    margin-top: 0;
    margin-bottom: 26px;
    max-width: 640px;
    font-size: 17px;
    color: #64748b;
}

.steps-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 14px 28px rgba(15, 23, 42, 0.04);
}

.step-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 88px;
    padding: 14px 14px 13px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 255, 0.88) 100%);
    border: 1px solid rgba(219, 234, 254, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 20px rgba(15, 23, 42, 0.03);
}

.step-item::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 9px;
    border: 1px solid rgba(203, 213, 225, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    opacity: 0.92;
}

.step-item-mall::after {
    background:
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 15px / 10px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 11px / 8px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 7px / 6px 6px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(240, 245, 252, 0.84) 100%);
}

.step-item-plate::after {
    background:
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 5px 11px / 4px 4px no-repeat,
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 13px 11px / 4px 4px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 11px / 12px 6px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(240, 245, 252, 0.84) 100%);
}

.step-item-evidence::after {
    background:
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 14px / 10px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 10px / 10px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.92) 0 0) center 6px / 6px 6px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(240, 245, 252, 0.84) 100%);
}

.step-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef4ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.07);
}

.step-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    padding-right: 24px;
}

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

.form > label:not(.checkbox) {
    padding: 14px 14px 12px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 255, 0.84) 100%);
    border: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 22px rgba(15, 23, 42, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form > label:not(.checkbox):hover {
    border-color: rgba(203, 213, 225, 0.96);
}

.form > label:not(.checkbox):focus-within {
    border-color: rgba(59, 130, 246, 0.34);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.08),
        0 16px 28px rgba(15, 23, 42, 0.06);
}

label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label:not(.checkbox) > span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.field-group > span::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 16px rgba(15, 23, 42, 0.04);
}

.field-group-mall > span::before {
    background:
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 18px / 14px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 13px / 10px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 9px / 6px 6px no-repeat,
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.field-group-plate > span::before {
    background:
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 6px 14px / 4px 4px no-repeat,
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 18px 14px / 4px 4px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 14px / 14px 7px no-repeat,
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.field-group-benefit > span::before {
    background:
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 17px / 12px 2px no-repeat,
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 8px 10px / 4px 4px no-repeat,
        radial-gradient(circle, rgba(148, 163, 184, 0.95) 0 1px, transparent 2px) 8px 17px / 4px 4px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) 14px 10px / 8px 2px no-repeat,
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.field-group-evidence > span::before {
    background:
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 18px / 12px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 13px / 12px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 8px / 8px 6px no-repeat,
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfdff 0%, #f7fafd 100%);
    border: 1px solid #dbe6f2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.checkbox:hover {
    border-color: #cbd8e6;
}

.checkbox:focus-within {
    border-color: rgba(59, 130, 246, 0.34);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.08),
        0 14px 24px rgba(15, 23, 42, 0.04);
}

.checkbox span {
    font-weight: 600;
    line-height: 1.45;
    color: #334155;
}

input,
select,
button {
    font: inherit;
}

input,
select {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid #d7dee8;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 20px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:hover,
select:hover {
    border-color: #c7d2df;
}

input:focus,
select:focus {
    outline: none;
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow:
        0 0 0 5px rgba(59, 130, 246, 0.12),
        0 16px 28px rgba(15, 23, 42, 0.08);
}

input[type="file"] {
    padding: 10px 12px;
    line-height: 1.4;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.06);
}

.checkbox input {
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 2px;
    padding: 0;
    border-radius: 7px;
    border: 1px solid #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 6px 10px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.checkbox input:hover {
    transform: translateY(-1px);
    border-color: #94a3b8;
}

.checkbox input:checked {
    border-color: #0f172a;
    background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 10px 16px rgba(15, 23, 42, 0.12);
}

.checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(40deg);
}

.checkbox input:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.12),
        0 10px 16px rgba(15, 23, 42, 0.08);
}

.submit-btn,
.secondary-btn {
    border: none;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.submit-btn {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    color: white;
    min-height: 58px;
    border-radius: 16px;
    letter-spacing: -0.01em;
    box-shadow:
        0 16px 28px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.submit-btn:hover,
.secondary-btn:hover {
    opacity: 0.97;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    box-shadow: none;
}

.secondary-btn:disabled {
    opacity: 0.66;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-btn {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
    margin-top: 8px;
}

.privacy-note {
    margin-top: 18px;
    position: relative;
    overflow: hidden;
    padding: 18px 18px 19px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
    border: 1px solid rgba(203, 213, 225, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 12px 24px rgba(15, 23, 42, 0.04);
}

.privacy-note::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 18%, rgba(219, 234, 254, 0.32) 0, rgba(219, 234, 254, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 54%);
    pointer-events: none;
}

.privacy-note-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.privacy-note-title::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 10px;
    flex-shrink: 0;
    background:
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 17px / 12px 2px no-repeat,
        linear-gradient(rgba(148, 163, 184, 0.95) 0 0) center 19px / 12px 8px no-repeat,
        radial-gradient(circle at center 9px, transparent 5px, rgba(148, 163, 184, 0.95) 5px 6px, transparent 6px) center / 16px 16px no-repeat,
        linear-gradient(180deg, #ffffff 0%, #eff5fc 100%);
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 16px rgba(15, 23, 42, 0.04);
}

.privacy-note-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.result {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    line-height: 1.5;
    white-space: pre-line;
    font-size: 16px;
}

.result-info {
    background: #eef6ff;
    border-color: #bfdcff;
    color: #1f2937;
}

.result-success {
    background: #ecfdf3;
    border-color: #86efac;
    color: #166534;
    font-weight: 700;
}

.result-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #991b1b;
}

.field-hint {
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.field-error {
    font-size: 13px;
    line-height: 1.45;
    color: #b91c1c;
    font-weight: 700;
}

.field-input-error {
    border-color: #fca5a5;
    background: #fffafa;
}

.hidden {
    display: none !important;
}

.state-screen {
    text-align: center;
    padding: 16px 4px 4px;
}

.state-screen-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.waiting-badge {
    background: #fff7ed;
    color: #c2410c;
}

.success-badge {
    background: #dcfce7;
    color: #166534;
}

.need-more-info-badge {
    background: #fef3c7;
    color: #92400e;
}

.rejected-badge {
    background: #fde7e0;
    color: #9a3412;
}

.state-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.2;
    color: #111827;
}

.state-subtitle {
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: 17px;
    line-height: 1.6;
    color: #6b7280;
}

.waiting-request-text {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    line-height: 1.5;
}

.state-note {
    margin-top: 18px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.duplicate-screen {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf8 0%, #fff7ea 56%, #f6eedc 100%);
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 22px;
    padding: 36px 24px 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.duplicate-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 18% 26%, rgba(254, 243, 199, 0.34) 0, rgba(254, 243, 199, 0) 26%),
        radial-gradient(circle at 82% 24%, rgba(253, 230, 138, 0.22) 0, rgba(253, 230, 138, 0) 24%),
        radial-gradient(circle at 50% 2%, rgba(217, 119, 6, 0.06) 0, rgba(217, 119, 6, 0) 24%);
    pointer-events: none;
}

.duplicate-screen::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(146, 64, 14, 0) 0%, rgba(146, 64, 14, 0.12) 18%, rgba(146, 64, 14, 0.12) 82%, rgba(146, 64, 14, 0) 100%);
    pointer-events: none;
}

.duplicate-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f0bf5f 0%, #c58a1d 100%);
    box-shadow:
        0 18px 32px rgba(180, 118, 10, 0.16),
        inset 0 2px 0 rgba(255, 255, 255, 0.34),
        inset 0 -8px 14px rgba(120, 78, 16, 0.14);
    animation: duplicate-icon-float 2.8s ease-in-out infinite;
}

.duplicate-icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(240, 191, 95, 0.2) 0%, rgba(240, 191, 95, 0.08) 44%, rgba(240, 191, 95, 0) 74%);
    z-index: 0;
    animation: duplicate-icon-glow 2.8s ease-in-out infinite;
}

.duplicate-icon::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 18px;
    width: 30px;
    height: 36px;
    border-radius: 11px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 235, 0.98) 100%);
    box-shadow:
        -8px 8px 0 rgba(255, 255, 255, 0.42),
        inset 0 0 0 1px rgba(255, 248, 235, 0.95);
    z-index: 1;
}

.duplicate-screen .state-screen-badge,
.duplicate-screen .state-title,
.duplicate-screen .state-subtitle,
.duplicate-screen .duplicate-meta,
.duplicate-screen .duplicate-details,
.duplicate-screen .duplicate-actions {
    position: relative;
    z-index: 1;
}

.duplicate-screen .duplicate-badge {
    margin-bottom: 18px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(254, 243, 199, 0.92) 100%);
    color: #9a5b11;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.duplicate-screen .state-title {
    margin-bottom: 12px;
    color: #7c4a0f;
    letter-spacing: -0.03em;
}

.duplicate-screen .state-subtitle {
    max-width: 520px;
    margin-bottom: 14px;
    color: #7a6b57;
}

.duplicate-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #9a5b11;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 18px rgba(146, 64, 14, 0.04);
}

.duplicate-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9a441;
    box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.12);
}

.duplicate-details {
    max-width: 560px;
    margin: 0 auto;
}

.duplicate-message-card {
    padding: 18px 20px;
    border-radius: 18px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 250, 241, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 20px rgba(146, 64, 14, 0.04);
}

.duplicate-message-title {
    margin-bottom: 10px;
    color: #7c4a0f;
    font-weight: 700;
    font-size: 16px;
}

.duplicate-message-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
}

.duplicate-actions {
    max-width: 560px;
    margin: 22px auto 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.duplicate-primary-btn,
.duplicate-secondary-btn {
    margin-top: 0;
    min-width: 220px;
}

.duplicate-primary-btn {
    background: linear-gradient(180deg, #81571a 0%, #694617 100%);
    box-shadow:
        0 14px 24px rgba(120, 74, 15, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.duplicate-secondary-btn {
    border: 1px solid rgba(209, 178, 112, 0.62);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 241, 0.98) 100%);
    color: #7c4a0f;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 18px rgba(146, 64, 14, 0.04);
}

@keyframes duplicate-icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes duplicate-icon-glow {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.waiting-flow {
    --flow-surface: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%);
    --flow-border: rgba(148, 163, 184, 0.22);
    --flow-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --flow-glow-left: rgba(96, 165, 250, 0.13);
    --flow-glow-right: rgba(191, 219, 254, 0.28);
    --flow-accent: #2563eb;
    --flow-accent-soft: rgba(37, 99, 235, 0.14);
    --flow-route: rgba(148, 163, 184, 0.28);
    --flow-route-highlight: rgba(255, 255, 255, 0.9);
    --flow-paper: #ffffff;
    --flow-paper-edge: rgba(148, 163, 184, 0.28);
    --flow-paper-fold: #edf3ff;
    --flow-seal: #f59e0b;
    --flow-desk: #dfe7f1;
    --flow-desk-edge: rgba(148, 163, 184, 0.22);
    --flow-monitor: #203249;
    --flow-monitor-line: rgba(255, 255, 255, 0.78);
    --flow-operator: #334155;
    --flow-operator-top: #475569;
    --flow-limb: #243244;
    --flow-skin: #efc7a2;
    --flow-skin-shadow: #d9ac85;
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding-top: 8px;
}

.waiting-flow-glow {
    position: absolute;
    top: 26px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.92;
    pointer-events: none;
}

.waiting-flow-glow-left {
    left: 8px;
    background: var(--flow-glow-left);
}

.waiting-flow-glow-right {
    right: 18px;
    background: var(--flow-glow-right);
}

.waiting-flow-panel {
    position: relative;
    height: 214px;
    border-radius: 24px;
    background: var(--flow-surface);
    border: 1px solid var(--flow-border);
    box-shadow: var(--flow-shadow);
    overflow: hidden;
}

.waiting-flow-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 44%);
    pointer-events: none;
}

.waiting-flow-origin {
    position: absolute;
    left: 18px;
    bottom: 48px;
    width: 72px;
    height: 84px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.waiting-flow-origin-badge {
    position: absolute;
    top: 13px;
    left: 14px;
    width: 24px;
    height: 6px;
    border-radius: 999px;
    background: var(--flow-accent-soft);
}

.waiting-flow-origin-paper {
    position: absolute;
    width: 32px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--flow-paper) 0%, #f8fbff 100%);
    border: 1px solid var(--flow-paper-edge);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.06);
}

.waiting-flow-origin-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--flow-paper-fold) 100%);
}

.waiting-flow-origin-paper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 12px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: rgba(226, 232, 240, 0.95);
}

.waiting-flow-origin-paper-back {
    left: 19px;
    bottom: 19px;
    transform: rotate(-8deg);
    opacity: 0.78;
}

.waiting-flow-origin-paper-front {
    left: 25px;
    bottom: 16px;
    transform: rotate(4deg);
}

.waiting-flow-route {
    position: absolute;
    left: 86px;
    right: 168px;
    top: 94px;
    height: 26px;
    overflow: visible;
}

.waiting-flow-route::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 16px, rgba(255, 255, 255, 0.44) 16px 24px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, var(--flow-route) 16%, var(--flow-route) 84%, rgba(255, 255, 255, 0.18) 100%);
    transform: translateY(-50%);
    animation: waiting-flow-route-shift 2.6s linear infinite;
}

.waiting-flow-route::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 62px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--flow-route-highlight) 48%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-50%);
    animation: waiting-flow-sheen 2.8s ease-in-out infinite;
}

.waiting-flow-route-dot {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--flow-accent);
    box-shadow: 0 0 0 5px var(--flow-accent-soft);
    transform: translateY(-50%);
}

.waiting-flow-route-dot-start {
    left: 0;
}

.waiting-flow-route-dot-end {
    right: 0;
}

.waiting-flow-route-pulse {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.9);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
    opacity: 0;
    animation: waiting-flow-route-pulse 2.6s ease-in-out infinite;
}

.waiting-flow-route-pulse-2 {
    animation-delay: 0.45s;
}

.waiting-flow-route-pulse-3 {
    animation-delay: 0.9s;
}

.waiting-flow-envelope {
    position: absolute;
    left: 8px;
    top: -1px;
    width: 36px;
    height: 28px;
    animation: waiting-flow-envelope-travel 4.9s cubic-bezier(0.58, 0.1, 0.32, 0.95) infinite;
}

.waiting-flow-envelope-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--flow-paper) 0%, #f5f8fd 100%);
    border: 1px solid var(--flow-paper-edge);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
    transform: rotate(5deg);
    animation: waiting-flow-envelope-float 1.2s ease-in-out infinite;
}

.waiting-flow-envelope-card::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--flow-paper-fold) 100%);
}

.waiting-flow-envelope-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 13px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: rgba(226, 232, 240, 0.98);
}

.waiting-flow-envelope-seal {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--flow-seal);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
    transform: translate(-50%, -50%);
}

.waiting-flow-station {
    position: absolute;
    right: 16px;
    bottom: 20px;
    width: 172px;
    height: 152px;
}

.waiting-flow-station-halo {
    position: absolute;
    inset: 18px 0 18px 16px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 38%, rgba(37, 99, 235, 0) 72%);
    animation: waiting-flow-station-pulse 5.6s ease-in-out infinite;
}

.waiting-flow-desk {
    position: absolute;
    left: 16px;
    right: 0;
    bottom: 0;
    height: 58px;
    border-radius: 20px 20px 14px 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, var(--flow-desk) 100%);
    border: 1px solid var(--flow-desk-edge);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.waiting-flow-desk::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 16px;
    right: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
}

.waiting-flow-monitor {
    position: absolute;
    right: 12px;
    top: 18px;
    width: 88px;
    height: 74px;
}

.waiting-flow-screen {
    position: relative;
    width: 88px;
    height: 58px;
    padding: 16px 12px 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, #2a415d 0%, var(--flow-monitor) 100%);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

.waiting-flow-screen-status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #93c5fd;
    box-shadow: 0 0 0 5px rgba(147, 197, 253, 0.12);
    animation: waiting-flow-status-blink 1.8s ease-in-out infinite;
}

.waiting-flow-screen-line {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, var(--flow-monitor-line) 52%, rgba(255, 255, 255, 0.28) 100%);
    background-size: 180% 100%;
    animation: waiting-flow-screen-line 1.9s linear infinite;
}

.waiting-flow-screen-line + .waiting-flow-screen-line {
    margin-top: 7px;
}

.waiting-flow-screen-line-short {
    width: 42px;
}

.waiting-flow-screen-line-long {
    width: 56px;
    animation-delay: 0.2s;
}

.waiting-flow-screen-line-medium {
    width: 48px;
    animation-delay: 0.4s;
}

.waiting-flow-monitor-stand {
    position: absolute;
    left: 36px;
    bottom: 0;
    width: 16px;
    height: 20px;
}

.waiting-flow-monitor-stand::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    width: 6px;
    height: 12px;
    border-radius: 999px;
    background: rgba(71, 85, 105, 0.65);
}

.waiting-flow-monitor-stand::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: 0;
    width: 24px;
    height: 5px;
    border-radius: 999px;
    background: rgba(71, 85, 105, 0.4);
}

.waiting-flow-processing {
    position: absolute;
    left: 10px;
    top: 28px;
    width: 66px;
    padding: 12px 10px 11px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 244, 250, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    animation: waiting-flow-processing-pulse 5.6s ease-in-out infinite;
}

.waiting-flow-processing-badge {
    display: block;
    width: 20px;
    height: 6px;
    margin-bottom: 7px;
    border-radius: 999px;
    background: var(--flow-accent-soft);
}

.waiting-flow-processing-title {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: #2563eb;
}

.waiting-flow-processing-line {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.16) 0%, rgba(99, 102, 241, 0.18) 100%);
}

.waiting-flow-processing-line + .waiting-flow-processing-line {
    margin-top: 6px;
}

.waiting-flow-processing-line-short {
    width: 32px;
}

.waiting-flow-processing-line-long {
    width: 44px;
}

.waiting-flow-processing-dots {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.waiting-flow-processing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--flow-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
    animation: waiting-flow-processing-dot 1.4s ease-in-out infinite;
}

.waiting-flow-processing-dot-2 {
    animation-delay: 0.18s;
}

.waiting-flow-processing-dot-3 {
    animation-delay: 0.36s;
}

.waiting-flow-signal {
    position: absolute;
    left: 54px;
    top: 74px;
    width: 46px;
    height: 24px;
    pointer-events: none;
}

.waiting-flow-signal-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--flow-accent);
    opacity: 0;
    animation: waiting-flow-signal-dot 2.1s ease-in-out infinite;
}

.waiting-flow-signal-dot-1 {
    left: 0;
    top: 15px;
}

.waiting-flow-signal-dot-2 {
    left: 18px;
    top: 7px;
    animation-delay: 0.24s;
}

.waiting-flow-signal-dot-3 {
    left: 36px;
    top: 1px;
    animation-delay: 0.48s;
}

.waiting-flow-inbox {
    position: absolute;
    left: 0;
    top: 80px;
    width: 52px;
    height: 34px;
    border-radius: 16px 16px 12px 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #edf3fa 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
    animation: waiting-flow-inbox-pulse 5.6s ease-in-out infinite;
}

.waiting-flow-inbox::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.34);
}

.waiting-flow-inbox-slot {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 9px;
    height: 4px;
    border-radius: 999px;
    background: var(--flow-accent-soft);
}

@keyframes waiting-flow-sheen {
    0%, 18% {
        left: 8px;
        transform: translateY(-50%);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    72% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 54px);
        transform: translateY(-50%);
        opacity: 0;
    }
}

@keyframes waiting-flow-route-shift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 40px 0, 0 0;
    }
}

@keyframes waiting-flow-route-pulse {
    0% {
        left: 8px;
        opacity: 0;
        transform: scale(0.7);
    }
    20% {
        opacity: 0.95;
        transform: scale(1);
    }
    78% {
        opacity: 0.6;
        transform: scale(0.88);
    }
    100% {
        left: calc(100% - 16px);
        opacity: 0;
        transform: scale(0.7);
    }
}

@keyframes waiting-flow-envelope-travel {
    0% {
        left: 8px;
        opacity: 0;
        transform: translateY(0) scale(0.94);
    }
    8% {
        opacity: 1;
    }
    50% {
        left: calc(100% - 44px);
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    58% {
        left: calc(100% - 18px);
        opacity: 1;
        transform: translateY(5px) scale(0.86);
    }
    64% {
        left: calc(100% - 8px);
        opacity: 0.2;
        transform: translateY(7px) scale(0.62);
    }
    65%, 100% {
        left: calc(100% - 8px);
        opacity: 0;
        transform: translateY(7px) scale(0.62);
    }
}

@keyframes waiting-flow-envelope-float {
    0%, 100% {
        transform: rotate(5deg) translateY(0);
    }
    50% {
        transform: rotate(3deg) translateY(-3px);
    }
}

@keyframes waiting-flow-station-pulse {
    0%, 48%, 100% {
        opacity: 0.4;
        transform: scale(0.94);
    }
    58% {
        opacity: 0.9;
        transform: scale(1.03);
    }
    72% {
        opacity: 0.64;
        transform: scale(1);
    }
}

@keyframes waiting-flow-inbox-pulse {
    0%, 48%, 100% {
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(37, 99, 235, 0);
    }
    58% {
        box-shadow: 0 14px 24px rgba(15, 23, 42, 0.11), 0 0 0 7px rgba(37, 99, 235, 0.08);
    }
    72% {
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@keyframes waiting-flow-screen-line {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 180% 0;
    }
}

@keyframes waiting-flow-status-blink {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes waiting-flow-processing-pulse {
    0%, 50%, 100% {
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(37, 99, 235, 0);
        transform: translateY(0);
    }
    62% {
        box-shadow: 0 14px 24px rgba(15, 23, 42, 0.1), 0 0 0 7px rgba(37, 99, 235, 0.07);
        transform: translateY(-1px);
    }
    76% {
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(37, 99, 235, 0);
        transform: translateY(0);
    }
}

@keyframes waiting-flow-processing-dot {
    0%, 100% {
        opacity: 0.32;
        transform: translateY(0) scale(0.92);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px) scale(1.04);
    }
}

@keyframes waiting-flow-signal-dot {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    25% {
        opacity: 0.9;
        transform: scale(1);
    }
    70% {
        opacity: 0.45;
        transform: scale(0.88);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}

.success-screen {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfefd 0%, #f4faf7 58%, #eef6f3 100%);
    border: 1px solid rgba(167, 243, 208, 0.62);
    border-radius: 22px;
    padding: 36px 24px 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.success-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 18% 26%, rgba(187, 247, 208, 0.24) 0, rgba(187, 247, 208, 0) 26%),
        radial-gradient(circle at 82% 24%, rgba(191, 219, 254, 0.18) 0, rgba(191, 219, 254, 0) 24%),
        radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.08) 0, rgba(34, 197, 94, 0) 26%);
    pointer-events: none;
}

.success-screen::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0) 0%, rgba(148, 163, 184, 0.18) 20%, rgba(148, 163, 184, 0.18) 80%, rgba(148, 163, 184, 0) 100%);
    pointer-events: none;
}

.success-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #29c56a 0%, #15994f 100%);
    box-shadow:
        0 18px 32px rgba(21, 153, 79, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.34),
        inset 0 -8px 14px rgba(10, 100, 51, 0.16);
    animation: success-icon-float 2.8s ease-in-out infinite;
}

.success-icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.24) 0%, rgba(34, 197, 94, 0.1) 44%, rgba(34, 197, 94, 0) 74%);
    z-index: 0;
    animation: success-icon-glow 2.8s ease-in-out infinite;
}

.success-icon::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 16px;
    width: 18px;
    height: 34px;
    border-right: 6px solid #ffffff;
    border-bottom: 6px solid #ffffff;
    transform: rotate(40deg);
    z-index: 1;
}

.success-screen .state-screen-badge,
.success-screen .state-title,
.success-screen .state-subtitle,
.success-screen .success-details,
.success-screen .secondary-btn {
    position: relative;
    z-index: 1;
}

.success-screen .success-badge {
    margin-bottom: 18px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.96) 0%, rgba(209, 250, 229, 0.9) 100%);
    color: #166534;
    border: 1px solid rgba(134, 239, 172, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.success-screen .state-title {
    margin-bottom: 12px;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.success-screen .state-subtitle {
    max-width: 460px;
    margin-bottom: 14px;
    color: #64748b;
}

.success-meta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(203, 213, 225, 0.72);
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 10px 18px rgba(15, 23, 42, 0.04);
}

.success-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1);
}

.success-details {
    max-width: 540px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.success-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 252, 252, 0.84) 100%);
    border: 1px solid rgba(203, 213, 225, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 10px 20px rgba(15, 23, 42, 0.04);
}

.success-label {
    color: #475569;
    font-weight: 600;
    font-size: 15px;
}

.success-value {
    color: #166534;
    font-weight: 700;
    text-align: right;
    font-size: 15px;
}

.success-screen .secondary-btn {
    margin-top: 22px;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    color: #0f172a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(15, 23, 42, 0.06);
}

.success-screen .secondary-btn:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 16px 28px rgba(15, 23, 42, 0.08);
}

@keyframes success-icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes success-icon-glow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.need-more-info-screen {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf6 0%, #fff8e8 56%, #f8edd2 100%);
    border: 1px solid rgba(252, 211, 77, 0.48);
    border-radius: 22px;
    padding: 36px 24px 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.need-more-info-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 16% 26%, rgba(253, 230, 138, 0.22) 0, rgba(253, 230, 138, 0) 26%),
        radial-gradient(circle at 84% 22%, rgba(251, 191, 36, 0.16) 0, rgba(251, 191, 36, 0) 24%),
        radial-gradient(circle at 50% 2%, rgba(217, 119, 6, 0.08) 0, rgba(217, 119, 6, 0) 24%);
    pointer-events: none;
}

.need-more-info-screen::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(146, 64, 14, 0) 0%, rgba(146, 64, 14, 0.14) 18%, rgba(146, 64, 14, 0.14) 82%, rgba(146, 64, 14, 0) 100%);
    pointer-events: none;
}

.need-more-info-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f5b63c 0%, #d97706 100%);
    box-shadow:
        0 18px 32px rgba(217, 119, 6, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.34),
        inset 0 -8px 14px rgba(146, 64, 14, 0.14);
    animation: need-more-info-icon-float 2.8s ease-in-out infinite;
}

.need-more-info-icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(245, 182, 60, 0.2) 0%, rgba(245, 182, 60, 0.08) 44%, rgba(245, 182, 60, 0) 74%);
    z-index: 0;
    animation: need-more-info-icon-glow 2.8s ease-in-out infinite;
}

.need-more-info-icon::after {
    content: "";
    position: absolute;
    left: 30px;
    top: 18px;
    width: 16px;
    height: 40px;
    background:
        linear-gradient(180deg, #ffffff 0 0) center 4px / 6px 18px no-repeat,
        radial-gradient(circle, #ffffff 0 3px, transparent 3.5px) center 31px / 8px 8px no-repeat;
    z-index: 1;
}

.need-more-info-screen .state-screen-badge,
.need-more-info-screen .state-title,
.need-more-info-screen .state-subtitle,
.need-more-info-screen .need-more-info-meta,
.need-more-info-screen .need-more-info-details,
.need-more-info-screen .secondary-btn {
    position: relative;
    z-index: 1;
}

.need-more-info-screen .need-more-info-badge {
    margin-bottom: 18px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.9) 100%);
    color: #92400e;
    border: 1px solid rgba(252, 211, 77, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.need-more-info-screen .state-title {
    margin-bottom: 12px;
    color: #78350f;
    letter-spacing: -0.03em;
}

.need-more-info-screen .state-subtitle {
    max-width: 520px;
    margin-bottom: 14px;
    color: #7c6f5c;
}

.need-more-info-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(252, 211, 77, 0.5);
    color: #92400e;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 18px rgba(146, 64, 14, 0.05);
}

.need-more-info-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
}

.need-more-info-details {
    max-width: 540px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.need-more-info-row,
.need-more-info-request-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 251, 240, 0.88) 100%);
    border: 1px solid rgba(252, 211, 77, 0.36);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 10px 20px rgba(146, 64, 14, 0.04);
}

.need-more-info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.need-more-info-label,
.need-more-info-request-title {
    color: #7c6f5c;
    font-weight: 600;
    font-size: 15px;
}

.need-more-info-value {
    color: #78350f;
    font-weight: 700;
    text-align: right;
    font-size: 15px;
}

.need-more-info-request-title {
    margin-bottom: 10px;
}

.need-more-info-request-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.need-more-info-reply-card {
    max-width: 540px;
    margin: 18px auto 0;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 251, 240, 0.9) 100%);
    border: 1px solid rgba(252, 211, 77, 0.36);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 10px 20px rgba(146, 64, 14, 0.04);
}

.need-more-info-reply-title {
    margin-bottom: 12px;
    color: #78350f;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
}

.need-more-info-reply-input {
    width: 100%;
    min-height: 144px;
    resize: vertical;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid rgba(217, 119, 6, 0.24);
    background: rgba(255, 255, 255, 0.98);
    font: inherit;
    color: #1f2937;
    line-height: 1.6;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 16px rgba(146, 64, 14, 0.04);
}

.need-more-info-reply-input::placeholder {
    color: #94a3b8;
}

.need-more-info-reply-input:focus-visible {
    outline: none;
    border-color: rgba(217, 119, 6, 0.58);
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.12),
        0 8px 16px rgba(146, 64, 14, 0.05);
}

.need-more-info-reply-input:disabled {
    background: rgba(248, 250, 252, 0.96);
    color: #64748b;
    cursor: wait;
}

.need-more-info-feedback {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.need-more-info-feedback-error {
    color: #9a3412;
    background: rgba(255, 237, 213, 0.92);
    border: 1px solid rgba(251, 191, 154, 0.48);
}

.need-more-info-feedback-success {
    color: #78350f;
    background: rgba(254, 243, 199, 0.9);
    border: 1px solid rgba(252, 211, 77, 0.4);
}

.need-more-info-action-note {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: #7c6f5c;
    font-size: 14px;
    line-height: 1.5;
}

.need-more-info-screen .secondary-btn {
    margin-top: 22px;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid rgba(252, 211, 77, 0.56);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 235, 0.98) 100%);
    color: #78350f;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 24px rgba(146, 64, 14, 0.06);
}

.need-more-info-screen .secondary-btn:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 16px 28px rgba(146, 64, 14, 0.08);
}

@keyframes need-more-info-icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes need-more-info-icon-glow {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.rejected-screen {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf7 0%, #fff4ee 56%, #fce9df 100%);
    border: 1px solid rgba(251, 191, 154, 0.56);
    border-radius: 22px;
    padding: 36px 24px 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.rejected-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 14% 26%, rgba(253, 186, 116, 0.18) 0, rgba(253, 186, 116, 0) 26%),
        radial-gradient(circle at 84% 22%, rgba(251, 191, 154, 0.22) 0, rgba(251, 191, 154, 0) 24%),
        radial-gradient(circle at 50% 2%, rgba(180, 83, 9, 0.08) 0, rgba(180, 83, 9, 0) 24%);
    pointer-events: none;
}

.rejected-screen::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(154, 52, 18, 0) 0%, rgba(154, 52, 18, 0.14) 18%, rgba(154, 52, 18, 0.14) 82%, rgba(154, 52, 18, 0) 100%);
    pointer-events: none;
}

.rejected-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #d97745 0%, #b45309 100%);
    box-shadow:
        0 18px 32px rgba(180, 83, 9, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.32),
        inset 0 -8px 14px rgba(124, 45, 18, 0.16);
    animation: rejected-icon-float 2.8s ease-in-out infinite;
}

.rejected-icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(217, 119, 69, 0.18) 0%, rgba(217, 119, 69, 0.08) 44%, rgba(217, 119, 69, 0) 74%);
    z-index: 0;
    animation: rejected-icon-glow 2.8s ease-in-out infinite;
}

.rejected-icon::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    width: 32px;
    height: 32px;
    background:
        linear-gradient(45deg, transparent 42%, #ffffff 42% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, #ffffff 42% 58%, transparent 58%);
    z-index: 1;
}

.rejected-screen .state-screen-badge,
.rejected-screen .state-title,
.rejected-screen .state-subtitle,
.rejected-screen .rejected-meta,
.rejected-screen .rejected-details,
.rejected-screen .secondary-btn {
    position: relative;
    z-index: 1;
}

.rejected-screen .rejected-badge {
    margin-bottom: 18px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(255, 237, 213, 0.98) 0%, rgba(254, 215, 170, 0.92) 100%);
    color: #9a3412;
    border: 1px solid rgba(251, 191, 154, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.rejected-screen .state-title {
    margin-bottom: 12px;
    color: #7c2d12;
    letter-spacing: -0.03em;
}

.rejected-screen .state-subtitle {
    max-width: 480px;
    margin-bottom: 14px;
    color: #7c6457;
}

.rejected-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(251, 191, 154, 0.55);
    color: #9a3412;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 18px rgba(124, 45, 18, 0.05);
}

.rejected-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97745;
    box-shadow: 0 0 0 5px rgba(217, 119, 69, 0.12);
}

.rejected-details {
    max-width: 540px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.rejected-row,
.rejected-reason-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 249, 246, 0.88) 100%);
    border: 1px solid rgba(251, 191, 154, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 10px 20px rgba(124, 45, 18, 0.04);
}

.rejected-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.rejected-label,
.rejected-reason-title {
    color: #7c6457;
    font-weight: 600;
    font-size: 15px;
}

.rejected-value {
    color: #7c2d12;
    font-weight: 700;
    text-align: right;
    font-size: 15px;
}

.rejected-reason-title {
    margin-bottom: 10px;
}

.rejected-reason-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.rejected-screen .secondary-btn {
    margin-top: 22px;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 154, 0.62);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 243, 0.98) 100%);
    color: #7c2d12;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 24px rgba(124, 45, 18, 0.06);
}

.rejected-screen .secondary-btn:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 16px 28px rgba(124, 45, 18, 0.08);
}

@keyframes rejected-icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes rejected-icon-glow {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-actions,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .form-title,
    .state-title {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 20px 14px 36px;
    }

    .hero-card,
    .benefits-card,
    .card {
        padding: 22px;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle,
    .section-subtitle,
    .subtitle,
    .state-subtitle {
        font-size: 16px;
    }

    .section-title,
    .form-title,
    .state-title {
        font-size: 28px;
    }

    .steps-box {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 18px;
    }

    .step-item {
        min-height: 0;
        padding: 13px 13px 12px;
        border-radius: 16px;
    }

    .step-item::after {
        right: 12px;
        top: 12px;
    }

    .form > label:not(.checkbox) {
        padding: 12px 12px 10px;
        border-radius: 18px;
    }

    .checkbox {
        padding: 14px 14px;
    }

    input[type="file"] {
        padding: 12px;
    }

    input[type="file"]::file-selector-button {
        display: block;
        width: 100%;
        margin: 0 0 10px;
    }

    .privacy-note {
        padding: 16px;
        border-radius: 16px;
    }

    .waiting-flow {
        padding-top: 6px;
    }

    .waiting-flow-panel {
        height: 190px;
        border-radius: 20px;
    }

    .waiting-flow-glow {
        width: 110px;
        height: 110px;
        top: 24px;
    }

    .waiting-flow-origin {
        left: 12px;
        bottom: 40px;
        transform: scale(0.9);
        transform-origin: bottom left;
    }

    .waiting-flow-route {
        left: 66px;
        right: 132px;
        top: 84px;
    }

    .waiting-flow-route-dot {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 4px var(--flow-accent-soft);
    }

    .waiting-flow-envelope {
        top: -2px;
        width: 32px;
        height: 25px;
    }

    .waiting-flow-station {
        right: 8px;
        bottom: 12px;
        transform: scale(0.82);
        transform-origin: bottom right;
    }

    .waiting-flow-panel::before {
        background:
            radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 24%),
            radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.64) 0, rgba(255, 255, 255, 0) 18%);
    }

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

    .success-value {
        text-align: left;
    }

    .need-more-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .need-more-info-value {
        text-align: left;
    }

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

    .rejected-value {
        text-align: left;
    }

    .success-screen {
        padding: 30px 18px 24px;
        border-radius: 20px;
    }

    .success-screen::after {
        left: 18px;
        right: 18px;
    }

    .success-icon {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .success-icon::after {
        left: 21px;
        top: 14px;
        width: 16px;
        height: 30px;
    }

    .success-screen .secondary-btn {
        width: 100%;
    }

    .success-meta {
        max-width: 100%;
        text-align: left;
    }

    .duplicate-screen {
        padding: 30px 18px 24px;
        border-radius: 20px;
    }

    .duplicate-screen::after {
        left: 18px;
        right: 18px;
    }

    .duplicate-icon {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .duplicate-icon::after {
        left: 21px;
        top: 17px;
        width: 28px;
        height: 34px;
    }

    .duplicate-meta {
        max-width: 100%;
        text-align: left;
    }

    .duplicate-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .duplicate-primary-btn,
    .duplicate-secondary-btn {
        width: 100%;
        min-width: 0;
    }

    .need-more-info-screen {
        padding: 30px 18px 24px;
        border-radius: 20px;
    }

    .need-more-info-screen::after {
        left: 18px;
        right: 18px;
    }

    .need-more-info-icon {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .need-more-info-icon::after {
        left: 26px;
        top: 16px;
        width: 16px;
        height: 36px;
    }

    .need-more-info-screen .secondary-btn {
        width: 100%;
    }

    .need-more-info-meta {
        max-width: 100%;
        text-align: left;
    }

    .need-more-info-reply-card {
        padding: 16px;
    }

    .need-more-info-reply-input {
        min-height: 132px;
    }

    .need-more-info-action-note {
        text-align: left;
    }

    .rejected-screen {
        padding: 30px 18px 24px;
        border-radius: 20px;
    }

    .rejected-screen::after {
        left: 18px;
        right: 18px;
    }

    .rejected-icon {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .rejected-icon::after {
        left: 20px;
        top: 20px;
        width: 28px;
        height: 28px;
    }

    .rejected-screen .secondary-btn {
        width: 100%;
    }

    .rejected-meta {
        max-width: 100%;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .waiting-flow *,
    .waiting-flow::before,
    .waiting-flow::after {
        animation: none !important;
        transition: none !important;
    }

    .waiting-flow-envelope {
        left: calc(100% - 38px);
        opacity: 1;
        transform: translateX(0) translateY(4px) scale(0.82);
    }

    .waiting-flow-station-halo {
        opacity: 0.72;
        transform: scale(1);
    }

    .waiting-flow-route-pulse,
    .waiting-flow-route::before {
        animation: none !important;
    }

    .success-icon,
    .success-icon::before,
    .duplicate-icon,
    .duplicate-icon::before,
    .need-more-info-icon,
    .need-more-info-icon::before,
    .rejected-icon,
    .rejected-icon::before {
        animation: none !important;
    }
}
