/* Dokumentacja Lexicave — /help/ */
.help-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #f0f1f4 0%, #e8e4ee 45%, #f2f3f5 100%);
    padding: 1rem 0.75rem 3rem;
}

.help-wrap {
    max-width: 54rem;
    margin: 0 auto;
}

.help-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #1a1a22;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.help-brand img {
    width: 2.25rem;
    height: auto;
}

.help-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.help-top .help-brand {
    margin-bottom: 0;
}

.help-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid #e2d8ea;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 3px 12px rgba(26, 10, 34, 0.06);
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
}

.help-language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #6d3378;
    text-decoration: none;
    font-weight: 600;
}

.help-language-switcher a[aria-current="true"] {
    background: #923fa2;
    color: #fff;
}

.help-content {
    background: #fff;
    padding: 1.5rem 1.35rem;
    border-radius: 12px;
    color: #2a2a32;
    box-shadow: 0 8px 32px rgba(26, 10, 34, 0.08);
    font-family: 'Quicksand', sans-serif;
    line-height: 1.65;
    font-size: 1rem;
}

@media (min-width: 40rem) {
    .help-page {
        padding: 2rem 1.25rem 4rem;
    }

    .help-content {
        padding: 2.25rem 2.5rem;
    }
}

.help-content h1,
.help-content h2,
.help-content h3 {
    font-family: 'Jost', sans-serif;
    color: #1a1a22;
    line-height: 1.25;
}

.help-content h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    border-bottom: 2px solid #923fa2;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.help-content h2 {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    scroll-margin-top: 0.75rem;
}

.help-content h3 {
    font-size: 1.05rem;
    margin-top: 1.15rem;
    margin-bottom: 0.45rem;
}

.help-content p,
.help-content ul,
.help-content ol {
    margin-bottom: 0.9rem;
}

.help-content ul,
.help-content ol {
    padding-left: 1.35rem;
}

.help-content li {
    margin-bottom: 0.3rem;
}

.help-content code {
    font-size: 0.9em;
    background: #f4f0f8;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    word-break: break-word;
}

.help-content kbd {
    font-family: ui-monospace, monospace;
    font-size: 0.85em;
    background: #f0f0f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.1em 0.35em;
}

.help-content a {
    color: #7a2f8a;
    text-decoration: none;
    font-weight: 600;
}

.help-content a:hover {
    text-decoration: underline;
}

.help-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #ebe8f0;
    font-size: 0.92rem;
}

.help-nav a {
    color: #923fa2;
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0;
}

.help-nav a[aria-current="page"] {
    color: #1a1a22;
    text-decoration: underline;
}

.help-toc {
    background: linear-gradient(180deg, #faf6fc 0%, #f5f0fa 100%);
    border: 1px solid #e8d8ef;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
}

.help-toc ul {
    margin-bottom: 0;
}

.help-cards {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 1.5rem;
}

@media (min-width: 36rem) {
    .help-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.help-card {
    display: block;
    padding: 1.1rem 1.25rem;
    border: 1px solid #e6e2ec;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.help-card:hover {
    border-color: #923fa2;
    box-shadow: 0 4px 16px rgba(146, 63, 162, 0.14);
    transform: translateY(-1px);
}

.help-card strong {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 1.08rem;
    color: #1a1a22;
    margin-bottom: 0.3rem;
}

.help-card span {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.5;
}

.help-callout {
    background: #fff8e6;
    border-left: 4px solid #c9a227;
    padding: 0.7rem 0.95rem;
    margin: 1rem 0 1.1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.94rem;
}

.help-callout--info {
    background: #eef6ff;
    border-left-color: #4a7fc1;
}

.help-callout--success {
    background: #edf8f0;
    border-left-color: #3d8f5c;
}

.help-callout--warning {
    background: #fff2f2;
    border-left-color: #c95151;
}

.help-grid-two {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

@media (min-width: 42rem) {
    .help-grid-two {
        grid-template-columns: 1fr 1fr;
    }
}

.help-mini-card {
    border: 1px solid #ece8f0;
    border-radius: 10px;
    padding: 1rem;
    background: #fbfafc;
}

.help-mini-card h3 {
    margin-top: 0;
}

.help-steps {
    counter-reset: help-step;
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.25rem;
}

.help-steps > li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.85rem;
}

.help-steps > li::before {
    counter-increment: help-step;
    content: counter(help-step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #923fa2;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    min-width: 16rem;
}

.help-table th,
.help-table td {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #ece8f0;
    vertical-align: top;
}

.help-table th {
    font-family: 'Jost', sans-serif;
    background: #f8f4fa;
    color: #1a1a22;
}

.help-figure {
    margin: 1.1rem 0 1.35rem;
}

.help-screenshot-slot {
    position: relative;
    min-height: 8rem;
    border: 1px solid #e4e0ea;
    border-radius: 10px;
    background: #f8f8fa;
    overflow: hidden;
}

.help-screenshot-slot img {
    display: block;
    width: 100%;
    height: auto;
}

.help-screenshot-slot.has-image {
    background: #fff;
    min-height: 0;
}

.help-screenshot-slot.has-image .help-screenshot-slot__placeholder {
    display: none;
}

.help-screenshot-slot__placeholder {
    text-align: center;
    padding: 1.25rem;
    color: #777;
    font-size: 0.88rem;
}

.help-figure figcaption {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    color: #5a5a66;
    line-height: 1.45;
}

.help-footer-links {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid #ebe8f0;
    font-size: 0.9rem;
}

.help-footer-links a {
    font-weight: 600;
}

.help-lead {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.25rem;
}

.help-fluffychat ol {
    margin-top: 0.5rem;
}

@media (max-width: 34rem) {
    .help-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
