 
.fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 24px;
}
.fact-icon svg {
    display: block;
}
.faq-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    color: #273e31;
    background: #e9eee9;
}
.faq-plus svg {
    display: block;
}
html[data-theme='dark'] .faq-plus {
    color: #b9d6be;
    background: #353d37;
}
details[open] .faq-plus {
    transform: rotate(45deg);
}
.text-link,
.back-link {
    position: relative;
    text-decoration: none;
    border-bottom: 0;
}
.text-link:after,
.back-link:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 7px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C20 1 30 7 50 4S75 2 92 4s28 2 42 0 27-1 44-2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
        center/100% 100% no-repeat;
    transform: scaleX(1);
    transition: opacity 0.2s;
    opacity: 0.75;
}
.text-link:after {
    opacity: 0.8;
}
.text-link:hover:after,
.text-link:focus-visible:after,
.back-link:hover:after,
.back-link:focus-visible:after {
    opacity: 1;
}
.footer-payments {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    padding: 28px 0;
    border-top: 1px solid #ffffff15;
    font-size: 12px;
}
.payment-brands {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.payment-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    line-height: 0;
}
.payment-brand img {
    width: 64px;
    height: 32px;
    object-fit: contain;
}
.payment-checkout {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #8da88855;
    background: #8da8880b;
    border-radius: 18px;
}
.payment-checkout .btn {
    margin-top: 10px;
    margin-right: 7px;
}
.payment-checkout label {
    display: block;
    margin: 14px 0;
}
.payment-checkout .field-hint {
    line-height: 1.6;
}
.studio-grid,
.cms-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.full {
    grid-column: 1/-1;
}
.studio-grid label,
.cms-fields label,
.cms-block label,
.cms-metadata label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.studio-grid .check {
    flex-direction: row;
    align-items: center;
}
.studio-grid input[type='checkbox'] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.white-panel:has(.studio-grid),
.provider-card,
.cms-group {
    margin-bottom: 20px;
}
.cms-page-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}
.cms-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
}
.cms-page h3 {
    margin: 8px 0;
}
.cms-page small {
    color: var(--muted);
}
.cms-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}
.cms-metadata {
    display: grid;
    gap: 15px;
}
.cms-metadata .check {
    display: flex;
    flex-direction: row;
}
.cms-fields {
    margin-top: 20px;
}
.cms-group {
    padding-top: 20px;
}
.cms-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.cms-blocks {
    display: grid;
    gap: 15px;
}
.cms-block {
    display: grid;
    gap: 14px;
    padding: 25px;
    background: #fff;
    border: 1px solid #dce2da;
    border-radius: 20px;
}
.cms-block-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
}
.cms-savebar {
    position: sticky;
    bottom: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #b7c7b4;
    border-radius: 18px;
    background: #f5f8f2f5;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 35px #23332615;
    z-index: 5;
    margin: 22px 0;
}
.cms-savebar > span {
    flex: 1;
    font-size: 12px;
}
.cms-preview {
    max-width: 850px;
}
.cms-preview p {
    white-space: pre-line;
}
.provider-card summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
.provider-card summary strong {
    font-size: 24px;
}
.provider-card summary span {
    font-size: 12px;
    color: var(--muted);
}
.provider-card form {
    margin-top: 25px;
}
.provider-hook {
    padding: 16px;
    border: 1px solid #bacab733;
    border-radius: 15px;
    display: grid;
    gap: 10px;
}
.provider-hook input {
    font: 12px monospace;
}
.provider-hook small {
    line-height: 1.7;
    color: var(--muted);
}
.payment-events {
    max-height: 450px;
    overflow: auto;
}
.payment-events small {
    font-size: 11px;
    color: var(--muted);
}
.payment-events p {
    border-bottom: 1px solid #93a38d33;
    padding: 12px 0;
}
.product-editor-form {
    display: block !important;
    margin-bottom: 25px;
}
.product-editor-form .btn {
    margin-top: 15px;
}
.product-edit-fields {
    margin: 20px 0;
}
.product-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.product-upload input[type='file'] {
    font-size: 12px;
    padding: 10px;
    max-width: 100%;
}
.admin-add form.studio-grid {
    margin-top: 18px;
}
.draft-notice {
    padding: 18px;
    border-radius: 16px;
    background: #c2d4a322;
    font-size: 13px;
    margin-bottom: 20px;
}
.draft-notice .btn {
    margin-left: 12px;
}
.refund-confirm {
    margin-top: 12px;
    font-size: 12px;
    max-width: 240px;
}
.fee-preview {
    border: 1px dashed #8ca88677;
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
}
.admin-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
}
.admin-sidebar button span {
    width: 22px;
    display: inline-flex;
    justify-content: center;
}
.admin-title h1 {
    letter-spacing: -0.04em;
}
.admin-product .admin-product-heading img {
    object-fit: contain;
}
html[data-theme='dark'] .cms-block {
    background: #2d332e;
    border-color: #424b42;
}
html[data-theme='dark'] .cms-savebar {
    background: #303b31f5;
    border-color: #566a55;
}
html[data-theme='dark'] .cms-block input,
html[data-theme='dark'] .cms-block textarea {
    background: #242a25;
    border-color: #4b594a;
    color: #edf2e8;
}
@media (max-width: 980px) {
    .admin-sidebar {
        position: static;
    }
}
@media (max-width: 640px) {
    .studio-grid,
    .cms-fields {
        grid-template-columns: 1fr;
    }
    .cms-page {
        align-items: flex-start;
        flex-direction: column;
    }
    .cms-savebar {
        flex-wrap: wrap;
        bottom: 8px;
        padding: 12px;
    }
    .cms-savebar > span {
        flex-basis: 100%;
    }
    .cms-savebar .btn {
        flex: 1;
        padding: 13px 10px;
        font-size: 12px;
    }
    .cms-block {
        padding: 18px;
    }
    .provider-card summary {
        flex-direction: column;
    }
    .footer-payments {
        gap: 14px;
    }
    .payment-brand {
        padding: 0;
    }
    .payment-brand img {
        width: 52px;
        height: 26px;
    }
    .product-upload {
        display: block;
    }
    .draft-notice .btn {
        display: block;
        margin: 8px 0 0;
    }
    .cms-block-actions .btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .text-link:after,
    .back-link:after {
        transition: none;
    }
}

.header nav a,
.footer-links a,
.footer-links a:hover {
    text-decoration: none;
    border-bottom: 0;
}
[data-theme='dark'] .hero h1 span {
    color: var(--accent);
}
.fact-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
}

.product-tools {
    display: grid;
    gap: 12px;
    padding: 22px;
}
.product-tools label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.product-tools input {
    width: 100%;
}

 
.footer-payments {
    justify-content: space-between;
}
.developer-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.developer-credit-label {
    color: var(--muted);
    font-size: 10px;
}
.developer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--ink);
    background: var(--white);
    transition:
        background 0.2s,
        border-color 0.2s;
}
.developer-credit-link strong {
    font:
        500 14px Outfit,
        'Golos Text',
        sans-serif;
}
.developer-credit-link svg {
    color: #709657;
    flex-shrink: 0;
}
.developer-credit-link > span {
    color: var(--muted);
    font-size: 15px;
}
.developer-credit-link:hover {
    background: #edf5e6;
    border-color: #a4bf8d;
}
[data-theme='dark'] .developer-credit-link:hover {
    background: #344235;
    color: #eef4ef;
    border-color: #7c9871;
}
.developer-credit-link:focus-visible {
    outline: 2px solid #86ab70;
    outline-offset: 4px;
}
@media (max-width: 640px) {
    .developer-credit {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 10px;
    }
}
