.facenimal-help-page {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1240px;
    padding-bottom: 92px;
    width: 100%;
}

.facenimal-help-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.facenimal-help-panel-shell {
    display: grid;
    gap: 14px;
}

.facenimal-help-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
}

.facenimal-help-panel h2 {
    color: #17212b;
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 12px;
}

.facenimal-help-contact-form {
    display: grid;
    gap: 10px;
}

.facenimal-help-contact-form label {
    display: grid;
    gap: 5px;
}

.facenimal-help-contact-form span {
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.facenimal-help-contact-form input,
.facenimal-help-contact-form textarea {
    background: #f8fafc;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    box-sizing: border-box;
    color: #17212b;
    font: inherit;
    font-size: 16px;
    padding: 10px 12px;
    width: 100%;
}

.facenimal-help-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.facenimal-help-contact-form input:focus,
.facenimal-help-contact-form textarea:focus {
    background: #ffffff;
    border-color: #98a2b3;
    outline: none;
}

.facenimal-help-submit {
    align-items: center;
    background: #006400;
    border: 1px solid #006400;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    width: fit-content;
}

.facenimal-help-links {
    display: grid;
    gap: 8px;
}

.facenimal-help-links a {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    color: #17212b;
    display: grid;
    gap: 2px;
    padding: 10px;
    text-decoration: none;
}

.facenimal-help-links a:hover,
.facenimal-help-links a:focus {
    background: #ecfdf3;
    border-color: #b7e4c7;
    color: #006400;
    text-decoration: none;
}

.facenimal-help-links strong {
    font-size: 13px;
    font-weight: 900;
}

.facenimal-help-links small {
    color: #667085;
    font-size: 12px;
}

.facenimal-help-notice {
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 14px;
    padding: 10px 12px;
}

.facenimal-help-notice.is-success {
    background: #ecfdf3;
    color: #006400;
}

.facenimal-help-notice.is-error {
    background: #fff1f0;
    color: #b42318;
}

.facenimal-help-hidden-field {
    display: none !important;
}

@media (max-width: 780px) {
    .facenimal-help-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal documents served by the plugin: readable prose column, and a cookie
   table that scrolls on its own rather than pushing the page sideways. */
/* The theme lays the content area out as a flex row, so <main> shrinks to its
   content and sits against the left edge — `margin: 0 auto` on the inner block
   then has nothing to centre inside. Measured at 1280px: the column sat 10px
   from the left with 450px of empty space on the right. Centring the flex item
   itself is what does it. */
.facenimal-legal-main {
    margin: 0 auto;
    min-width: 0;
    width: 100%;
}

.facenimal-legal {
    box-sizing: border-box;
    /* Centred with the same comfortable reading column the other screens use,
       rather than the theme's full width — a legal text read edge to edge on a
       desktop is unreadable. The bottom padding clears the mobile menu. */
    margin: 0 auto;
    max-width: 820px;
    padding: 16px 16px 92px;
    width: 100%;
}

.facenimal-legal-bar {
    margin-bottom: 14px;
    padding: 10px 14px;
}

.facenimal-legal-bar .facenimal-community-composer-head {
    align-items: center;
    display: flex;
    gap: 12px;
}

.facenimal-legal-bar-title {
    color: var(--facenimal-theme-text, #101828);
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facenimal-legal-home-link {
    flex: 0 0 auto;
}

.facenimal-legal-document {
    padding: 24px;
}

.facenimal-legal-content {
    color: var(--facenimal-theme-text, #101828);
    line-height: 1.65;
}

.facenimal-legal-content h2 {
    font-size: 18px;
    margin: 28px 0 8px;
}

.facenimal-legal-updated {
    border-top: 1px solid var(--facenimal-theme-border, #e4e7ec);
    color: var(--facenimal-theme-muted, #475467);
    font-size: 13px;
    margin: 24px 0 0;
    padding-top: 12px;
}

.facenimal-legal-table-wrap {
    overflow-x: auto;
}

.facenimal-legal-table {
    border-collapse: collapse;
    min-width: 560px;
    width: 100%;
}

.facenimal-legal-table th,
.facenimal-legal-table td {
    border-bottom: 1px solid var(--facenimal-theme-border, #e4e7ec);
    font-size: 14px;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.facenimal-legal-table th {
    color: var(--facenimal-theme-muted, #475467);
    font-size: 13px;
    font-weight: 600;
}

.facenimal-legal-languages {
    margin: 8px 0 0;
    padding-left: 18px;
}
