
    .fontish-fsf-plugin,
    .fontish-fsf-plugin * {
        box-sizing: border-box;
    }
    .fontish-fsf-plugin {
        margin: 0;
        background: #f7f7fa;
        color: #2E2E3A;
        font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        line-height: 1.55;
    }
    .fontish-fsf-plugin button,
    .fontish-fsf-plugin input,
    .fontish-fsf-plugin select {
        font: inherit;
    }

    .prototype {
        width: min(100% - 32px, 1140px);
        margin: 48px auto 80px;
    }

    .prototype__header {
        max-width: 760px;
        margin-bottom: 32px;
    }

    .prototype__eyebrow {
        margin: 0 0 8px;
        color: #6A5ACD;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .fontish-fsf-plugin h1 {
        margin: 0 0 12px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(36px, 6vw, 54px);
        line-height: 1.05;
    }

    .prototype__intro {
        margin: 0;
        max-width: 680px;
        font-size: 18px;
        color: #626272;
    }

    .fsf {
        display: grid;
        gap: 24px;
    }

    .fsf-panel {
        background: white;
        border: 1px solid #e5e5ed;
        border-radius: 12px;
        padding: 24px;
    }

    .fsf-panel h2 {
        margin: 0 0 6px;
        font-size: 22px;
    }

    .fsf-panel__intro {
        margin: 0 0 18px;
        color: #6a6a78;
    }

    .fsf-search-wrap {
        position: relative;
        max-width: 700px;
    }

    .fsf-search {
        width: 100%;
        min-height: 52px;
        border: 1px solid #cfcfda;
        border-radius: 10px;
        padding: 0 16px;
        background: white;
        color: #2E2E3A;
        outline: none;
    }

    .fsf-search:focus {
        border-color: #6A5ACD;
        box-shadow: 0 0 0 3px rgba(106, 90, 205, .12);
    }

    .fsf-suggestions {
        position: absolute;
        z-index: 20;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        overflow: hidden;
        background: white;
        border: 1px solid #dcdce5;
        border-radius: 10px;
        box-shadow: 0 14px 35px rgba(46, 46, 58, .12);
    }

    .fsf-suggestion {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid #eeeeF3;
        background: white;
        color: #2E2E3A;
        text-align: left;
        cursor: pointer;
    }

    .fsf-suggestion:last-child {
        border-bottom: 0;
    }

    .fsf-suggestion:hover,
    .fsf-suggestion.is-active {
        background: #f3f1ff;
    }

    .fsf-suggestion__family {
        font-weight: 700;
    }

    .fsf-suggestion__meta {
        color: #777786;
        font-size: 14px;
    }

    .fsf-selected {
        margin: 10px 0 0;
        color: #686877;
        font-size: 14px;
    }

    .fsf-goals {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    .fsf-goal {
        position: relative;
        display: block;
    }

    .fsf-goal input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .fsf-goal span {
        min-height: 74px;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 13px;
        border: 1px solid #ddddE6;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 650;
    }

    .fsf-goal input:checked + span {
        border-color: #6A5ACD;
        background: #f3f1ff;
        box-shadow: inset 0 0 0 1px #6A5ACD;
    }

    .fsf-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 20px;
    }

    .fsf-check {
        display: flex;
        gap: 9px;
        align-items: center;
    }

    .fsf-field {
        display: grid;
        gap: 6px;
    }

    .fsf-field label {
        font-size: 14px;
        font-weight: 700;
    }

    .fsf-field input,
    .fsf-field select {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid #d3d3dd;
        border-radius: 9px;
        background: white;
    }

    .fsf-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .fsf-submit {
        min-height: 48px;
        padding: 0 22px;
        border: 0;
        border-radius: 10px;
        background: #3F6AE0;
        color: white;
        font-weight: 750;
        cursor: pointer;
    }

    .fsf-submit:hover {
        filter: brightness(.96);
    }

    .fsf-submit:disabled {
        opacity: .55;
        cursor: wait;
    }

    .fsf-status {
        margin: 0;
        color: #666675;
    }

    .fsf-status[data-state="error"] {
        color: #a12b2b;
    }

    .fsf-status[data-state="success"] {
        color: #28744c;
    }

    .fsf-results {
        display: grid;
        gap: 12px;
    }

    .fsf-result {
        display: grid;
        grid-template-columns: 44px minmax(180px, 1fr) auto;
        align-items: center;
        gap: 18px;
        background: white;
        border: 1px solid #e3e3eb;
        border-radius: 12px;
        padding: 18px;
    }

    .fsf-result__rank {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f1effc;
        color: #4C3DB5;
        font-weight: 800;
    }

    .fsf-result__family {
        margin: 0 0 3px;
        font-size: 21px;
    }

    .fsf-result__meta {
        margin: 0;
        color: #727281;
        font-size: 14px;
    }

    .fsf-result__scores {
        display: flex;
        gap: 24px;
        margin: 0;
    }

    .fsf-result__scores div {
        min-width: 76px;
    }

    .fsf-result__scores dt {
        margin-bottom: 2px;
        color: #777786;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .fsf-result__scores dd {
        margin: 0;
        font-size: 18px;
        font-weight: 750;
        text-transform: capitalize;
    }

    @media (max-width: 900px) {
        .fsf-goals {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .fsf-options {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .fsf-result {
            grid-template-columns: 44px 1fr;
        }

        .fsf-result__scores {
            grid-column: 2;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 560px) {
        .prototype {
            width: min(100% - 24px, 1140px);
            margin-top: 28px;
        }

        .fsf-panel {
            padding: 18px;
        }

        .fsf-goals,
        .fsf-options {
            grid-template-columns: 1fr;
        }

        .fsf-result__scores {
            gap: 14px;
        }
    }
