:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #172033;
    background: #f3f6fb;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 42px auto 80px;
}

.brand {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

.brand h1 {
    margin: 0 0 3px;
    font-size: 27px;
}

.brand p {
    margin: 0;
    color: #64748b;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #1565c0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px #1565c033;
}

.card {
    padding: 28px;
    background: #fff;
    border: 1px solid #dce4f0;
    border-radius: 20px;
    box-shadow: 0 12px 35px #23395d0d;
}

.card > div:nth-child(2) {
    margin-top: -44px;
    margin-left: 52px;
}

.card h2 {
    margin: 0 0 6px;
    font-size: 21px;
}

.card p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.step {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #e7f1fd;
    color: #1565c0;
    font-weight: 800;
}

.upload-form {
    margin-top: 26px;
}

.dropzone {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: #f8fbff;
    border: 2px dashed #b9c9dc;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.dropzone:hover {
    background: #f1f7ff;
    border-color: #1565c0;
}

.dropzone input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dropzone span {
    color: #1565c0;
    font-weight: 750;
}

.dropzone small {
    color: #7b8aa0;
}

button,
.secondary {
    padding: 13px 20px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

button {
    background: #1565c0;
    color: #fff;
    box-shadow: 0 7px 16px #1565c02e;
}

.upload-form button {
    display: block;
    margin: 18px 0 0 auto;
}

.secondary {
    background: #edf2f7;
    color: #34445b;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.features article {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
}

.features span {
    color: #718096;
    font-size: 13px;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.summary div {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #dce4f0;
    border-radius: 16px;
}

.summary span {
    display: block;
    margin-bottom: 4px;
    color: #718096;
    font-size: 13px;
}

.summary strong {
    font-size: 23px;
}

.sector-table {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid #dde5ef;
    border-radius: 14px;
}

.table-head,
.sector-row {
    display: grid;
    grid-template-columns: 1fr 100px 120px minmax(180px, 1.2fr);
    gap: 14px;
    align-items: center;
    padding: 11px 15px;
}

.table-head {
    background: #edf3f9;
    color: #506176;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sector-row {
    border-top: 1px solid #e6ebf2;
}

.sector-row span {
    color: #64748b;
}

.sector-row input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #cdd8e6;
    border-radius: 9px;
    font: inherit;
}

.sector-row input:focus {
    outline: 3px solid #1565c01f;
    border-color: #1565c0;
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 13px;
}

.notice.error {
    background: #fff0f0;
    border: 1px solid #ffc7c7;
    color: #9f2020;
}

.notice span {
    font-size: 14px;
}

@media (max-width: 720px) {
    .shell {
        margin-top: 24px;
    }

    .features,
    .summary {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .table-head {
        display: none;
    }

    .sector-row {
        grid-template-columns: 1fr 1fr;
    }

    .sector-row input {
        grid-column: 1 / -1;
    }

    .actions {
        flex-direction: column-reverse;
    }

    .actions > * {
        text-align: center;
    }
}

.dropzone input {
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    max-width: 100%;
}