/* Ana sayfa: "Neyi Yönetmek İstersiniz?" ihtiyaç seçici (29.09.2026)
   İşaretleme: config/yonetim_secici_bolumu.php · Davranış: js/yonetim-secici.js
   Eski karusel kuralları (.management-*, .card-*) css/styles.css'te duruyor ama artık kullanılmıyor.
   Sınıf ön ekleri: ys-* bölüm iskeleti, m-* örnek ekran içeriği. */

.ys-section {
    --ys-ink: #0f172a;
    --ys-ink-2: #475569;
    --ys-mute: #94a3b8;
    --ys-line: #e5e7eb;
    --ys-soft: #f6f7f9;
    --ys-accent: #2F7F76;
    padding: 96px 0;
    background: #fff;
    color: var(--ys-ink);
    overflow: hidden;
}

.ys-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Başlık ---------- */
.ys-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.ys-eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ys-accent);
    margin-bottom: 12px;
}

.ys-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ys-ink);
    margin: 0;
}

.ys-sub {
    margin: 14px auto 0;
    font-size: 1.04rem;
    line-height: 1.6;
    color: #64748b;
}

/* ---------- Sekmeler ---------- */
.ys-sekmeler {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    margin: 40px 0 16px;
}

.ys-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    padding: 16px 8px 14px;
    border: 1px solid var(--ys-line);
    border-radius: 16px;
    background: #fff;
    color: var(--ys-ink);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.ys-tab-ikon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ys-soft);
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--ys-ink);
    transition: background .2s, color .2s;
}

.ys-tab:hover {
    border-color: var(--ys-mute);
    transform: translateY(-2px);
}

.ys-tab:focus-visible {
    outline: 2px solid var(--ys-ink);
    outline-offset: 3px;
}

.ys-tab[aria-selected="true"] {
    background: var(--ys-ink);
    border-color: var(--ys-ink);
    color: #fff;
    transform: none;
}

.ys-tab[aria-selected="true"] .ys-tab-ikon {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

/* ---------- Sahne ---------- */
.ys-sahne {
    background: var(--ys-soft);
    border-radius: 28px;
    padding: clamp(20px, 4vw, 52px);
    overflow: hidden;
}

.ys-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "m1 g" "m2 g";
    column-gap: clamp(28px, 4.5vw, 64px);
    row-gap: 0;
    align-items: center;
    animation: ys-gir .35s ease both;
}

.ys-m1 { grid-area: m1; align-self: end; }
.ys-m2 { grid-area: m2; align-self: start; }

.ys-panel[hidden] {
    display: none;
}

.ys-ust {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
}

.ys-m1 h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.012em;
    color: var(--ys-ink);
    margin: 0 0 14px;
}

.ys-ozet {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ys-ink-2);
    margin: 0 0 18px;
}

.ys-maddeler {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ys-maddeler li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font-size: .93rem;
    line-height: 1.55;
    color: var(--ys-ink-2);
}

.ys-maddeler b {
    color: var(--ys-ink);
    font-weight: 650;
}

.ys-tik {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ys-ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .6rem;
    margin-top: 1px;
}

.ys-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.ys-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 10px;
    background: var(--ys-ink);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid var(--ys-ink);
    transition: background .2s, transform .2s;
}

.ys-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    color: #fff;
}

.ys-btn:focus-visible,
.ys-link:focus-visible {
    outline: 2px solid var(--ys-ink);
    outline-offset: 3px;
}

.ys-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .93rem;
    color: var(--ys-ink);
    text-decoration: none;
}

.ys-link i {
    font-size: .75rem;
    transition: transform .2s;
}

.ys-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ys-link:hover i {
    transform: translateX(3px);
}

.ys-ayrica {
    margin: 16px 0 0;
    font-size: .86rem;
    color: var(--ys-ink-2);
}

.ys-ayrica a {
    color: var(--ys-ink);
    font-weight: 600;
    text-underline-offset: 3px;
}

.ys-ayrica a:hover {
    text-decoration: underline;
}

.ys-not {
    margin: 12px 0 0;
    font-size: .78rem;
    color: #64748b;
}

/* ---------- Örnek ekran çerçevesi ---------- */
.ys-gorsel {
    grid-area: g;
    position: relative;
    min-width: 0;
}

.ys-pencere {
    container-type: inline-size;
    background: #fff;
    border: 1px solid var(--ys-line);
    border-radius: 16px;
    box-shadow: 0 28px 56px -28px rgba(15, 23, 42, .32);
    overflow: hidden;
}

.ys-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--ys-line);
    background: #fafbfc;
}

.ys-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e2e8f0;
}

.ys-bar span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 10px;
    font-size: .74rem;
    font-weight: 600;
    color: #64748b;
}

.ys-bar::after {
    content: "Örnek ekran";
    margin-left: auto;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ys-mute);
    white-space: nowrap;
}

.ys-govde {
    padding: 16px;
}


/* Bildirim balonları */
.ys-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    background: #fff;
    border: 1px solid var(--ys-line);
    border-radius: 12px;
    box-shadow: 0 14px 32px -12px rgba(15, 23, 42, .35);
    font-size: .74rem;
    line-height: 1.3;
    animation: ys-toast .5s .45s cubic-bezier(.2, .8, .2, 1) both;
}

.ys-toast b {
    display: block;
    color: var(--ys-ink);
    font-weight: 650;
}

.ys-toast small {
    display: block;
    color: #64748b;
    font-size: .7rem;
}

.ys-toast-a {
    left: -20px;
    bottom: -22px;
}

.ys-toast-b {
    right: -12px;
    top: -24px;
    animation-delay: .8s;
}

.ys-toast-ikon {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: .8rem;
    background: var(--ys-ink);
    color: #fff;
}

.ys-toast-uyari {
    background: #fef3c7;
    color: #92400e;
}

.ys-toast-ok {
    background: #dcfce7;
    color: #166534;
}

/* ---------- Alt şerit ---------- */
.ys-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    margin-top: 32px;
    text-align: center;
}

.ys-alt p {
    margin: 0;
    font-size: .95rem;
    color: var(--ys-ink-2);
}

.ys-alt b {
    color: var(--ys-ink);
}

/* ==========================================================
   Örnek ekran içerikleri (m-*)
   ========================================================== */
.m-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    font-size: .86rem;
    color: var(--ys-ink);
}

.m-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.m-koyu { background: var(--ys-ink); color: #fff; }
.m-ok { background: #dcfce7; color: #166534; }
.m-uyari { background: #fef3c7; color: #92400e; }
.m-hata { background: #fee2e2; color: #991b1b; }
.m-sicak { background: #ffedd5; color: #9a3412; }
.m-ilik { background: #fef9c3; color: #854d0e; }
.m-soguk { background: #e0f2fe; color: #075985; }
.m-bilgi { background: #e2e8f0; color: #334155; }
.m-yesil { color: #16a34a; }

.m-av {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    display: grid;
    place-items: center;
    font-size: .66rem;
    font-weight: 700;
}

.m-av-s {
    width: 20px;
    height: 20px;
    font-size: .55rem;
    background: var(--ys-ink);
    color: #fff;
}

.m-ad {
    min-width: 0;
}

.m-ad b {
    display: block;
    font-size: .82rem;
    color: var(--ys-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-ad small {
    display: block;
    font-size: .7rem;
    color: var(--ys-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-zaman {
    font-size: .7rem;
    color: var(--ys-mute);
    white-space: nowrap;
}

/* Liste (müşteri adayları) */
.m-satir {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 2px;
    border-top: 1px solid #eef2f6;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}

.m-kime {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 66px;
    font-size: .74rem;
    color: var(--ys-ink-2);
}

.m-zaman.m-gizle {
    min-width: 64px;
    text-align: right;
}

/* Kanban (pipeline + görevler) */
.m-kanban {
    display: grid;
    grid-template-columns: repeat(var(--kol, 4), minmax(0, 1fr));
    gap: 10px;
}

.m-kol {
    background: var(--ys-soft);
    border-radius: 12px;
    padding: 8px;
    min-width: 0;
}

.m-kol-b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 2px 4px 8px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ys-ink-2);
}

.m-kol-b em {
    font-style: normal;
    padding: 0 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}

.m-kart {
    display: grid;
    gap: 6px;
    padding: 9px 10px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid var(--ys-line);
    border-radius: 10px;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 80ms + 120ms);
}

.m-kart:last-child {
    margin-bottom: 0;
}

.m-kart b {
    font-size: .74rem;
    line-height: 1.3;
    color: var(--ys-ink);
}

.m-tutar {
    font-size: .82rem;
    font-weight: 800;
    color: var(--ys-ink);
}

.m-kart .m-chip {
    justify-self: start;
    font-size: .62rem;
    white-space: normal;
}

.m-kazandi {
    border-color: #bbf7d0;
}

.m-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.m-mini {
    display: block;
    height: 5px;
    border-radius: 99px;
    background: #e5e7eb;
    overflow: hidden;
}

.m-mini i {
    display: block;
    height: 100%;
    width: var(--w);
    background: var(--ys-accent);
    border-radius: 99px;
    animation: ys-genis .8s .3s both;
}

/* Gelen kutusu */
.m-inbox {
    display: grid;
    grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
    min-height: 372px;
}

.m-sol {
    border-right: 1px solid var(--ys-line);
}

.m-sohbet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #eef2f6;
}

.m-sohbet .m-ad {
    flex: 1;
}

.m-sohbet.on {
    background: var(--ys-soft);
}

.m-kn {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .9rem;
}

.k-wa { background: #25d366; }
.k-ig { background: #e1306c; }
.k-ms { background: #0084ff; }
.k-tg { background: #26a5e4; }
.k-web { background: #0f172a; }

.m-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    min-width: 0;
}

.m-yaz {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 9px 12px;
    border: 1px solid var(--ys-line);
    border-radius: 999px;
    font-size: .72rem;
    color: var(--ys-mute);
}

.m-yaz i {
    color: var(--ys-ink);
}

.m-chat-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eef2f6;
    font-size: .8rem;
}

.m-bal {
    max-width: 84%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: .76rem;
    line-height: 1.4;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 260ms + 250ms);
}

.m-bal-gel {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.m-bal-git {
    align-self: flex-end;
    background: var(--ys-ink);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Takvim */
.m-gunler {
    display: grid;
    grid-template-columns: 40px repeat(5, minmax(0, 1fr));
    margin-top: 2px;
    font-size: .68rem;
    font-weight: 700;
    color: var(--ys-ink-2);
    text-align: center;
}

.m-takvim {
    display: grid;
    grid-template-columns: 40px repeat(5, minmax(0, 1fr));
    grid-auto-rows: 42px;
    margin-top: 6px;
    background: linear-gradient(#eef2f6 1px, transparent 1px) 0 0 / 100% 42px;
    border-bottom: 1px solid #eef2f6;
}

.m-saat {
    grid-column: 1;
    padding-top: 4px;
    font-size: .64rem;
    color: var(--ys-mute);
}

.m-rdv {
    margin: 2px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 80ms + 150ms);
}

.m-rdv small {
    display: block;
    font-size: .62rem;
    font-weight: 500;
    opacity: .78;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t1 { background: var(--ys-ink); color: #fff; }
.t2 { background: #e2e8f0; color: #0f172a; }
.t3 { background: #d5ebe7; color: #134e4a; }

/* Teklif + tahsilat */
.m-iki {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.m-kutu {
    padding: 12px;
    border: 1px solid var(--ys-line);
    border-radius: 12px;
    min-width: 0;
}

.m-kutu h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 10px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ys-ink);
}

.m-kalem {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--ys-line);
    font-size: .72rem;
    color: var(--ys-ink-2);
}

.m-kalem span:last-child {
    white-space: nowrap;
    font-weight: 600;
    color: var(--ys-ink);
}

.m-toplam {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    font-size: .92rem;
    font-weight: 800;
    color: var(--ys-ink);
}

.m-not {
    margin: 8px 0 6px;
    font-size: .74rem;
    color: var(--ys-ink-2);
}

/* Teklif akış adımları */
.m-adimlar {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.m-adimlar span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 10px;
    background: var(--ys-soft);
    color: var(--ys-mute);
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.m-adimlar .on {
    background: #dcfce7;
    color: #166534;
}

.m-adimlar .son {
    background: var(--ys-ink);
    color: #fff;
}

/* İlerleme çubukları */
.m-bar {
    height: 8px;
    border-radius: 99px;
    background: #e5e7eb;
    overflow: hidden;
}

.m-bar i {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: 99px;
    background: var(--ys-accent);
    animation: ys-genis .8s .3s both;
}

.m-b-hata i { background: #dc2626; }
.m-b-uyari i { background: #d97706; }

/* Reklam raporu */
.m-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.m-kpi > div {
    padding: 10px;
    border-radius: 10px;
    background: var(--ys-soft);
}

.m-kpi small {
    display: block;
    font-size: .64rem;
    line-height: 1.3;
    color: #64748b;
    min-height: 2.6em;
}

.m-kpi b {
    font-size: 1.2rem;
    color: var(--ys-ink);
}

.m-kpi em {
    margin-left: 4px;
    font-style: normal;
    font-size: .66rem;
    font-weight: 700;
    color: #15803d;
}

.m-hbar {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    margin: 7px 0;
    font-size: .72rem;
    color: var(--ys-ink-2);
}

.m-hbar b {
    text-align: right;
    color: var(--ys-ink);
}

.m-kampanya {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: var(--ys-ink);
    color: #fff;
}

.m-kampanya-b {
    grid-column: 1 / -1;
    font-size: .74rem;
    font-weight: 700;
}

.m-kampanya-b i {
    color: #25d366;
    margin-right: 4px;
}

.m-kampanya small {
    display: block;
    font-size: .64rem;
    opacity: .7;
}

.m-kampanya b {
    font-size: 1rem;
}

/* Yapay zeka skorları */
/* Lead Havuzu kartı (kanban) */
.m-kart-ust {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.m-kart-ust b {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-isi {
    font-size: .8rem;
    line-height: 1;
}

.m-tarih {
    font-size: .64rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.m-tarih.m-gec { color: #dc2626; }

/* Satış süreci (Lead Havuzu kanban) — kompakt kartlar */
.m-pipe { gap: 8px; }

.m-pipe .m-kol { padding: 7px; }

.m-pipe .m-kol-b {
    padding: 1px 2px 7px;
    font-size: .68rem;
    letter-spacing: 0;
    text-transform: none;
}

.m-pipe .m-kart {
    gap: 3px;
    padding: 8px 9px;
    margin-bottom: 6px;
}

.m-pipe .m-kart-ust b {
    font-size: .74rem;
    font-weight: 700;
}

.m-kart-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.m-kart.m-gecik {
    border-color: #fca5a5;
    background: #fff7f7;
}

.m-kart.m-gecik .m-tarih { color: #dc2626; }

/* "Sürüklenen" kart: kartın aşamalar arasında taşındığını gösterir */
.m-kart.m-surukle {
    border: 1px dashed var(--ys-ink);
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, .4);
    transform: rotate(-1.5deg);
}

.m-tamam { color: #16a34a; }

.m-ozet-chipler {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.m-lejant {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: -4px 0 10px;
    font-size: .64rem;
    color: #64748b;
}

/* Mesajlar: sistem notu, Randevular/Görevler: görünüm anahtarı */
.m-sis {
    align-self: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ys-soft);
    color: #64748b;
    font-size: .66rem;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 260ms + 250ms);
}

.m-gorunum {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: .68rem;
    font-weight: 700;
    color: #64748b;
}

.m-gorunum span {
    padding: 4px 10px;
    border-radius: 999px;
}

.m-gorunum .on {
    background: var(--ys-ink);
    color: #fff;
}

/* AI Mesaj Analizleri tablosu */
.m-tablo { display: grid; }

.m-trow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(4, 54px);
    gap: 8px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid #eef2f6;
    animation: ys-gir .4s both;
    animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}

.m-tbas {
    padding-top: 0;
    border-top: 0;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ys-mute);
    text-align: center;
    animation: none;
}

.m-tbas span:first-child { text-align: left; }

.m-pct {
    justify-self: center;
    min-width: 44px;
    padding: 3px 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
}

.m-pct.m-hata { background: #fee2e2; color: #991b1b; }
.m-pct.m-ok { background: #dcfce7; color: #166534; }

.m-trow .m-ad b {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.m-ai {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--ys-soft);
    font-size: .72rem;
    line-height: 1.45;
    color: #334155;
}

.m-ai i {
    margin-top: 2px;
    color: var(--ys-accent);
}

.m-ai b { color: var(--ys-ink); }

/* Görev kartı: ilerleme halkası, öncelik bayrağı */
.m-halka {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: conic-gradient(var(--ys-accent) calc(var(--p) * 1%), #e5e7eb 0);
}

.m-halka::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
}

.m-kart .m-alt .m-chip { white-space: nowrap; }

.m-alt-sol,
.m-alt-sag {
    display: flex;
    align-items: center;
    gap: 6px;
}

.m-by { color: #dc2626; }
.m-bo { color: #d97706; }
.m-bd { color: #94a3b8; }

/* ---------- Sektör seçici ---------- */
.ys-adim {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 32px 0 12px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.ys-head + .ys-adim { margin-top: 40px; }

.ys-adim-no {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ys-ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .7rem;
    letter-spacing: 0;
}

.ys-sektor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.ys-chips {
    display: flex;
    flex: 1 1 560px;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.ys-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--ys-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ys-ink);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}

.ys-chip i {
    font-size: .8rem;
    color: #64748b;
    transition: color .2s;
}

.ys-chip:hover { border-color: var(--ys-mute); }

.ys-chip:focus-visible,
.ys-ara-input:focus-visible,
.ys-sonraki:focus-visible,
.ys-davet-btn:focus-visible {
    outline: 2px solid var(--ys-ink);
    outline-offset: 2px;
}

.ys-chip.is-on {
    background: var(--ys-ink);
    border-color: var(--ys-ink);
    color: #fff;
}

.ys-chip.is-on i { color: #fff; }

.ys-ara {
    position: relative;
    display: block;
    flex: 0 1 300px;
    min-width: 220px;
}

.ys-ara > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ys-mute);
    font-size: .85rem;
    pointer-events: none;
}

.ys-ara-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--ys-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ys-ink);
    font-family: inherit;
    font-size: .88rem;
}

.ys-bilgi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    margin: 14px 0 0;
    font-size: .86rem;
    color: var(--ys-ink-2);
}

.ys-bilgi .fa-circle-check {
    margin-right: 4px;
    color: #16a34a;
}

.ys-bilgi a {
    color: var(--ys-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ys-bilgi a i { font-size: .7rem; }

.ys-sahne.is-yukleniyor {
    opacity: .55;
    transition: opacity .2s;
    pointer-events: none;
}

/* ---------- Sektör senaryosu ---------- */
.ys-ekran {
    position: relative;
    min-width: 0;
}

.ys-gorsel .ys-senaryo { margin: 36px 0 0; }

.ys-senaryo {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--ys-line);
    border-left: 3px solid var(--ys-accent);
    border-radius: 12px;
}

.ys-senaryo p { margin: 0; }

.ys-senaryo-ust {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ys-accent);
}

.ys-sorun {
    font-size: .9rem;
    line-height: 1.5;
    color: var(--ys-ink-2);
}

.ys-sorun-ust {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #b45309;
}

.ys-sorun b { color: var(--ys-ink); }

.ys-cozum {
    font-size: .92rem;
    line-height: 1.55;
    color: var(--ys-ink);
}

.ys-sorun + .ys-cozum {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--ys-line);
}

.ys-senaryo-davet { border-left-color: var(--ys-ink); }

.ys-senaryo-davet p:not(.ys-cozum) {
    font-size: .92rem;
    line-height: 1.55;
    color: var(--ys-ink-2);
}

.ys-davet-btn {
    margin-top: 10px;
    padding: 8px 14px;
    border: 1px solid var(--ys-ink);
    border-radius: 999px;
    background: #fff;
    color: var(--ys-ink);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.ys-davet-btn:hover {
    background: var(--ys-ink);
    color: #fff;
}

.ys-sonraki {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ys-ink-2);
    font-family: inherit;
    font-size: .86rem;
    text-decoration: none;
    cursor: pointer;
}

.ys-sonraki b { color: var(--ys-ink); }

.ys-sonraki i {
    font-size: .72rem;
    transition: transform .2s;
}

.ys-sonraki:hover i { transform: translateX(3px); }
.ys-sonraki:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Dar örnek ekran (kapsayıcı sorgusu) ---------- */
@container (max-width: 520px) {
    .m-gizle { display: none; }
    .m-gizle-dar { display: none; }
    .m-satir { grid-template-columns: 30px minmax(0, 1fr) auto; }
    .m-satir:nth-child(n+5) { display: none; }
    .m-inbox { grid-template-columns: 1fr; min-height: 0; }
    .m-sol { display: none; }
    .m-iki { grid-template-columns: 1fr; }
    .m-kpi small { min-height: 0; }
    .m-kpi > div { padding: 8px; }
    .m-kpi b { font-size: 1rem; }
    .m-kpi em { display: block; margin-left: 0; }
    .m-hbar { grid-template-columns: 88px minmax(0, 1fr) 28px; gap: 8px; }
    .m-kanban { grid-template-columns: repeat(calc(var(--kol, 4) - 1), minmax(0, 1fr)); }
    .m-pipe { gap: 6px; }
    .m-pipe .m-kol { padding: 6px; }
    .m-pipe .m-kart { padding: 7px 8px; }
    .m-pipe .m-kart-ust b { font-size: .68rem; }
    .m-lejant { font-size: .6rem; gap: 4px 10px; }
    .m-gunler, .m-takvim { grid-template-columns: 34px repeat(5, minmax(0, 1fr)); }
    .m-rdv small { display: none; }
    .m-adimlar span { font-size: .62rem; padding: 7px 2px; gap: 3px; }
    .m-trow { grid-template-columns: minmax(0, 1fr) repeat(2, 48px); }
    .m-tbas { font-size: .56rem; }
}

/* ---------- Animasyonlar ---------- */
@keyframes ys-gir {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes ys-toast {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: none; }
}

@keyframes ys-genis {
    from { width: 0; }
    to { width: var(--w); }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1100px) {
    .ys-section { padding: 72px 0; }

    /* Sekmeler kaydırmalı şerit olur; kenarlardan taşan sekme "kaydırılabilir" ipucu verir */
    .ys-sekmeler {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 32px -20px 14px;
        padding: 4px 20px 8px;
    }

    .ys-sekmeler::-webkit-scrollbar { display: none; }

    .ys-tab {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 10px;
        min-height: 0;
        padding: 8px 18px 8px 8px;
        border-radius: 999px;
        font-size: .88rem;
        text-align: left;
        white-space: nowrap;
        scroll-snap-align: center;
    }

    .ys-tab-ikon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }

    .ys-tab:hover { transform: none; }
}

@media (max-width: 900px) {
    .ys-panel {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "m1" "g" "m2";
        row-gap: 26px;
    }

    .ys-m1, .ys-m2 { align-self: auto; }

    .ys-toast-a { left: 8px; bottom: -18px; }
    .ys-toast-b { display: none; }
}

@media (max-width: 700px) {
    /* Sektör çipleri tek satır, yatay kaydırmalı; arama kutusu tam genişlik */
    .ys-chips {
        flex-wrap: nowrap;
        flex-basis: 100%;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 2px 16px 6px;
        scrollbar-width: none;
    }

    .ys-chips::-webkit-scrollbar { display: none; }
    .ys-ara { flex: 1 1 100%; }
}

@media (max-width: 600px) {
    .ys-section { padding: 56px 0; }
    .ys-container { padding: 0 16px; }
    .ys-sekmeler { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .ys-sahne { border-radius: 20px; padding: 20px 16px; }
    .ys-sub { font-size: .97rem; }
    .ys-cta { gap: 12px 18px; }
    .ys-btn { width: 100%; }
    .ys-toast { font-size: .7rem; padding: 8px 12px 8px 8px; }
    .ys-toast-ikon { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .ys-panel,
    .ys-toast,
    .m-satir,
    .m-kart,
    .m-bal,
    .m-sis,
    .m-trow,
    .m-rdv,
    .m-bar i,
    .m-mini i {
        animation: none !important;
    }

    .ys-tab,
    .ys-tab-ikon,
    .ys-btn,
    .ys-link i {
        transition: none;
    }
}
