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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 16px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f2f4f7;
    color: #1f2933;
}

.card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

h1 { margin-top: 0; font-size: 1.6rem; }
h2 { font-size: 1.05rem; margin-bottom: 8px; }

.formats ul { margin: 0 0 24px; padding-left: 20px; }
.muted { color: #6b7280; }

form { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; margin-top: 8px; }

input[type="file"], select {
    padding: 10px;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

button, .button {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
button:hover, .button:hover { background: #1d4ed8; }
.button-secondary { background: #e5e7eb; color: #1f2933; }
.button-secondary:hover { background: #d1d5db; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; }
.alert-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert-success { background: #e8f7ee; color: #146c2e; border: 1px solid #b7e4c7; }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.details dt { font-weight: 600; }
.details dd { margin: 0; word-break: break-all; }
