/*
 * SmartBtn — /about/instructions
 *
 * Was raw unstyled HTML (inline style="" on every <li>, no cards, no
 * navigation, screenshots dumped full-width with no border/frame) --
 * inherited from the v1 layout with zero design applied. Restyled as a
 * proper documentation page on the site's own v2 palette (same tokens as
 * assets/css/faq-api-usage.css: #2563EB primary blue, #211D2E dark text,
 * #F7FAFF page background), loaded ONLY by this page -- does not touch
 * any shared stylesheet or other page.
 */

.instr-doc {
    font-family: 'Gilroy', 'Roboto', Arial, sans-serif;
    color: #211D2E;
    background: #F7FAFF;
    padding: 48px 16px 80px;
}

.instr-doc,
.instr-doc * {
    box-sizing: border-box;
}

.instr-doc__container {
    max-width: 860px;
    margin: 0 auto;
}

.instr-doc__title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
    color: #211D2E;
}

.instr-doc__lead {
    font-size: 17px;
    line-height: 1.6;
    color: #42526E;
    margin: 0 0 28px;
}

.instr-doc__lead a,
.instr-doc a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

.instr-doc__lead a:hover,
.instr-doc a:hover {
    text-decoration: underline;
}

.instr-doc__anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.instr-doc__anchor-nav a {
    background: #FFFFFF;
    border: 1px solid #E3ECFB;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

.instr-doc__anchor-nav a:hover {
    background: #EAF2FF;
    text-decoration: none;
}

.instr-doc__section {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 102, 204, 0.08);
    padding: 32px 32px 36px;
    margin-bottom: 28px;
    scroll-margin-top: 24px;
}

@media (max-width: 600px) {
    .instr-doc__section {
        padding: 24px 18px 28px;
    }
}

.instr-doc__section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.instr-doc__section-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #EAF2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.instr-doc__section h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
    color: #211D2E;
}

.instr-doc__callout {
    background: #FFF3E0;
    border-left: 4px solid #E8A93B;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #6B4E12;
    margin-bottom: 22px;
}

.instr-doc__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: instr-step;
}

.instr-doc__step {
    counter-increment: instr-step;
    position: relative;
    padding: 0 0 26px 40px;
    font-size: 15px;
    line-height: 1.65;
    color: #333A4D;
}

.instr-doc__step:last-child {
    padding-bottom: 0;
}

.instr-doc__step::before {
    content: counter(instr-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2563EB;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instr-doc__step p {
    margin: 0 0 10px;
}

.instr-doc__step p:last-child {
    margin-bottom: 0;
}

.instr-doc__step img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #E3ECFB;
    margin: 12px 0;
}

.instr-doc__step code {
    background: #EEF3FE;
    color: #1745B8;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.92em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
