/* ═══════════════════════════════════════════════════════════════════════════
 * portal.css — Bovisio Portal görünümü (tema: THM/assets; bu dosya temanın ÜSTÜNE yüklenir)
 *
 * 1) Renk paleti: mobil uygulamadaki ile aynı (bkz. Mobile: highlight_dark + bovarine.css)
 *      ana renk  #434A54 (grafit)   · vurgu   #8B5A2B (marka kahvesi; logodaki "al")
 *      mavi      #4A89DC            · yeşil   #8CC152
 *      sarı      #F6BB42            · kırmızı #DA4453
 *      mor       #967ADC            · turuncu #E9573F      · kahve #AA8E69
 *    Tema bileşenleri (düğme, rozet, bağlantı, menü) renkleri --vz-* değişkenlerinden alır;
 *    burada yalnızca değişkenler değiştirilir, bileşen kuralları yeniden yazılmaz.
 * 2) Yan menü: "Analiz" ayracı, hazırlanmamış sayfa işareti
 * 3) Ortak parçalar: sayfa başlığı, özet kutuları, rozet / durum renkleri, giriş sayfaları
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1) Palet ───────────────────────────────────────────────────────────── */
:root, [data-bs-theme=light] {
    --pt-accent: #8B5A2B;
    --pt-accent-rgb: 139, 90, 43;
    --pt-purple: #967ADC;
    --pt-orange: #E9573F;
    --pt-brown: #AA8E69;
    --pt-mint: #37BC9B;

    /* Yazı tipi: temanın ikincil yazı tipi dosyaları (hkgrotesk) THM klasöründe yok; ikisi de aynı aileye bağlanır.
       Inter yüklenemezse (çevrimdışı) sistem yazı tipine düşer. */
    --vz-font-family-primary: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --vz-font-family-secondary: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

    --vz-primary: #434A54;
    --vz-primary-rgb: 67, 74, 84;
    --vz-primary-text-emphasis: #343A42;
    --vz-primary-bg-subtle: #E6E8EB;
    --vz-primary-border-subtle: #B9BEC6;

    --vz-secondary: #8B5A2B;
    --vz-secondary-rgb: 139, 90, 43;
    --vz-secondary-text-emphasis: #6F4621;
    --vz-secondary-bg-subtle: #F3EBE3;
    --vz-secondary-border-subtle: #D9C2A9;

    --vz-success: #8CC152;
    --vz-success-rgb: 140, 193, 82;
    --vz-success-text-emphasis: #5D8F2D;
    --vz-success-bg-subtle: #EEF6E4;
    --vz-success-border-subtle: #C9E3AC;

    --vz-info: #4A89DC;
    --vz-info-rgb: 74, 137, 220;
    --vz-info-text-emphasis: #316DBE;
    --vz-info-bg-subtle: #E4EDFA;
    --vz-info-border-subtle: #B4CEF1;

    --vz-warning: #F6BB42;
    --vz-warning-rgb: 246, 187, 66;
    --vz-warning-text-emphasis: #B9831A;
    --vz-warning-bg-subtle: #FEF5E2;
    --vz-warning-border-subtle: #FBE2AE;

    --vz-danger: #DA4453;
    --vz-danger-rgb: 218, 68, 83;
    --vz-danger-text-emphasis: #B8313F;
    --vz-danger-bg-subtle: #FAE3E5;
    --vz-danger-border-subtle: #F0B1B8;

    --vz-link-color: #8B5A2B;
    --vz-link-color-rgb: 139, 90, 43;
    --vz-link-hover-color: #6F4621;
    --vz-link-hover-color-rgb: 111, 70, 33;
}

[data-bs-theme=dark] {
    --vz-primary: #6B7684;
    --vz-primary-rgb: 107, 118, 132;
    --vz-primary-text-emphasis: #AEB6C1;
    --vz-primary-bg-subtle: rgba(107, 118, 132, .18);
    --vz-primary-border-subtle: rgba(107, 118, 132, .35);
    --vz-secondary: #C08A57;
    --vz-secondary-rgb: 192, 138, 87;
    --vz-secondary-text-emphasis: #D9AE84;
    --vz-secondary-bg-subtle: rgba(192, 138, 87, .16);
    --vz-secondary-border-subtle: rgba(192, 138, 87, .32);
    --vz-success-bg-subtle: rgba(140, 193, 82, .16);
    --vz-info-bg-subtle: rgba(74, 137, 220, .16);
    --vz-warning-bg-subtle: rgba(246, 187, 66, .16);
    --vz-danger-bg-subtle: rgba(218, 68, 83, .16);
    --vz-success-text-emphasis: #A6D472;
    --vz-info-text-emphasis: #7FAEEA;
    --vz-warning-text-emphasis: #F8CC72;
    --vz-danger-text-emphasis: #E67884;
    --vz-link-color: #C99766;
    --vz-link-color-rgb: 201, 151, 102;
    --vz-link-hover-color: #D9AE84;
    --vz-link-hover-color-rgb: 217, 174, 132;
}

/* Yan menü (koyu): koyu grafit zemin, açık yazı; açık sayfa marka kahvesiyle işaretlenir */
html[data-sidebar=dark], html[data-theme][data-sidebar=dark] {
    --vz-vertical-menu-bg: #24282E;
    --vz-vertical-menu-border: #24282E;
    --vz-vertical-menu-item-color: #DDE1E6;
    --vz-vertical-menu-item-bg: rgba(255, 255, 255, .07);
    --vz-vertical-menu-item-hover-color: #FFF;
    --vz-vertical-menu-item-active-color: #FFF;
    --vz-vertical-menu-item-active-bg: rgba(192, 138, 87, .16);
    --vz-vertical-menu-sub-item-color: #B4BBC5;
    --vz-vertical-menu-sub-item-hover-color: #FFF;
    --vz-vertical-menu-sub-item-active-color: #FFF;
    --vz-vertical-menu-title-color: #8A93A0;
    --pt-menu-accent: #C99766;
}
html[data-bs-theme=dark][data-sidebar=dark], html[data-theme][data-bs-theme=dark][data-sidebar=dark] {
    --vz-vertical-menu-bg: #16191D;
    --vz-vertical-menu-border: #16191D;
}
html[data-sidebar=dark] .navbar-menu .navbar-nav .nav-link.menu-link.active i,
html[data-sidebar=dark] .navbar-menu .navbar-nav .nav-link.menu-link[aria-expanded=true] i { color: var(--pt-menu-accent); }

/* ── 2) Yan menü ────────────────────────────────────────────────────────── */
.navbar-menu .navbar-brand-box .logo-lg img { height: 30px; }
.navbar-menu .navbar-brand-box .logo-sm img { height: 26px; }
.navbar-menu .navbar-nav .nav-link.menu-link i { font-size: 19px; }

/* Alt menüde açık sayfa */
.navbar-menu .navbar-nav .nav-sm .nav-link.active { font-weight: 600; }
.navbar-menu .navbar-nav .nav-sm .nav-link.active::before { background-color: var(--pt-menu-accent, var(--pt-accent)) !important; opacity: 1 !important; width: 6px !important; height: 6px !important; border-radius: 50%; }

/* Kayıt sayfaları ile analiz sayfaları arasındaki ayraç: yalnızca boydan boya ince çizgi */
.navbar-menu .navbar-nav .nav-sm .pt-menu-sep { height: 1px; margin: 8px 1.5rem 8px 0; padding: 0; background: var(--vz-vertical-menu-title-color); opacity: .3; list-style: none; }

/* Daraltılmış menüde (yalnızca simgeler) ayraç yer kaplamasın */
[data-layout=vertical][data-sidebar-size=sm] .navbar-menu .pt-menu-sep { margin-left: 1.5rem; }

/* ── 3) Üst çubuk ───────────────────────────────────────────────────────── */
#page-topbar .pt-farm { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; margin-left: .5rem; min-width: 0; }
#page-topbar .pt-farm b { font-size: 14px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38vw; }
#page-topbar .pt-farm small { font-size: 11px; color: var(--vz-secondary-color); }
.pt-initials { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: #FFF; background: var(--vz-primary); flex-shrink: 0; }
.pt-lang-code { font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.pt-lang-item.active { font-weight: 600; color: var(--pt-accent); }

/* ── 4) Sayfa başlığı ───────────────────────────────────────────────────── */
.page-title-box .pt-crumb { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--vz-secondary-color); margin: 0 0 2px; }
.page-title-box .pt-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── 5) Özet kutuları ───────────────────────────────────────────────────── */
/* Geniş ekranda (≥1400) altı kutu tek sırada (tam genişlik); daha dar ekranda üçerli (etiketler kesilmesin) */
@media (min-width: 1400px) { .pt-kpi-col { width: 16.6667%; } }
.pt-kpi .avatar-title { font-size: 22px; }
.pt-kpi .pt-kpi-label { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--vz-secondary-color); margin: 0; }
.pt-kpi .pt-kpi-value { font-size: 24px; font-weight: 600; line-height: 1.2; margin: 6px 0 0; color: var(--vz-heading-color); }
.pt-kpi .pt-kpi-value small { font-size: 13px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-kpi .pt-kpi-note { font-size: 12px; margin: 6px 0 0; color: var(--vz-secondary-color); min-height: 18px; }

/* Renk yardımcıları (mobil paletindeki ek renkler) */
.pt-bg-accent-subtle { background-color: rgba(var(--pt-accent-rgb), .12) !important; color: var(--pt-accent) !important; }
.pt-bg-purple-subtle { background-color: rgba(150, 122, 220, .14) !important; color: var(--pt-purple) !important; }
.pt-bg-orange-subtle { background-color: rgba(233, 87, 63, .13) !important; color: var(--pt-orange) !important; }
.pt-bg-brown-subtle { background-color: rgba(170, 142, 105, .16) !important; color: #8C7350 !important; }
.pt-text-accent { color: var(--pt-accent) !important; }

/* Liste satırları (işler, uyarılar) */
.pt-list { list-style: none; margin: 0; padding: 0; }
.pt-list > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--vz-border-color); }
.pt-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.pt-list > li:first-child { padding-top: 0; }
.pt-list .pt-list-ico { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
/* Ana ekran — Günün işleri: tür çipleri (simge + ad + sayı kutusu) ve tablo satırının başındaki simge kutusu.
   (pt-list-ico yalnız .pt-list içinde boyutlanır; tabloda boyutsuz kalıp simgenin arkasında dar bir leke gibi duruyordu.) */
.pt-task-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-task-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 5px 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: box-shadow .12s; }
.pt-task-chip:hover, .pt-task-chip:focus-visible { box-shadow: inset 0 0 0 1px currentColor; }
.pt-task-chip > i { font-size: 17px; line-height: 1; }
.pt-task-chip > b { min-width: 24px; padding: 3px 7px; border-radius: 5px; background: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; color: inherit; }
[data-bs-theme=dark] .pt-task-chip > b { background: rgba(0, 0, 0, .28); }
.pt-task-type { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pt-task-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; font-size: 17px; }
.pt-task-ico > i { line-height: 1; }
.pt-list .pt-list-body { flex: 1; min-width: 0; line-height: 1.3; }
.pt-list .pt-list-body b { display: block; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-list .pt-list-body span { display: block; font-size: 12px; color: var(--vz-secondary-color); }
.pt-list a.pt-list-row { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; }
.pt-empty { text-align: center; padding: 28px 12px; color: var(--vz-secondary-color); font-size: 13px; }
.pt-empty i { display: block; font-size: 30px; opacity: .45; margin-bottom: 6px; }

/* ── 6) Hazırlanıyor / bilgi sayfaları ──────────────────────────────────── */
.pt-hero-ico { width: 84px; height: 84px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 40px; }

/* ── 7) Giriş / kayıt sayfaları ─────────────────────────────────────────── */
.pt-auth { min-height: 100vh; display: flex; background: var(--vz-body-bg); }
/* Sol tanıtım paneli ekran yüksekliğinde SABİTTİR (sticky): sağdaki form uzayınca panel uzamaz, içeriği aşağı kaymaz;
   sayfa kayar, panel yerinde durur. Alçak ekranda aralıklar daralır (aşağıdaki max-height kuralları). */
.pt-auth-side { flex: 0 0 42%; max-width: 620px; position: sticky; top: 0; height: 100vh; align-self: flex-start; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 48px; color: #FFF;
    background: linear-gradient(155deg, #4B535E 0%, #3A4049 55%, #2C3138 100%); }
.pt-auth-side::before { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 90, 43, .42) 0%, rgba(139, 90, 43, 0) 68%); }
.pt-auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; left: -200px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 193, 82, .22) 0%, rgba(140, 193, 82, 0) 68%); }
.pt-auth-side > * { position: relative; z-index: 1; }
.pt-auth-side .pt-auth-logo img { height: 38px; }
.pt-auth-side h2 { color: #FFF; font-size: 28px; font-weight: 600; line-height: 1.25; margin: 0 0 12px; }
.pt-auth-side p.lead { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0 0 28px; }
.pt-auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pt-auth-points li { display: flex; gap: 14px; align-items: flex-start; }
.pt-auth-points li i { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pt-auth-points li b { display: block; font-size: 14px; font-weight: 600; color: #FFF; }
.pt-auth-points li span { display: block; font-size: 13px; color: rgba(255, 255, 255, .65); }
.pt-auth-side footer { font-size: 12px; color: rgba(255, 255, 255, .5); }

.pt-auth-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-auth-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }
.pt-auth-top .pt-auth-logo-sm img { height: 30px; }
.pt-auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 20px 40px; }
.pt-auth-card { width: 100%; max-width: 440px; }
.pt-auth-card.pt-wide { max-width: 640px; }
.pt-auth-card h1 { font-size: 24px; font-weight: 600; margin: 0 0 6px; color: var(--vz-heading-color); }
.pt-auth-card .pt-auth-sub { color: var(--vz-secondary-color); font-size: 14px; margin: 0 0 24px; }
.pt-auth-card .form-label { font-weight: 500; }
.pt-auth-card .form-label b { color: var(--vz-danger); font-weight: 600; }
.pt-auth-alt { text-align: center; margin: 22px 0 0; font-size: 14px; color: var(--vz-secondary-color); }
.pt-auth-alt a { font-weight: 600; }

/* Şifre alanı: göster / gizle düğmesi */
.pt-pass { position: relative; }
.pt-pass .form-control { padding-right: 44px; }
.pt-pass button { position: absolute; top: 0; right: 0; height: 100%; width: 42px; border: 0; background: transparent; color: var(--vz-secondary-color); font-size: 17px; }

/* Şifre kuralları: sağlanan madde yeşile döner */
.pt-rules { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--vz-secondary-color); }
.pt-rules li i { margin-right: 3px; }
.pt-rules li.ok { color: var(--vz-success-text-emphasis); }

/* Adım göstergesi (kayıt, şifre sıfırlama) */
.pt-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.pt-steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--vz-border-color); }
.pt-steps li.on { background: var(--pt-accent); }
[data-step][hidden] { display: none !important; }

/* 6 haneli kod kutuları */
.pt-code { display: flex; gap: 10px; justify-content: center; }
.pt-code input { width: 48px; height: 54px; text-align: center; font-size: 22px; font-weight: 600; padding: 0; }

.pt-field-error { display: none; color: var(--vz-danger); font-size: 12px; margin-top: 4px; }
.is-invalid ~ .pt-field-error, .pt-invalid .pt-field-error { display: block; }

@media (max-width: 991.98px) {
    .pt-auth-side { display: none; }
}
@media (min-width: 992px) {
    .pt-auth-top .pt-auth-logo-sm { visibility: hidden; }
}
@media (min-width: 992px) and (max-height: 720px) {
    .pt-auth-side { padding: 26px 40px; }
    .pt-auth-side h2 { font-size: 22px; margin-bottom: 8px; }
    .pt-auth-side p.lead { font-size: 14px; margin-bottom: 16px; }
    .pt-auth-points { gap: 10px; }
    .pt-auth-points li i { width: 34px; height: 34px; font-size: 17px; }
}
@media (min-width: 992px) and (max-height: 560px) {
    .pt-auth-side { padding: 18px 36px; }
    .pt-auth-side p.lead, .pt-auth-points li span { display: none; }
    .pt-auth-points { gap: 6px; }
    .pt-auth-points li { align-items: center; }
}

/* ── 8) Liste sayfaları ─────────────────────────────────────────────────── */
/* Özet kutuları: tıklanınca süzgeci ayarlar; süzgeç o değerdeyken 'active'. Köşeler temadaki kartlar gibi düz (2px). */
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pt-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--vz-border-color); border-radius: 2px; background: var(--vz-secondary-bg); font-size: 13px; line-height: 1.4; color: var(--vz-body-color); cursor: pointer; transition: border-color .15s, background-color .15s; }
.pt-chip b { font-weight: 600; color: var(--vz-heading-color); }
.pt-chip:hover { border-color: var(--pt-accent); }
.pt-chip.active { border-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .1); color: var(--pt-accent); }
.pt-chip.active b { color: var(--pt-accent); }

/* Süzgeç satırı */
.pt-filter .form-label { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); margin-bottom: 4px; }
.pt-search { position: relative; }
.pt-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--vz-secondary-color); pointer-events: none; }
.pt-search .form-control { padding-left: 36px; }
.pt-filter-tools { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.pt-columns { min-width: 220px; max-height: 340px; overflow: auto; padding: 8px 14px; }
.pt-columns .form-check { margin: 4px 0; }

/* Tablo */
.pt-table { margin: 0; }
.pt-table > thead th { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); background: var(--vz-light); white-space: nowrap; border-bottom-width: 1px; }
.pt-table > thead th[data-sort] { cursor: pointer; user-select: none; }
.pt-table > thead th[data-sort]:hover { color: var(--pt-accent); }
.pt-table > thead th.pt-sorted { color: var(--pt-accent); }
.pt-table > tbody td { vertical-align: middle; white-space: nowrap; font-size: 13px; }
.pt-table .pt-tag { font-weight: 600; color: var(--vz-heading-color); }
.pt-table .pt-sub { display: block; font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-table .pt-flag { font-size: 15px; margin-left: 4px; vertical-align: -1px; }
.pt-table tr.pt-out td { color: var(--vz-secondary-color); }
.pt-table tr.pt-out .pt-tag { color: var(--vz-secondary-color); }
.pt-table .pt-num { text-align: right; font-variant-numeric: tabular-nums; }
.pt-table .pt-row-actions { text-align: right; white-space: nowrap; }
.pt-table tr[data-href]:not([data-href=""]) { cursor: pointer; }
.pt-table .pt-open { width: 1%; padding-right: 0; }
.pt-table .pt-open a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 4px; font-size: 16px; color: var(--pt-accent); }
.pt-table .pt-open a:hover { background: rgba(var(--pt-accent-rgb), .12); }
.pt-table .pt-row-actions .btn { padding: 2px 8px; font-size: 16px; line-height: 1.3; }
[data-pt-rows] { transition: opacity .15s; }
[data-pt-rows].pt-loading { opacity: .45; pointer-events: none; }

/* Sayfalama */
.pt-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--vz-border-color); }
.pt-pager-info { font-size: 13px; color: var(--vz-secondary-color); }
.pt-pager-nav { display: flex; align-items: center; gap: 10px; }
.pt-pager-nav .form-select { width: auto; }

/* Doluluk çubuğu (grup / padok kapasitesi) */
.pt-fill { display: flex; align-items: center; gap: 8px; min-width: 140px; }
.pt-fill .progress { flex: 1; height: 6px; background: var(--vz-light); }
.pt-fill small { font-size: 12px; color: var(--vz-secondary-color); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }

/* ── 9) Formlar ─────────────────────────────────────────────────────────── */
.pt-form .card-header h6 { margin: 0; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pt-form .card-header h6 i { font-size: 18px; color: var(--pt-accent); }
.pt-form .form-label { font-weight: 500; margin-bottom: 4px; }
.pt-form .form-label b, .modal .form-label b { color: var(--vz-danger); font-weight: 600; }
.pt-form .form-text, .modal .form-text { font-size: 12px; }
.pt-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--vz-secondary-color); margin: 10px 0 0; }
.pt-hint i { font-size: 16px; color: var(--vz-info); line-height: 1.2; }
[data-pt-when][hidden] { display: none !important; }

/* Seçim düğmeleri (radyo): tek satırda, dar ekranda alta iner */
.pt-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-seg .btn { border-color: var(--vz-border-color); color: var(--vz-body-color); background: var(--vz-secondary-bg); font-size: 13px; padding: 6px 14px; }
.pt-seg .btn:hover { border-color: var(--pt-accent); color: var(--pt-accent); }
.pt-seg .btn-check:checked + .btn { background: rgba(var(--pt-accent-rgb), .1); border-color: var(--pt-accent); color: var(--pt-accent); font-weight: 600; }
.pt-seg .btn-check:disabled + .btn { opacity: .45; pointer-events: none; }
.pt-seg .btn-check.is-invalid + .btn { border-color: var(--vz-danger); }
.pt-field-error.d-block { display: block !important; }

/* Pencere içindeki form: başlık ve düğmeler sabit, gövde kayar */
#ptModal .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
#ptModal .modal-content > form .modal-body { overflow-y: auto; }

/* Form altındaki düğme satırı: sayfa kaydırılsa da görünür kalır */
.pt-form-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 12px 16px; margin: 0 0 16px; background: var(--vz-secondary-bg); border: 1px solid var(--vz-border-color); border-radius: var(--vz-border-radius); box-shadow: 0 -4px 14px rgba(0, 0, 0, .05); }

/* Seçilen hayvanlar (gruba ekleme) */
/* Seçilen öğe çipleri. tr.pt-picked (tabloda seçili satır vurgusu) bu kuraldan etkilenmez: satır tablo satırı olarak kalır */
.pt-picked:not(tr) { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pt-picked:not(tr) span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 999px; background: rgba(var(--pt-accent-rgb), .1); color: var(--pt-accent); font-size: 12.5px; font-weight: 600; }
.pt-picked:not(tr) button { border: 0; background: transparent; color: inherit; padding: 0 2px; font-size: 14px; line-height: 1; }
.pt-suggest { position: relative; }
.pt-suggest-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--vz-secondary-bg); border: 1px solid var(--vz-border-color); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); max-height: 280px; overflow: auto; padding: 4px; }
.pt-suggest-list[hidden] { display: none; }
.pt-suggest-list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; border: 0; background: transparent; text-align: left; padding: 7px 10px; border-radius: 6px; font-size: 13px; color: var(--vz-body-color); }
.pt-suggest-list button:hover, .pt-suggest-list button.on { background: rgba(var(--pt-accent-rgb), .1); }
.pt-suggest-list button b { font-weight: 600; color: var(--vz-heading-color); }
.pt-suggest-list button small { color: var(--vz-secondary-color); }
.pt-suggest-list .pt-suggest-none { padding: 8px 10px; font-size: 13px; color: var(--vz-secondary-color); }

/* ── 10) Hayvan kartı (detay): sol kart · sekmeler · olay akışı ─────────── */
/* Sol kart: fotoğraf, numara / ad, rozetler ortada; künye bilgileri altta iki sütunlu satırlar */
.pt-animal-head { text-align: center; padding: 4px 0 16px; }
.pt-animal-photo { width: 112px; height: 112px; border-radius: 8px; object-fit: cover; background: var(--vz-light); display: inline-flex; align-items: center; justify-content: center; font-size: 54px; color: var(--vz-secondary-color); margin: 0 auto 12px; }
/* Hayvan kartında fotoğraf + kalem: tıklanınca resim seçilir, kırpılır, kaydedilir (js/portal/bv-crop.js) */
.pt-animal-photo-edit { position: relative; display: inline-block; margin: 0 auto 12px; cursor: pointer; }
.pt-animal-photo-edit .pt-animal-photo { margin: 0; display: inline-flex; }
.pt-animal-photo-pen { position: absolute; right: -8px; bottom: -8px; width: 32px; height: 32px; border-radius: 50%; background: var(--vz-secondary-bg, #fff);
    color: var(--vz-body-color); border: 1px solid var(--vz-border-color); display: flex; align-items: center; justify-content: center; font-size: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12); transition: transform .15s; }
.pt-animal-photo-edit:hover .pt-animal-photo-pen { transform: scale(1.08); }
.pt-animal-head h3 { font-size: 22px; font-weight: 600; margin: 0; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-animal-sub { font-size: 14px; color: var(--vz-secondary-color); margin: 2px 0 0; }
.pt-animal-head .badge { font-size: 12px; font-weight: 600; padding: 5px 9px; margin: 10px 2px 0; }
.pt-animal .alert { font-size: 12.5px; }
.pt-kv { margin: 0; border-top: 1px solid var(--vz-border-color); }
.pt-kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--vz-border-color); }
.pt-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pt-kv dt { font-size: 12px; font-weight: 500; color: var(--vz-secondary-color); flex-shrink: 0; }
.pt-kv dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); text-align: right; overflow-wrap: anywhere; }
.pt-kv dd small { font-weight: 500; color: var(--vz-secondary-color); }
.pt-pre { white-space: pre-line; }
.pt-note { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--pt-accent); background: var(--vz-light); font-size: 13px; white-space: pre-line; }
.pt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 20px; }
.pt-facts div span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }
.pt-facts div b { display: block; font-size: 13.5px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }

/* Hızlı işlemler: iki sütun, simge kutusu + ad */
.pt-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-quick a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--vz-border-color); border-radius: 4px; font-size: 12.5px; font-weight: 500; line-height: 1.25; color: var(--vz-body-color); min-width: 0; overflow-wrap: anywhere; }
.pt-quick a > span { width: 28px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.pt-quick a:hover { border-color: var(--pt-accent); color: var(--pt-accent); }
.pt-animal + .card .card-title, #ptQuickCard .card-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
#ptQuickCard .card-title > i { font-size: 18px; color: var(--pt-accent); }

/* Sekme başlıkları (liste sayfalarındaki özet sekmeleri): sığmazsa alta inmez, yana kayar */
.pt-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.pt-tabs .nav-link { white-space: nowrap; }
.pt-tabs .badge { font-size: 11px; font-weight: 600; }
.pt-list-tabs { padding: 0 1rem; border-bottom: 1px solid var(--vz-border-color); }
.pt-list-tabs .nav-tabs { border-bottom: 0; }
.pt-list-tabs .nav-link i { font-size: 16px; }
.pt-list-tabs .nav-link .badge { background: var(--vz-light); color: var(--vz-body-color); }
.pt-list-tabs .nav-link.active .badge { background: rgba(var(--pt-accent-rgb), .14); color: var(--pt-accent); }

/* Kart sekmeleri: kare kutular (simge · değer · ad); her kutu ayrı kart görünümünde */
/* Hayvan kartı kutu şeridi: sığmayan kutular soldan sağa kaydırılır; ince kaydırma çubuğu görünür (fare tekerleği de
   yatay kaydırır — Animal/Detail.cshtml betiği). Kutular sıkışıp küçülmez, en az 78 px kalır. */
.pt-tiles { display: flex; flex-wrap: nowrap; gap: 10px; margin: 0 0 1.5rem; padding: 0 0 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: rgba(var(--pt-accent-rgb), .45) transparent; }
.pt-tiles::-webkit-scrollbar { height: 6px; }
.pt-tiles::-webkit-scrollbar-track { background: transparent; }
.pt-tiles::-webkit-scrollbar-thumb { background: rgba(var(--pt-accent-rgb), .45); border-radius: 3px; }
.pt-tiles .nav-item { flex: 1 0 78px; min-width: 0; }
.pt-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 88px; padding: 8px 4px; text-align: center; background: var(--vz-secondary-bg); border: 1px solid transparent; border-radius: var(--vz-border-radius); box-shadow: var(--vz-box-shadow); color: var(--vz-body-color); transition: border-color .15s, color .15s; }
.pt-tile i { font-size: 22px; line-height: 1.1; color: var(--vz-secondary-color); }
.pt-tile b { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--vz-heading-color); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Ad uzun dillerde iki satıra iner (heceden bölünür); kutu yüksekliği sabit kalır */
.pt-tile span { font-size: 10.5px; line-height: 1.15; color: var(--vz-secondary-color); max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; }
.pt-tile:hover { border-color: var(--pt-accent); color: var(--vz-body-color); }
.pt-tile.active { border-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .08); }
.pt-tile.active i, .pt-tile.active span { color: var(--pt-accent); }
.pt-tile.pt-tile-alert b { color: var(--vz-danger); }

/* Sekme içi kartlar: başlıkta simge + ad; sayı kutuları (tile box) üç sütun */
#ptCardMain .card-header .card-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
#ptCardMain .card-header .card-title > i { font-size: 18px; color: var(--pt-accent); }
.pt-widgets { --vz-gutter-x: 1rem; }
.pt-widget { margin-bottom: 1rem; height: calc(100% - 1rem); }
.pt-widget .card-body { padding: .9rem 1rem; }
.pt-widget .avatar-sm { width: 2.6rem; height: 2.6rem; }
.pt-widget-label { font-size: 11px; font-weight: 600; letter-spacing: .3px; line-height: 1.3; text-transform: uppercase; color: var(--vz-secondary-color); margin: 0 0 2px; }
.pt-widget-value { font-size: 17px; font-weight: 600; margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
.pt-widget-value small { font-size: 12px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-widget-value small.text-success, .pt-widget-value small.text-danger { font-weight: 600; }
.pt-part { margin: 0 0 14px; font-size: 13px; }
.pt-part:last-child { margin-bottom: 0; }
.pt-part b { font-weight: 600; color: var(--vz-heading-color); }
.pt-part .progress { margin: 6px 0 2px; }

/* Kayıt satırları (işler, grup geçmişi, üreme, vakalar, tedaviler, aşılar, yavrular): tarih · başlık + ayrıntı · rozet */
.pt-rows { border-top: 1px solid var(--vz-border-color); }
.card-header + .pt-rows { border-top: 0; }
.pt-row { display: flex; align-items: flex-start; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--vz-border-color); color: inherit; }
.pt-row:last-child { border-bottom: 0; }
a.pt-row:hover { background: rgba(var(--pt-accent-rgb), .06); }
.pt-row-date { flex: 0 0 80px; font-size: 12.5px; color: var(--vz-secondary-color); font-variant-numeric: tabular-nums; padding-top: 1px; }
.pt-row-body { flex: 1; min-width: 0; }
.pt-row-body b { display: block; font-size: 13.5px; font-weight: 600; color: var(--vz-heading-color); }
.pt-row-body b .badge { font-weight: 500; vertical-align: 1px; }
.pt-row-body > span { display: block; font-size: 12.5px; color: var(--vz-secondary-color); margin-top: 1px; }
.pt-row > .badge { flex-shrink: 0; font-size: 11.5px; margin-top: 1px; }

/* Üreme: her laktasyon ayrı kart (başlıkta laktasyon sırası ve özet; altında o laktasyonun kayıtları) */
.pt-lact { border-left: 3px solid var(--vz-border-color); }
.pt-lact.pt-lact-now { border-left-color: var(--pt-accent); }
.pt-lact-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.pt-lact-head .card-title { margin-right: auto !important; }
.pt-lact-head > span { font-size: 12px; color: var(--vz-secondary-color); }
.pt-lact-head > span b { font-weight: 600; color: var(--vz-heading-color); margin-left: 2px; }

/* Küçük sayı kutuları (sekme içi özet) */
.pt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 18px; }
.pt-stats div { padding: 12px 14px; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-stats span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }
.pt-stats b { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 2px; color: var(--vz-heading-color); }
.pt-stats b small { font-size: 12px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-stats .pt-neg b { color: var(--vz-danger); }
.pt-stats .pt-pos b { color: var(--vz-success-text-emphasis); }
.pt-sec { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: var(--vz-secondary-color); margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.pt-sec:first-child { margin-top: 0; }
.pt-sec::after { content: ""; flex: 1; height: 1px; background: var(--vz-border-color); }
.pt-tab-table { border: 1px solid var(--vz-border-color); border-radius: 4px; }

/* Olay akışı: yukarıdan aşağı zaman çizelgesi */
.pt-timeline-card .card-body { max-height: 640px; overflow-y: auto; }
/* Üç sütunlu düzende akış ekranda sabit kalır, kendi içinde kayar */
@media (min-width: 1400px) {
    .pt-timeline-card { position: sticky; top: calc(70px + 1.5rem); }
    .pt-timeline-card .card-body { max-height: calc(100vh - 250px); min-height: 320px; }
}
.pt-tl-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-tl-filter .pt-chip { padding: 3px 10px; font-size: 12px; }
.pt-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pt-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--vz-border-color); }
.pt-timeline > li { position: relative; padding: 0 0 16px 28px; }
.pt-timeline > li:last-child { padding-bottom: 0; }
.pt-timeline > li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--vz-primary); border: 3px solid var(--vz-secondary-bg); box-shadow: 0 0 0 1px var(--vz-border-color); }
.pt-timeline > li.pt-tl-repro::before { background: var(--pt-purple); }
.pt-timeline > li.pt-tl-lambing::before { background: var(--pt-mint); }
.pt-timeline > li.pt-tl-milk::before { background: var(--vz-info); }
.pt-timeline > li.pt-tl-health::before { background: var(--vz-danger); }
.pt-timeline > li.pt-tl-year { padding: 0 0 12px 28px; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--vz-secondary-color); }
.pt-timeline > li.pt-tl-year::before { width: 10px; height: 10px; left: 2px; top: 4px; border-radius: 2px; background: var(--vz-border-color); border: 0; box-shadow: none; }
.pt-tl-date { font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-tl-title { font-size: 13.5px; font-weight: 600; color: var(--vz-heading-color); line-height: 1.35; }
.pt-tl-title .badge { font-weight: 500; margin-left: 4px; vertical-align: 1px; }
.pt-tl-facts { margin: 3px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--vz-body-color); }
.pt-tl-facts li span { color: var(--vz-secondary-color); }
.pt-timeline > li.pt-tl-off .pt-tl-title, .pt-timeline > li.pt-tl-off .pt-tl-facts { text-decoration: line-through; opacity: .6; }

/* Soy ağacı: üç kuşak, soldan sağa */
.pt-pedigree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 8px 14px; align-items: stretch; }
.pt-ped { display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border: 1px solid var(--vz-border-color); border-left-width: 3px; border-radius: 4px; min-height: 52px; color: inherit; }
.pt-ped b { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-ped span { font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-ped.pt-ped-f { border-left-color: #D770AD; }
.pt-ped.pt-ped-m { border-left-color: var(--vz-info); }
.pt-ped.pt-ped-self { border-left-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .07); }
.pt-ped.pt-ped-none { border-style: dashed; }
a.pt-ped:hover { border-color: var(--pt-accent); }

/* Toast (toastify): tema yazı tipi ve köşeler */
.toastify { font-family: inherit; font-size: 14px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }

/* ── İlgili sayfalar menüsü (başlık kutusu) ── */
.pt-related { min-width: 15rem; max-height: 70vh; overflow-y: auto; }
.pt-related .dropdown-item { display: flex; align-items: center; gap: .5rem; white-space: normal; }
.pt-related .dropdown-item i { font-size: 1rem; color: var(--vz-secondary-color); flex: none; }
.pt-related .dropdown-header { text-transform: uppercase; letter-spacing: .04em; font-size: .6875rem; }

/* Sekme şeritleri kaydırılabilir ama kaydırma çubuğu görünmez (hayvan kartı kutu şeridi .pt-tiles hariç: orada görünür) */
.pt-tabs::-webkit-scrollbar, .pt-list-tabs .nav-tabs::-webkit-scrollbar { display: none; }
.pt-list-tabs .nav-tabs { scrollbar-width: none; }

/* ══ Kayıt sayfaları (ortak): tablo vurguları, toplu giriş, kayıt pencereleri ══ */
.pt-cell-sub { display: block; font-size: 11.5px; color: var(--vz-secondary-color); line-height: 1.3; }
.pt-table tr.pt-row-late > td:first-child { box-shadow: inset 3px 0 0 var(--vz-danger); }
.pt-table tr.pt-row-warn > td:first-child { box-shadow: inset 3px 0 0 var(--vz-warning); }
.pt-table tr.pt-row-dim > td { color: var(--vz-secondary-color); }
.pt-table tr.pt-picked > td { background: rgba(var(--pt-accent-rgb), .06); }
.pt-table th.pt-check, .pt-table td.pt-check { width: 36px; text-align: center; }
.pt-batch-head { padding: 14px 16px; border-bottom: 1px solid var(--vz-border-color); background: var(--vz-light); }
.pt-batch-head .pt-hint { margin-top: 8px; }
.pt-batch-count { font-size: 13px; color: var(--vz-secondary-color); margin-right: 10px; }
.pt-batch-count b { color: var(--vz-heading-color); font-size: 15px; }
.pt-batch-cell { white-space: nowrap; }
.pt-mini { width: 76px; min-width: 76px; display: inline-block; }
.pt-seg-sm { flex-wrap: nowrap; gap: 4px; align-items: center; }
.pt-seg-sm .btn { padding: 3px 10px; font-size: 12.5px; }
.pt-seg-sm .pt-clear { padding: 2px 4px; border: 0; background: transparent; visibility: hidden; }
tr.pt-picked .pt-seg-sm .pt-clear { visibility: visible; }
.pt-seg .btn-check:checked + .btn.pt-tone-success { background: rgba(var(--vz-success-rgb), .14); border-color: var(--vz-success); color: var(--vz-success); }
.pt-seg .btn-check:checked + .btn.pt-tone-danger { background: rgba(var(--vz-danger-rgb), .12); border-color: var(--vz-danger); color: var(--vz-danger); }
.pt-seg .btn-check:checked + .btn.pt-tone-warning { background: rgba(var(--vz-warning-rgb), .16); border-color: var(--vz-warning); color: var(--vz-warning); }
.pt-switch { padding-top: 7px; }
.pt-seg { position: relative; }      /* gizli seçim kutuları (btn-check) kaydırılan tablonun dışına taşmasın */

/* Pencerenin başındaki hayvan bölümü */
.pt-animal-pick { margin-bottom: 4px; }
.pt-picked-animal { border: 1px solid var(--vz-border-color); border-radius: 4px; padding: 12px 14px; margin-bottom: 16px; background: var(--vz-light); }
.pt-picked-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-picked-icon { width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(var(--pt-accent-rgb), .12); color: var(--pt-accent); flex-shrink: 0; }
.pt-picked-name { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.pt-picked-name b { font-size: 15px; color: var(--vz-heading-color); }
.pt-picked-name small { color: var(--vz-secondary-color); }
.pt-picked-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pt-picked-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin: 12px 0 0; }
.pt-picked-facts > div { min-width: 0; }
.pt-picked-facts dt { font-size: 11.5px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-picked-facts dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-form-note { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; margin-bottom: 14px; border-radius: 4px; background: rgba(var(--pt-accent-rgb), .08); color: var(--vz-body-color); font-size: 13px; }
.pt-form-note i { font-size: 17px; color: var(--pt-accent); line-height: 1.2; }
.pt-form-sub { display: flex; align-items: center; gap: 6px; margin: 20px 0 10px; font-size: 13.5px; }
.pt-form-sub i { font-size: 17px; color: var(--pt-accent); }
.pt-lamb { border: 1px solid var(--vz-border-color); border-radius: 4px; padding: 12px 14px; margin-top: 14px; }
.pt-lamb h6 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin-bottom: 10px; }
.pt-lamb h6 i { font-size: 17px; color: var(--pt-accent); }

/* Kişi seçici */
.pt-person-add { margin-top: 0; }
.pt-person-add .form-select { max-width: 42%; }

/* Tekrar eden satırlar (protokol adımları) */
.pt-repeat-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.pt-repeat-no { width: 26px; height: 26px; margin-top: 5px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: rgba(var(--pt-accent-rgb), .12); color: var(--pt-accent); flex-shrink: 0; }
.pt-step-fields { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; flex: 1; min-width: 0; }
@media (max-width: 767.98px) { .pt-step-fields { grid-template-columns: 1fr; } }

/* Protokol kartları */
.pt-protocol .card-title { font-size: 15px; }
.pt-proto-steps { list-style: none; margin: 0; padding: 0; }
.pt-proto-steps li { display: flex; gap: 12px; padding: 0 0 12px; position: relative; }
.pt-proto-steps li::before { content: ""; position: absolute; left: 31px; top: 24px; bottom: 0; width: 2px; background: var(--vz-border-color); }
.pt-proto-steps li:last-child { padding-bottom: 0; }
.pt-proto-steps li:last-child::before { display: none; }
.pt-step-day { flex: 0 0 64px; height: 24px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; background: rgba(var(--pt-accent-rgb), .12); color: var(--pt-accent); position: relative; z-index: 1; white-space: nowrap; }
.pt-proto-steps li b { display: block; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); line-height: 24px; }
.pt-proto-steps li small { display: block; font-size: 12px; color: var(--vz-secondary-color); }

/* Uygulanan protokoller: süzgeç kutuları; başlatma penceresi: adım takvimi ve kaydırılan hayvan tablosu */
.pt-applied-search { width: 240px; }
.pt-applied-view { width: auto; min-width: 200px; }
.pt-table .pt-step-day { flex: none; height: 22px; padding: 0 8px; vertical-align: middle; }
.pt-proto-plan { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-proto-plan > div { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-proto-plan b { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); }
.pt-proto-plan small { font-size: 12px; color: var(--vz-secondary-color); }
.pt-proto-pick { max-height: 320px; overflow-y: auto; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-proto-pick thead th { position: sticky; top: 0; z-index: 1; }
.pt-proto-pick tr[hidden] { display: none; }
.pt-proto-pick label.pt-tag { cursor: pointer; }
@media (max-width: 767.98px) { .pt-applied-search, .pt-applied-view { width: 100%; } }

/* Kayıt sayfası süzgeci: alanlar tek satırda (arama esner, diğerleri sabit genişlikte); 992px altında sarar */
.pt-filter-line { display: flex; flex-wrap: nowrap; gap: 8px; align-items: flex-end; min-width: 0; }
.pt-filter-line .pt-ff { flex: 0 1 150px; min-width: 110px; }
.pt-filter-line .form-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-filter-line .pt-ff-search { flex: 1 1 240px; min-width: 160px; }
.pt-filter-line .pt-ff-date { flex: 0 1 140px; }
@media (max-width: 991.98px) { .pt-filter-line { flex-wrap: wrap; } .pt-filter-line .pt-ff { flex: 1 1 140px; } .pt-filter-line .pt-ff-search { flex: 1 1 100%; } }

/* Satır düğmeleri: kare, renkli, yalnızca simge */
.pt-table .pt-row-actions .btn.btn-icon { width: 30px; height: 30px; padding: 0; font-size: 17px; line-height: 1; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }

/* Boş tarih alanında tarayıcının "gg.aa.yyyy" yer tutucusu görünmez (odaklanınca görünür) */
input.pt-date-empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
input.pt-date-empty:not(:focus) { color: transparent; }

/* Uzun metin hücresi (not, buzağılar): alt satıra sarar, tabloyu genişletmez */
.pt-table td.pt-wrap { white-space: normal; min-width: 150px; max-width: 280px; overflow-wrap: anywhere; }

/* ══ Günlük sağım giriş ızgarası ══ */
.pt-sheet-head { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--vz-border-color); }
.pt-sheet-title { display: flex; flex-direction: column; min-width: 0; }
.pt-sheet-title b { font-size: 15px; color: var(--vz-heading-color); }
.pt-sheet-title span { font-size: 12.5px; color: var(--vz-secondary-color); }
.pt-sheet-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.pt-sheet-stats > span { display: flex; flex-direction: column; min-width: 86px; padding: 6px 12px; border: 1px solid var(--vz-border-color); border-radius: 4px; background: var(--vz-secondary-bg); }
.pt-sheet-stats small { font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); white-space: nowrap; }
.pt-sheet-stats b { font-size: 16px; line-height: 1.3; color: var(--vz-heading-color); }
.pt-sheet-stats .pt-stat-warn.on { border-color: var(--vz-warning); }
.pt-sheet-stats .pt-stat-warn.on b { color: var(--vz-warning); }
.pt-sheet-tank { min-width: 150px; }
.pt-sheet-tank .form-label { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); margin-bottom: 2px; }
.pt-table.pt-sheet td { padding-top: 5px; padding-bottom: 5px; vertical-align: middle; }
.pt-milk-input { width: 86px; display: inline-block; text-align: right; font-weight: 600; }
.pt-table.pt-sheet tr.pt-changed .pt-milk-input { border-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .06); }
.pt-sheet-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--vz-border-color); background: var(--vz-secondary-bg); }
.pt-sheet-save { display: flex; align-items: center; margin-left: auto; }

/* ══ Yan bilgi kartı (süzgeç + durum): geniş ekranda sabit ══ */
.pt-side-form { display: flex; flex-direction: column; gap: 14px; }
.pt-side-form > div[hidden] { display: none; }
.pt-side-title { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 12px; }
.pt-side-title i { font-size: 17px; color: var(--pt-accent); }
.pt-side-tanks { border-top: 1px solid var(--vz-border-color); }
@media (min-width: 1200px) { .pt-side { position: sticky; top: calc(70px + 1.5rem); } }
.pt-daynav { display: flex; gap: 6px; }
.pt-daynav .form-control { flex: 1; min-width: 0; text-align: center; font-weight: 600; }
.pt-daynav .btn-icon { width: 37px; height: 37px; flex-shrink: 0; font-size: 20px; padding: 0; }
.pt-range { display: flex; align-items: center; gap: 6px; }
.pt-range .form-control { flex: 1; min-width: 0; }
.pt-range span { color: var(--vz-secondary-color); }
/* Seans düğmeleri: sekme gibi tek parça (sabah · öğle · akşam) */
.pt-switch-tabs { position: relative; display: flex; padding: 3px; border-radius: 6px; background: var(--vz-light); border: 1px solid var(--vz-border-color); }
.pt-switch-tabs label { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 7px 4px; border-radius: 4px; font-size: 12.5px; font-weight: 500; color: var(--vz-secondary-color); cursor: pointer; transition: background .15s, color .15s; text-align: center; line-height: 1.2; }
.pt-switch-tabs label i { font-size: 19px; line-height: 1; }
.pt-switch-tabs label { text-transform: capitalize; }
.pt-switch-tabs label:hover { color: var(--pt-accent); }
.pt-switch-tabs .btn-check:checked + label { background: var(--vz-secondary-bg); color: var(--pt-accent); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pt-switch-tabs .btn-check:focus-visible + label { outline: 2px solid var(--pt-accent); outline-offset: 1px; }
/* Tank doluluğu */
.pt-tanks { display: flex; flex-direction: column; gap: 10px; }
.pt-tank { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--vz-border-color); border-radius: 4px; cursor: pointer; }
.pt-tank.on { border-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .05); }
.pt-tank .form-check-input { margin-top: 2px; flex-shrink: 0; }
.pt-tank-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pt-tank-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pt-tank-head b { font-size: 13.5px; color: var(--vz-heading-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-tank-pct { font-size: 13px; font-weight: 700; color: var(--vz-heading-color); white-space: nowrap; }
.pt-tank .progress { display: block; height: 8px; border-radius: 4px; background: var(--vz-light); overflow: hidden; }
.pt-tank .progress-bar { display: block; height: 100%; transition: width .25s; }
.pt-tank-text { display: flex; flex-direction: column; font-size: 12px; color: var(--vz-secondary-color); }
.pt-tank-text > span { font-weight: 600; color: var(--vz-body-color); }
/* Tank bu seanstan sonra boşaltıldıysa: bilgi + "bu süt toplamayla gitti" seçimi (seçili tankın altında) */
.pt-tank-after { margin-top: -4px; padding: 9px 12px; border: 1px dashed var(--vz-border-color); border-radius: 4px; background: var(--vz-light); font-size: 12.5px; }
.pt-tank-after[hidden] { display: none; }
.pt-tank-after p { display: flex; gap: 6px; margin: 0 0 6px; line-height: 1.4; color: var(--vz-body-color); }
.pt-tank-after p .mdi { flex: 0 0 auto; font-size: 15px; line-height: 1.2; color: var(--pt-accent); }
.pt-tank-after .form-check { margin: 0; }
.pt-tank-after .form-check-label { font-weight: 500; color: var(--vz-heading-color); }

/* Sayfa başındaki sayı kutuları: eşit genişlikte yan yana */
.pt-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 1.5rem; }
.pt-stat-row .pt-widget { margin-bottom: 1.5rem; }
.pt-widget-note { margin: 2px 0 0; font-size: 11.5px; color: var(--vz-secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Hızlı süre düğmeleri */
.pt-quick-hours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pt-quick-hours .btn { padding: 2px 10px; font-size: 12px; }
.pt-quick-hours .btn.active { border-color: var(--pt-accent); color: var(--pt-accent); }

/* ── Süt: tank kartları (Tank kaydı sayfasının solundaki sabit bölüm), laktasyon penceresi ── */
.pt-tank-side .card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-tank-side .card-header h6 { margin: 0; }
.pt-tank-side .card-body { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1199.98px) { .pt-tank-side .card-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
@media (min-width: 1200px) { .pt-tank-side .card-body { max-height: calc(100vh - 70px - 3rem - 56px); overflow-y: auto; } }
.pt-tankc { --tank: var(--vz-success); --tank-rgb: var(--vz-success-rgb); position: relative; padding: 14px; border: 1px solid var(--vz-border-color); border-radius: 8px; background: linear-gradient(160deg, rgba(var(--tank-rgb), .07), transparent 60%); overflow: hidden; }
.pt-tankc::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tank); }
.pt-tankc.is-warn { --tank: var(--vz-warning); --tank-rgb: var(--vz-warning-rgb); }
.pt-tankc.is-full { --tank: var(--vz-danger); --tank-rgb: var(--vz-danger-rgb); }
.pt-tankc.is-empty { --tank: var(--vz-secondary-color); --tank-rgb: 135, 138, 153; }
.pt-tankc-top { display: flex; gap: 14px; align-items: stretch; }
.pt-tankc-gauge { position: relative; flex: 0 0 58px; min-height: 92px; border: 2px solid rgba(var(--tank-rgb), .55); border-radius: 12px 12px 16px 16px; background: var(--vz-secondary-bg); overflow: hidden; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .06); }
.pt-tankc-gauge::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 4px; margin-left: -11px; border-radius: 0 0 4px 4px; background: rgba(var(--tank-rgb), .55); z-index: 2; }
.pt-tankc-fill { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(var(--tank-rgb), .55), rgba(var(--tank-rgb), .9)); border-top: 2px solid rgba(255, 255, 255, .65); transition: height .35s ease; }
.pt-tankc-gauge b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--vz-heading-color); text-shadow: 0 0 4px var(--vz-secondary-bg), 0 0 4px var(--vz-secondary-bg); z-index: 3; }
.pt-tankc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-tankc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-tankc-name .badge { font-size: 10.5px; font-weight: 600; }
.pt-tankc-liters { font-size: 13px; color: var(--vz-secondary-color); margin-bottom: 2px; }
.pt-tankc-liters b { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--vz-heading-color); }
.pt-tankc-info small { display: flex; gap: 5px; align-items: baseline; font-size: 12px; color: var(--vz-secondary-color); line-height: 1.35; }
.pt-tankc-info small i { font-size: 13px; color: var(--tank); }
.pt-tankc-actions { display: flex; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--vz-border-color); }
.pt-tankc-actions .btn-deliver { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-lact-facts { margin: 0; }
.pt-lact-days { max-height: 330px; overflow-y: auto; }
.pt-form-title { margin: 6px 0 -4px; padding-bottom: 6px; border-bottom: 1px solid var(--vz-border-color); font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }

/* ── Sağlık: skor çizelgesi (VKS / topallık), tırnak bulguları, aşı pencereleri ── */
.pt-score-head { align-items: flex-end; }
.pt-score-field { min-width: 170px; }
.pt-score-field .form-label { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); margin-bottom: 4px; }
.pt-score-person { min-width: 260px; }
.pt-score-head .pt-hint { min-width: 240px; align-self: center; }
.pt-score-loco { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-score-loco .pt-seg .btn { min-width: 34px; padding: 4px 8px; font-weight: 600; }
.pt-score-loco .btn-check:checked + .pt-score-1, .pt-score-loco .btn-check:checked + .pt-score-2 { background: rgba(var(--vz-success-rgb), .14); border-color: var(--vz-success); color: var(--vz-success); }
.pt-score-loco .btn-check:checked + .pt-score-3 { background: rgba(var(--vz-warning-rgb), .16); border-color: var(--vz-warning); color: var(--vz-warning); }
.pt-score-loco .btn-check:checked + .pt-score-4, .pt-score-loco .btn-check:checked + .pt-score-5 { background: rgba(var(--vz-danger-rgb), .14); border-color: var(--vz-danger); color: var(--vz-danger); }
.pt-score-legs[hidden] { display: none; }
.pt-score-legs .btn { font-size: 11.5px; font-weight: 500; }
.pt-table.pt-sheet tr.pt-changed td { background: rgba(var(--pt-accent-rgb), .04); }
.pt-seg-wrap { flex-wrap: wrap; }
.pt-seg-wrap .btn { font-size: 12.5px; padding: 4px 10px; }
.pt-hoof-legs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pt-hoof-leg { padding: 10px 12px; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-hoof-leg > b { display: block; margin-bottom: 8px; font-size: 13px; color: var(--vz-heading-color); }
@media (max-width: 767.98px) { .pt-hoof-legs { grid-template-columns: 1fr; } }
.pt-pick-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-pick-list thead th { position: sticky; top: 0; z-index: 1; background: var(--vz-secondary-bg); }
.pt-pick-list .pt-check { width: 36px; }
.pt-pick-list tr.pt-picked td { background: rgba(var(--pt-accent-rgb), .06); }
.pt-template-list { display: flex; flex-direction: column; gap: 8px; }
.pt-template { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-template.on { border-color: rgba(var(--vz-success-rgb), .5); background: rgba(var(--vz-success-rgb), .05); }
.pt-template-body { min-width: 0; display: flex; flex-direction: column; }
.pt-template-body b { font-size: 13.5px; color: var(--vz-heading-color); }
.pt-template-body small { font-size: 12px; color: var(--vz-secondary-color); }
.pt-form-note.pt-note-danger { background: rgba(var(--vz-danger-rgb), .08); }
.pt-form-note.pt-note-danger i { color: var(--vz-danger); }

/* ── Giriş çizelgeleri (buzağı günlük, tartım, yem dağıtımı), rasyon penceresi ── */
.pt-entry-num { width: 78px; display: inline-block; text-align: right; font-weight: 600; }
.pt-entry-wide { width: 96px; }
.pt-entry-note { min-width: 120px; }
.pt-entry-select { width: auto; min-width: 96px; display: inline-block; }
.pt-entry-out { display: inline-block; min-width: 46px; margin-left: 6px; font-size: 12px; }
.pt-table.pt-sheet tr.pt-changed .pt-entry-num, .pt-table.pt-sheet tr.pt-changed .pt-entry-select, .pt-table.pt-sheet tr.pt-changed .pt-entry-note { border-color: var(--pt-accent); }
.pt-lamb-sheet .pt-seg-sm .btn { padding: 3px 7px; font-size: 14px; line-height: 1.2; }
.pt-lamb-sheet .pt-seg-sm .btn-check:checked + .btn { background: rgba(var(--vz-danger-rgb), .12); border-color: var(--vz-danger); color: var(--vz-danger); }
.pt-suggest-btn { padding: 2px 10px; font-weight: 600; }
.pt-target-head, .pt-target-row { display: grid; grid-template-columns: 28px 1fr 1fr 1fr 38px; gap: 8px; align-items: center; }
.pt-target-head { margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }
.pt-ing-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 130px 38px; gap: 6px 8px; align-items: center; }
.pt-ing-row .pt-ing-line { grid-column: 2 / 4; font-size: 12px; color: var(--vz-secondary-color); min-height: 0; }
.pt-ing-row .pt-ing-line:empty { display: none; }
.pt-ing-row > .btn { grid-column: 4; grid-row: 1; }
.pt-ration-calc { padding: 14px 16px; border: 1px solid var(--vz-border-color); border-radius: 4px; background: var(--vz-light); }
.pt-ration-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pt-ration-check { display: flex; align-items: baseline; gap: 6px; padding: 6px 10px; border: 1px solid var(--vz-border-color); border-left-width: 3px; border-radius: 4px; background: var(--vz-secondary-bg); font-size: 12.5px; }
.pt-ration-check span { flex: 1; min-width: 0; color: var(--vz-secondary-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-ration-check b { font-size: 13.5px; color: var(--vz-heading-color); }
.pt-ration-check small { color: var(--vz-secondary-color); white-space: nowrap; }
.pt-ration-check.is-ok { border-left-color: var(--vz-success); }
.pt-ration-check.is-warn { border-left-color: var(--vz-warning); background: rgba(var(--vz-warning-rgb), .08); }
.pt-ration-check.is-bad { border-left-color: var(--vz-danger); background: rgba(var(--vz-danger-rgb), .08); }
.pt-label-sm { font-size: 11.5px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }

/* ── Genetik ─────────────────────────────────────────────────────────────── */
/* Puan bileşenleri: ad (+ ek bilgi) ve 0-100 çubuğu */
.pt-score-parts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--vz-border-color); }
.pt-score-parts > div:last-child { border-bottom: 0; }
.pt-score-parts > div > span { font-size: 13px; font-weight: 500; }
.pt-score-parts > div > span small { display: block; font-size: 11.5px; font-weight: 400; color: var(--vz-secondary-color); }
.pt-score-parts .pt-fill { flex: 0 0 150px; }
.pt-form-note.pt-note-warn { background: rgba(var(--vz-warning-rgb), .1); }
.pt-form-note.pt-note-warn i { color: var(--vz-warning); }
#ptPlanSires tr[data-mating-pick] { cursor: pointer; }

/* ── Hareket · Muhasebe ──────────────────────────────────────────────────── */
/* Çıkış penceresi özeti */
.pt-exit-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13px; color: var(--vz-secondary-color); }
.pt-exit-sum b { font-size: 15px; font-weight: 600; color: var(--vz-heading-color); }
/* Gelir / gider penceresi: ilgili hayvan */
.pt-acc-animal { display: flex; align-items: center; gap: 10px; }
.pt-acc-picked { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--vz-border-color); border-radius: 4px; background: var(--vz-light); font-size: 13px; }
.pt-acc-picked i { color: var(--pt-accent); font-size: 16px; }
.pt-statement .table-responsive { max-height: 440px; overflow-y: auto; }

/* ── Takvim ──────────────────────────────────────────────────────────────── */
.pt-cal-head { display: flex; align-items: center; gap: 10px; }
.pt-cal-head h5 { min-width: 170px; text-align: center; font-size: 16px; font-weight: 600; text-transform: capitalize; }
.pt-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pt-cal-wd { padding: 2px 0 6px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }
.pt-cal-day { display: flex; flex-direction: column; gap: 4px; min-height: 86px; padding: 6px 8px; border: 1px solid var(--vz-border-color); border-radius: 4px; background: var(--vz-secondary-bg); text-align: left; color: var(--vz-body-color); }
button.pt-cal-day { cursor: pointer; }
button.pt-cal-day:hover { border-color: var(--pt-accent); }
.pt-cal-day.pt-cal-out { background: transparent; opacity: .55; }
.pt-cal-day.pt-cal-today { border-color: var(--pt-accent); box-shadow: inset 0 0 0 1px var(--pt-accent); }
.pt-cal-day.pt-cal-today .pt-cal-num { color: var(--pt-accent); }
.pt-cal-day.active { background: rgba(var(--pt-accent-rgb), .1); border-color: var(--pt-accent); }
.pt-cal-day.pt-cal-dim { opacity: .4; }
.pt-cal-num { font-size: 13px; font-weight: 600; line-height: 1; }
.pt-cal-marks { display: flex; flex-wrap: wrap; gap: 3px; }
.pt-cal-mark { display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 3px; font-size: 11px; font-weight: 600; line-height: 1.5; }
.pt-cal-mark i { font-size: 12px; }
.pt-cal-agenda .card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-cal-list { max-height: 560px; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.pt-cal-date { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--vz-border-color); font-size: 12.5px; font-weight: 600; text-transform: capitalize; }
.pt-cal-group:first-child .pt-cal-date { margin-top: 0; }
.pt-cal-date small { font-weight: 500; color: var(--vz-secondary-color); }
.pt-cal-item { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 4px; color: var(--vz-body-color); text-decoration: none; }
a.pt-cal-item:hover { background: var(--vz-light); color: var(--vz-body-color); }
.pt-cal-item .avatar-xs { width: 30px; height: 30px; }
.pt-cal-item .avatar-title { font-size: 16px; }
.pt-cal-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-cal-text b { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); }
.pt-cal-text span { font-size: 12.5px; overflow-wrap: anywhere; }
.pt-cal-text small { font-size: 11.5px; color: var(--vz-secondary-color); overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .pt-cal { gap: 3px; }
    .pt-cal-day { min-height: 58px; padding: 4px; }
    .pt-cal-mark i { display: none; }
}

/* ═══════════ ÇİFTLİK VE HESAP: çiftlik ayarları, personel, rol, paketler, bildirimler, profil ═══════════ */
.pt-pills { gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pt-pills::-webkit-scrollbar { display: none; }
.pt-pills .nav-link { white-space: nowrap; color: var(--vz-body-color); font-weight: 500; padding: 7px 14px; border-radius: 6px; }
.pt-pills .nav-link:hover { color: var(--pt-accent); }
.pt-pills .nav-link.active { background: rgba(var(--pt-accent-rgb), .12); color: var(--pt-accent); font-weight: 600; }
.pt-farm-logo { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; border: 1px solid var(--vz-border-color); background: var(--vz-light); }
.pt-profile-photo { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; border: 3px solid var(--vz-secondary-bg); box-shadow: 0 0 0 1px var(--vz-border-color); }
.pt-initials-lg { width: 48px; height: 48px; font-size: 17px; }
.pt-initials-xl { width: 104px; height: 104px; font-size: 34px; }
.pt-initials-off { background: var(--vz-secondary-color); }
.pt-miss { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.pt-miss li { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.pt-miss li i { color: var(--vz-danger); font-size: 15px; }
.pt-usage { font-size: 13px; }
.pt-usage span { color: var(--vz-secondary-color); }
.pt-usage .progress { margin-top: 6px; }
.pt-kv .pt-kv-total { border-top: 1px solid var(--vz-border-color); border-bottom: 0; margin-top: 4px; padding-top: 12px; }
.pt-kv .pt-kv-total dt { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); }
.pt-kv .pt-kv-total dd { font-size: 17px; font-weight: 700; color: var(--pt-accent); }

/* Rol penceresi: kategori kutuları sütunlara dizilir (kutu bölünmez) */
.pt-role-cats { column-width: 300px; column-gap: 16px; }
.pt-role-cat { break-inside: avoid; border: 1px solid var(--vz-border-color); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.pt-role-cat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--vz-border-color); }
.pt-role-cat-head h6 { font-size: 13px; font-weight: 600; }
.pt-role-cat-head .btn-link { font-size: 12px; white-space: nowrap; text-decoration: none; }
.pt-role-cat .form-check { margin-bottom: 6px; font-size: 13px; }
.pt-role-cat .form-check:last-child { margin-bottom: 0; }

/* Paket kartları */
/* Paket kartları: tek satırda 5 sütun (ücretsiz + 4 ücretli); dar ekranda 3 / 2 / 1 */
.pt-pkgs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.pt-pkgs > .pt-pkg-col { display: flex; min-width: 0; }
.pt-pkgs .pt-pkg { margin-bottom: 0; }
@media (max-width: 1399.98px) { .pt-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .pt-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .pt-pkgs { grid-template-columns: 1fr; } }
.pt-pkg-upfront { font-size: 12px; color: var(--vz-secondary-color); margin: -8px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pt-pkg-vat { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: var(--vz-light); color: var(--vz-body-color); }
.pt-pkg-more .card-body { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pt-pkg-more-ico { width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--vz-light); color: var(--pt-accent); flex-shrink: 0; }
.pt-pkg-more b { display: block; font-size: 15px; color: var(--vz-heading-color); }
.pt-pkg-more span { font-size: 13px; color: var(--vz-secondary-color); }
.pt-pay-table { width: 100%; margin-top: 14px; font-size: 13px; border-collapse: collapse; }
.pt-pay-table th, .pt-pay-table td { padding: 7px 0; border-bottom: 1px dashed var(--vz-border-color); text-align: right; white-space: nowrap; }
.pt-pay-table th:first-child { text-align: left; font-weight: 500; color: var(--vz-secondary-color); font-size: 12px; white-space: normal; }
.pt-pay-table thead th { font-size: 11.5px; font-weight: 600; color: var(--vz-secondary-color); padding-top: 0; }
.pt-pay-table td { font-weight: 600; color: var(--vz-heading-color); padding-left: 12px; }
.pt-pay-table .pt-pay-total th, .pt-pay-table .pt-pay-total td { border-bottom: 0; font-size: 14px; font-weight: 700; color: var(--vz-heading-color); }
.pt-pay-due { margin-top: 10px; }
.pt-pkg { width: 100%; border-top: 3px solid var(--vz-border-color); }
.pt-pkg-current { border-top-color: var(--vz-success); }
.pt-pkg-free { border-top-color: var(--vz-info); }
.pt-pkg-special { border-top-color: var(--vz-warning); }
.pt-pkg-recommended { border-top-color: var(--pt-accent); }
.pt-pkg-badge { min-height: 22px; margin-bottom: 8px; }
.pt-pkg-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.pt-pkg-desc { font-size: 13px; color: var(--vz-secondary-color); margin-bottom: 0; }
.pt-pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 14px 0; }
.pt-pkg-price b { font-size: 24px; font-weight: 700; color: var(--vz-heading-color); line-height: 1.1; }
.pt-pkg-price del { font-size: 14px; color: var(--vz-secondary-color); }
.pt-pkg-price small { font-size: 13px; color: var(--vz-secondary-color); }
.pt-pkg-list, .pt-pkg-feats { list-style: none; margin: 0 0 12px; padding: 0; font-size: 13px; }
.pt-pkg-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--vz-border-color); }
.pt-pkg-list li i { font-size: 17px; color: var(--pt-accent); }
.pt-pkg-list li span { flex: 1; color: var(--vz-secondary-color); }
.pt-pkg-feats li { display: flex; gap: 6px; align-items: flex-start; padding: 2px 0; color: var(--vz-secondary-color); }
.pt-pkg-feats li i { font-size: 15px; line-height: 1.3; }
.pt-pkg-why { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--vz-secondary-color); margin: 0; }
.pt-pkg-why i { font-size: 15px; line-height: 1.2; }
/* Ücretli modüller: menüde ve başlıkta yıldız, başlıkta durum, paketler sayfasında modül listesi, tanıtım sayfası */
.navbar-menu .navbar-nav .nav-sm .nav-link .pt-menu-star { float: right; margin-left: 6px; font-size: 13px; line-height: inherit; color: #f7b84b; }
.pt-title-star { color: #f7b84b; margin-right: 4px; }
.pt-mod-pill { display: inline-flex; align-items: center; gap: 8px; min-width: 0; margin-left: 8px; padding: 0 9px; border-radius: 20px; font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: 0; text-transform: none; }
.pt-mod-pill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-mod-pill a { flex-shrink: 0; font-weight: 700; text-decoration: underline; color: inherit; }
.pt-mod-trial { background: rgba(var(--vz-warning-rgb), .18); color: #8a5d00; }
.pt-mod-on { background: rgba(var(--vz-success-rgb), .12); color: var(--vz-success); }
[data-bs-theme="dark"] .pt-mod-trial { color: #f7b84b; }
/* Modül durumu başlık kutusunu büyütmesin: sol taraf düğmelerden kalan yeri alır; yer yetmezse durum yazısı kısalır (tamamı ipucunda) */
.page-title-box.pt-has-mod > div:first-child { flex: 1 1 0; min-width: 200px; }
.page-title-box.pt-has-mod .pt-crumb { display: flex; align-items: center; }
@media (max-width: 575.98px) {
    .page-title-box.pt-has-mod .pt-crumb { flex-wrap: wrap; }
    .pt-mod-pill { max-width: 100%; margin: 3px 0 1px; }
}
.pt-mods th, .pt-mods td { padding: 10px 14px; }
.pt-mods .pt-mods-check { width: 44px; padding-right: 0; text-align: center; }
.pt-mods .form-check-input { width: 18px; height: 18px; margin: 0; cursor: pointer; }
.pt-mods-name { display: flex; gap: 10px; align-items: flex-start; min-width: 260px; }
.pt-mods-name > i { font-size: 20px; line-height: 1.2; color: var(--pt-accent); }
.pt-mods-name label { cursor: pointer; }
.pt-mods-pages { font-size: 12px; color: var(--vz-body-color); margin-top: 2px; }
.pt-mods tr.pt-mods-on > td { background: rgba(var(--pt-accent-rgb), .06); }
.pt-mods-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; }
.pt-mods-total { font-size: 13px; color: var(--vz-secondary-color); }
.pt-mods-total b { font-size: 18px; color: var(--vz-heading-color); margin-left: 4px; }
.pt-mod-hero { display: flex; gap: 18px; align-items: flex-start; }
.pt-mod-hero .pt-hero-ico { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; font-size: 30px; }
.pt-mod-pages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; font-size: 13.5px; }
.pt-mod-pages li { display: flex; gap: 8px; align-items: center; }
.pt-mod-pages li i { font-size: 17px; }
.pt-result { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 38px; }
.pt-result-ok { background: rgba(var(--vz-success-rgb), .14); color: var(--vz-success); }
.pt-result-bad { background: rgba(var(--vz-danger-rgb), .12); color: var(--vz-danger); }
[data-bs-theme="dark"] .pt-receipt-logo { filter: brightness(0) invert(1); }

/* Dil kartları, bildirim ayarları */
.pt-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pt-lang-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--vz-border-color); border-radius: 8px; color: var(--vz-body-color); }
.pt-lang-card:hover { border-color: var(--pt-accent); color: var(--pt-accent); }
.pt-lang-card.active { border-color: var(--pt-accent); background: rgba(var(--pt-accent-rgb), .08); }
.pt-lang-card b { font-weight: 600; }
.pt-lang-card i { font-size: 18px; }
.pt-nset td, .pt-nset th { padding: 10px 8px; }
.pt-nset small { font-size: 12px; }
/* Bildirim ayarları · bağlı cihazlar (Views/Notification/_Settings) */
.pt-nset-devices-title { font-size: 13px; font-weight: 600; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--vz-border-color); }
.pt-devices .pt-list-body span { white-space: normal; }

/* Yazdırma (dekont): menü, üst çubuk, sayfa başlığı ve düğmeler gizlenir */
@media print {
    #page-topbar, .app-menu, .footer, .page-title-box, .pt-related, .pt-hint, .customizer-setting, #back-to-top { display: none !important; }
    .main-content { margin: 0 !important; }
    .page-content { padding: 0 !important; }
    body { background: #FFF !important; }
    .pt-receipt { border: 0 !important; box-shadow: none !important; }
}

/* Giriş / kayıt: "veya" ayırıcı, Google düğmesi, Google kimlik kutusu */
.pt-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--vz-secondary-color); }
.pt-or::before, .pt-or::after { content: ""; flex: 1; height: 1px; background: var(--vz-border-color); }
.pt-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 14px; border: 1px solid #C9CDD3; background: #FFF; color: #2B3138; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.pt-google-btn:hover, .pt-google-btn:focus-visible { background: #FFF; color: #2B3138; border-color: #EA4335; box-shadow: 0 3px 10px rgba(234, 67, 53, .22); }
.pt-google-btn i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #EA4335; color: #FFF; font-size: 16px; line-height: 1; }
[data-bs-theme="dark"] .pt-google-btn { background: var(--vz-secondary-bg); color: var(--vz-heading-color); border-color: var(--vz-border-color); }
[data-bs-theme="dark"] .pt-google-btn:hover, [data-bs-theme="dark"] .pt-google-btn:focus-visible { background: var(--vz-secondary-bg); color: var(--vz-heading-color); border-color: #EA4335; }
.pt-gid { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 20px; border: 1px solid var(--vz-border-color); border-radius: 10px; background: var(--vz-secondary-bg); }
.pt-gid img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ═══════════ SOY AĞACI SAYFASI: hayvan listesi (kartlar) · alttan üste soy ağacı · yavrular ═══════════ */
.pt-sex-f { --pt-sex: #D770AD; --pt-sex-rgb: 215, 112, 173; }
.pt-sex-m { --pt-sex: var(--vz-info); --pt-sex-rgb: var(--vz-info-rgb); }
.pt-ped-ico { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; background: rgba(var(--pt-sex-rgb, 135, 138, 153), .14); color: var(--pt-sex, var(--vz-secondary-color)); }
.pt-ped-items { max-height: 664px; overflow-y: auto; }
.pt-ped-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 13px; border-left: 3px solid transparent; border-bottom: 1px solid var(--vz-border-color); color: inherit; }
.pt-ped-item:last-child { border-bottom: 0; }
.pt-ped-item:hover { background: var(--vz-light); color: inherit; }
.pt-ped-item.active { background: rgba(var(--pt-accent-rgb), .08); border-left-color: var(--pt-accent); }
.pt-ped-item-body { flex: 1; min-width: 0; }
.pt-ped-item-body b { display: block; font-size: 13.5px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-ped-item-body b em { font-style: normal; font-weight: 500; color: var(--vz-body-color); }
.pt-ped-item-body small { display: flex; flex-wrap: wrap; gap: 1px 12px; font-size: 12px; color: var(--vz-secondary-color); }
.pt-ped-item-body small i { margin-right: 3px; }
.pt-ped-flag { font-size: 21px; flex-shrink: 0; }
.pt-ped-has { color: var(--vz-success); }
.pt-ped-no { color: var(--vz-secondary-color); opacity: .4; }
.pt-ped-out { opacity: .62; }
.pt-ped-kids { max-height: 720px; }
.pt-ped-note { display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 10px 16px; font-size: 12.5px; color: var(--vz-secondary-color); border-bottom: 1px solid var(--vz-border-color); }
.pt-ped-note i { font-size: 16px; line-height: 1.2; color: var(--pt-accent); }
.pt-ped-list .pt-pager { justify-content: center; }
.pt-ped-filter { min-width: 250px; }
#ptPedTree.pt-loading { opacity: .5; pointer-events: none; }

/* Ağaç: iç içe listeler alttan üste dizilir (kutu altta, iki ebeveyn dalı üstünde); dallar çizgiyle bağlanır */
.pt-tree { --pt-tree-line: var(--vz-secondary-color); --pt-tree-gap: 18px; overflow-x: auto; padding: 4px 0; }
.pt-tree ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 0 0 var(--pt-tree-gap); position: relative; width: 100%; }
.pt-tree > ul { padding-bottom: 0; min-width: 300px; }
.pt-tree li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column-reverse; align-items: center; position: relative; padding: 0 3px var(--pt-tree-gap); }
.pt-tree > ul > li { padding: 0; }
.pt-tree li::before, .pt-tree li::after { content: ""; position: absolute; bottom: 0; right: 50%; width: 50%; height: var(--pt-tree-gap); border-bottom: 1.5px solid var(--pt-tree-line); opacity: .45; }
.pt-tree li::after { right: auto; left: 50%; border-left: 1.5px solid var(--pt-tree-line); }
.pt-tree > ul > li::before, .pt-tree > ul > li::after { display: none; }
.pt-tree li:first-child::before, .pt-tree li:last-child::after { border: 0 none; }
.pt-tree li:last-child::before { border-right: 1.5px solid var(--pt-tree-line); border-bottom-right-radius: 9px; }
.pt-tree li:first-child::after { border-bottom-left-radius: 9px; }
.pt-tree ul ul::before { content: ""; position: absolute; bottom: 0; left: 50%; height: var(--pt-tree-gap); border-left: 1.5px solid var(--pt-tree-line); opacity: .45; }

.pt-node { position: relative; display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--vz-border-color); border-bottom: 3px solid var(--pt-sex, var(--vz-border-color)); border-radius: 10px; background: var(--vz-secondary-bg); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.pt-node:hover { color: inherit; border-color: var(--pt-sex); box-shadow: 0 4px 12px rgba(var(--pt-sex-rgb), .22); transform: translateY(-1px); }
.pt-node-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pt-node-text small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .3px; color: var(--vz-secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-node-text b { font-size: 12.5px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-node-text em { font-style: normal; font-size: 11.5px; color: var(--vz-secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-node-mark { position: absolute; top: -8px; right: -6px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; background: var(--vz-secondary-bg); border: 1px solid var(--vz-border-color); color: var(--vz-secondary-color); }
.pt-node-g1 { width: 100%; max-width: 220px; }
.pt-node-g2, .pt-node-g3 { flex-direction: column; text-align: center; width: 100%; }
.pt-node-g2 { gap: 4px; padding: 8px 6px 6px; max-width: 124px; }
.pt-node-g2 .pt-ped-ico { width: 32px; height: 32px; font-size: 16px; }
.pt-node-g2 .pt-node-text, .pt-node-g3 .pt-node-text { align-items: center; width: 100%; }
.pt-node-g2 .pt-node-text > *, .pt-node-g3 .pt-node-text > * { max-width: 100%; }
.pt-node-g3 { gap: 3px; padding: 6px 2px 4px; max-width: 66px; border-radius: 8px; }
.pt-node-g3 .pt-ped-ico { width: 26px; height: 26px; font-size: 14px; }
.pt-node-g3 .pt-node-text small { font-size: 9.5px; letter-spacing: 0; }
.pt-node-g3 .pt-node-text b { font-size: 10.5px; }
.pt-node-g3 .pt-node-text em, .pt-node-g3.pt-node-none .pt-node-text b { display: none; }
.pt-node-none { border-style: dashed; border-bottom: 1px dashed var(--vz-border-color); background: transparent; }
.pt-node-none .pt-ped-ico { background: var(--vz-light); color: var(--vz-secondary-color); opacity: .7; }
.pt-node-none .pt-node-text b { font-weight: 500; color: var(--vz-secondary-color); }
.pt-node-self { flex-direction: column; text-align: center; gap: 6px; min-width: 160px; padding: 14px 20px 12px; border: 2px solid var(--pt-accent); border-radius: 14px; background: rgba(var(--pt-accent-rgb), .06); }
.pt-node-self .pt-ped-ico { width: 54px; height: 54px; font-size: 30px; background: var(--pt-accent); color: #FFF; }
.pt-node-self .pt-node-text { align-items: center; }
.pt-node-self .pt-node-text b { font-size: 17px; }
.pt-node-self .pt-node-text em { font-size: 13px; color: var(--vz-body-color); }
.pt-node-self .pt-node-text small { text-transform: none; letter-spacing: 0; font-size: 11.5px; }

/* ── Analiz sayfaları (Views/Shared/Analysis.cshtml, _AnalysisBody.cshtml) ───────────────
   Kapsam satırı · gösterge kutuları (durum rozeti sağ üstte) · grafik kartları · çubuk listesi · özet tablosu */
.pt-an-scope { margin: -4px 0 14px; font-size: 12.5px; font-weight: 500; color: var(--vz-secondary-color); }
/* Süzgeç şeridi: kartsız, etiket alanın içinde, tek satır, düğme yüksekliğinde; dönem satırı sağda */
.pt-an-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pt-cf { display: inline-flex; align-items: center; height: 38px; padding-left: 10px; border: 1px solid var(--vz-border-color); border-radius: var(--vz-border-radius); background: var(--vz-secondary-bg); }
.pt-cf[hidden] { display: none; }
.pt-cf:focus-within { border-color: var(--pt-accent); }
.pt-cf > label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); white-space: nowrap; }
.pt-cf > .form-select, .pt-cf > .form-control { width: auto; max-width: 170px; height: 36px; padding-left: 6px; border: 0; background-color: transparent; box-shadow: none; font-weight: 500; }
.pt-cf > input[type="date"] { width: 132px; padding-right: 6px; }
.pt-an-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.pt-an-strip .pt-an-scope { margin: 0 0 0 auto; }
.pt-an-has-strip > [data-pt-rows] > .pt-an-scope { display: none; }
.pt-an-kpi .card-body { position: relative; }
.pt-an-status { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 600; padding: 3px 7px; }
.pt-an-status i { font-size: 12px; vertical-align: -1px; }
.pt-an-kpi:has(.pt-an-status) .pt-widget-label { padding-right: 56px; }
.pt-an-counts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pt-an-counts .pt-widget .card-body { padding: .7rem .9rem; }
.pt-an-counts .pt-widget .avatar-sm { width: 2.2rem; height: 2.2rem; }
.pt-an-counts .pt-widget .avatar-title { font-size: 18px !important; }
.pt-an-counts .pt-widget-value { font-size: 15.5px; }
.pt-an-cards .card-header { border-bottom: 0; padding-bottom: 0; }
.pt-an-cards .card-title { font-size: 14.5px; }
.pt-an-sub { margin: 3px 0 0; font-size: 12px; color: var(--vz-secondary-color); }
.pt-an-chart { padding: .5rem .75rem .25rem; }
.pt-an-cards .pt-empty { padding: 48px 12px; }
.pt-an-foot { background: transparent; font-size: 12px; color: var(--vz-secondary-color); padding-top: .6rem; padding-bottom: .6rem; }
.pt-an-bars { display: flex; flex-direction: column; gap: 14px; }
.pt-an-bar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 13px; }
.pt-an-bar-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--vz-heading-color); }
.pt-an-bar-label a { color: inherit; }
.pt-an-bar-label a:hover { color: var(--pt-accent); }
.pt-an-bar-label small, .pt-an-bar-value small { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--vz-secondary-color); }
.pt-an-bar-value { flex-shrink: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--vz-heading-color); }
.pt-an-bar .progress { height: 6px; background-color: var(--vz-light); }
.pt-an-bar .progress-bar { border-radius: 4px; background-color: var(--pt-accent); }
.pt-an-bar .progress-bar.bg-success { background-color: var(--vz-success) !important; }
.pt-an-bar .progress-bar.bg-warning { background-color: var(--vz-warning) !important; }
.pt-an-bar .progress-bar.bg-danger { background-color: var(--vz-danger) !important; }
.pt-an-cards .card-body.p-0 { margin-top: .75rem; }
.pt-an-table > tbody tr:last-child td { border-bottom: 0; }
.pt-an-detail-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pt-an-search { flex: 0 1 300px; min-width: 180px; }
@media (max-width: 575.98px) { .pt-an-search { flex: 1 1 100%; } }

/* ── Bağlantı kodu (Profil kartı, istek / davet formlarındaki kod alanı) ── */
.pt-linkcode { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.pt-linkcode > b { font-family: var(--vz-font-monospace, monospace); font-size: 20px; font-weight: 600; letter-spacing: .1em; padding: 6px 14px; border: 1px dashed var(--vz-border-color); border-radius: 3px; background: var(--vz-light); color: var(--vz-heading-color); user-select: all; }
.pt-linkcode-input { font-family: var(--vz-font-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; }
.pt-linkcode-input::placeholder { font-family: var(--vz-font-sans-serif); letter-spacing: 0; text-transform: none; }
.pt-linkcode-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vz-border-color); }
.pt-copy-area { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* ── Veteriner hizmet ücretleri (klinik ayrıntısı → ücretler penceresi, "Veteriner çağır" penceresi) ── */
.pt-fees { border: 1px solid var(--vz-border-color); border-radius: 3px; }
.pt-fees > summary { cursor: pointer; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--vz-heading-color); }
.pt-fees > div { padding: 0 12px 12px; }
.pt-fee-group { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); margin: 0 0 6px; }
.pt-fee-head > td { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); background: var(--vz-light); }

/* ── Kurulum rehberi (ana ekran; Views/Home/_Guide.cshtml) ── */
.pt-guide-head { display: flex; align-items: center; gap: 14px; }
.pt-guide-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--pt-accent-subtle, rgba(140, 193, 82, .16)); color: var(--pt-accent, #5d8a2f); }
.pt-guide-title { flex: 1 1 auto; min-width: 0; }
.pt-guide-title h5 { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.pt-guide-title p { margin: 0; font-size: 13px; color: var(--vz-secondary-color); }
.pt-guide-progress { flex: 0 0 180px; text-align: right; }
.pt-guide-count { display: block; font-size: 20px; font-weight: 600; line-height: 1.1; color: var(--vz-heading-color); }
.pt-guide-count small { font-size: 13px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-guide-bar { display: block; width: 100%; height: 6px; margin-top: 6px; border: 0; border-radius: 3px; overflow: hidden; background: var(--vz-light); appearance: none; -webkit-appearance: none; }
.pt-guide-bar::-webkit-progress-bar { background: var(--vz-light); border-radius: 3px; }
.pt-guide-bar::-webkit-progress-value { background: var(--pt-accent, #8CC152); border-radius: 3px; }
.pt-guide-bar::-moz-progress-bar { background: var(--pt-accent, #8CC152); border-radius: 3px; }
.pt-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px 22px; margin-top: 18px; }
.pt-guide-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--vz-border-color); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--vz-secondary-color); }
.pt-guide-sec-head em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.pt-guide-sec-head em .mdi { margin-right: 4px; color: var(--vz-success); }
.pt-guide-sec.is-done .pt-guide-sec-head { border-bottom-color: transparent; margin-bottom: 0; }
.pt-guide-step { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 6px; color: inherit; }
a.pt-guide-step:hover, a.pt-guide-step:focus-visible { background: var(--vz-light); color: inherit; }
.pt-guide-step > .mdi:first-child { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 17px; background: var(--vz-light); color: var(--vz-secondary-color); }
.pt-guide-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pt-guide-text b { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-guide-text small { font-size: 12px; line-height: 1.35; color: var(--vz-secondary-color); overflow-wrap: anywhere; }
.pt-guide-mark { flex: 0 0 auto; font-size: 18px; color: var(--vz-secondary-color); opacity: .6; }
.pt-guide-step.is-done .pt-guide-text b { font-weight: 500; color: var(--vz-secondary-color); }
.pt-guide-step.is-done .pt-guide-mark { color: var(--vz-success); opacity: 1; }
.pt-guide-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--vz-border-color); font-size: 12px; color: var(--vz-secondary-color); }
.pt-guide-foot .mdi { margin-right: 6px; font-size: 15px; vertical-align: -2px; }
.pt-guide-foot .btn-link { padding: 0; font-size: 12px; text-decoration: none; color: var(--vz-secondary-color); }
.pt-guide-foot .btn-link:hover { color: var(--vz-heading-color); text-decoration: underline; }

/* Ana ekran: kurulum rehberi açıkken solda dar sütun (col-xl-3), sayfanın geri kalanı sağda (col-xl-9).
   Rehber yoksa / kapatılınca (#ptGuide kalmaz) sol sütun gizlenir, sağ taraf tam genişlik olur. Dar ekranda rehber üstte, tam genişlik. */
.pt-home-split:not(:has(#ptGuide)) > .pt-home-guide { display: none; }
.pt-home-split:not(:has(#ptGuide)) > .pt-home-body { flex: 0 0 100%; width: 100%; max-width: 100%; }
@media (min-width: 1200px) {
    .pt-home-guide .pt-guide-head { flex-wrap: wrap; gap: 12px; }
    .pt-home-guide .pt-guide-progress { flex: 1 1 100%; text-align: left; }
    .pt-home-guide .pt-guide-count { display: inline; font-size: 18px; }
    .pt-home-guide .pt-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
    .pt-home-guide .pt-guide-step { padding: 6px 4px; }
    .pt-home-guide .pt-guide-step > .mdi:first-child { width: 28px; height: 28px; font-size: 16px; }
    .pt-home-guide .pt-guide-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (min-width: 1400px) and (max-width: 1799.98px) {
    .pt-home-split:has(#ptGuide) .pt-kpi-col { width: 33.3333%; }
}
@media (max-width: 575.98px) {
    .pt-guide-head { flex-wrap: wrap; }
    .pt-guide-progress { flex: 1 1 100%; text-align: left; }
}

/* ═══════════ Danışman / veteriner PROFİL sayfası ═══════════ */
#ptPartnerActs .btn { height: 36px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
#ptPartnerHead ~ #ptWidgets .pt-widget-note { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
#ptPartnerOverview [data-pt-record] .pt-table thead th { white-space: normal; }
#ptPartnerOverview [data-pt-record] .pt-table td.pt-wrap { min-width: 130px; max-width: 220px; }
/* Liste sol sütunda (dar): sekmeler yana kaymaz, alt satıra geçer */
#ptPartnerOverview [data-pt-record] .pt-list-tabs .nav-tabs { flex-wrap: wrap; overflow: visible; }
#ptPartnerOverview [data-pt-record] .pt-list-tabs .nav-link { padding-left: 10px; padding-right: 10px; }
/* Liste sol sütunda (dar): hücreler satır atlar, sayılar ve rozetler atlamaz; tablo kutusuna sığar */
#ptPartnerOverview [data-pt-record] .pt-table th, #ptPartnerOverview [data-pt-record] .pt-table td { padding-left: 8px; padding-right: 8px; }
#ptPartnerOverview [data-pt-record] .pt-table td { white-space: normal; overflow-wrap: break-word; }
#ptPartnerOverview [data-pt-record] .pt-table td.pt-num, #ptPartnerOverview [data-pt-record] .pt-table td.pt-row-actions { white-space: nowrap; }
#ptPartnerOverview [data-pt-record] .pt-table th:first-child, #ptPartnerOverview [data-pt-record] .pt-table td:first-child { padding-left: 16px; }
.pt-partner-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.pt-partner-main { flex: 1 1 260px; min-width: 0; }
.pt-partner-main h4 { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.pt-partner-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.pt-partner .pt-hint { margin-top: 12px; }
.pt-partner-sub { margin: 16px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--vz-secondary-color); }
.pt-prose { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; }
.pt-kv.pt-kv-flat { border-top: 0; }
.pt-kv.pt-kv-flat > div:first-child { padding-top: 0; }
.pt-since-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pt-since-sum > div { padding: 10px 12px; border: 1px solid var(--vz-border-color); border-radius: 4px; text-align: center; }
.pt-since-sum b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--vz-heading-color); }
.pt-since-sum span { display: block; font-size: 12px; color: var(--vz-secondary-color); }
.pt-since-sum .is-good b { color: var(--vz-success); }
.pt-since-sum .is-bad b { color: var(--vz-danger); }
#ptPartnerSinceTable th .pt-sub, #ptPartnerCompareTable th .pt-sub { display: block; font-size: 11px; color: var(--vz-secondary-color); }
.pt-partner-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--vz-border-color); border-radius: 4px; background: var(--vz-border-color); overflow: hidden; }
.pt-partner-kpi { padding: 10px 12px; background: var(--vz-secondary-bg); min-width: 0; }
.pt-partner-kpi span { display: block; font-size: 11.5px; color: var(--vz-secondary-color); overflow-wrap: anywhere; }
.pt-partner-kpi b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--vz-heading-color); }
.pt-partner-kpi b small { font-size: 11.5px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-partner-kpi em { display: block; font-style: normal; font-size: 12px; font-weight: 600; }
.pt-partner-kpis .pt-partner-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pt-partner-plan { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--vz-border-color); }
.pt-partner-plan:first-child { padding-top: 0; }
.pt-partner-plan b { display: block; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); overflow-wrap: anywhere; }
.pt-partner-plan span { display: block; font-size: 12px; color: var(--vz-secondary-color); }
.pt-partner-scopes { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-partner-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.pt-partner-sections > div { padding: 8px 10px; border: 1px solid var(--vz-border-color); border-radius: 4px; }
.pt-partner-sections span { display: block; font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-partner-sections b { font-size: 16px; font-weight: 600; }
@media (max-width: 575.98px) {
    .pt-partner-acts { margin-left: 0; width: 100%; }
    .pt-partner-acts .btn { flex: 1 1 auto; }
}

/* ── Üst çubuk: dil ve bildirim düğmelerinin zemini tema renginin açık tonu ── */
#page-topbar .btn-topbar { background: rgba(var(--pt-accent-rgb), .10); color: var(--pt-accent); }
#page-topbar .btn-topbar:hover, #page-topbar .btn-topbar:focus-visible, #page-topbar .btn-topbar.show { background: rgba(var(--pt-accent-rgb), .20); color: var(--pt-accent); }

/* ── Damızlık değeri (EBV) hesabı: GeneticManagement/Evaluation (genetic-ebv.js) ── */
.pt-ebv-status .card-body { padding: 14px 18px; }
.pt-ebv-bar { height: 6px; }
.pt-ebv-bar .progress-bar { width: 0; transition: width .4s ease; }
.pt-ebv-log { max-height: 160px; overflow: auto; font-size: 11.5px; background: var(--vz-light); border-radius: 4px; padding: 8px 10px; white-space: pre-wrap; }
.pt-ebv-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--vz-secondary-color); margin-bottom: 10px; }
.pt-ebv-model { display: flex; gap: 10px; height: 100%; padding: 14px; border: 1px solid var(--vz-border-color); border-radius: 6px; cursor: pointer; transition: border-color .15s, box-shadow .15s; margin: 0; }
.pt-ebv-model:hover { border-color: rgba(var(--pt-accent-rgb), .45); }
.pt-ebv-model.is-active { border-color: var(--pt-accent); box-shadow: 0 0 0 1px var(--pt-accent) inset; background: rgba(var(--pt-accent-rgb), .04); }
.pt-ebv-model .form-check-input { flex-shrink: 0; margin-top: 3px; }
.pt-ebv-model-body { display: block; flex-grow: 1; min-width: 0; }
.pt-ebv-model-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--vz-secondary-color); }
.pt-ebv-model-facts i { margin-right: 4px; }
.pt-ebv-diff { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-ebv-diff i { width: 8px; height: 8px; border-radius: 50%; background: var(--vz-border-color); }
.pt-ebv-diff i.on { background: var(--pt-accent); }
.pt-ebv-diff span { margin-left: 4px; }
.pt-ebv-trait { height: 100%; border: 1px solid var(--vz-border-color); box-shadow: none; transition: opacity .15s, box-shadow .3s; }
.pt-ebv-trait .card-header { padding: 10px 14px; }
.pt-ebv-trait .card-body { padding: 12px 14px; }
.pt-ebv-trait .form-label { font-size: 12px; margin-bottom: 2px; color: var(--vz-secondary-color); }
.pt-ebv-trait.is-off .card-body { opacity: .45; }
.pt-ebv-trait.is-updated { box-shadow: 0 0 0 2px rgba(var(--pt-accent-rgb), .55); }
.pt-ebv-chip { font-size: 12px; padding: 3px 8px; }
.pt-ebv-lv { margin-left: 4px; opacity: .7; font-size: 11px; }
.pt-ebv-corr { max-width: 560px; }
.pt-ebv-corr input { max-width: 110px; }
.pt-ebv-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pt-ebv-kpis > div { padding: 8px 12px; border: 1px solid var(--vz-border-color); border-radius: 6px; }
.pt-ebv-kpis span { display: block; font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-ebv-kpis b { font-weight: 600; font-size: 15px; }
.pt-ebv-kpis .is-danger b { color: var(--vz-danger); }
.pt-ebv-kpis .is-warning b { color: var(--vz-warning); }
.pt-ebv-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 10px; }
.pt-ebv-filter .form-select { width: auto; min-width: 140px; }
.pt-ebv-filter .pt-search { min-width: 200px; }
.pt-ebv-table th, .pt-ebv-table td { white-space: nowrap; }
.pt-ebv-table td .small { white-space: normal; }
.pt-ebv-sortable { cursor: pointer; user-select: none; }
.pt-ebv-sortable.is-asc::after { content: " ▲"; font-size: 9px; }
.pt-ebv-sortable.is-desc::after { content: " ▼"; font-size: 9px; }
.pt-ebv-v { font-variant-numeric: tabular-nums; }
.pt-ebv-mat, .pt-ebv-rel { display: block; font-size: 11px; color: var(--vz-secondary-color); line-height: 1.2; }
.pt-ebv-idx { display: inline-block; min-width: 38px; padding: 1px 6px; border-radius: 4px; font-weight: 600; text-align: center; background: var(--vz-light); }
.pt-ebv-idx.is-high { background: var(--vz-success-bg-subtle); color: var(--vz-success); }
.pt-ebv-idx.is-low { background: var(--vz-danger-bg-subtle); color: var(--vz-danger); }
.pt-ebv-pager { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.pt-ebv-pager .btn { min-width: 40px; min-height: 32px; }
.pt-ebv-cullbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pt-ebv-cullbar .form-select { width: auto; }
.pt-ebv-cullbar .form-control { width: auto; flex: 1 1 200px; }
.pt-ebv-check { width: 36px; }
.pt-ebv-check .form-check-input { width: 18px; height: 18px; }
.pt-ebv-rep { height: 100%; border: 1px solid var(--vz-border-color); box-shadow: none; }
.pt-ebv-rep .card-header { padding: 10px 14px; }
.pt-ebv-rep.is-off { opacity: .6; }
.pt-ebv-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; margin-bottom: 8px; }
.pt-ebv-dl dt { font-weight: 500; color: var(--vz-secondary-color); }
.pt-ebv-dl dd { margin: 0; }
.pt-ebv-details { margin-top: 8px; font-size: 13px; }
.pt-ebv-details summary { cursor: pointer; color: var(--pt-accent); font-weight: 500; }
.pt-ebv-details table { font-size: 12.5px; }
.pt-ebv-trend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pt-ebv-trend span { padding: 4px 10px; border: 1px solid var(--vz-border-color); border-radius: 4px; font-size: 12.5px; }
.pt-ebv-trend b { font-weight: 600; margin-right: 6px; }
.pt-ebv-trend i { font-style: normal; margin-left: 6px; color: var(--vz-secondary-color); font-size: 11px; }
@media (max-width: 575.98px) {
    .pt-ebv-filter .form-select, .pt-ebv-filter .pt-search { flex: 1 1 100%; }
    .pt-ebv-dl { grid-template-columns: 1fr; }
}
/* EBV: özellik tablosu, özellik penceresi, kısaltmalar */
.pt-ebv-traits tr.is-off td:not(:first-child):not(:last-child) { opacity: .45; }
.pt-ebv-traits td { vertical-align: top; }
.pt-ebv-traits td .btn { margin-left: 2px; }
.pt-ebv-info { border: 1px solid var(--vz-border-color); border-radius: 6px; padding: 10px 12px; font-size: 13px; background: var(--vz-light); }
.pt-ebv-fxlist .list-group-item { cursor: pointer; font-size: 13px; padding: 8px 10px; }
.pt-ebv-fxlist .list-group-item:has(input:checked) { background: rgba(var(--pt-accent-rgb), .06); }
.pt-ebv-modal .form-label { font-size: 12px; margin-bottom: 2px; color: var(--vz-secondary-color); }
.pt-ebv-legend { font-size: 13px; }
.pt-ebv-legend dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 8px; margin: 0; }
.pt-ebv-legend dt { font-weight: 600; }
.pt-ebv-legend dd { margin: 0; color: var(--vz-secondary-color); }
.pt-ebv-legend dl + .fw-semibold { margin-top: 14px !important; }
.pt-ebv-legendbtn { display: flex; align-items: center; padding: 0 12px; }
.pt-ebv-legendbtn .btn { min-height: 34px; white-space: nowrap; }
/* Gerekçeler: madde simgeli, alt alta (uzun metin satırı sağa kaydırmasın) */
.pt-ebv-reasons { list-style: none; margin: 0; padding: 0; min-width: 220px; }
.pt-ebv-reasons li { display: flex; align-items: flex-start; gap: 2px; line-height: 1.35; }
.pt-ebv-reasons li + li { margin-top: 3px; }
.pt-ebv-reasons li i { font-size: 16px; line-height: 1; margin-top: 1px; color: var(--vz-secondary-color); flex: 0 0 auto; }
.pt-ebv-reasons li span { white-space: normal; }

/* Menü: analiz sayfalarının başında küçük grafik simgesi */
.pt-menu-chart { font-size: 13px; margin-right: 6px; opacity: .65; }

/* "Yukarı çık" düğmesi: tema 100 px yükseğe koyuyor ve sayfalamaların üstüne biniyordu; sağ alt köşeye, alt bilgi
   şeridinin içine alındı (sayfa sonunda sayfalama alt bilginin üstünde kalır). Alt bilgideki sağ metin düğmeye yer bırakır. */
#back-to-top { bottom: 14px; right: 14px; width: 36px; height: 36px; }
.footer .text-sm-end { padding-right: 48px; }

/* ── Hayvan ekle formu (Animal/Create): laktasyon sırası − / +, başlangıç durumu alt grupları, önizlemeli fotoğraf kutusu,
   takvimli tarih alanında hata çerçevesi ─────────────────────────────────────────────────────────────── */
.pt-stepper { display: flex; align-items: stretch; max-width: 180px; }
.pt-stepper .btn { flex: none; width: 40px; border: 1px solid var(--vz-input-border-custom, var(--vz-border-color)); background: var(--vz-secondary-bg); color: var(--vz-body-color); font-size: 18px; line-height: 1; padding: 0; }
.pt-stepper .btn:first-child { border-radius: var(--vz-border-radius) 0 0 var(--vz-border-radius); }
.pt-stepper .btn:last-child { border-radius: 0 var(--vz-border-radius) var(--vz-border-radius) 0; }
.pt-stepper .btn:hover { color: var(--pt-accent); border-color: var(--pt-accent); }
.pt-stepper .form-control { border-radius: 0; border-left: 0; border-right: 0; text-align: center; font-weight: 600; font-size: 15px; -moz-appearance: textfield; }
.pt-stepper .form-control::-webkit-outer-spin-button, .pt-stepper .form-control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pt-subgroup { border: 1px solid var(--vz-border-color); border-radius: 8px; padding: 12px 14px 14px; background: var(--vz-light); }
.pt-subgroup-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--vz-secondary-color); margin-bottom: 10px; }
.pt-subgroup-title i { font-size: 16px; color: var(--pt-accent); }
.pt-photo-pick-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pt-photo-pick { position: relative; width: 168px; height: 168px; border-radius: 12px; overflow: hidden; cursor: pointer; margin: 0; border: 2px dashed var(--vz-border-color); background: var(--vz-light); display: block; transition: border-color .15s; }
.pt-photo-pick:hover { border-color: var(--pt-accent); }
.pt-photo-pick.has-img { border-style: solid; }
.pt-photo-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 76px; color: var(--vz-secondary-color); opacity: .45; }
.pt-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-photo-cta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 6px; font-size: 13px; font-weight: 500; color: #fff; background: rgba(0, 0, 0, .52); }
.pt-photo-cta i { font-size: 17px; }
input.flatpickr-input.is-invalid + input.form-control { border-color: var(--vz-form-invalid-border-color, var(--vz-danger)); }
input.flatpickr-input + input.form-control { background-color: var(--vz-input-bg-custom, var(--vz-body-bg)); cursor: pointer; }
/* Küpe / işletme no anlık denetimi: alanın hemen altında kısa satır */
.pt-live { display: flex; align-items: flex-start; gap: 4px; margin-top: 4px; font-size: 12.5px; font-weight: 500; }
.pt-live i { font-size: 15px; line-height: 1.1; }
.pt-live-warn { color: var(--vz-warning-text-emphasis, #b9831a); }
.pt-live-info { color: var(--vz-info-text-emphasis, #316dbe); }

/* ───────── TARİH ALANLARI (js/portal/bv-input.js; Danışman ile aynı) ─────────
   Formdaki tarih / tarih-saat yazılarak girilir (dile göre maskeli); sağdaki düğme takvimi açar. Takvim temanın flatpickr
   stilini kullanır. Süzgeçteki tarih takvimden seçilir. */
.bv-date { position: relative; display: block; min-width: 0; }
.bv-date .bv-date-input { padding-right: 38px; font-variant-numeric: tabular-nums; }
.bv-date-cal { position: absolute; top: 0; right: 0; height: 100%; min-height: 32px; width: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--vz-secondary-color); font-size: 16px; border-radius: 0 var(--vz-border-radius) var(--vz-border-radius) 0; }
.bv-date-cal:hover:not(:disabled), .bv-date-cal:focus-visible { color: var(--pt-accent); }
.bv-date-cal:disabled { opacity: .45; }
.bv-date .is-invalid ~ .bv-date-cal { right: 22px; }
.bv-date-host { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; pointer-events: none; }
.flatpickr-calendar[data-bv-for] { z-index: 1090; }
.bv-date-pick { cursor: pointer; background-color: var(--vz-input-bg-custom, var(--vz-secondary-bg)); }
.flatpickr-day.today:not(.selected) { border-color: var(--pt-accent); }
.flatpickr-months .flatpickr-month, .flatpickr-weekdays, span.flatpickr-weekday { font-weight: 600; }
.pt-cf > input.bv-date-pick { width: 132px; padding-right: 6px; }
.input-group > .bv-date { flex: 1 1 auto; width: 1%; }
.input-group > .bv-date:not(:last-child) .bv-date-input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .bv-date:not(:first-child) .bv-date-input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.bv-date-error[hidden] { display: none !important; }

/* ═══ Rozetler ve liste kutuları — PASTEL (mobil ile aynı renk dili) ═══
   Durum / grup rozeti ve avatar kutusu: temanın renginin %14'lük açık tonu + aynı rengin okunur koyu tonu.
   Mobil karşılığı: Mobile/wwwroot/css/bovarine.css "Liste kutuları — PASTEL" (aynı RGB ve yazı renkleri).
   Durum kodu → ton: PortalUi.StatusTone / GroupTone (pt-tone-*). Temanın dolu ve -subtle rozetleri de aynı desene çekilir;
   açık sarı / yeşil zeminde açık renk yazı (okunmuyordu) yerine koyu ton kullanılır.
   Düğme, ilerleme çubuğu ve seçili durumlar dolu renkte kalır. */
.pt-tone-gri,      .badge.bg-dark,      .badge.bg-dark-subtle      { --pt-rgb: 101, 109, 120; --pt-ink: #545c66; }  /* gri      #656D78 */
.pt-tone-acik                                                     { --pt-rgb: 170, 178, 189; --pt-ink: #5f6873; }  /* açık gri #AAB2BD */
.pt-tone-koyu,     .badge.bg-primary,   .badge.bg-primary-subtle   { --pt-rgb: 67, 74, 84;    --pt-ink: #434A54; }  /* grafit   #434A54 */
.pt-tone-mavi,     .badge.bg-info,      .badge.bg-info-subtle      { --pt-rgb: 74, 137, 220;  --pt-ink: #2f6bb8; }  /* mavi     #4A89DC */
.pt-tone-yesil,    .badge.bg-success,   .badge.bg-success-subtle   { --pt-rgb: 140, 193, 82;  --pt-ink: #4f7f22; }  /* yeşil    #8CC152 */
.pt-tone-grimavi                                                  { --pt-rgb: 101, 125, 154; --pt-ink: #4a6382; }  /* gri-mavi (kuru dönem) */
.pt-tone-mor,      .badge.pt-bg-purple-subtle                      { --pt-rgb: 150, 122, 220; --pt-ink: #6a4fc0; }  /* mor      #967ADC */
.pt-tone-mint                                                     { --pt-rgb: 55, 188, 155;  --pt-ink: #1f7d66; }  /* mint     #37BC9B */
.pt-tone-sari,     .badge.bg-warning,   .badge.bg-warning-subtle   { --pt-rgb: 246, 187, 66;  --pt-ink: #8f6512; }  /* sarı     #F6BB42 */
.pt-tone-turuncu,  .badge.pt-bg-orange-subtle                      { --pt-rgb: 233, 87, 63;   --pt-ink: #b5432c; }  /* turuncu  #E9573F */
.pt-tone-kirmizi,  .badge.bg-danger,    .badge.bg-danger-subtle    { --pt-rgb: 218, 68, 83;   --pt-ink: #b8303f; }  /* kırmızı  #DA4453 */
.pt-tone-turkuaz,  .badge.bg-secondary, .badge.bg-secondary-subtle, .badge.pt-bg-accent-subtle { --pt-rgb: 139, 90, 43; --pt-ink: #6F4621; } /* vurgu #8B5A2B */
.badge.pt-bg-brown-subtle                                          { --pt-rgb: 170, 142, 105; --pt-ink: #8C7350; }  /* kahve    #AA8E69 */

[class*="pt-tone-"],
.badge:is(.bg-primary, .bg-secondary, .bg-success, .bg-info, .bg-warning, .bg-danger, .bg-dark,
          .bg-primary-subtle, .bg-secondary-subtle, .bg-success-subtle, .bg-info-subtle, .bg-warning-subtle, .bg-danger-subtle, .bg-dark-subtle,
          .pt-bg-purple-subtle, .pt-bg-orange-subtle, .pt-bg-brown-subtle, .pt-bg-accent-subtle) {
    background-color: rgba(var(--pt-rgb), .14) !important;
    color: var(--pt-ink) !important;
}
.badge[class*="pt-tone-"], .badge:is(.bg-primary, .bg-secondary, .bg-success, .bg-info, .bg-warning, .bg-danger, .bg-dark,
          .bg-primary-subtle, .bg-secondary-subtle, .bg-success-subtle, .bg-info-subtle, .bg-warning-subtle, .bg-danger-subtle, .bg-dark-subtle) { font-weight: 600; }
/* Avatar / simge kutusu (liste satırı, özet kutusu): açık zeminde okunur koyu ton */
.avatar-title.bg-success-subtle.text-success { color: #4f7f22 !important; }
.avatar-title.bg-warning-subtle.text-warning { color: #8f6512 !important; }
.avatar-title.bg-info-subtle.text-info       { color: #2f6bb8 !important; }
.avatar-title.bg-danger-subtle.text-danger   { color: #b8303f !important; }

/* ── Eğitim videosu düğmesi (üst çubuk, dil seçiminin solunda) ───────────────
   Yan menü renginde; dikkat çeksin diye kep simgesinin dairesi büyüyüp küçülür, simge yanıp söner, çevresinde halka
   yayılır. Bilerek "hareket azaltma" tercihinde de çalışır (düğmenin işi dikkat çekmek; hareket küçük ve yavaştır).
   Sayfanın videosu varsa pencerede oynatır (js/portal/page-video.js), yoksa Eğitim videoları sayfasını açar. */
.pt-train-btn {
    position: relative; display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px 0 5px;
    border: 0; border-radius: 999px; background: var(--vz-vertical-menu-bg); color: #FFF;
    font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
    animation: pt-train-glow 1.6s ease-in-out infinite; transition: filter .2s;
}
.pt-train-btn:hover, .pt-train-btn:focus-visible { color: #FFF; filter: brightness(1.2); outline: none; }
.pt-train-ico {
    position: relative; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--pt-accent); color: #FFF; font-size: 17px; flex-shrink: 0;
    animation: pt-train-pulse 1.6s ease-in-out infinite;
}
.pt-train-ico i { display: inline-block; line-height: 1; animation: pt-train-blink 1.6s ease-in-out infinite; }
.pt-train-ico::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #C99766;
    animation: pt-train-ring 1.6s ease-out infinite; pointer-events: none;
}
.pt-train-btn.active, .pt-train-btn.active .pt-train-ico, .pt-train-btn.active .pt-train-ico i, .pt-train-btn.active .pt-train-ico::after { animation: none; }
@keyframes pt-train-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
@keyframes pt-train-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes pt-train-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
@keyframes pt-train-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 151, 102, 0); } 50% { box-shadow: 0 0 0 4px rgba(201, 151, 102, .35); } }
@media (max-width: 767.98px) { .pt-train-btn { padding: 0 5px; } }

/* Sayfanın eğitim videosu penceresi (js/portal/page-video.js; Bootstrap modal). Üst ve alt şerit yan menü renginde.
   Temanın .modal-header / .modal-footer kuralları (alt boşluk 0, kapat düğmesi kayması) kullanılmaz: kendi şeritleri. */
.pt-vmodal .modal-dialog { max-width: min(1180px, 94vw); }
.pt-vmodal .modal-content { overflow: hidden; border: 0; border-radius: 14px; background: var(--vz-vertical-menu-bg); color: #FFF; }
.pt-vm-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; }
.pt-vm-ico { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--pt-accent); font-size: 21px; }
.pt-vm-ico > * { grid-area: 1 / 1; }
.pt-vm-ico i { line-height: 1; }
/* başlıktaki simge videonun durumunu gösterir: oynarken ses çubukları oynar, duraklayınca "duraklatıldı" */
.pt-vm-eq { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.pt-vm-eq i { width: 4px; height: 40%; border-radius: 2px; background: #FFF; animation: pt-vm-eq .9s ease-in-out infinite; }
.pt-vm-eq i:nth-child(2) { animation-delay: -.35s; }
.pt-vm-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes pt-vm-eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.pt-vm-paused { display: none; }
.pt-vm-top.playing .pt-vm-ico > .mdi-school, .pt-vm-top.paused .pt-vm-ico > .mdi-school { display: none; }
.pt-vm-top.playing .pt-vm-eq { display: flex; }
.pt-vm-top.paused .pt-vm-paused { display: block; }
.pt-vm-top.paused .pt-vm-ico { background: rgba(255, 255, 255, .16); }
.pt-vm-head { flex: 1; min-width: 0; line-height: 1.25; }
.pt-vm-head small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #C99766; }
.pt-vm-head b { display: block; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-vm-close {
    width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); color: #FFF; font-size: 20px; transition: background .15s;
}
.pt-vm-close:hover, .pt-vm-close:focus-visible { background: rgba(255, 255, 255, .22); outline: none; }
.pt-vm-screen { position: relative; background: #0E1A1F; }
/* "Tüm eğitim videoları" satırı (mobildeki pencerenin alt satırı gibi) */
.pt-vm-all { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: #FFF; text-decoration: none; transition: background .15s; }
.pt-vm-all:hover, .pt-vm-all:focus-visible { background: rgba(255, 255, 255, .06); color: #FFF; outline: none; }
.pt-vm-all-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .12); color: #C99766; font-size: 20px; }
.pt-vm-all-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pt-vm-all-text b { font-size: 14px; font-weight: 600; }
.pt-vm-all-text small { font-size: 12px; color: rgba(255, 255, 255, .62); }
.pt-vm-all > .mdi-chevron-right { font-size: 22px; color: rgba(255, 255, 255, .6); transition: transform .15s; }
.pt-vm-all:hover > .mdi-chevron-right { transform: translateX(3px); color: #FFF; }

/* ── Komşu sütunla aynı yükseklikte kutu (.pt-fill) ───────────────────────────
   Geniş ekranda kutu sütunu boydan boya doldurur ve yüksekliği satırı BELİRLEMEZ (yandaki kutular belirler); içerik
   .pt-fill-scroll içinde, kaydırma çubuğu gizli olarak kayar. Dar ekranda (alt alta) en çok 460 px. */
.pt-fill > .card { display: flex; flex-direction: column; }
.pt-fill-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.pt-fill-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) {
    .pt-fill { position: relative; }
    .pt-fill > .card { position: absolute; top: 0; bottom: var(--vz-grid-gutter-width); left: calc(var(--vz-gutter-x) * .5); right: calc(var(--vz-gutter-x) * .5); margin: 0; }
}
@media (max-width: 1199.98px) { .pt-fill > .card { max-height: 460px; } }

/* ── Ana ekran: öneriler (danışman + veteriner) ─────────────────────────── */
.pt-advice-tabs { display: flex; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--vz-border-color); overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.pt-advice-tabs::-webkit-scrollbar { display: none; }
.pt-advice-tabs button {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid transparent; border-radius: 999px;
    background: transparent; color: var(--vz-secondary-color); font-size: 12px; font-weight: 500; white-space: nowrap;
}
.pt-advice-tabs button b { font-weight: 600; font-size: 11px; padding: 0 6px; border-radius: 999px; background: var(--vz-light); }
.pt-advice-tabs button:hover { color: var(--pt-accent); }
.pt-advice-tabs button.active { border-color: rgba(var(--pt-accent-rgb), .4); background: rgba(var(--pt-accent-rgb), .08); color: var(--pt-accent); font-weight: 600; }
.pt-advice-tabs button.active b { background: rgba(var(--pt-accent-rgb), .14); }
.pt-advice-list > li { position: relative; }
.pt-advice-list .pt-list-body b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-advice-list .pt-advice-meta { display: flex !important; align-items: center; gap: 6px; margin-top: 4px; }
.pt-advice-list .pt-advice-meta .badge { font-weight: 500; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.pt-advice-list .pt-advice-meta em { font-style: normal; font-size: 11px; color: var(--vz-secondary-color); margin-left: auto; }
.pt-advice-list > li.pt-advice-new::before { content: ""; position: absolute; left: -10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--vz-info); }
.pt-advice-list > li.pt-advice-hide { display: none; }

/* ── Ana ekran: ÇİFTLİK İKLİMİ (başlığın sağı; Views/Home/_Climate.cshtml, js/portal/home-climate.js). Sıcaklık turuncu, nem
   mavi ikonla; ölçüm eskiyse değerler soluk, zaman uyarı renginde. Akıllı tasma sayfasını açabilene bağlantıdır. ── */
.pt-climate { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 1px solid var(--vz-border-color); border-radius: 999px; background: var(--vz-secondary-bg); color: var(--vz-body-color); font-size: 13px; line-height: 1.2; white-space: nowrap; text-decoration: none; }
a.pt-climate[href]:hover { border-color: rgba(var(--pt-accent-rgb), .45); color: var(--vz-body-color); }
.pt-climate b { font-size: 15px; font-weight: 600; }
.pt-climate > .mdi { font-size: 17px; line-height: 1; }
.pt-climate .pt-climate-t { color: #E9573F; }
.pt-climate .pt-climate-h { margin-left: 8px; color: #4A89DC; }
.pt-climate .pt-climate-u { color: var(--vz-secondary-color); font-size: 12px; }
.pt-climate small { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--vz-border-color); color: var(--vz-secondary-color); font-size: 11px; }
.pt-climate small .mdi { margin-right: 3px; }
.pt-climate-stale b { color: var(--vz-secondary-color); }
.pt-climate-stale small { color: var(--vz-warning); }

/* ── "Bayiniz" (çiftliğin bayisi): paket özeti kartı ve paket sayfasındaki "paketiniz bitti" bandı ── */
.pt-dealer { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.pt-dealer-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 3px;
    background: var(--vz-primary-bg-subtle); color: var(--vz-primary); font-size: 20px; }
.pt-dealer-body { flex: 1 1 auto; min-width: 0; }
.pt-dealer-links { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: 13px; min-width: 0; }
.pt-dealer-links a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-dealer-alert .btn { white-space: nowrap; }
@media (max-width: 575.98px) { .pt-dealer-alert .d-flex.gap-2, .pt-dealer-alert .d-flex.gap-2 .btn { width: 100%; } }

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════
   DAVRANIŞ (tasma analizi) — ana ekran "Sürü şu an" kartı (Views/Home/_Behavior), Sürü takibi ve Hayvan davranışı
   (Areas/SensorManagement/Views/Behavior), hayvan kartındaki özet — PORTAL (mobil bovarine.css ile aynı blok + portal ekleri). Davranış renkleri temanın paletinden; çizimlerdeki
   hex değerleri Manager/Dto/Sensor/BehaviorChart.Color ile AYNI (birini değiştiren ikisini de değiştirir).
   .bv-beh-s{n} zemin / .bv-beh-c{n} yazı: n = BehaviorState (1 geviş · 2 yem · 3 yatma · 4 ayakta · 5 yürüme · 6 yüksek · 7 soluma · 0 veri yok)
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.bv-beh-s0 { background: #E6E9ED; } .bv-beh-c0 { color: #AAB2BD; }
.bv-beh-s1 { background: #37BC9B; } .bv-beh-c1 { color: #2a9a7f; }
.bv-beh-s2 { background: #F6BB42; } .bv-beh-c2 { color: #c38f17; }
.bv-beh-s3 { background: #4A89DC; } .bv-beh-c3 { color: #3a72bd; }
.bv-beh-s4 { background: #AAB2BD; } .bv-beh-c4 { color: #7c8591; }
.bv-beh-s5 { background: #8CC152; } .bv-beh-c5 { color: #6a9a35; }
.bv-beh-s6 { background: #967ADC; } .bv-beh-c6 { color: #7458c4; }
.bv-beh-s7 { background: #E9573F; } .bv-beh-c7 { color: #c9452f; }

/* Canlı noktası (veri son 75 dk içinde): yavaş nabız */
.bv-beh-live { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ABA66; flex-shrink: 0; }
.bv-beh-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(42,186,102,.35); animation: bvBehPulse 2.2s ease-out infinite; }
.bv-beh-live.is-off, .is-off > .bv-beh-live { background: #AAB2BD; }
.bv-beh-live.is-off::after, .is-off > .bv-beh-live::after { display: none; }
@keyframes bvBehPulse { 0% { transform: scale(.5); opacity: .9; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bv-beh-live::after { animation: none; } }
.bv-beh-livechip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 20px; background: rgba(42,186,102,.12); color: #1f8a4c; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.bv-beh-livechip.is-off { background: #F2F4F6; color: #8a929a; }

/* Tema paragraf satır yüksekliği (30 px) kartlardaki çok satırlı açıklamalarda fazla: davranış ekranlarında sıkı */
.bv-beh-card p, .bv-beh-acard p, .bv-beh-thicard p, .bv-beh-chart + .bv-beh-keys, [data-beh-tip-out], .bv-beh-acc + div p, .bv-beh-learn span { line-height: 1.5; }
.bv-beh-acc + div p, [data-beh-tip-out] { line-height: 1.5 !important; }

/* ── Ana ekran kartı ── */
.bv-beh-head { display: flex; align-items: center; gap: 9px; }
.bv-beh-head-note { margin-left: auto; font-size: 11px; color: #8a929a; white-space: nowrap; }
.bv-beh-seg { display: flex; height: 12px; border-radius: 7px; overflow: hidden; gap: 2px; background: #F2F4F6; }
.bv-beh-seg > span { min-width: 6px; }
.bv-beh-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; line-height: 1.5; color: #545c66; }
.bv-beh-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bv-beh-legend i { font-size: 11px; width: 13px; text-align: center; }
.bv-beh-legend b { font-weight: 700; color: #2b3138; margin-left: 1px; }
.bv-beh-kpis { display: flex; background: #f7f8f9; border-radius: 14px; padding: 9px 4px; }
.bv-beh-kpis > div { flex: 1; min-width: 0; padding: 0 8px; }
.bv-beh-kpis > div + div { border-left: 1px solid rgba(0,0,0,.06); }
.bv-beh-kpis p { margin: 0; font-size: 9px; letter-spacing: .3px; text-transform: uppercase; color: #8a929a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-kpis h4 { margin: 2px 0 0; font-size: 17px; line-height: 1.15; white-space: nowrap; }
.bv-beh-kpis h4 small { font-size: 10px; font-weight: 600; opacity: .55; }
.bv-beh-kpis > div > span { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-learn { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(55,188,155,.11); color: #1f7d66; font-size: 12px; line-height: 1.45; }
.bv-beh-learn i { font-size: 17px; }
.bv-beh-thi { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 12px; font-size: 12px; line-height: 1.4; }
.bv-beh-thi i { font-size: 15px; }
.bv-beh-thi-1 { background: rgba(246,187,66,.16); color: #8f6512; }
.bv-beh-thi-2 { background: rgba(233,87,63,.13); color: #b5432c; }
.bv-beh-thi-3, .bv-beh-thi-4 { background: rgba(218,68,83,.14); color: #b8303f; }
.bv-beh-alerts { border-top: 1px solid rgba(0,0,0,.06); }
.bv-beh-alert { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.05); color: inherit; }
.bv-beh-alert-body { flex: 1; min-width: 0; line-height: 1.35; }
.bv-beh-alert-body b { display: block; font-size: 14px; font-weight: 700; color: #2b3138; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-alert-body span { display: block; font-size: 12px; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-when { flex-shrink: 0; padding: 3px 8px; border-radius: 10px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.bv-beh-when-0 { background: #F2F4F6; color: #656D78; }
.bv-beh-when-1 { background: #D770AD; color: #fff; }
.bv-beh-when-2 { background: rgba(218,68,83,.14); color: #b8303f; }
b.bv-beh-when-0 { background: none; color: #656D78; }
b.bv-beh-when-1 { background: none; color: #b8488a; }
b.bv-beh-when-2 { background: none; color: #b8303f; }
.bv-beh-more { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; padding: 6px 0 2px; font-size: 13px; font-weight: 700; color: #434A54; }
.bv-beh-more i { font-size: 11px; }

/* ── Sürü takibi ── */
.bv-beh-now { display: flex; align-items: center; gap: 16px; }
.bv-beh-donutwrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.bv-beh-donutwrap svg { width: 132px; height: 132px; display: block; }
.bv-beh-donut-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.bv-beh-donut-mid b { font-size: 26px; font-weight: 800; color: #2b3138; }
.bv-beh-donut-mid span { font-size: 10px; color: #8a929a; text-transform: uppercase; letter-spacing: .4px; }
.bv-beh-nowlist { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.bv-beh-nowlist li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; line-height: 1.3; }
.bv-beh-nowlist li + li { border-top: 1px dashed rgba(0,0,0,.06); }
.bv-beh-nowlist b { font-weight: 800; min-width: 18px; text-align: right; }
.bv-beh-nowlist em { font-style: normal; font-size: 11px; color: #8a929a; min-width: 32px; text-align: right; }
.bv-beh-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.bv-beh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bv-beh-grid > div { background: #f7f8f9; border-radius: 14px; padding: 10px 12px; min-width: 0; }
.bv-beh-grid p { margin: 0; font-size: 10px; letter-spacing: .3px; text-transform: uppercase; color: #8a929a; }
.bv-beh-grid h3 { margin: 2px 0 1px; font-size: 21px; line-height: 1.15; }
.bv-beh-grid h3 small { display: inline; font-size: 11px; font-weight: 600; opacity: .55; }
.bv-beh-grid span, .bv-beh-grid small { display: block; font-size: 11px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-grid span { font-weight: 600; }
.bv-beh-grid small { color: #8a929a; }
.bv-beh-thicard .content { border-radius: 12px; }
.bv-beh-thicard.bv-beh-thi-0 { background: #fff; }
.bv-beh-thival { width: 58px; height: 58px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.65); flex-shrink: 0; line-height: 1; }
.bv-beh-thival b { font-size: 22px; font-weight: 800; }
.bv-beh-thival span { font-size: 9px; font-weight: 700; letter-spacing: .5px; opacity: .7; margin-top: 3px; }
.bv-beh-thicard.bv-beh-thi-0 .bv-beh-thival { background: rgba(140,193,82,.14); color: #4f7f22; }
.bv-beh-acard .min-w-0, .bv-beh-row .min-w-0, .min-w-0 { min-width: 0; }
.bv-beh-conf { flex-shrink: 0; margin-left: 8px; padding: 2px 7px; border-radius: 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.bv-beh-conf-2 { background: rgba(140,193,82,.16); color: #4f7f22; }
.bv-beh-conf-1 { background: rgba(246,187,66,.18); color: #8f6512; }
.bv-beh-conf-0 { background: #F2F4F6; color: #656D78; }
.bv-beh-heat-bar { position: relative; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #EDE2EA, #F2F4F6); }
.bv-beh-heat-win { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #D770AD, #c45599); }
.bv-beh-heat-now { position: absolute; top: -4px; width: 3px; height: 18px; margin-left: -1.5px; border-radius: 2px; background: #2b3138; box-shadow: 0 0 0 2px #fff; }
.bv-beh-heat-lbl { display: flex; justify-content: space-between; align-items: baseline; margin-top: 5px; font-size: 10px; color: #8a929a; }
.bv-beh-heat-lbl b { font-size: 12px; }
.bv-beh-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bv-beh-actions .btn { line-height: 1.6; }
.bv-beh-chart { position: relative; }
.bv-beh-chart svg { display: block; width: 100%; height: auto; }
.bv-beh-stack { aspect-ratio: 640 / 160; }
.bv-beh-act { aspect-ratio: 640 / 180; }
.bv-beh-axis { font: 600 19px Roboto, sans-serif; fill: #9aa2ab; }
.bv-beh-chart [data-tip], .bv-beh-act rect[data-t] { cursor: pointer; }
.bv-beh-chart g.is-sel rect, .bv-beh-act rect.is-sel { stroke: #2b3138; stroke-width: 1.5; }
.bv-beh-tipout { font-weight: 600; color: #2b3138 !important; opacity: 1 !important; }
.bv-beh-keys { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: #6c757d; }
.bv-beh-keys span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bv-beh-keys i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.bv-beh-key-act { background: #656D78; } .bv-beh-key-high { background: #967ADC; }
.bv-beh-key-band { background: rgba(170,178,189,.35); } .bv-beh-key-win { background: rgba(215,112,173,.3); }
.bv-beh-acc { width: 64px; height: 64px; border-radius: 50%; border: 4px solid #8CC152; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.bv-beh-acc b { font-size: 16px; font-weight: 800; }
.bv-beh-acc span { font-size: 8px; text-transform: uppercase; letter-spacing: .4px; color: #8a929a; margin-top: 3px; }
.bv-beh-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bv-beh-filters::-webkit-scrollbar { display: none; }
.bv-beh-filters button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(0,0,0,.08); background: #fff; border-radius: 18px; padding: 5px 11px; font-size: 12px; font-weight: 600; color: #545c66; }
.bv-beh-filters button i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.bv-beh-filters button b { font-weight: 800; opacity: .6; }
.bv-beh-filters button.is-on { background: #434A54; border-color: #434A54; color: #fff; }
.bv-beh-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.05); color: inherit; }
.bv-beh-row:last-of-type { border-bottom: 0; }
.bv-beh-row[hidden] { display: none; }
.bv-beh-row-id { width: 64px; flex-shrink: 0; line-height: 1.2; }
.bv-beh-row-id b { display: block; font-size: 14px; color: #2b3138; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-row-id small { display: block; font-size: 10px; color: #8a929a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-row-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bv-beh-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 8px; border-radius: 9px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-chip i { font-size: 10px; }
.bv-beh-chip em { font-style: normal; font-weight: 500; opacity: .85; }
.bv-beh-chip.bv-beh-s0, .bv-beh-chip.bv-beh-s4, .bv-beh-chip.bv-beh-s2 { color: #2b3138; }
.bv-beh-strip { display: block; width: 100%; height: 7px; border-radius: 3px; overflow: hidden; }
.bv-beh-row-end { width: 62px; flex-shrink: 0; text-align: right; line-height: 1.2; }
.bv-beh-row-end b { display: block; font-size: 14px; }
.bv-beh-row-end small { font-size: 10px; font-weight: 600; white-space: nowrap; }
.bv-beh-row-alert { display: block; color: #DA4453; font-size: 13px; margin-bottom: 2px; }

/* ── Hayvan davranışı ── */
.bv-beh-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.bv-beh-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 9px; background: #F2F4F6; font-size: 11px; font-weight: 600; color: #545c66; white-space: nowrap; }
.bv-beh-facts i { font-size: 10px; opacity: .7; }
.bv-beh-clockwrap { position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 1; }
.bv-beh-clockwrap svg { width: 100%; height: 100%; display: block; }
.bv-beh-clock-h { font: 700 10px Roboto, sans-serif; fill: #9aa2ab; }
.bv-beh-clock-mid { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; pointer-events: none; }
.bv-beh-clock-ico i, .bv-beh-brief-ico i { color: #fff !important; }
.bv-beh-clock-ico.bv-beh-s0 i, .bv-beh-clock-ico.bv-beh-s4 i, .bv-beh-brief-ico.bv-beh-s0 i { color: #545c66 !important; }
.bv-beh-clock-ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; margin-bottom: 5px; box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.bv-beh-clock-mid b { font-size: 14px; font-weight: 800; color: #2b3138; }
.bv-beh-clock-mid span { font-size: 11px; color: #8a929a; margin-top: 1px; }
.bv-beh-cmp { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.bv-beh-cmp:last-of-type { border-bottom: 0; }
.bv-beh-cmp-ico { width: 30px; height: 30px; border-radius: 10px; background: #F2F4F6; color: #656D78; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.bv-beh-cmp-main { flex: 1; min-width: 0; }
.bv-beh-dev { position: relative; height: 6px; margin: 6px 0 4px; border-radius: 4px; background: #F2F4F6; }
.bv-beh-dev-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #AAB2BD; border-radius: 1px; }
.bv-beh-dev-bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: currentColor; }
.bv-beh-dev-bar.opacity-50 { background: #AAB2BD; }

/* Hayvan kartındaki özet (AnimalManagement/Animal/Detail → Views/Shared/_BehaviorBrief) */
.bv-beh-brief { display: flex; align-items: center; gap: 12px; color: inherit; }
.bv-beh-brief-ico { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.bv-beh-brief-body { flex: 1; min-width: 0; line-height: 1.3; }
.bv-beh-brief-body b { display: block; font-size: 15px; color: #2b3138; }
.bv-beh-brief-body span { display: block; font-size: 12px; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-beh-brief .bv-beh-strip { margin-top: 6px; }


/* ── Portal ekleri (Velzon) ── */
.bh-home .bv-beh-kpis h4 small, .bv-beh-grid h3 small { display: inline; }
.bh-donut-sm, .bh-donut-sm svg { width: 116px !important; height: 116px !important; }
.bh-grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767.98px) { .bh-grid4 { grid-template-columns: 1fr 1fr; } }
.bh-empty-text { max-width: 560px; }
.bh-thi { align-items: center; }
.bh-thi-val { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.7); line-height: 1; flex-shrink: 0; }
.bh-thi-val b { font-size: 19px; } .bh-thi-val small { font-size: 9px; font-weight: 700; opacity: .7; margin-top: 3px; }
.bh-alert { padding: 14px 0; border-bottom: 1px dashed var(--vz-border-color); }
.bh-alert:first-child { padding-top: 0; } .bh-alert:last-child { border-bottom: 0; padding-bottom: 0; }
.bh-alert h6 { font-size: 14px; }
.bh-alert p { font-size: 13px; line-height: 1.45; }
.bh-alert-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.bh-alert-ico-sm { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.bh-tone-danger { background: rgba(218,68,83,.13); color: #c23848; }
.bh-tone-warning { background: rgba(233,87,63,.13); color: #c9452f; }
.bh-tone-pink { background: rgba(215,112,173,.15); color: #b8488a; }
.bh-tone-purple { background: rgba(150,122,220,.15); color: #7458c4; }
.bh-tone-secondary { background: rgba(170,178,189,.2); color: #656D78; }
.bh-btn-danger { background: #DA4453; color: #fff; } .bh-btn-warning { background: #E9573F; color: #fff; }
.bh-btn-pink { background: #D770AD; color: #fff; } .bh-btn-purple { background: #967ADC; color: #fff; } .bh-btn-secondary { background: #656D78; color: #fff; }
.bh-btn-danger:hover, .bh-btn-warning:hover, .bh-btn-pink:hover, .bh-btn-purple:hover, .bh-btn-secondary:hover { color: #fff; filter: brightness(.94); }
.bh-conf-2 { background: rgba(140,193,82,.16); color: #4f7f22; }
.bh-conf-1 { background: rgba(246,187,66,.18); color: #8f6512; }
.bh-conf-0 { background: rgba(170,178,189,.2); color: #656D78; }
.text-pink { color: #D770AD !important; }
.bh-acc { display: flex; align-items: center; gap: 14px; }
.bh-table td { padding-top: 9px; padding-bottom: 9px; }
.bh-table tbody tr[data-href] { cursor: pointer; }
.bh-table .bh-col-strip { width: 22%; min-width: 120px; }
.bh-table .bv-beh-chip { font-size: 11px; }
.bh-cmp-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 991.98px) { .bh-cmp-grid { grid-template-columns: 1fr; } }
.bh-cmp-grid .bv-beh-cmp { border-bottom: 1px dashed var(--vz-border-color); }
.bh-act { max-width: 100%; }
#ptBehaviorBrief .card-body:hover { background: rgba(0,0,0,.015); }
.bv-beh-row-t[hidden] { display: none; }
/* Portalda çizimler geniş: eksen yazısı viewBox biriminde küçültülür (≈ 11 px görünür) */
.bv-beh-axis { font-size: 11px; }
@media (max-width: 1199.98px) { .bv-beh-axis { font-size: 15px; } }
.bh-home .bv-beh-kpis h4 { font-size: 20px; }

/* ── Bovisio Sense (22.10.2026 ek): sürünün durumu, ritim alanı, zaman bütçesi, ham veri grafiği — Portal + Mobil ortak ── */
.bv-lh { line-height: 1.5 !important; }
.bv-beh-rhythm { aspect-ratio: 640 / 170; }
.bv-beh-readings { aspect-ratio: 640 / 190; }
.bv-beh-readings.is-tall { aspect-ratio: 640 / 300; }
.bv-beh-hit { fill: transparent; }
.bv-beh-chart g.is-sel rect.bv-beh-hit { fill: rgba(43,49,56,.10); stroke: none; }
.bv-beh-chart g:hover rect.bv-beh-hit { fill: rgba(43,49,56,.05); }
.bv-beh-key-line { height: 3px !important; border-radius: 2px !important; background: #434A54; }
.bv-beh-grid p i { margin-right: 5px; font-size: 11px; }

/* Puan göstergesi + karar */
.bv-sense-gauge { position: relative; flex-shrink: 0; width: 104px; height: 104px; }
.bv-sense-gauge svg { width: 100%; height: 100%; display: block; }
.bv-sense-gauge-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding-bottom: 6px; }
.bv-sense-gauge-mid b { font-size: 30px; font-weight: 800; color: #2b3138; letter-spacing: -.5px; }
.bv-sense-gauge-mid span { font-size: 9px; font-weight: 700; color: #8a929a; text-transform: uppercase; letter-spacing: .6px; margin-top: 4px; }
.bv-sense-gauge-mid i { font-size: 26px; color: #37BC9B; }
.bv-sense-v0 { color: #4f8a1f !important; } .bv-sense-v1 { color: #c38f17 !important; } .bv-sense-v2 { color: #c23848 !important; }
.bv-sense-v-learn { color: #2a9a7f !important; }
.bv-sense-v-learn::first-letter { text-transform: uppercase; }
.bv-sense-mood { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #F4F6F8; color: #434A54; font-size: 13px; font-weight: 600; line-height: 1.4; }
.bv-sense-mood i { font-size: 16px; width: 18px; text-align: center; flex-shrink: 0; }
.bv-sense-mood-Sakin { background: rgba(74,137,220,.10); color: #2f5f9e; }
.bv-sense-mood-Yemde { background: rgba(246,187,66,.16); color: #8f6512; }
.bv-sense-mood-Hareketli { background: rgba(140,193,82,.15); color: #4f7f22; }
.bv-sense-mood-Sicak { background: rgba(233,87,63,.13); color: #b5432c; }
.bv-sense-mood-Karisik { background: rgba(150,122,220,.11); color: #6046b0; }
.bv-sense-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bv-sense-pills > * { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px; border-radius: 16px; font-size: 12px; font-weight: 700; line-height: 1.35; background: #F2F4F6; color: #545c66; }
.bv-sense-pills i { font-size: 12px; }
.bv-sense-pills em { font-style: normal; margin-left: 2px; padding: 1px 7px; border-radius: 10px; background: #DA4453; color: #fff; font-size: 10px; }
.bv-sense-pills .is-ok { background: rgba(140,193,82,.15); color: #4f7f22; }
.bv-sense-pills .is-warn { background: rgba(218,68,83,.10); color: #b8303f; }
.bv-sense-thi-1 { background: rgba(246,187,66,.18) !important; color: #8f6512 !important; }
.bv-sense-thi-2 { background: rgba(233,87,63,.14) !important; color: #b5432c !important; }
.bv-sense-thi-3, .bv-sense-thi-4 { background: rgba(218,68,83,.14) !important; color: #b8303f !important; }

/* Zaman bütçesi (son 24 saat) */
.bv-sense-budget { display: flex; gap: 2px; height: 16px; border-radius: 8px; overflow: hidden; background: #F2F4F6; }
.bv-sense-budget > span { min-width: 4px; }
.bv-sense-budgetlist { list-style: none; margin: 12px 0 0; padding: 0; }
.bv-sense-budgetlist li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; line-height: 1.3; }
.bv-sense-budgetlist li + li { border-top: 1px dashed rgba(0,0,0,.06); }
.bv-sense-budgetlist b { font-weight: 700; white-space: nowrap; }
.bv-sense-budgetlist em { font-style: normal; font-size: 11px; color: #8a929a; min-width: 36px; text-align: right; }

/* Sürü ritmi ısı şeritleri (BehaviorChart.HourGrid): satır = davranış, hücre = saat, koyuluk = o saatteki pay */
.bv-hg { display: flex; flex-direction: column; gap: 4px; }
.bv-hg-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bv-hg-lbl { width: 92px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #545c66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.bv-hg-lbl i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.bv-hg-cells { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.bv-hg-cells i { display: block; height: 18px; border-radius: 3px; cursor: pointer; transition: transform .12s; }
.bv-hg-cells i.bv-hg-none { background: #F2F4F6; cursor: default; }
.bv-hg-cells i.is-sel { box-shadow: inset 0 0 0 2px #2b3138; opacity: 1 !important; }
.bv-hg-avg { width: 36px; flex-shrink: 0; text-align: right; font-size: 11px; font-weight: 700; color: #545c66; }
.bv-hg-axis .bv-hg-cells em { font-style: normal; font-size: 10px; font-weight: 600; color: #9aa2ab; white-space: nowrap; overflow: visible; line-height: 1; padding-top: 2px; }

/* Bovisio Sense — portal ana ekranı ve sayfanın üst sırası (Views/Home/_Behavior) */
.bh-sense { margin-bottom: 1.5rem; }
.bh-sense-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bh-sense-head h5 { font-size: 16px; font-weight: 700; display: flex; align-items: center; }
.bh-sense-logo { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #37BC9B, #4A89DC); color: #fff; font-size: 20px; flex-shrink: 0; box-shadow: 0 6px 14px rgba(55,188,155,.25); }
.bh-sense-card .card-body { padding: 18px 20px; }
.bh-sense-title { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 12px; font-weight: 700; color: #8a929a; text-transform: uppercase; letter-spacing: .5px; }
.bh-sense-title i { font-size: 16px; color: #AAB2BD; }
.bh-sense-status { display: flex; align-items: center; gap: 16px; }
.bh-sense-status .bv-sense-gauge { width: 112px; height: 112px; }
.bh-sense-status h3 { font-size: 24px; font-weight: 800; margin: 0 0 3px; line-height: 1.15; }
.bh-sense-status p { margin: 0; font-size: 13px; color: var(--vz-secondary-color, #6c757d); line-height: 1.45; }
.bh-sense-alerts { list-style: none; margin: 12px 0 0; padding: 0; }
.bh-sense-alerts li + li { border-top: 1px dashed var(--vz-border-color, #e9ebec); }
.bh-sense-alerts a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: inherit; }
.bh-sense-alerts a:hover .bh-sense-alert-body b { color: var(--vz-primary, #37BC9B); }
.bh-sense-alert-body { flex: 1; min-width: 0; line-height: 1.35; }
.bh-sense-alert-body b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-sense-alert-body span { display: block; font-size: 12px; color: var(--vz-secondary-color, #878a99); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-sense-ok { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; color: #4f7f22; font-weight: 600; font-size: 13px; }
.bh-sense-ok i { font-size: 18px; }
.bh-sense-thi { font-size: 12px; }
.bh-sense-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bh-sense-kpis > div { background: #f7f8f9; border-radius: 12px; padding: 9px 11px; min-width: 0; }
.bh-sense-kpis p { margin: 0; font-size: 10px; letter-spacing: .3px; text-transform: uppercase; color: #8a929a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-sense-kpis p i { margin-right: 4px; font-size: 12px; }
.bh-sense-kpis h4 { margin: 2px 0 1px; font-size: 19px; font-weight: 700; white-space: nowrap; }
.bh-sense-kpis h4 small { font-size: 11px; font-weight: 600; opacity: .55; }
.bh-sense-kpis span { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-sense .bv-beh-axis { font-size: 19px; }
.bh-readings .bv-beh-axis { font-size: 7px; }
@media (max-width: 1199.98px) { .bh-readings .bv-beh-axis { font-size: 10px; } }
.bh-budget2 { column-count: 2; column-gap: 24px; }
.bh-budget2 li { break-inside: avoid; }
.bh-budget2 li + li { border-top: 0; }
@media (max-width: 1199.98px) { .bh-sense .bv-beh-axis { font-size: 14px; } }
.bh-sense-head { margin-top: 4px; }
.bh-sense .bv-hg-lbl { width: 108px; }
.bh-sense-note { font-size: 12px !important; line-height: 1.45; color: var(--vz-secondary-color, #878a99); margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   MAĞAZA (Areas/ShopManagement): üst çubuk sepeti, vitrin, ürün kartları, ürün sayfası, sepet, sipariş çizelgesi
   Satın alma rengi turuncu (--pt-shop-orange); geri kalanı temanın renkleri
   ═══════════════════════════════════════════════════════════════════ */
:root { --pt-shop-orange: #F28A1E; --pt-shop-orange-dark: #D9720A; --pt-shop-orange-soft: #FFF1E2; --pt-shop-deal: #E5484D; }

.pt-btn-orange { --vz-btn-color: #FFF; background: var(--pt-shop-orange); border-color: var(--pt-shop-orange); color: #FFF; font-weight: 600; }
.pt-btn-orange:hover, .pt-btn-orange:focus-visible, .pt-btn-orange:active { background: var(--pt-shop-orange-dark) !important; border-color: var(--pt-shop-orange-dark) !important; color: #FFF !important; }
.pt-btn-orange:focus-visible { box-shadow: 0 0 0 .2rem rgba(242, 138, 30, .35); }

/* — Üst çubuk: sepet simgesi ve ön gösterim — */
/* Sepet düğmesi: dil / bildirim düğmeleriyle aynı yuvarlak (.btn-topbar), yalnızca rengi turuncu */
#page-topbar .pt-cart-btn { background: rgba(242, 138, 30, .12); color: var(--pt-shop-orange-dark); }
#page-topbar .pt-cart-btn:hover, #page-topbar .pt-cart-btn:focus-visible, #page-topbar .pt-cart-btn.show { background: rgba(242, 138, 30, .22); color: var(--pt-shop-orange-dark); }
.pt-cart-btn.is-bump { animation: ptCartBump .45s ease; }
@keyframes ptCartBump { 30% { transform: scale(1.14); } 60% { transform: scale(.96); } }
.pt-cart-count { background: var(--pt-shop-orange) !important; color: #FFF; }
.pt-cart-menu { width: 360px; max-width: calc(100vw - 24px); border: 0; border-radius: 12px; box-shadow: 0 12px 40px rgba(30, 32, 37, .16); overflow: hidden; margin-top: 10px !important; }
.pt-cart-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 10px; }
.pt-cart-head b { font-size: 15px; color: var(--vz-heading-color); }
.pt-cart-head span { font-size: 12px; color: var(--vz-secondary-color); }
.pt-cart-lines { list-style: none; margin: 0; padding: 0 8px; max-height: 300px; overflow-y: auto; }
.pt-cart-line { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: inherit; }
.pt-cart-line:hover { background: var(--vz-light); }
.pt-cart-img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--vz-light); display: flex; align-items: center; justify-content: center; color: var(--vz-secondary-color); font-size: 20px; }
.pt-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-cart-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-cart-txt b { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-cart-txt small { font-size: 12px; color: var(--vz-secondary-color); }
.pt-cart-sum { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-cart-more { display: block; padding: 4px 18px 0; font-size: 12px; font-weight: 600; color: var(--pt-shop-orange-dark); }
.pt-cart-total { display: flex; justify-content: space-between; align-items: center; margin: 10px 18px 0; padding-top: 12px; border-top: 1px solid var(--vz-border-color); }
.pt-cart-total span { font-size: 13px; font-weight: 600; color: var(--vz-heading-color); display: flex; flex-direction: column; }
.pt-cart-total small { font-size: 11px; font-weight: 400; color: var(--vz-secondary-color); }
.pt-cart-total b { font-size: 19px; color: var(--vz-heading-color); font-variant-numeric: tabular-nums; }
.pt-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 18px 18px; }
.pt-cart-actions .btn { padding: 9px 10px; font-weight: 600; }
.pt-cart-actions .btn:only-child { grid-column: 1 / -1; }
.pt-cart-empty { text-align: center; padding: 10px 18px 22px; color: var(--vz-secondary-color); }
.pt-cart-empty i { font-size: 34px; opacity: .4; }
.pt-cart-empty p { margin: 4px 0 14px; font-size: 13px; }

/* — Vitrin — */
.pt-shop-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: 14px; }
.pt-shop-hero-text { padding: 36px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.pt-shop-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(var(--pt-accent-rgb), .1); color: var(--pt-accent); font-size: 12.5px; font-weight: 600; }
.pt-shop-chip i { font-size: 15px; }
.pt-shop-hero h2 { margin: 14px 0 10px; font-size: 28px; line-height: 1.22; font-weight: 700; letter-spacing: -.3px; color: var(--vz-heading-color); max-width: 22ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-shop-hero-deal { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--pt-shop-deal); }
.pt-shop-hero-cta { margin: 14px 0 26px; }
.pt-shop-hero-cta .btn { padding: 11px 22px; border-radius: 8px; font-size: 14.5px; }
.pt-shop-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--vz-border-color); align-self: stretch; }
.pt-shop-perks li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--vz-body-color); }
.pt-shop-perks i { font-size: 17px; color: var(--pt-accent); }
.pt-shop-hero-img { position: relative; min-height: 300px; background: linear-gradient(135deg, #FFF4E8, #FFE2C2); display: flex; align-items: center; justify-content: center; color: var(--pt-shop-orange); font-size: 120px; }
.pt-shop-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* — Kategori sekmeleri + arama — */
.pt-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 16px; scroll-margin-top: 90px; }
.pt-shop-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; background: var(--vz-card-bg); box-shadow: 0 1px 2px rgba(56, 65, 74, .15); }
.pt-shop-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--vz-body-color); }
.pt-shop-tabs a:hover { background: var(--vz-light); }
.pt-shop-tabs a small { font-size: 11.5px; color: var(--vz-secondary-color); font-weight: 600; }
.pt-shop-tabs a em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--pt-shop-deal); }
.pt-shop-tabs a.active { background: #434A54; color: #FFF; }
.pt-shop-tabs a.active small { color: rgba(255, 255, 255, .7); }
.pt-shop-tabs a.active em { color: #FFB4B4; }
.pt-shop-search { position: relative; width: 300px; max-width: 100%; }
.pt-shop-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 17px; color: var(--vz-secondary-color); pointer-events: none; }
.pt-shop-search .form-control { padding: 9px 12px 9px 36px; border-radius: 10px; border-color: transparent; box-shadow: 0 1px 2px rgba(56, 65, 74, .15); }
.pt-shop-search .form-control:focus { border-color: var(--pt-accent); }

/* — Ürün kartı — */
.pt-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 20px; margin-bottom: 24px; }
.pt-shop-card { margin: 0; overflow: hidden; border-radius: 12px; transition: box-shadow .18s, transform .18s; }
.pt-shop-card:hover { box-shadow: 0 10px 28px rgba(30, 32, 37, .1); transform: translateY(-2px); }
.pt-shop-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--vz-light); color: var(--vz-secondary-color); font-size: 40px; }
.pt-shop-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-shop-flag { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: #FFF; background: #6B7280; }
.pt-shop-flag.is-deal { background: var(--pt-shop-deal); }
.pt-shop-flag.is-soon { background: #3B82F6; }
.pt-shop-flag.is-out { background: #6B7280; }
.pt-shop-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 16px; }
.pt-shop-brand { display: block; font-size: 12px; font-weight: 500; color: var(--vz-secondary-color); }
.pt-shop-name { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--vz-heading-color); }
.pt-shop-name:hover { color: var(--pt-accent); }
.pt-shop-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--vz-secondary-color); }
.pt-shop-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pt-shop-pricebox { display: flex; flex-direction: column; min-width: 0; }
.pt-shop-pricebox s { font-size: 12px; color: var(--vz-secondary-color); }
.pt-shop-price { font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--vz-heading-color); font-variant-numeric: tabular-nums; }
.pt-shop-price.is-deal { color: var(--pt-shop-deal); }
.pt-shop-note { font-size: 12px; font-weight: 600; color: var(--vz-secondary-color); }
.pt-shop-note.is-low { color: var(--pt-shop-orange-dark); }
.pt-shop-note.is-soon { color: #2563EB; font-size: 13px; }
.pt-shop-note.is-cart { color: var(--vz-success); }
.pt-shop-note.is-cart i { margin-right: 3px; }
.pt-shop-plus { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--pt-shop-orange); color: #FFF; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.pt-shop-plus:hover { background: var(--pt-shop-orange-dark); }
.pt-shop-plus:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(242, 138, 30, .35); }
.pt-shop-plus.is-done { background: var(--vz-success); }
.pt-shop-plus:disabled { opacity: .7; }

/* — Ürün sayfası — */
.pt-shop-detail { border-radius: 14px; }
.pt-shop-detail > .card-body { padding: 24px; }
.pt-shop-main { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--vz-light); border-radius: 12px; overflow: hidden; color: var(--vz-secondary-color); font-size: 64px; }
.pt-shop-main img { width: 100%; height: 100%; object-fit: cover; }
.pt-shop-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pt-shop-thumbs button { width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--vz-light); opacity: .75; }
.pt-shop-thumbs button:hover { opacity: 1; }
.pt-shop-thumbs button.active { border-color: var(--pt-shop-orange); opacity: 1; }
.pt-shop-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pt-shop-title { margin: 4px 0 8px; font-size: 26px; font-weight: 700; letter-spacing: -.3px; color: var(--vz-heading-color); }
.pt-shop-lead { font-size: 15px; line-height: 1.55; color: var(--vz-secondary-color); margin-bottom: 18px; }
.pt-shop-pricecard { padding: 18px 20px; border-radius: 12px; background: var(--vz-light); margin-bottom: 16px; }
.pt-shop-was { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--vz-secondary-color); }
.pt-shop-was span { padding: 1px 7px; border-radius: 5px; background: var(--pt-shop-deal); color: #FFF; font-size: 12px; font-weight: 700; }
.pt-shop-pricebig { font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; color: var(--vz-heading-color); font-variant-numeric: tabular-nums; }
.pt-shop-pricebig.is-deal { color: var(--pt-shop-deal); }
.pt-shop-tax { font-size: 12.5px; color: var(--vz-secondary-color); margin-top: 2px; }
.pt-shop-ends { font-size: 12.5px; font-weight: 600; color: var(--pt-shop-deal); margin-top: 2px; }
.pt-shop-buyrow { display: flex; gap: 10px; }
.pt-shop-buyrow .btn { border-radius: 10px; font-size: 15px; }
.pt-shop-qty { display: inline-flex; align-items: center; flex-shrink: 0; border: 1px solid var(--vz-border-color); border-radius: 10px; background: var(--vz-card-bg); overflow: hidden; }
.pt-shop-qty button { width: 42px; height: 46px; border: 0; background: transparent; color: var(--vz-body-color); font-size: 18px; }
.pt-shop-qty button:hover:not(:disabled) { background: var(--vz-light); }
.pt-shop-qty button:disabled { opacity: .35; }
.pt-shop-qty input, .pt-shop-qty output { width: 46px; border: 0; text-align: center; font-weight: 700; font-size: 15px; background: transparent; color: var(--vz-heading-color); -moz-appearance: textfield; }
.pt-shop-qty input:focus { outline: 0; }
.pt-shop-qty input::-webkit-outer-spin-button, .pt-shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pt-shop-qty.is-sm button { width: 34px; height: 36px; font-size: 16px; }
.pt-shop-qty.is-sm output { width: 34px; font-size: 14px; }
.pt-shop-stock { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--vz-success); }
.pt-shop-stock i { font-size: 9px; }
.pt-shop-stock.is-low { color: var(--pt-shop-orange-dark); }
.pt-shop-stock.is-out { color: var(--vz-secondary-color); font-weight: 500; }
.pt-shop-stock.is-out i { font-size: 16px; }
.pt-shop-incart { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--vz-success); }
.pt-shop-assure { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 16px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--vz-border-color); }
.pt-shop-assure li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--vz-body-color); }
.pt-shop-assure i { font-size: 18px; color: var(--pt-accent); }
.pt-shop-assure.is-col { grid-template-columns: 1fr; }
.pt-shop-h { font-size: 16px; font-weight: 600; color: var(--vz-heading-color); margin-bottom: 12px; }
.pt-shop-desc { font-size: 14px; line-height: 1.65; max-width: 80ch; }

/* — Sepet sayfası — */
.pt-cartlist { list-style: none; margin: 0; padding: 0; }
.pt-cartlist > li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 120px 36px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--vz-border-color); }
.pt-cartlist > li:last-child { border-bottom: 0; padding-bottom: 0; }
.pt-cartlist > li.has-problem .pt-cartlist-img { opacity: .55; }
.pt-cartlist-img { width: 76px; height: 57px; border-radius: 8px; overflow: hidden; background: var(--vz-light); display: flex; align-items: center; justify-content: center; color: var(--vz-secondary-color); font-size: 22px; }
.pt-cartlist-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-cartlist-info { display: flex; flex-direction: column; min-width: 0; }
.pt-cartlist-name { font-size: 14.5px; font-weight: 600; color: var(--vz-heading-color); }
.pt-cartlist-name:hover { color: var(--pt-accent); }
.pt-cartlist-unit { font-size: 12.5px; color: var(--vz-secondary-color); }
.pt-cartlist-unit em { font-style: normal; font-weight: 700; color: var(--pt-shop-deal); margin-left: 6px; }
.pt-cartlist-problem { font-size: 12.5px; font-weight: 600; color: var(--vz-danger); margin-top: 2px; }
.pt-cartlist-problem i { margin-right: 4px; }
.pt-cartlist-sum { text-align: right; font-size: 15px; color: var(--vz-heading-color); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-cartlist-del button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--vz-secondary-color); font-size: 18px; }
.pt-cartlist-del button:hover { background: rgba(var(--vz-danger-rgb), .1); color: var(--vz-danger); }
@media (max-width: 767.98px) {
    .pt-cartlist > li { grid-template-columns: 64px minmax(0, 1fr) 32px; grid-template-areas: "img info del" "img qty sum"; gap: 8px 12px; }
    .pt-cartlist-img { grid-area: img; width: 64px; height: 48px; align-self: start; }
    .pt-cartlist-info { grid-area: info; }
    .pt-cartlist > li > form.pt-shop-qty { grid-area: qty; justify-self: start; }
    .pt-cartlist-sum { grid-area: sum; }
    .pt-cartlist-del { grid-area: del; align-self: start; }
}

/* — Satın alma adımları (Sepet · Teslimat · Fatura · Onay · Ödeme) — */
.pt-buysteps { list-style: none; display: flex; margin: 0 0 20px; padding: 16px 12px 14px; border-radius: 12px; background: var(--vz-card-bg); box-shadow: 0 1px 2px rgba(56, 65, 74, .15); scroll-margin-top: 90px; }
.pt-buysteps li { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pt-buysteps li + li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; border-radius: 2px; background: var(--vz-border-color); }
.pt-buysteps li > span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vz-light); color: var(--vz-secondary-color); font-size: 13.5px; font-weight: 600; }
.pt-buysteps li > span i { display: none; font-size: 17px; }
.pt-buysteps li small { font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--vz-secondary-color); }
.pt-buysteps li.on > span { background: var(--pt-shop-orange); color: #FFF; box-shadow: 0 0 0 4px rgba(242, 138, 30, .18); }
.pt-buysteps li.on small { color: var(--vz-heading-color); }
.pt-buysteps li.done > span { background: rgba(242, 138, 30, .14); color: var(--pt-shop-orange-dark); }
.pt-buysteps li.done > span b { display: none; }
.pt-buysteps li.done > span i { display: inline; }
.pt-buysteps li.done + li::before { background: var(--pt-shop-orange); }

/* — Vitrin ürünü (yönetimde seçilen) — */
.pt-shop-hero h2 a { color: inherit; }
.pt-shop-hero-brand { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--vz-secondary-color); }
.pt-shop-hero-brand + h2 { margin-top: 2px; }
.pt-shop-hero-lead { margin: 0 0 12px; max-width: 46ch; font-size: 14px; color: var(--vz-body-color); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-shop-hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.pt-shop-hero-price b { font-size: 26px; font-weight: 700; color: var(--vz-heading-color); }
.pt-shop-hero-price b.is-deal { color: var(--pt-shop-deal); }
.pt-shop-hero-price s { font-size: 14px; color: var(--vz-secondary-color); }
.pt-shop-hero-price em { font-style: normal; font-size: 12px; font-weight: 700; color: #FFF; background: var(--pt-shop-deal); padding: 2px 7px; border-radius: 6px; }
.pt-shop-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.pt-shop-hero-cta form { margin: 0; }
.pt-shop-hero-more { display: inline-flex; align-items: center; font-weight: 600; color: var(--pt-shop-orange-dark); }
.pt-shop-hero-more:hover { color: var(--pt-shop-orange); }
.pt-shop-hero-img.is-product { color: var(--pt-shop-orange); }
.pt-shop-hero-img .pt-shop-flag { top: 16px; left: 16px; }

/* — Sekmeler + arama + kartlar: sekme / arama sayfa yenilenmeden (_Catalog) — */
.pt-shop-catalog { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 12px; scroll-margin-top: 90px; }
.pt-shop-catalog > .pt-shop-search { grid-column: 2; grid-row: 1; margin: 8px 0 16px; }
.pt-shop-catalog-body { display: contents; }
.pt-shop-catalog-body > .pt-shop-bar { grid-column: 1; grid-row: 1; }
.pt-shop-catalog-body > .pt-shop-grid, .pt-shop-catalog-body > .pt-shop-empty { grid-column: 1 / -1; }
.pt-shop-catalog-body.is-busy > .pt-shop-grid { opacity: .5; transition: opacity .15s; }

/* — Onay: sözleşme onayı ve sözleşme penceresi — */
.pt-accept { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--vz-light); }
.pt-accept .form-check-input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer; }
.pt-accept label { flex: 1 1 0; min-width: 0; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.pt-accept-link { padding: 0; border: 0; background: none; font-weight: 600; color: var(--pt-shop-orange-dark); text-decoration: underline; text-underline-offset: 2px; text-align: left; }
.pt-accept-err { display: none; flex-basis: 100%; padding-left: 30px; font-size: 12.5px; color: var(--vz-danger); }
.pt-accept.is-invalid, .pt-accept:has(.is-invalid) { background: rgba(var(--vz-danger-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--vz-danger-rgb), .35); }
.pt-accept.is-invalid .pt-accept-err, .pt-accept:has(.is-invalid) .pt-accept-err { display: block; }
.shop-contract { font-size: 13.5px; line-height: 1.6; color: var(--vz-body-color); }
.shop-contract h4 { margin: 4px 0 12px; font-size: 15px; font-weight: 700; color: var(--vz-heading-color); }
.shop-contract h4 ~ h4 { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--vz-border-color); }
.shop-contract h5 { margin: 16px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--vz-heading-color); }
.shop-contract p { margin: 0 0 8px; }
.shop-contract dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 3px 12px; margin: 0; }
.shop-contract dt { font-weight: 500; color: var(--vz-secondary-color); }
.shop-contract dd { margin: 0; }
.shop-contract-table { overflow-x: auto; margin-bottom: 8px; }
.shop-contract table { width: 100%; border-collapse: collapse; }
.shop-contract th, .shop-contract td { padding: 6px 8px; border-bottom: 1px solid var(--vz-border-color); text-align: left; }
.shop-contract th { font-size: 12px; font-weight: 600; color: var(--vz-secondary-color); }
.shop-contract .num { text-align: right; white-space: nowrap; }
.shop-contract tfoot .total td { font-weight: 700; color: var(--vz-heading-color); }
.shop-contract-date { margin-top: 16px !important; font-weight: 600; }
@media (max-width: 575.98px) {
    .shop-contract dl { grid-template-columns: 1fr; }
    .shop-contract dd { margin-bottom: 6px; }
}
.pt-wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: transparent; }
.pt-review { height: 100%; padding: 14px 16px; border-radius: 10px; background: var(--vz-light); }
.pt-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pt-review-head b { font-size: 13px; color: var(--vz-heading-color); }
.pt-review p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--vz-body-color); overflow-wrap: anywhere; }
.pt-sumlines { list-style: none; margin: 0 0 12px; padding: 0; }
.pt-sumlines li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.pt-sumlines-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; color: var(--vz-heading-color); }
.pt-sumlines-name small { font-size: 11.5px; font-weight: 400; color: var(--vz-secondary-color); }
.pt-sumlines b { font-size: 13px; white-space: nowrap; }
[data-shop-cart].is-busy { opacity: .6; pointer-events: none; transition: opacity .15s; }

/* — Ödeme ve siparişler (önceki görünüm) — */
.pt-shop-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--vz-light); display: inline-flex; align-items: center; justify-content: center; color: var(--vz-secondary-color); font-size: 22px; flex-shrink: 0; }
.pt-shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pt-shop-thumb-sm { width: 40px; height: 40px; font-size: 18px; }
.pt-shop-sticky { position: sticky; top: calc(70px + 1.5rem); }
.pt-shop-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 24px 0 8px; position: relative; }
.pt-shop-steps::before { content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 3px; background: var(--vz-border-color); }
.pt-shop-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pt-shop-steps li span { width: 36px; height: 36px; border-radius: 50%; background: var(--vz-border-color); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 17px; position: relative; }
.pt-shop-steps li.on span { background: var(--vz-success); }
.pt-shop-steps li b { font-size: 12.5px; font-weight: 600; color: var(--vz-secondary-color); }
.pt-shop-steps li.on b { color: var(--vz-heading-color); }
.pt-shop-steps li small { font-size: 11.5px; color: var(--vz-secondary-color); }
.pt-shop-cargo { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 14px; border-radius: 8px; background: rgba(var(--vz-primary-rgb), .06); }
.pt-shop-cargo > i { font-size: 26px; color: var(--pt-purple); }
.pt-shop-cargo b { font-variant-numeric: tabular-nums; letter-spacing: .5px; }

@media (max-width: 1199.98px) { .pt-shop-sticky { position: static; } }
@media (max-width: 991.98px) {
    .pt-shop-hero { grid-template-columns: 1fr; }
    .pt-shop-hero-img { order: -1; min-height: 200px; aspect-ratio: 16 / 7; }
    .pt-shop-hero-text { padding: 24px; }
    .pt-shop-hero h2 { font-size: 23px; }
    .pt-shop-search { width: 100%; }
    .pt-shop-catalog { grid-template-columns: minmax(0, 1fr); }
    .pt-shop-catalog > .pt-shop-search { grid-column: 1; grid-row: 1; margin: 8px 0 0; }
    .pt-shop-catalog-body > .pt-shop-bar { grid-row: 2; }
    .pt-buysteps li small { font-size: 11px; }
}
@media (max-width: 575.98px) {
    .pt-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pt-shop-body { padding: 12px; }
    .pt-shop-summary { display: none; }
    .pt-shop-price { font-size: 16px; }
    .pt-shop-plus { width: 36px; height: 36px; font-size: 19px; }
    .pt-shop-buyrow { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pt-shop-card { transition: none; } .pt-cart-btn.is-bump { animation: none; } }

/* Bovisio Sense: kararın nedenleri (Views/Home/_Behavior) ve tasma listesindeki sorun kutusu (SmartCollar/Index) */
.bh-reasons-title { margin: 14px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--vz-secondary-color, #878a99); }
.bh-reasons { list-style: none; margin: 0; padding: 0; }
.bh-reasons li + li { border-top: 1px dashed var(--vz-border-color, #e9ebec); }
.bh-reasons a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: inherit; }
.bh-reasons a:hover .bh-reason-body b { color: var(--vz-primary, #37BC9B); }
.bh-reason-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.4; }
.bh-reason-body b { font-size: 13px; font-weight: 600; }
.bh-reason-body > span { color: var(--vz-secondary-color, #6c757d); }
.bh-reasons li.is-urgent .bh-reason-body b { color: #c23848; }
.bh-reason-ne { display: flex; gap: 5px; color: var(--vz-body-color, #212529) !important; font-weight: 500; }
.bh-reason-ne i { color: var(--vz-primary, #37BC9B); }
.bh-reason-pts { flex-shrink: 0; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; background: rgba(218,68,83,.10); color: #c23848; }
.bh-collar-issue { display: flex; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.45; background: rgba(233,87,63,.09); }
.bh-collar-issue.is-danger { background: rgba(218,68,83,.10); }
.bh-collar-issue.is-info { background: rgba(170,178,189,.15); }
.bh-collar-issue > i { font-size: 16px; line-height: 1.2; color: #c9452f; }
.bh-collar-issue.is-danger > i { color: #c23848; }
.bh-collar-issue b { display: block; }
.bh-collar-issue span { color: var(--vz-body-color, #212529); }
.bh-behavior-issue { display: flex; gap: 12px; align-items: flex-start; }
.bh-behavior-issue > i { font-size: 24px; color: #c23848; line-height: 1; }
.bv-beh-chip.bv-beh-nodata { background: #DA4453 !important; color: #fff !important; }

/* SheepAl: koyun simgesi (MDI'da koyun yok) — "mdi mdi-ewe" her yerde bu maskeyle çizilir, rengi yazı rengidir */
.mdi-ewe::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("../img/brand/sheep-icon.svg") center / contain no-repeat;
    mask: url("../img/brand/sheep-icon.svg") center / contain no-repeat;
}

/* ── Toplu işlem (BulkManagement; mobil ile ortak liste) ───────────────── */
.pt-ops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pt-ops-wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pt-op { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--vz-border-color); border-radius: 8px; color: var(--vz-body-color); background: var(--vz-secondary-bg); transition: border-color .15s, background .15s; }
.pt-op:hover { border-color: var(--pt-accent); color: var(--vz-body-color); background: rgba(var(--pt-accent-rgb), .05); }
.pt-op.is-off { opacity: .5; pointer-events: none; }
.pt-op-ico { width: 34px; height: 34px; border-radius: 8px; display: inline-grid; place-items: center; flex-shrink: 0; font-size: 18px; }
.pt-op-ico-sm { width: 26px; height: 26px; font-size: 15px; border-radius: 6px; vertical-align: middle; }
.pt-op-name { flex: 1 1 auto; font-weight: 600; font-size: 13px; line-height: 1.3; }
.pt-op-name small { display: block; font-weight: 400; color: var(--vz-secondary-color); font-size: 12px; margin-top: 2px; }
.pt-op em { font-style: normal; font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(var(--pt-accent-rgb), .12); color: var(--pt-accent); }
.pt-table .pt-check { width: 36px; padding-right: 0; }
.pt-pickbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: sticky; bottom: 0; z-index: 3; background: var(--vz-secondary-bg); box-shadow: 0 -4px 12px rgba(0, 0, 0, .05); }
.pt-selbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 16px; background: rgba(var(--pt-accent-rgb), .07); border-bottom: 1px solid var(--vz-border-color); }
.pt-seg-sm .btn { padding: 2px 10px; font-size: 12px; }
