:root {
    color-scheme: light;
    --bg: #f4f7f8;
    --panel: #ffffff;
    --text: #182025;
    --muted: #65727c;
    --line: #d9e1e5;
    --accent: #176b5b;
    --accent-strong: #0f5145;
    --focus: #d17b28;
    --danger: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.shell {
    width: min(760px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 32px 0;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(29, 44, 54, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

h1 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.1;
}

p {
    margin: 0;
    color: var(--muted);
}

.launcher {
    display: grid;
    gap: 18px;
}

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

label {
    display: grid;
    gap: 8px;
    color: #34424b;
    font-size: 14px;
    font-weight: 700;
}

select,
input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}

select:focus,
input:focus {
    outline: 3px solid rgba(209, 123, 40, 0.22);
    border-color: var(--focus);
}

select:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover:not(:disabled) {
    background: var(--accent-strong);
}

.arrow {
    font-size: 18px;
    line-height: 1;
}

.status {
    min-height: 22px;
    margin-top: 18px;
    font-size: 14px;
}

.status.error {
    color: var(--danger);
}

.status.success {
    color: var(--accent-strong);
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 20px, 760px);
        padding: 10px 0;
    }

    .panel {
        padding: 20px;
    }

    .brand {
        align-items: flex-start;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
