* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 'Segoe UI', system-ui, sans-serif; background: #f2f1ed; color: #16191d; }
a { color: inherit; }
[hidden] { display: none !important; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; background: #17191d; }
.brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 650; text-decoration: none; }
.mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #f5b301; color: #17191d; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 13px; border: 1px solid #d3d2cc; border-radius: 6px; background: #fff; color: #16191d; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.main { background: #1c2024; border-color: #1c2024; color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.page { max-width: 880px; margin: 0 auto; padding: 26px 18px 60px; }
h1 { font-size: 27px; line-height: 1.25; margin: 0 0 14px; letter-spacing: -0.01em; }
h2 { font-size: 18px; margin: 26px 0 8px; }
h3 { font-size: 15px; margin: 18px 0 6px; }
.search, .field { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d3d2cc; border-radius: 7px; background: #fff; font: inherit; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.card { display: flex; flex-direction: column; gap: 3px; padding: 13px 15px; background: #fff; border: 1px solid #e3e2dd; border-radius: 8px; text-decoration: none; }
a.card:hover { border-color: #a9a8a1; }
.card span { color: #4c525a; font-size: 13.5px; }
article { background: #fff; border: 1px solid #e3e2dd; border-radius: 8px; padding: 24px 26px; }
article li { margin-bottom: 4px; }
article a { text-decoration: underline; }
article code { padding: 1px 5px; border-radius: 4px; background: #efeee9; font-size: 13.5px; }
aside { margin: 14px 0; padding: 10px 13px; border-left: 3px solid #f5b301; background: #fdf8e7; }
.crumbs { margin-bottom: 10px; color: #4c525a; font-size: 13.5px; }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related h2 { width: 100%; }
.related a { padding: 5px 10px; background: #fff; border: 1px solid #e3e2dd; border-radius: 15px; text-decoration: none; font-size: 13.5px; }
.panel { background: #fff; border: 1px solid #e3e2dd; border-radius: 8px; padding: 18px; margin-bottom: 14px; }
.panel h2 { margin-top: 0; }
.narrow { max-width: 430px; margin: 8vh auto 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.muted { color: #79808a; font-size: 13.5px; }
.error { color: #c4282b; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: #ddf3e6; color: #0f7a4f; }
.pill.warn { background: #fdf1d3; color: #8a5d00; }
.pill.bad { background: #f8e3e3; color: #a12022; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12.5px; color: #79808a; padding: 6px 8px; border-bottom: 1px solid #e3e2dd; }
td { padding: 8px; border-bottom: 1px solid #e3e2dd; }
.key { font-family: Consolas, monospace; font-size: 14px; }
