:root {
    --bg: #f4efe6;
    --ink: #1a1b1f;
    --panel: rgba(255, 251, 245, 0.92);
    --line: rgba(36, 36, 36, 0.14);
    --accent: #146356;
    --accent-strong: #0e4d43;
    --accent-soft: #d8ece7;
    --shadow: 0 18px 45px rgba(41, 35, 24, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(20, 99, 86, 0.16), transparent 35%),
        radial-gradient(circle at bottom right, rgba(185, 72, 32, 0.14), transparent 25%),
        linear-gradient(135deg, #f6f0e6 0%, #f1ebdf 100%);
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
}

button.primary {
    background: var(--accent);
    color: white;
}

button.secondary {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

input,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

label {
    display: grid;
    gap: 0.45rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.checkbox input {
    width: auto;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.2rem 1.2rem 4rem;
}

.hero {
    margin-bottom: 1.8rem;
}

.eyebrow {
    margin: 0 0 0.4rem;
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

h1,
h2 {
    margin: 0;
}

h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 0.96;
}

h2 {
    font-size: 1.35rem;
}

.lede,
.muted {
    color: rgba(26, 27, 31, 0.68);
}

.hero-grid,
.workspace {
    display: grid;
    gap: 1.2rem;
}

.hero-grid {
    margin-top: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.workspace {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
}

.panel {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    padding: 1.35rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.status-panel dl {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 0;
}

.status-panel dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(26, 27, 31, 0.55);
}

.status-panel dd {
    margin: 0.3rem 0 0;
    font-weight: 600;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.full-width {
    margin-bottom: 1rem;
}

.upload-jobs,
.file-groups {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.upload-job,
.file-group,
.file-row {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.72);
}

.job-header,
.file-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.progress-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(20, 99, 86, 0.12);
    margin: 0.85rem 0 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent) 0%, #33aa88 100%);
    border-radius: inherit;
}

.file-group summary {
    cursor: pointer;
    font-weight: 700;
}

.file-actions {
    display: flex;
    gap: 0.6rem;
}

.file-meta,
.job-meta,
.job-detail {
    margin: 0.25rem 0 0;
}

.empty-state {
    padding: 1rem;
    border-radius: 18px;
    border: 1px dashed var(--line);
    color: rgba(26, 27, 31, 0.6);
    text-align: center;
}

@media (max-width: 920px) {
    .workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shell {
        padding-inline: 0.9rem;
    }

    .panel {
        border-radius: 22px;
        padding: 1rem;
    }

    .job-header,
    .file-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

