.help-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px 90px;
}

.help-hero {
    text-align: center;
    margin-bottom: 34px;
}
.help-eyebrow {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(224, 31, 31, .1);
    color: #e01f1f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
[data-theme="dark"] .help-eyebrow { background: rgba(255, 94, 94, .12); color: #ff7a7a; }
.help-title {
    margin: 0 0 10px;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--text);
}
.help-title span { color: #e01f1f; }
[data-theme="dark"] .help-title span { color: #ff6b6b; }
.help-sub {
    max-width: 480px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.help-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.help-cat {
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(12px);
    animation: help-in .55s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: var(--enter-delay, 0ms);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1), border-color .3s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] .help-cat { background: #161616; border-color: rgba(255, 255, 255, .08); }
@keyframes help-in { to { opacity: 1; transform: translateY(0); } }
.help-cat:hover {
    transform: translateY(-3px);
    border-color: rgba(224, 31, 31, .3);
    box-shadow: 0 14px 32px rgba(224, 31, 31, .1);
}
[data-theme="dark"] .help-cat:hover { border-color: rgba(255, 94, 94, .35); box-shadow: 0 14px 32px rgba(0, 0, 0, .5); }
.help-cat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}
.help-cat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(224, 31, 31, .1);
    color: #e01f1f;
    flex-shrink: 0;
}
[data-theme="dark"] .help-cat-ico { background: rgba(255, 94, 94, .12); color: #ff7a7a; }
.help-cat-ico svg { width: 19px; height: 19px; }
.help-cat-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}
.help-cat-links { display: flex; flex-direction: column; gap: 2px; }
.help-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 8px 8px 4px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s cubic-bezier(.16, 1, .3, 1), background .2s cubic-bezier(.16, 1, .3, 1);
}
.help-cat-link:hover { color: #e01f1f; background: rgba(224, 31, 31, .06); }
[data-theme="dark"] .help-cat-link:hover { color: #ff7a7a; background: rgba(255, 94, 94, .08); }
.help-cat-link-chev {
    display: inline-flex;
    flex-shrink: 0;
    color: #e01f1f;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] .help-cat-link-chev { color: #ff7a7a; }
.help-cat-link-chev svg { width: 13px; height: 13px; transform: rotate(-90deg); }
.help-cat-link:hover .help-cat-link-chev { transform: translateX(2px); }

.help-assist {
    padding: 22px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}
[data-theme="dark"] .help-assist { background: #131313; border-color: rgba(255, 255, 255, .07); }
.help-assist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.help-assist-title { display: flex; flex-direction: column; gap: 2px; }
.help-assist-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--text);
}
.help-assist-note { font-size: 12.5px; color: var(--muted); }
.help-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
    max-width: 520px;
}
.help-search-ico { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.help-search-input {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 42px 13px 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] .help-search-input { background: #1c1c1c; border-color: rgba(255, 255, 255, .1); }
.help-search-input::placeholder { color: var(--muted); }
.help-search-input:focus-visible {
    outline: none;
    border-color: #e01f1f;
    box-shadow: 0 0 0 3px rgba(224, 31, 31, .1);
}
[data-theme="dark"] .help-search-input:focus-visible { border-color: #ff5e5e; box-shadow: 0 0 0 3px rgba(255, 77, 77, .12); }
.help-search-clear {
    position: absolute;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.help-search-clear:hover { color: var(--text); background: rgba(0, 0, 0, .06); }
[data-theme="dark"] .help-search-clear:hover { background: rgba(255, 255, 255, .08); }

.help-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.help-col {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
}
[data-theme="dark"] .help-col { background: #171717; border-color: rgba(255, 255, 255, .07); }
.help-col-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}
.help-col-list { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.help-col-q {
    border: 0;
    background: none;
    padding: 7px 4px;
    border-radius: 7px;
    color: var(--muted);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}
.help-col-q:hover { color: #e01f1f; background: rgba(224, 31, 31, .06); }
[data-theme="dark"] .help-col-q:hover { color: #ff7a7a; background: rgba(255, 94, 94, .08); }
.help-col-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-top: 12px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #e01f1f;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}
[data-theme="dark"] .help-col-more { color: #ff7a7a; }
.help-col-more svg { width: 13px; height: 13px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.help-col-more:hover svg { transform: translateX(3px); }

.help-faq-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.help-faq-head h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--text); }
.help-faq-count { font-size: 13px; font-weight: 600; color: var(--muted); }
.help-faq-list { display: flex; flex-direction: column; gap: 10px; }
.help-faq-item {
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    animation: help-in .5s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: var(--enter-delay, 0ms);
    transition: border-color .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] .help-faq-item { background: #161616; border-color: rgba(255, 255, 255, .08); }
.help-faq-item[hidden] { display: none; }
.help-faq-item.is-open { border-color: rgba(224, 31, 31, .3); box-shadow: 0 6px 20px rgba(224, 31, 31, .08); }
[data-theme="dark"] .help-faq-item.is-open { border-color: rgba(255, 94, 94, .32); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.help-faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 17px 18px;
    border: 0;
    background: none;
    color: var(--text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
.help-faq-cat {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(224, 31, 31, .09);
    color: #e01f1f;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .2px;
    text-transform: uppercase;
}
[data-theme="dark"] .help-faq-cat { background: rgba(255, 94, 94, .12); color: #ff7a7a; }
.help-faq-qtext { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.help-faq-chev {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--muted);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .2s ease;
}
.help-faq-chev svg { width: 18px; height: 18px; }
.help-faq-item.is-open .help-faq-chev { transform: rotate(180deg); color: #e01f1f; }
[data-theme="dark"] .help-faq-item.is-open .help-faq-chev { color: #ff7a7a; }
.help-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.16, 1, .3, 1);
}
.help-faq-a p {
    margin: 0;
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.help-faq-skel {
    height: 56px;
    border-radius: 13px;
    background: linear-gradient(90deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.07) 50%, rgba(0,0,0,.04) 100%);
    background-size: 200% 100%;
    animation: help-shimmer 1.2s linear infinite;
}
[data-theme="dark"] .help-faq-skel {
    background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 100%);
    background-size: 200% 100%;
}
@keyframes help-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.help-faq-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 44px 24px;
}
.help-faq-empty-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 6px;
    color: #e01f1f;
    background: rgba(224, 31, 31, .08);
}
[data-theme="dark"] .help-faq-empty-ico { color: #ff7a7a; background: rgba(255, 94, 94, .1); }
.help-faq-empty strong { font-size: 17px; font-weight: 800; color: var(--text); }
.help-faq-empty p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 360px; }

body.help-searching .help-cats,
body.help-searching .help-cols { display: none; }

body.faq-editor .help-faq-item.is-editable .help-faq-q { cursor: pointer; }
body.faq-editor [data-faq-field] {
    cursor: text;
    border-radius: 5px;
    transition: box-shadow .15s ease, background .15s ease;
}
body.faq-editor [data-faq-field]:hover {
    box-shadow: 0 0 0 2px rgba(224,31,31,.45);
    background: rgba(224,31,31,.05);
}
body.faq-editor .help-faq-item.is-hl {
    box-shadow: 0 0 0 2px #e01f1f, 0 8px 24px rgba(224,31,31,.15);
}

.help-contact { margin-top: 40px; }
.help-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e01f1f, #b3160f);
    box-shadow: 0 20px 50px -18px rgba(224, 31, 31, .55);
    position: relative;
    overflow: hidden;
}
.help-contact-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
    pointer-events: none;
}
.help-contact-text { position: relative; min-width: 0; }
.help-contact-text h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.help-contact-text p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 460px; }
.help-contact-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.help-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), background .25s ease;
}
.help-contact-btn svg { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.help-contact-btn-primary { background: #fff; color: #e01f1f; }
.help-contact-btn-primary:hover { transform: translateY(-2px); }
.help-contact-btn-primary:hover svg { transform: translateX(3px); }
.help-contact-btn-ghost { background: rgba(255, 255, 255, .15); color: #fff; }
.help-contact-btn-ghost:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }

@media (max-width: 860px) {
    .help-cats { grid-template-columns: 1fr; }
    .help-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .help-main { padding: 30px 16px 70px; }
    .help-title { font-size: 32px; }
    .help-assist { padding: 16px; }
    .help-search { max-width: none; min-width: 0; }
    .help-contact-card { padding: 24px; }
    .help-faq-qtext { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .help-cat, .help-faq-item { animation: none; opacity: 1; transform: none; }
}
