.fsi-public-checker {
    max-width: 820px;
    margin: 36px auto;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.fsi-public-checker form {
    padding: 34px;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.fsi-public-checker label {
    display: block;
    color: #111827;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 18px;
}

.fsi-public-row {
    display: flex;
    gap: 12px;
}

.fsi-public-row input {
    flex: 1;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    color: #111827;
    font-size: 15px;
    background: #ffffff;
    outline: none;
}

.fsi-public-row input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.fsi-public-row button {
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    cursor: pointer;
    font-weight: 800;
}

.fsi-public-row button:hover {
    opacity: 0.92;
}

.fsi-small-text {
    margin: 14px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

#fsi-public-checker-result {
    padding: 0 34px 34px;
}

.fsi-public-result-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    background: #ffffff;
}

@media (max-width: 640px) {
    .fsi-public-checker form {
        padding: 24px;
    }

    .fsi-public-checker label {
        font-size: 22px;
    }

    .fsi-public-row {
        flex-direction: column;
    }

    #fsi-public-checker-result {
        padding: 0 24px 24px;
    }
}

.fsi-public-loading,
.fsi-public-error {
    margin-top: 18px;
    border-radius: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.fsi-public-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.fsi-public-report {
    margin-top: 22px;
}

.fsi-public-report-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #172554, #1d4ed8 55%, #0f766e);
}

.fsi-public-report-head h3 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
}

.fsi-public-report-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.fsi-public-kicker {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsi-cache-pill {
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
}

.fsi-public-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.fsi-public-kpi {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.fsi-public-kpi span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.fsi-public-kpi strong {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1;
}

.fsi-public-kpi small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
}

.fsi-public-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fsi-public-section {
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.fsi-public-full {
    margin-top: 16px;
}

.fsi-public-section h4 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 18px;
}

.fsi-public-section table {
    width: 100%;
    border-collapse: collapse;
}

.fsi-public-section th,
.fsi-public-section td {
    padding: 11px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    font-size: 14px;
}

.fsi-public-section tr:last-child th,
.fsi-public-section tr:last-child td {
    border-bottom: 0;
}

.fsi-public-section th {
    color: #374151;
    font-weight: 800;
}

.fsi-public-opportunities {
    margin: 0;
    padding-left: 20px;
}

.fsi-public-opportunities li {
    margin: 8px 0;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .fsi-public-report-head {
        flex-direction: column;
    }

    .fsi-public-kpi-grid,
    .fsi-public-sections {
        grid-template-columns: 1fr;
    }
}