* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #1d2734;
    background: #f4f6f9;
    font: 15px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
}
a {
    color: #174ea5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
button,input {
    font: inherit;
}
header {
    background: #fff;
    border-bottom: 1px solid #dde3ea;
}
.shell {
    width: min(1100px,calc(100% - 48px));
    margin: auto;
}
.head,.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.head {
    min-height: 68px;
}
.logo {
    display: inline-flex;
    align-items: center;
    font-size: 22px;
    font-weight: 760;
    color: #122033;
    line-height: 1;
}
.logo:hover {
    text-decoration: none;
}
.logo b {
    color: #235dba;
}
.logo i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 34px;
    margin-right: 9px;
    background: #245dc0;
    border-radius: 8px;
    color: white;
}
.logo svg {
    width: 23px;
    height: 23px;
}
.langs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.langs a {
    font-size: 13px;
    color: #536175;
}
.langs a[aria-current] {
    color: #154c9c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.grid {
    display: grid;
    grid-template-columns: 235px minmax(0,1fr);
    gap: 38px;
    padding: 48px 0 72px;
}
h1,h2,h3,p {
    margin: 0;
}
h1 {
    font-size: 27px;
    line-height: 1.3;
    margin: 4px 0 26px;
}
h2 {
    font-size: 26px;
    line-height: 1.35;
}
h3 {
    font-size: 18px;
    margin: 20px 0 6px;
}
.steps,.checks {
    padding: 0;
    list-style: none;
}
.steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 13px 0;
    color: #657285;
}
.steps span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid #c9d2de;
    border-radius: 50%;
    font-size: 13px;
}
.steps .current,.steps .done {
    color: #224977;
}
.steps .current {
    font-weight: bold;
}
.current span {
    background: #214f93;
    color: white;
    border-color: #214f93;
}
.done span {
    background: #e2ecf9;
    border-color: #c3d9f2;
}
.side-links {
    display: grid;
    gap: 8px;
    border-top: 1px solid #dbe1e8;
    padding-top: 16px;
    margin-top: 24px;
}
.card {
    background: white;
    border: 1px solid #dbe2e9;
    border-radius: 14px;
    padding: clamp(20px,4vw,36px);
}
.intro,.muted,.card p,small {
    color: #526173;
}
.intro {
    margin: 8px 0 22px;
}
.checks {
    margin: 14px 0;
}
.checks li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #e7ebf0;
}
.checks li:last-child {
    border-bottom: 1px solid #e7ebf0;
}
.checks strong {
    font-size: 15px;
}
.checks small {
    display: block;
    overflow-wrap: anywhere;
}
.pill {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 650;
    padding: 2px 9px;
    border-radius: 12px;
}
.ok {
    color: #126142;
    background: #e5f4eb;
}
.bad {
    color: #9b2624;
    background: #fce7e4;
}
.wait {
    color: #745413;
    background: #fff2cf;
}
.muted,small {
    font-size: 13px;
}
.primary,.button,.command button {
    display: inline-block;
    cursor: pointer;
    border-radius: 6px;
    padding: 8px 14px;
    border: 1px solid #c7d1df;
    font-weight: 650;
    background: #fff;
    color: #284560;
}
.primary {
    background: #2056a6;
    border-color: #2056a6;
    color: white;
    margin-top: 15px;
}
.primary:hover,.button:hover,.command button:hover {
    filter: brightness(.96);
    text-decoration: none;
}
fieldset {
    border: 0;
    border-top: 1px solid #dce3eb;
    padding: 12px 0 0;
    margin: 22px 0 8px;
}
legend {
    font-weight: 700;
    padding: 0 8px 0 0;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 650;
    margin: 9px 0;
}
input {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #bbc6d3;
    border-radius: 5px;
    color: #172638;
    background: white;
}
:focus-visible {
    outline: 3px solid #4185d3;
    outline-offset: 2px;
}
.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.key-form {
    border-top: 1px solid #dce3eb;
    margin-top: 20px;
    padding-top: 1px;
}
.alert,.notice {
    background: #fff4e0;
    border: 1px solid #ecd398;
    color: #704b0a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.row {
    margin-top: 20px;
}
.row h3 {
    margin: 0;
}
.button {
    font-size: 13px;
}
.command {
    background: #17263b;
    color: #f4f7fc;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px 0;
}
.command pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: 13px/1.65 ui-monospace,Consolas,monospace;
    margin: 0;
}
.command button {
    margin-top: 9px;
    padding: 3px 9px;
    font-size: 12px;
    color: #e9f1ff;
    background: #2b4260;
    border-color: #516783;
}
.command button[hidden] {
    display: none;
}
details {
    border-top: 1px solid #e0e6ec;
    padding: 12px 0;
}
summary {
    cursor: pointer;
    color: #28578b;
}
article {
    min-width: 0;
}
.card .muted {
    margin-top: 12px;
}
@media(max-width:760px) {
    .shell {
        width: calc(100% - 28px);
    }
    .grid {
        grid-template-columns: minmax(0,1fr);
        gap: 16px;
        padding: 22px 0;
    }
    .steps {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin: 8px 0;
    }
    .steps li {
        font-size: 12px;
        gap: 5px;
        margin: 0;
    }
    .steps span {
        width: 20px;
        height: 20px;
    }
    h1 {
        font-size: 23px;
        margin: 0;
    }
    .side-links {
        display: flex;
        gap: 16px;
        margin-top: 12px;
        padding: 8px 0;
    }
    .pair {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .langs {
        gap: 8px;
    }
    .head {
        min-height: 58px;
    }
    .checks small {
        font-size: 12px;
    }
}
