/* Seller guide */
.sg-body { padding: 2.5rem 0 4rem; }
.sg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .sg-layout { grid-template-columns: 1fr; }
}

.sg-intro {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem; box-shadow: var(--shadow);
}
.sg-intro p { color: var(--muted); line-height: 1.7; font-size: .95rem; }

.sg-cats {
    display: flex; flex-wrap: wrap; gap: .45rem;
    margin-bottom: 1.75rem;
}
.sg-cat-btn {
    padding: .5rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); background: var(--card);
    font: inherit; font-size: .82rem; font-weight: 600;
    color: var(--muted); cursor: pointer; transition: all .2s;
}
.sg-cat-btn:hover { border-color: var(--accent); color: var(--accent); }
.sg-cat-btn.on {
    background: var(--accent); border-color: var(--accent); color: #272824;
}

.sg-guide {
    display: none;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    margin-bottom: 1.25rem; box-shadow: var(--shadow);
    animation: sgFade .3s ease;
}
.sg-guide.on { display: block; }
@keyframes sgFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.sg-guide-head {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}
.sg-guide-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; flex-shrink: 0;
}
.sg-guide-head h2 {
    font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em;
    flex: 1; min-width: 180px;
}
.sg-guide-cat {
    padding: .22rem .6rem; border-radius: 999px;
    background: var(--card); border: 1px solid var(--line);
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--steel);
}
.sg-guide-body { padding: 1.35rem 1.5rem 1.5rem; }
.sg-guide-lead {
    font-size: .9rem; color: var(--muted); line-height: 1.65;
    margin-bottom: 1.25rem;
}

.sg-steps { display: flex; flex-direction: column; gap: .85rem; }
.sg-step {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem; border-radius: var(--radius);
    background: var(--surface-2); border: 1px solid var(--line);
}
.sg-step-num {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--ink); color: #fff;
    display: grid; place-items: center;
    font-family: 'Outfit', sans-serif; font-weight: 800;
    font-size: .85rem; flex-shrink: 0;
}
.sg-step strong {
    display: block; font-size: .9rem; margin-bottom: .25rem;
}
.sg-step p {
    font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0;
}
.sg-step a { color: var(--accent); }

.sg-tip {
    display: flex; gap: .85rem; margin-top: 1.25rem;
    padding: 1rem 1.15rem; border-radius: var(--radius);
    background: rgba(206,254,36,.06); border: 1px solid rgba(206,254,36,.15);
    font-size: .86rem; color: #2d6b4f; line-height: 1.55;
}
.sg-tip svg { flex-shrink: 0; margin-top: .1rem; }

.sg-section-title {
    font-size: 1.1rem; font-weight: 800;
    letter-spacing: -.02em; margin-bottom: 1rem;
}

.sg-csv-wrap {
    overflow-x: auto;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
}
.sg-csv-table {
    width: 100%; border-collapse: collapse;
    font-size: .84rem;
}
.sg-csv-table th,
.sg-csv-table td {
    padding: .85rem 1rem; text-align: left;
    border-bottom: 1px solid var(--line);
}
.sg-csv-table th {
    background: var(--surface-2);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--steel);
}
.sg-csv-table tr:last-child td { border-bottom: none; }
.sg-csv-table code {
    font-size: .8rem; padding: .15rem .4rem;
    background: var(--surface-2); border-radius: 4px;
    color: var(--ink);
}
.sg-csv-note {
    padding: 1rem 1.25rem;
    font-size: .82rem; color: var(--muted); line-height: 1.6;
    border-top: 1px solid var(--line);
}

.sg-checklist {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 600px) { .sg-checklist { grid-template-columns: 1fr; } }
.sg-check {
    display: flex; align-items: center; gap: .55rem;
    padding: .75rem 1rem; background: var(--card);
    border: 1px solid var(--line); border-radius: 10px;
    font-size: .86rem;
}
.sg-check::before {
    content: '✓'; width: 22px; height: 22px; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center;
    font-size: .7rem; font-weight: 800; flex-shrink: 0;
}

.sg-mistakes {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 600px) { .sg-mistakes { grid-template-columns: 1fr; } }
.sg-mistake {
    padding: 1.2rem; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius);
}
.sg-mistake h4 {
    font-size: .88rem; font-weight: 700; margin-bottom: .4rem;
    color: #9a5050;
}
.sg-mistake p {
    font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0;
}

.sg-faq { display: flex; flex-direction: column; gap: .65rem; }
.sg-faq-item {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
}
.sg-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: 1rem 1.15rem; border: none; background: transparent;
    text-align: left; font: inherit; font-size: .92rem; font-weight: 600;
    cursor: pointer;
}
.sg-faq-q:hover { background: var(--surface-2); }
.sg-faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--muted); }
.sg-faq-item.open .sg-faq-q svg { transform: rotate(180deg); }
.sg-faq-a {
    display: none; padding: 0 1.15rem 1rem;
    font-size: .88rem; color: var(--muted); line-height: 1.65;
}
.sg-faq-item.open .sg-faq-a { display: block; }
.sg-faq-a a { color: var(--accent); }

.sg-empty {
    text-align: center; padding: 2rem;
    color: var(--muted); display: none;
}
.sg-empty.on { display: block; }

.sg-sidebar { position: sticky; top: 5.5rem; }
@media (max-width: 1024px) { .sg-sidebar { position: static; order: -1; } }
.sg-side-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.25rem;
    margin-bottom: 1rem; box-shadow: var(--shadow);
}
.sg-side-card h3 {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--accent); margin-bottom: .85rem;
}
.sg-side-links { display: flex; flex-direction: column; gap: .4rem; }
.sg-side-links a {
    font-size: .86rem; color: var(--muted); text-decoration: none;
}
.sg-side-links a:hover { color: var(--accent); }
.sg-side-cta {
    background: linear-gradient(135deg, var(--ink), #1a2820);
    border: none; color: #fff; text-align: center;
}
.sg-side-cta p {
    font-size: .84rem; color: rgba(255,255,255,.6);
    margin: .45rem 0 1rem; line-height: 1.55;
}
.sg-side-cta .btn {
    display: inline-flex; padding: .65rem 1.15rem;
    border-radius: 999px; background: var(--accent);
    color: #272824; text-decoration: none; font-weight: 600;
    font-size: .84rem;
}
