.ta-guide {
    margin-bottom: 1rem;
    direction: rtl;
    text-align: right;
}

.ta-guide .fi-section-header {
    cursor: pointer;
}

.ta-guide .fi-section-header-text-ctn,
.ta-guide .fi-section-header-heading,
.ta-guide .fi-section-header-description {
    text-align: start;
}

.ta-guide-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ta-guide-block {
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
}

.ta-guide-block h3 {
    margin: 0 0 0.45rem;
    font-size: 0.8125rem;
    font-weight: 650;
}

.ta-guide-block p,
.ta-guide-block li,
.ta-guide-field dd {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
    text-align: start;
}

.ta-guide-what {
    background: color-mix(in srgb, var(--primary-400, #fbbf24) 16%, transparent);
}

.ta-guide-what h3 {
    color: var(--primary-700, #b45309);
}

.ta-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .ta-guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fi-simple-page .ta-guide-grid {
        grid-template-columns: 1fr;
    }
}

.ta-guide-chip,
.ta-guide-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    border-radius: 0.75rem;
    padding: 0.65rem 0.8rem;
    background: rgba(15, 23, 42, 0.04);
    direction: rtl;
}

.ta-guide-dot {
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: var(--primary-500, #f59e0b);
}

.ta-guide-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-500, #f59e0b);
}

.ta-guide-fields {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
}

.ta-guide-field {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    direction: rtl;
    text-align: start;
}

.ta-guide-field:last-child {
    border-bottom: 0;
}

.ta-guide-field dt {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 650;
}

@media (min-width: 640px) {
    .ta-guide-field {
        grid-template-columns: 9.5rem 1fr;
        gap: 0.75rem;
        align-items: start;
    }
}

.ta-guide-tip {
    background: color-mix(in srgb, #10b981 12%, transparent);
}

.ta-guide-tip h3 {
    color: #047857;
}

.ta-guide-caution {
    background: color-mix(in srgb, #f43f5e 12%, transparent);
}

.ta-guide-caution h3 {
    color: #be123c;
}

.ta-guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

html.dark .ta-guide-chip,
html.dark .ta-guide-step {
    background: rgba(255, 255, 255, 0.05);
}

html.dark .ta-guide-fields {
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark .ta-guide-field {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .ta-guide-what h3 {
    color: var(--primary-300, #fcd34d);
}

html.dark .ta-guide-tip h3 {
    color: #6ee7b7;
}

html.dark .ta-guide-caution h3 {
    color: #fda4af;
}

.fi-simple-page .ta-guide {
    margin-top: 0.15rem;
    margin-bottom: 0.85rem;
}

.fi-simple-page .ta-guide-body {
    max-height: 16rem;
    overflow: auto;
    padding-inline-end: 0.15rem;
}
