.ys-kategori-girdi {
    min-width: 280px;
}

.ys-metin {
    min-height: 220px;
    font-family: inherit;
}

.ys-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: .6rem;
    flex-wrap: wrap;
}

.ys-asim {
    color: var(--fmt-danger);
    font-weight: 600;
}

.ys-ayir {
    min-width: 120px;
    background: var(--fmt-accent);
    border-color: var(--fmt-accent);
    color: #222;
    font-weight: 600;
}

.ys-ayir:disabled {
    opacity: .6;
    cursor: wait;
}

.ys-ozet {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 1rem 0 .6rem;
}

.ys-tablo-sar {
    overflow-x: auto;
    border: 1px solid var(--fmt-border);
    border-radius: var(--fmt-radius);
    background: var(--fmt-surface);
}

.ys-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.ys-tablo th,
.ys-tablo td {
    padding: .55rem .7rem;
    border-bottom: 1px solid var(--fmt-border);
    text-align: left;
    vertical-align: top;
}

.ys-tablo th {
    background: var(--fmt-accent-soft);
    font-weight: 600;
    white-space: nowrap;
}

.ys-tablo tr:last-child td {
    border-bottom: 0;
}

.ys-tablo td:first-child {
    color: var(--fmt-muted);
    width: 2.5rem;
}

.ys-mesaj {
    word-break: break-word;
    min-width: 220px;
}

.ys-satir-kontrol {
    background: var(--fmt-warn-bg);
}

.ys-rozet {
    display: inline-block;
    padding: .15rem .55rem;
    margin: 0 .3rem .3rem 0;
    border-radius: 999px;
    font-size: .82rem;
    line-height: 1.4;
    white-space: nowrap;
}

.ys-r-konu {
    background: var(--fmt-info-bg);
    color: var(--fmt-info);
}

.ys-r-kontrol {
    background: var(--fmt-warn-bg);
    color: var(--fmt-warn);
    border: 1px solid var(--fmt-warn);
}

.ys-r-hakaret,
.ys-r-hata {
    background: var(--fmt-danger-bg);
    color: var(--fmt-danger);
}

.ys-r-bilgi {
    background: var(--fmt-ok-bg);
    color: var(--fmt-ok);
}

@media (max-width: 640px) {
    .ys-kategori-girdi {
        min-width: 0;
        width: 100%;
    }

    .ys-tablo {
        font-size: .88rem;
    }
}

.ys-planlar {
    display: block;
    margin-top: 1.5rem;
}

.ys-plan-baslik {
    margin: 0 0 .4rem;
}

.ys-plan-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.ys-plan {
    border: 1px solid var(--fmt-border);
    border-radius: var(--fmt-radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.ys-plan h3 {
    margin: 0;
}

.ys-plan-fiyat {
    font-size: 1.6rem;
    font-weight: 700;
    margin: .4rem 0 0;
}

.ys-plan-fiyat span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--fmt-muted);
}

.ys-plan ul {
    padding-left: 1.2rem;
    margin: .6rem 0 1rem;
    flex: 1;
}

.ys-plan-al {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ys-lisans {
    margin: .8rem 0;
    border: 1px solid var(--fmt-border);
    border-radius: var(--fmt-radius);
    padding: .6rem .8rem;
    background: var(--fmt-surface);
}

.ys-lisans summary {
    cursor: pointer;
    font-weight: 600;
}

.ys-lisans-govde {
    margin-top: .6rem;
}

.ys-lisans-giris,
.ys-lisans-durum {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}

.ys-lisans-giris input {
    flex: 1;
    min-width: 220px;
}

.ys-csv-sec {
    cursor: pointer;
}

.ys-plan-liste {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ys-plan .ys-plan-al + .ys-plan-al {
    margin-top: .5rem;
}

.ys-plan-yakinda {
    opacity: .6;
    cursor: default;
}

.ys-csv-sec {
    position: relative;
}

.ys-csv-sec:focus-within {
    outline: 2px solid var(--focus-otl-color, #222);
    outline-offset: 2px;
}
