:root {
    --fd-help-green: #00aa74;
    --fd-help-green-dark: #008f63;
    --fd-help-text: #161616;
    --fd-help-muted: #8a8d95;
    --fd-help-line: #d8d8d8;
    --fd-help-card: #fff;
    --fd-help-bg-top: #fffaf0;
    --fd-help-bg-bottom: #effff3;
    --fd-help-shadow: 0 3px 3px rgba(20, 36, 29, .2);
}

html:has(.fd-help-mobile) {
    overflow-x: hidden;
    scrollbar-width: none;
}

html:has(.fd-help-mobile)::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body:has(.fd-help-mobile) {
    margin: 0;
    background: #202421;
}

body:has(.fd-help-mobile) .site-header,
body:has(.fd-help-mobile) footer,
body:has(.fd-help-mobile) .mobile-nav {
    display: none !important;
}

body:has(.fd-help-mobile) > .fd-system-status {
    color: #090b0a;
    background: var(--fd-help-bg-top);
}

body:has(.fd-help-mobile) > main {
    width: min(100%, 375px);
    max-width: 375px;
    margin: 0 auto;
    padding: 0 !important;
}

.fd-help-mobile,
.fd-help-mobile * {
    box-sizing: border-box;
}

.fd-help-mobile {
    width: 100%;
    max-width: 375px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 44px 0 32px;
    overflow: hidden;
    color: var(--fd-help-text);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 245, 210, .46), transparent 34%),
        linear-gradient(165deg, var(--fd-help-bg-top) 9%, #fffdf7 48%, var(--fd-help-bg-bottom) 100%);
    font-family: "Cairo", Tahoma, Arial, sans-serif;
}

.fd-help-mobile a,
.fd-help-mobile button,
.fd-help-mobile input,
.fd-help-mobile textarea {
    font: inherit;
}

.fd-help-mobile a:focus-visible,
.fd-help-mobile button:focus-visible,
.fd-help-mobile input:focus-visible,
.fd-help-mobile textarea:focus-visible {
    outline: 3px solid rgba(0, 170, 116, .3);
    outline-offset: 3px;
}

.fd-help-mobile > .fd-help-home-header,
.fd-help-mobile > .fd-help-topbar {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0 16px;
    color: var(--fd-help-text);
    background: transparent;
}

.fd-help-mobile > .fd-help-home-header {
    height: 83px;
    direction: rtl;
    justify-content: space-between;
    border: 0;
}

.fd-help-home-header img {
    display: block;
    width: 126px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
}

.fd-help-mobile > .fd-help-topbar {
    height: 74px;
    gap: 10px;
    border-bottom: 1px solid var(--fd-help-line);
}

.fd-help-topbar strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #171717;
    font-size: 20px;
    font-weight: 800;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fd-help-back,
.fd-help-search-link {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 38px;
    place-items: center;
    color: #9da1a3;
    text-decoration: none;
}

.fd-help-search-link {
    color: var(--fd-help-green);
}

.fd-help-back svg,
.fd-help-search-link svg {
    display: block;
    width: 23px;
    height: 23px;
}

.fd-hp-section {
    padding: 21px 9px 0;
}

.fd-hp-section > h1 {
    margin: 0 9px 24px;
    color: #151515;
    font-size: 23px;
    line-height: 1.45;
}

.fd-hp-welcome {
    padding: 7px 17px 0;
}

.fd-hp-welcome h1 {
    margin: 0;
    color: #111;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.75;
}

.fd-hp-welcome h1 span {
    display: block;
    color: var(--fd-help-green);
    font-size: 23px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.fd-hp-home-links,
.fd-hp-home-actions a,
.fd-hp-list,
.fd-hp-questions,
.fd-hp-article-head,
.fd-hp-rating {
    border: 1px solid #ececec;
    background: var(--fd-help-card);
    box-shadow: var(--fd-help-shadow);
}

.fd-hp-home-links {
    margin: 16px 17px 19px;
    overflow: hidden;
    border-radius: 12px;
}

.fd-hp-home-links a {
    display: flex;
    min-height: 70px;
    align-items: center;
    padding: 0 23px;
    border-bottom: 1px solid var(--fd-help-line);
    color: #191919;
    text-decoration: none;
}

.fd-hp-home-links a:last-child {
    border-bottom: 0;
}

.fd-hp-home-links b,
.fd-hp-home-actions span {
    order: 1;
}

.fd-hp-home-links svg,
.fd-hp-home-actions svg {
    order: 2;
    width: 22px;
    height: 22px;
    margin-right: auto;
    color: var(--fd-help-green);
}

.fd-hp-home-links b {
    font-size: 15px;
    font-weight: 600;
}

.fd-hp-home-actions {
    display: grid;
    gap: 14px;
    padding: 0 17px;
}

.fd-hp-home-actions a {
    display: flex;
    min-height: 57px;
    align-items: center;
    padding: 0 20px;
    border-radius: 10px;
    color: #222;
    text-decoration: none;
}

.fd-hp-list,
.fd-hp-questions {
    overflow: hidden;
    border-radius: 11px;
}

.fd-hp-list a,
.fd-hp-questions a {
    position: relative;
    display: flex;
    min-height: 104px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 13px 48px;
    border-bottom: 1px solid var(--fd-help-line);
    color: var(--fd-help-text);
    text-decoration: none;
}

.fd-hp-list a:last-child,
.fd-hp-questions a:last-child {
    border-bottom: 0;
}

.fd-hp-list-copy,
.fd-hp-question-copy {
    display: block;
    min-width: 0;
}

.fd-hp-list-copy b,
.fd-hp-list-copy small,
.fd-hp-question-copy b,
.fd-hp-question-copy small {
    display: block;
}

.fd-hp-list-copy b,
.fd-hp-question-copy b {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;
}

.fd-hp-list-copy small,
.fd-hp-question-copy small {
    margin-top: 3px;
    color: var(--fd-help-muted);
    font-size: 12px;
    line-height: 1.65;
}

.fd-hp-list > a > svg,
.fd-hp-questions > a > svg {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    color: #141414;
}

.fd-hp-category {
    padding: 25px 8px 0;
}

.fd-hp-category-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 12px 22px;
}

.fd-hp-category-heading > div {
    flex: 1;
}

.fd-hp-category-heading h1,
.fd-hp-category-heading p {
    margin: 0;
}

.fd-hp-category-heading h1 {
    font-size: 23px;
    line-height: 1.45;
}

.fd-hp-category-heading p {
    margin-top: 6px;
    color: var(--fd-help-muted);
    font-size: 12px;
}

.fd-hp-category-heading > span {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 50%;
    color: var(--fd-help-green);
    background: #e3fbf2;
}

.fd-hp-category-heading svg {
    width: 24px;
    height: 24px;
}

.fd-hp-questions a {
    min-height: 75px;
}

.fd-hp-search-state {
    padding: 24px 8px;
}

.fd-hp-search-state h1 {
    margin: 0 6px 16px;
    font-size: 16px;
    font-weight: 500;
}

.fd-hp-search-state form {
    position: relative;
}

.fd-hp-search-state input[type="text"],
.fd-hp-search-state input[name="q"] {
    width: 100%;
    height: 58px;
    padding: 0 18px 0 58px;
    border: 1px solid #ececec;
    border-radius: 11px;
    outline: 0;
    color: #181818;
    background: #fff;
    box-shadow: var(--fd-help-shadow);
    font-size: 15px;
}

.fd-hp-search-state input::placeholder {
    color: #a7a9ae;
}

.fd-hp-search-state button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 13px;
    width: 38px;
    border: 0;
    color: var(--fd-help-green);
    background: transparent;
    cursor: pointer;
}

.fd-hp-search-state button svg {
    width: 23px;
    height: 23px;
}

.fd-hp-empty-result,
.fd-hp-inline-empty {
    margin: 18px 8px;
    padding: 17px;
    border-radius: 10px;
    color: #737980;
    background: rgba(255, 255, 255, .78);
    text-align: center;
}

.fd-hp-inline-empty {
    box-shadow: none;
}

.fd-hp-article {
    padding: 27px 16px 20px;
}

.fd-hp-article-head {
    position: relative;
    min-height: 114px;
    margin: 0 0 26px;
    padding: 13px 16px 12px 64px;
    border-radius: 13px;
}

.fd-hp-article-head h1,
.fd-hp-article-head p {
    margin: 0;
}

.fd-hp-article-head h1 {
    color: var(--fd-help-green);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fd-hp-article-head p {
    margin-top: 7px;
    color: var(--fd-help-muted);
    font-size: 12px;
    line-height: 1.65;
}

.fd-hp-article-head > span {
    position: absolute;
    bottom: 20px;
    left: 16px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 9px;
    color: #151515;
    background: #ffd42f;
}

.fd-hp-article-head svg {
    width: 24px;
    height: 24px;
}

.fd-hp-article-body {
    margin: 0 2px 25px;
    padding: 17px 18px;
    border: 1px solid #b8f1d9;
    border-radius: 11px;
    color: #66707a;
    background: #ebfff6;
    font-size: 13px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.fd-hp-rating {
    margin: 0;
    padding: 0;
    border-radius: 12px;
}

.fd-hp-rating fieldset {
    margin: 0;
    padding: 14px 12px 17px;
    border: 0;
    text-align: center;
}

.fd-hp-rating legend {
    width: 100%;
    padding: 0;
    color: #161616;
    font-size: 16px;
    font-weight: 700;
}

.fd-hp-stars {
    display: flex;
    justify-content: center;
    gap: 1px;
    margin: 13px 0 5px;
}

.fd-hp-stars button {
    width: 49px;
    height: 55px;
    padding: 0;
    border: 0;
    color: #9ca1a4;
    background: transparent;
    cursor: pointer;
}

.fd-hp-stars button span::before {
    content: "★";
    font: 48px/1 Arial, sans-serif;
}

.fd-hp-stars button:hover,
.fd-hp-stars button:focus-visible {
    color: #ffc928;
}

.fd-hp-rating p {
    margin: 7px 0 0;
    color: #98a0ad;
    font-size: 11px;
    font-weight: 700;
}

.fd-hp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fd-hp-stats article {
    min-height: 92px;
    padding: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--fd-help-shadow);
    text-align: center;
}

.fd-hp-stats b,
.fd-hp-stats small {
    display: block;
}

.fd-hp-stats b {
    color: var(--fd-help-green-dark);
    font-size: 18px;
}

.fd-hp-stats small {
    margin-top: 6px;
    color: #72777e;
    font-size: 10px;
    line-height: 1.55;
}

.fd-help-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.fd-hp-category nav[role="navigation"] {
    margin: 18px 8px 0;
    font-size: 12px;
}

@media (max-width: 374px) {
    .fd-hp-stars button {
        width: 45px;
    }

    .fd-hp-list a,
    .fd-hp-questions a {
        padding-right: 13px;
    }
}

@media (min-width: 376px) {
    .fd-help-mobile {
        border-radius: 0 0 14px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-help-mobile *,
    .fd-help-mobile *::before,
    .fd-help-mobile *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
