.veb-upload-page {
    margin: 0;
    min-height: 100vh;
    background: #f6f3ed;
    color: #1d2327;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.veb-upload-page main {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}

.veb-upload {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d8d2c7;
    border-radius: 8px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 12px 36px rgba(28, 31, 35, 0.08);
}

.veb-upload h2 {
    margin-top: 0;
}

.veb-upload-errors {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #b32d2e;
    border-radius: 6px;
    background: #fcf0f1;
    color: #7a1516;
}

.veb-upload-errors p {
    margin: 0;
}

.veb-upload-errors p + p {
    margin-top: 6px;
}

.veb-upload form {
    display: grid;
    gap: 16px;
}

.veb-upload label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.veb-upload input,
.veb-upload textarea {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
}

.veb-dropzone {
    position: relative;
    align-items: center;
    min-height: 150px;
    padding: 24px;
    border: 2px dashed #9ca89d;
    border-radius: 8px;
    background: #f9faf7;
    color: #1d2327;
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.veb-dropzone:hover,
.veb-dropzone:focus-within,
.veb-dropzone.is-dragging {
    border-color: #186b4f;
    background: #eef7f2;
    box-shadow: 0 0 0 3px rgba(24, 107, 79, 0.12);
}

.veb-dropzone-title,
.veb-dropzone-text,
.veb-dropzone-hint {
    display: block;
}

.veb-dropzone-title {
    font-size: 1.1rem;
    font-weight: 800;
}

.veb-dropzone-text {
    color: #186b4f;
}

.veb-dropzone-hint,
.veb-upload-limits {
    color: #646970;
    font-size: 0.92rem;
    font-weight: 400;
}

.veb-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.veb-file-list {
    display: none;
    margin: -6px 0 0;
    padding: 0;
    list-style: none;
}

.veb-file-list.has-files {
    display: grid;
    gap: 6px;
}

.veb-file-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #d8d2c7;
    border-radius: 6px;
    background: #fff;
    color: #1d2327;
    font-size: 0.95rem;
}

.veb-file-list span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.veb-file-list button {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #b32d2e;
    border-radius: 6px;
    background: #fff;
    color: #7a1516;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.veb-upload-limits {
    margin: -6px 0 0;
}

.veb-word-counter {
    color: #646970;
    font-size: 0.92rem;
    font-weight: 400;
    text-align: right;
}

.veb-word-counter.is-warning {
    color: #8a4b00;
}

.veb-word-counter.is-over-limit {
    color: #b32d2e;
    font-weight: 700;
}

.veb-upload button {
    justify-self: start;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #186b4f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
