/* pys_module_themes_4_polish.css
 * ===========================================================================
 * KAYNAK: pys_module_themes.css satir 3404-4571 (bolundu: 2026-08-28)
 *
 * !! YUKLEME SIRASI KRITIK !!
 * Bu dosya ailesi (pys_module_themes_1..7) UC YERDE numara sirasiyla
 * yuklenmek ZORUNDA: web/index.html, web/yonetim/index.html ve
 * pys_motivation_system.js yazdirma penceresi. Dosya kronolojik bolundu:
 * sonraki parcalar oncekileri KASITLI eziyor. Sira bozulursa gorunum
 * sessizce bozulur (hata vermez).
 *
 * ICERIK: Geri bildirim paneli, HCP UX polish (tum modul), kategori rozeti, bos durum aksiyonu, panel yukleme hatasi, hafta ilerleme ozeti, kategori filtre cipleri, dokunma hedefi 24x24, kategori noktasi
 * ===========================================================================
 */
/* —— Geri bildirim paneli —— */
.hcp-fb-panel {
    padding: 4px 0 20px;
}
.hcp-fb-panel__head {
    margin-bottom: 14px;
}
.hcp-fb-panel__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-text-primary, #0f172a);
    margin: 0 0 4px;
}
.hcp-fb-panel__lead {
    font-size: 13px;
    color: var(--color-text-secondary, #64748b);
    margin: 0;
    line-height: 1.45;
}
.hcp-fb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.hcp-fb-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 2px solid var(--color-border-tertiary, #e2e8f0);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-secondary, #64748b);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hcp-fb-tab__icon { font-size: 12px; opacity: 0.85; }
.hcp-fb-tab.is-active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}
.hcp-fb-tab[data-hcp-fb-tab="all_notifications"].is-active {
    background: linear-gradient(135deg, #185fa5, #378add);
    box-shadow: 0 4px 14px rgba(24, 95, 165, 0.28);
}
.mark-dot { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:500; flex-shrink:0; }
.mark-dot.plus { background:#D1FAE5; border:.5px solid #5FD98C; color:#166534; }
.mark-dot.minus { background:#FCEBEB; border:.5px solid #F09595; color:#A32D2D; }
.mark-dot.revise { background:#FEF3C7; border:.5px solid #FBBF24; color:#B45309; font-size:10px; }
.mark-dot.dd { background:#E6F1FB; border:.5px solid #85B7EB; color:#185FA5; font-size:9px; }
.mark-dot.none { background:var(--color-background-secondary); border:.5px solid var(--color-border-tertiary); color:var(--color-text-tertiary); }

/* Ölü 'hcp-view-feedbacks' blokları kaldırıldı: sınıf hiçbir yerde body'ye
   eklenmiyordu ve içindeki "#hcp-shell-plan.hidden { display:block !important }"
   kuralı, sınıf yanlışlıkla eklenirse gizli paneli görünür kılan bir tuzaktı.
   Plan içi geri bildirim alt görünümü de UX-12 (karar A) ile sekmeye yönlendirildi. */
.hcp-fb-close-slot { display: inline-flex; margin-right: 8px; }
.hcp-fb-close-btn--bar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hcp-fb-close-btn--bar:hover { background: rgba(255,255,255,0.22); }
.hcp-feedbacks-active #hcp-plan-back-slot .hcp-back-btn {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.hcp-feedbacks-active #hcp-plan-back-slot .hcp-back-btn:hover {
    background: rgba(255,255,255,0.22);
}
.hcp-fb-marks { display: flex; gap: 4px; flex-shrink: 0; }
.hcp-fb-mark {
    width: 28px; height: 28px; border-radius: 7px;
    border: 1px solid #e2e8f0; background: #f8fafc;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #94a3b8; opacity: 0.55;
}
.hcp-fb-mark.is-active { opacity: 1; box-shadow: 0 1px 4px rgba(15,23,42,0.08); }
.hcp-fb-mark--plus.is-active { background: #d1fae5; border-color: #34d399; color: #047857; }
.hcp-fb-mark--minus.is-active { background: #fee2e2; border-color: #f87171; color: #b91c1c; }
.hcp-fb-mark--revise.is-active { background: #fef3c7; border-color: #f59e0b; color: #b45309; }
.hcp-fb-mark--dd.is-active { background: #ede9fe; border-color: #a78bfa; color: #6d28d9; font-size: 9px; }
.hcp-fb-mark--ontrack.is-active { background: #ccfbf1; border-color: #2dd4bf; color: #0f766e; }
.hcp-fb-mark--speedup.is-active { background: #fef3c7; border-color: #fbbf24; color: #92400e; }
.hcp-fb-week-tags { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.hcp-fb-week-tag {
    font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
    background: #FBFAF6; color: #475569;
}
.hcp-fb-week-tag--plus { background: #ecfdf5; color: #047857; }
.hcp-fb-week-tag--minus { background: #fef2f2; color: #b91c1c; }
.hcp-fb-week-tag--revise { background: #fffbeb; color: #b45309; }
.hcp-fb-week-tag--dd { background: #eff6ff; color: #1d4ed8; }
.hcp-fb-week-tag--ontrack { background: #f0fdfa; color: #0f766e; }
.hcp-fb-week-tag--speedup { background: #fffbeb; color: #92400e; }
.hcp-fb-item__detail-btn {
    font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
    border: 1px solid #cbd5e1; background: #fff; color: #1b2a2e;
    cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px;
}
.hcp-fb-item__detail-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.hcp-fb-item__aside { flex-direction: column; align-items: flex-end; gap: 8px; }
.hcp-fb-detail__hero .hcp-fb-marks { margin-top: 2px; }
.hcp-fb-detail__hero .hcp-fb-mark { width: 32px; height: 32px; font-size: 12px; }
.hcp-fb-page {
    padding: 0 0 2rem;
}
.hcp-fb-page .pys-hcp-banner-wrap {
    margin-bottom: 0;
}
.hcp-fb-page__intro {
    padding: 12px 1.25rem 0;
    max-width: 920px;
    margin: 0 auto;
}
.hcp-fb-page__intro .hcp-fb-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--color-border-tertiary, #e2e8f0);
}
.hcp-fb-page__intro .hcp-fb-legend__text {
    color: var(--color-text-secondary, #64748b);
}
.hcp-fb-page__body { padding: 0 1rem; max-width: 920px; margin: 0 auto; }
.hcp-fb-page .hcp-fb-tabs {
    padding: 12px 1.25rem 0;
    max-width: 920px;
    margin: 0 auto 12px;
}
.hcp-fb-item-fb--revise {
    background: #FFFBEB;
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 10px;
    padding: 10px 12px;
}
.hcp-fb-item-fb--revise .hcp-fb-item-fb-type { color: #B45309; }
.hcp-fb-item-revision-note--empty {
    font-size: 12px;
    color: var(--color-text-secondary, #64748b);
    font-style: italic;
    margin: 4px 0 0;
}
.hcp-ctrl-fb-card--revision {
    background: #FFFBEB;
    border-color: rgba(251, 191, 36, 0.45);
}
.hcp-ctrl-fb-card--revision .hcp-ctrl-fb-card-type { color: #B45309; }
.hcp-fb-badge--revise {
    background: #FEF3C7;
    color: #B45309;
    border-color: rgba(245,158,11,.35);
}
.hcp-fb-week-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--color-border-tertiary);
    background: #fafcfd;
}
.hcp-fb-week-stat {
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid var(--color-border-tertiary);
}
.hcp-fb-week-stat:last-child { border-right: 0; }
.hcp-fb-week-stat__value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.hcp-fb-week-stat__value--ok { color: #15803D; }
.hcp-fb-week-stat__value--streak {
    color: #BA7517;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.hcp-fb-week-stat__label {
    font-size: 10px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}
.hcp-fb-item-row--revise { background: #FFFBEB; }
.hcp-fb-section-label--priority {
    background: #FFF7ED;
    color: #9A3412;
}
.hcp-fb-week-head--new {
    background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
}
.hcp-fb-week-new {
    background: #059669;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: none;
    padding: 2px 7px;
    border-radius: 4px;
}
.hcp-fb-week-card {
    background: #fff;
    border: 1px solid var(--color-border-tertiary);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.hcp-fb-week-list { display: flex; flex-direction: column; gap: 10px; }
.hcp-fb-week-head { border-bottom: 0; }
.hcp-fb-week-body { border-top: 1px solid var(--color-border-tertiary); }
.hcp-fb-item-row { padding: 12px 16px; }
.hcp-fb-item-row--priority { box-shadow: inset 0 0 0 1px rgba(245,158,11,.40); }
.hcp-fb-week-card { border-bottom:.5px solid var(--color-border-tertiary); }
.hcp-fb-week-head { padding:10px 16px; cursor:pointer; display:flex; align-items:center; gap:10px; }
.hcp-fb-week-head--new { background:#ECFDF5; }
.hcp-fb-week-head--new .hcp-fb-week-title { color: #15803D; }
.hcp-fb-week-marks { display:flex; gap:4px; flex-wrap:wrap; max-width:min(240px, 42vw); justify-content:flex-end; }
.hcp-fb-week-mark-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 4px 1px 2px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
}
.hcp-fb-week-mark-count {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-secondary);
}
.hcp-fb-page__banner .hcp-back-btn {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.hcp-feedbacks-active #hcp-plan-back-slot .hcp-back-btn {
    border-color: #cbd5e1;
    background: #fff;
    color: #1b2a2e;
}
.hcp-feedbacks-active #hcp-plan-back-slot .hcp-back-btn:hover {
    background: #f8fafc;
}
.hcp-feedbacks-active #hcp-header-action-bar .hcp-header-vsep:last-of-type {
    display: none;
}
.hcp-fb-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 1.25rem 8px;
    max-width: 920px;
    margin: 0 auto;
}
.hcp-fb-topbar__text { min-width: 0; }
.hcp-fb-topbar__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary, #0f172a);
}
.hcp-fb-topbar__lead {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--color-text-secondary, #64748b);
}
.hcp-fb-topbar .hcp-back-btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #1b2a2e;
    flex-shrink: 0;
}
.hcp-fb-topbar .hcp-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.hcp-fb-page__intro {
    padding: 0 1rem 0.75rem;
}
.hcp-fb-week-new {
    font-size:10px; font-weight:700; letter-spacing:.04em;
    padding:2px 6px; border-radius:9999px; background:#19C37D; color:#fff; flex-shrink:0;
}
.hcp-fb-report-strip { padding:10px 16px; border-bottom:.5px solid var(--color-border-tertiary); display:flex; align-items:center; gap:8px; background:#ECFDF5; cursor:pointer; border-top:.5px solid rgba(22,163,74,.2); }
.hcp-fb-report-body { padding:10px 16px 12px; background:#FBFAF6; border-bottom:.5px solid var(--color-border-tertiary); }
.hcp-fb-report-body__inner { font-size:12px; line-height:1.55; color:var(--color-text-secondary); white-space:pre-wrap; }
.hcp-fb-item-row { padding:8px 16px; border-bottom:.5px solid var(--color-border-tertiary); display:flex; align-items:flex-start; gap:8px; }
.hcp-fb-item-row--priority { background:#FFFBEB; }
.hcp-fb-item-row--plus { background:#FAFDFC; }
.hcp-fb-item-fbs { margin-top:6px; display:flex; flex-direction:column; gap:6px; }
.hcp-fb-item-fb { padding:7px 10px; border-radius:0 6px 6px 0; font-size:12px; line-height:1.5; }
.hcp-fb-item-fb-head { display:flex; align-items:center; gap:6px; margin-bottom:4px; font-size:10px; font-weight:600; }
.hcp-fb-item-fb-type { letter-spacing:.04em; }
.hcp-fb-item-fb-author { color:var(--color-text-tertiary); font-weight:500; }
.hcp-fb-item-fb-text { margin:0; }
.hcp-fb-item-fb--plus { background:#ECFDF5; color:#166534; }
.hcp-fb-item-fb--minus { background:#FEF2F2; color:#991B1B; }
.hcp-fb-item-eval-note { margin-top:6px; font-size:11px; line-height:1.45; color:var(--color-text-secondary); font-style:italic; }
.hcp-fb-item-no-fb { margin-top:6px; font-size:11px; color:var(--color-text-tertiary); }
.hcp-fb-section-label {
    padding:8px 16px; font-size:11px; font-weight:600;
    display:flex; align-items:center; gap:6px;
    border-bottom:.5px solid var(--color-border-tertiary);
}
.hcp-fb-section-label--priority { background:#FEF2F2; color:#991B1B; }
.hcp-fb-section-label--other { background:#F8FAFC; color:#475569; }
.hcp-fb-week-empty { padding:12px 16px; font-size:12px; color:var(--color-text-tertiary); }
.hcp-fb-panel--page .hcp-fb-panel__lead { padding:0 16px 10px; margin:0; font-size:12px; line-height:1.5; color:var(--color-text-secondary); }
.hcp-fb-notif-list { display:flex; flex-direction:column; }
.hcp-fb-notif-row { padding:10px 16px; border-bottom:.5px solid var(--color-border-tertiary); display:flex; align-items:flex-start; gap:8px; }
.hcp-fb-notif-week { font-size:10px; color:var(--color-text-tertiary); flex-shrink:0; }
.hcp-fb-notif-text { margin-top:4px; font-size:12px; line-height:1.5; color:var(--color-text-secondary); }
.hcp-fb-notif-text--muted { color:var(--color-text-tertiary); font-style:italic; }
.hcp-fb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hcp-fb-card {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hcp-fb-card--appreciation { box-shadow: inset 0 0 0 1px rgba(5,150,105,.40); }
.hcp-fb-card--correction { box-shadow: inset 0 0 0 1px rgba(217,119,6,.40); }
.hcp-fb-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.hcp-fb-card__time {
    margin-left: auto;
    font-size: 11px;
    color: var(--color-text-tertiary, #94a3b8);
}
.hcp-fb-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary, #0f172a);
    margin: 0 0 6px;
}
.hcp-fb-card__body {
    font-size: 14px;
    color: var(--color-text-secondary, #475569);
    margin: 0 0 8px;
    line-height: 1.5;
}
.hcp-fb-card__meta {
    font-size: 11px;
    color: var(--color-text-tertiary, #94a3b8);
    margin: 0;
}
.hcp-fb-goto {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}
.hcp-fb-dd-note {
    font-size: 11px;
    color: #0369a1;
    margin: 4px 0 0;
    width: 100%;
}
.hcp-fb-empty {
    text-align: center;
    padding: 32px 20px;
    border-radius: 14px;
    border: 1px dashed var(--color-border-tertiary, #cbd5e1);
    background: rgba(248, 250, 252, 0.8);
}
.hcp-fb-empty__icon {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}
.hcp-fb-empty__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary, #1b2a2e);
    margin: 0 0 6px;
}
.hcp-fb-empty__desc {
    font-size: 12px;
    color: var(--color-text-tertiary, #94a3b8);
    margin: 0;
    line-height: 1.45;
}
.hcp-fb-loading {
    font-size: 13px;
    color: var(--color-text-tertiary, #94a3b8);
    padding: 20px 0;
    text-align: center;
}
/* —— HÇP UX polish (tüm modül) —— */
.hcp-panel-msg--info { color: #64748b; }
.hcp-panel-msg--error { color: #b91c1c; font-weight: 600; }
.hcp-panel-msg--accent { color: #0e7490; font-weight: 600; }

.pys-module-subtabs [data-hcp-subtab]:focus-visible {
    outline: 2px solid var(--color-action-primary, #3FA0EC);
    outline-offset: 2px;
}

.hcp-hero-week-nav .pys-hero-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.55rem;
}
@media (max-width: 639px) {
    .hcp-hero-week-nav .pys-hero-btn--ghost:not(.pys-hero-btn--icon) {
        padding: 0.35rem 0.45rem;
        font-size: 0.6875rem;
    }
}

.hcp-filter-chip {
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    padding: 0 15px 0 12px;
    border-radius: 20px;
    border: 1.5px solid var(--color-border-secondary);
    background: #fff;
    color: #1b2a2e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hcp-filter-chip:hover {
    border-color: var(--hcp1, #3FA0EC);
    background: #FAF8F2;
    transform: translateY(-1px);
}
.hcp-filter-chip.is-active {
    background: linear-gradient(135deg, var(--hcp1, #3FA0EC), var(--hcp2, #1E6FD0));
    color: #fff;
    border-color: transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 10px rgba(0,0,0,.14);
}

.hcp-ic-btn--more {
    background: #FBFAF6;
    color: #475569;
}
@media (max-width: 639px) {
    .hcp-action-group .hcp-action-secondary { display: none; }
    .hcp-strip1 { gap: 8px; }
    .hcp-strip-submit { flex: 1; justify-content: center; min-width: 0; }
}
@media (min-width: 640px) {
    #hcp-actions-menu-btn { display: none !important; }
}

.hcp-actions-menu {
    min-width: 11rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    padding: 6px;
    z-index: 70;
}
.hcp-actions-menu__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1b2a2e;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
}
.hcp-actions-menu__item:hover {
    background: #FBFAF6;
    color: #0f172a;
}

.hcp-item-row {
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hcp-item-row:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    border-color: #e2e8f0;
}
.hcp-item-row:focus-within {
    box-shadow: 0 0 0 2px rgba(63, 160, 236, 0.25);
}

.hcp-feedback-panel:not(.hidden) {
    animation: hcpFadeIn 0.2s ease;
}
@keyframes hcpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.hcp-section-empty {
    font-size: 0.8125rem;
    color: #64748B;
    font-style: italic;
    text-align: center;
    padding: 1.25rem 1rem;
}

.hcp-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}
.hcp-empty-state--violet {
    border-color: #ddd6fe;
    background: #faf5ff;
}
.hcp-empty-state__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}
.hcp-empty-state__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1b2a2e;
    margin: 0 0 0.25rem;
}
.hcp-empty-state__text {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.hcp-skeleton {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}
.hcp-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: hcpShimmer 1.4s infinite;
}
@keyframes hcpShimmer {
    100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
    .hcp-skeleton::after { animation: none; }
    .hcp-feedback-panel:not(.hidden) { animation: none; }
    .hcp-item-row { transition: none; }
}

.hcp-brief-block {
    transition: box-shadow 0.15s ease;
}
.hcp-brief-block:hover {
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.08);
}

html.pys-theme-dark .hcp-actions-menu {
    background: #1e293b;
    border-color: #1b2a2e;
}
html.pys-theme-dark .hcp-actions-menu__item {
    color: #e2e8f0;
}
html.pys-theme-dark .hcp-actions-menu__item:hover {
    background: #1b2a2e;
}
html.pys-theme-dark .hcp-filter-chip {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}
html.pys-theme-dark .hcp-empty-state {
    background: #0f172a;
    border-color: #1b2a2e;
}
html.pys-theme-dark .hcp-empty-state__title { color: #e2e8f0; }
html.pys-theme-dark .hcp-empty-state__text { color: #94a3b8; }

/* —— HÇP Tek Yüzey UX sadeleştirme —— */
.hcp-top-compact { margin-bottom: 0; }
.hcp-top-compact .hcp-strip1 { border-radius: 12px 12px 0 0; }

.hcp-plan-status-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: 12px;
    border: 1px solid transparent;
}
.hcp-plan-status-strip.hidden { display: none; }
.hcp-plan-status-strip__icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.875rem;
}
.hcp-plan-status-strip__body {
    flex: 1;
    min-width: 0;
}
.hcp-plan-status-strip__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
}
.hcp-plan-status-strip__detail {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.92;
}
.hcp-plan-status-strip__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}
.hcp-plan-status-strip__btn:hover { transform: translateY(-1px); }
.hcp-plan-status-strip--success {
    background: linear-gradient(135deg, #ecfdf5 0%, #ecfdf5 100%);
    border-color: #9fe1cb;
    color: #0f6e56;
}
.hcp-plan-status-strip--success .hcp-plan-status-strip__icon {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #9fe1cb;
}
.hcp-plan-status-strip--success .hcp-plan-status-strip__btn {
    background: #0f6e56;
    color: #fff;
    border-color: #0f6e56;
}
.hcp-plan-status-strip--closed {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
    color: #9a3412;
}
.hcp-plan-status-strip--closed .hcp-plan-status-strip__icon {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #fdba74;
    color: #c2410c;
}
.hcp-plan-status-strip--closed .hcp-plan-status-strip__btn {
    background: #fff;
    color: #c2410c;
    border-color: #ea580c;
}
.hcp-plan-status-strip--closed .hcp-plan-status-strip__btn:hover { background: #fff7ed; }
.hcp-plan-status-strip--review {
    background: linear-gradient(135deg, #f5f4ff 0%, #eeedfe 100%);
    border-color: #c7c2f0;
    color: #3c3489;
}
.hcp-plan-status-strip--review .hcp-plan-status-strip__icon {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #c7c2f0;
}
.hcp-plan-status-strip--hint {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    color: #92400e;
}
.hcp-plan-status-strip--hint .hcp-plan-status-strip__icon {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #fde68a;
    color: #b45309;
}
@media (max-width: 640px) {
    .hcp-plan-status-strip {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .hcp-plan-status-strip__btn {
        width: 100%;
        justify-content: center;
    }
}
.hcp-plan-week--closed {
    position: relative;
}
.hcp-plan-week--closed-readonly #hcp-sections-list {
    position: relative;
    opacity: 0.82;
    filter: grayscale(0.08);
}
.hcp-plan-week--closed-readonly #hcp-sections-list::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.18);
}
.hcp-plan-week--closed-readonly .hcp-item-row--leave-readonly .hcp-status-indicator--readonly {
    opacity: 0.9;
}
.hcp-plan-week--closed-manager #hcp-quick-add {
    border-color: #fdba74;
    background: rgba(255, 247, 237, 0.45);
}
.hcp-top-compact.hcp-top-compact--closed .hcp-strip1,
.hcp-top-compact.hcp-top-compact--closed .hcp-strip2--compact {
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.22);
}

.hcp-strip2--compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    border-top: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: var(--color-background-secondary, #f8fafc);
    border-radius: 0 0 12px 12px;
}
.hcp-strip2--compact .hcp-strip2-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.hcp-strip2--compact .hcp-progress-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-primary, #0f172a);
    white-space: nowrap;
}
.hcp-strip2--compact .hcp-progress-track {
    flex: 1;
    min-width: 60px;
    max-width: 140px;
    height: 6px;
}
.hcp-strip2--compact .hcp-status-line {
    font-size: 12px;
    color: var(--color-text-secondary, #64748b);
    text-align: right;
}
.hcp-gamif-panel--aux {
    margin: 0 1.25rem 6px;
}
.hcp-gamif-panel--aux .hcp-gamif-shield-notice,
.hcp-gamif-panel--aux .hcp-gamif-celebration {
    margin-bottom: 6px;
}
.hcp-ic-btn--feedback { position: relative; }
.hcp-ic-btn--feedback.is-active {
    background: #ede9fe !important;
    color: #6d28d9 !important;
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.35);
}
.hcp-fb-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7c3aed;
    border: 1.5px solid #fff;
}

.hcp-item-row--compact {
    border: none;
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    border-radius: 0;
    padding: 0 4px;
    background: transparent;
    box-shadow: none;
}
.hcp-item-title { font-size: 14px; font-weight: 600; color: #0f172a; }
.hcp-item-title--deleted { text-decoration: line-through; color: #94a3b8; }
.hcp-item-meta { font-size: 11px; color: #64748b; font-weight: 500; }
/* Kategori (iş alanı) rozeti — işin yanında görünür, tıklayınca değiştirilir */
.hcp-area-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 2px 8px 2px 7px;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.hcp-area-badge:hover { background: #e7f2ff; border-color: #3FA0EC; color: #1a63c4; }
.hcp-area-badge--static { cursor: default; opacity: 0.85; }
.hcp-area-badge--static:hover { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
/* Rozet taşması: "+N" hap butonu ve açılan ek rozetler */
.hcp-item-meta-more {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 18px; margin-left: 5px; padding: 0 6px;
    border: 1px solid #dbe4ee; border-radius: 999px;
    background: #eef2f7; color: #475569;
    font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.hcp-item-meta-more:hover { background: #e7f2ff; border-color: #3FA0EC; color: #1a63c4; }
.hcp-item-meta-extra { display: inline; }
.hcp-item-meta-extra.hidden { display: none; }
/* Boş durum aksiyonu — ilk işi eklemeye davet eden mavi buton */
.hcp-empty-add-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; padding: 9px 18px;
    border: none; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0); color: #fff;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 10px rgba(63, 160, 236, 0.35);
    transition: filter 0.15s, transform 0.12s;
}
.hcp-empty-add-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* Geri Bildirimler sekme rozeti — okunmamış geri bildirim sayısı */
.hcp-subtab-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 17px; height: 17px; padding: 0 5px; margin-left: 6px;
    border-radius: 999px; background: #EF4444; color: #fff;
    font-size: 11px; font-weight: 800; line-height: 1;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    vertical-align: middle;
}
.hcp-subtab-badge.hidden { display: none; }
/* Panel yükleme hatası — Tekrar Dene ile sayfa yenilemeden kurtarma */
.hcp-load-error {
    padding: 28px 20px; text-align: center;
    border-radius: 14px; background: #fff;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.12);
}
.hcp-load-error__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px;
    background: #FEF2F2; color: #DC2626; font-size: 18px;
}
.hcp-load-error__title { font-size: 14px; font-weight: 700; color: #0F172A; }
.hcp-load-error__text { font-size: 13px; color: #64748B; margin-top: 3px; }
.hcp-load-error__btn {
    margin-top: 14px; border: none; cursor: pointer;
    padding: 8px 18px; border-radius: 10px;
    background: linear-gradient(135deg, #3B82F6, #2563EB); color: #fff;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
    transition: filter 0.15s, transform 0.12s;
}
.hcp-load-error__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* #7 — Boş-durum bileşenine opsiyonel çağrı-aksiyonu butonu.
   Bileşenin kendisi (kutu + __icon/__title/__text + dark tema) ≈satır 3771'de tanımlı;
   burada YALNIZCA eksik olan aksiyon butonu eklenir (kopya değil). renderEmptyState() kullanır. */
.hcp-empty-state__btn {
    margin-top: 14px; border: none; cursor: pointer;
    padding: 8px 18px; border-radius: 10px;
    background: linear-gradient(135deg, var(--hcp1), var(--hcp2)); color: #fff;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 10px rgba(30, 111, 208, 0.28);
    transition: filter 0.15s, transform 0.12s;
}
.hcp-empty-state__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
/* Hafta ilerleme özeti — liste başında tek bakışta durum + süre */
.hcp-progress-band {
    margin-bottom: 12px; padding: 10px 14px;
    border-radius: 12px; background: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.10);
}
.hcp-progress-band__top {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 10px; flex-wrap: wrap; margin-bottom: 7px;
}
.hcp-progress-band__title {
    font-size: 13px; font-weight: 600; color: #334155;
}
.hcp-progress-band__title b { font-size: 14px; font-weight: 800; color: #15803D; }
.hcp-progress-band__time {
    font-size: 12px; font-weight: 600; color: #64748B; white-space: nowrap;
}
.hcp-progress-band__bar {
    display: flex; height: 6px; border-radius: 999px; overflow: hidden;
    background: #EEF2F7;
}
.hcp-progress-band__seg { display: block; height: 100%; }
.hcp-progress-band__seg + .hcp-progress-band__seg { margin-left: 2px; }
/* Kilit geri sayım şeridi — son 3 saatte listenin üstünde */
.hcp-deadline-strip {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px; padding: 10px 14px;
    border-radius: 12px; background: #FFF1F2;
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.16);
}
.hcp-deadline-strip__icon {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #FFE4E6; color: #E11D48; font-size: 13px;
    animation: hcpBellRing 2.4s ease-in-out infinite;
}
@keyframes hcpBellRing {
    0%, 88%, 100% { transform: rotate(0deg); }
    90% { transform: rotate(12deg); }
    92% { transform: rotate(-10deg); }
    94% { transform: rotate(7deg); }
    96% { transform: rotate(-5deg); }
    98% { transform: rotate(2deg); }
}
.hcp-deadline-strip__text {
    flex: 1; min-width: 0;
    font-size: 13px; font-weight: 600; color: #9F1239; line-height: 1.4;
}
.hcp-deadline-strip__text b { font-weight: 800; }
/* Kategori filtre çipleri — listeyi kategoriye göre daralt */
.hcp-area-filter-row {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 12px;
}
.hcp-area-filter-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border: none; cursor: pointer;
    border-radius: 999px; background: #fff;
    font-size: 12px; font-weight: 600; color: #475569;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.10);
    transition: filter 0.15s, transform 0.12s, box-shadow 0.15s;
}
.hcp-area-filter-chip:hover { filter: brightness(1.04); transform: translateY(-1px); }
.hcp-area-filter-chip.is-active {
    background: var(--wa-color, #2563EB); color: #fff;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--wa-color, #2563EB) 45%, transparent);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .hcp-area-filter-chip.is-active { box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35); }
}
.hcp-area-filter-chip__dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.hcp-area-filter-chip.is-active .hcp-area-filter-chip__dot {
    background: #fff !important; opacity: 0.9;
}
.hcp-area-filter-chip__n {
    font-size: 11px; font-weight: 800; opacity: 0.75;
}
/* Kronik devir uyarısı — 5+ haftadır devreden işler.
   Asıl işaret işin kendi satırında (mor zemin + dolu "Devir ×N · Kritik" rozeti);
   bu ince satır yalnız o satır katlı bölümde saklı kaldığında çıkar (syncChronicStrip).
   Kart değil, tek satır: kendi yüksekliği kadar yer kaplar, "×" ile susturulur. */
.hcp-chronic-strip {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px; padding: 4px 6px 4px 10px;
    border-radius: 8px; background: #FDF6E9;
}
.hcp-chronic-strip--off { display: none !important; }
.hcp-chronic-strip__icon { flex-shrink: 0; font-size: 11px; color: #B45309; }
.hcp-chronic-strip__text {
    flex: 1; min-width: 0;
    font-size: 12px; font-weight: 600; color: #92400E; line-height: 1.5;
}
.hcp-chronic-strip__btn {
    flex-shrink: 0; border: none; cursor: pointer; background: transparent;
    padding: 2px 6px; border-radius: 6px;
    color: #B45309; font-size: 12px; font-weight: 700; text-decoration: underline;
}
.hcp-chronic-strip__btn:hover { background: #FBEAD0; text-decoration: none; }
/* Dokunma hedefi 24×24'ün altına inmesin — şerit inceldi diye "×" avlanmasın. */
.hcp-chronic-strip__x {
    flex-shrink: 0; border: none; cursor: pointer; background: transparent;
    width: 24px; height: 24px; padding: 0; border-radius: 6px; line-height: 1;
    display: grid; place-items: center;
    color: #B45309; opacity: 0.65; font-size: 12px;
}
.hcp-chronic-strip__x:hover { opacity: 1; background: #FBEAD0; }
/* "Göster" sonrası satır parlatma — renkli gölgeyle kısa vurgu */
.hcp-item-row--flash { animation: hcpRowFlash 1.5s ease; }
@keyframes hcpRowFlash {
    0%   { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.55), 0 4px 16px rgba(217, 119, 6, 0.3); }
    70%  { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35), 0 4px 16px rgba(217, 119, 6, 0.18); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.hcp-area-badge__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hcp-area-badge__chevron { font-size: 8px; opacity: 0.55; margin-left: 1px; }
/* Kategori noktası — satır sonunda renk kodu (metin yerine).
   İnce beyaz halka + hafif gölge ile her zemin üzerinde net durur. */
.hcp-area-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 3px rgba(15,23,42,.06);
    cursor: default;
}
.hcp-area-dot--none {
    background: transparent !important;
    box-shadow: inset 0 0 0 1.5px #CBD5E1;
}
/* Rozetten açılan hızlı kategori seçici */
.hcp-area-pop {
    position: fixed;
    z-index: 320;
    background: #fff;
    border: 1px solid #e7e3da;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 3px 8px rgba(15, 23, 42, 0.08);
    padding: 8px;
    min-width: min(360px, 92vw);
}
.hcp-area-pop__title { font-size: 11px; font-weight: 700; color: #64748b; padding: 2px 6px 6px; }
.hcp-area-pop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.hcp-item-open { background: none; border: none; cursor: pointer; padding: 6px 0; }
.hcp-feedback-badge {
    font-size: 11px;
    font-weight: 600;
    color: #6d28d9;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    padding: 2px 8px;
}

.hcp-detail-panel--unified { max-width: 480px; }
.hcp-unified-panel { display: flex; flex-direction: column; gap: 14px; }
.hcp-unified-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
}
.hcp-unified-hint { font-size: 12px; color: #64748B; margin: -2px 0 8px; }
.hcp-unified-section { margin-top: 4px; }
.hcp-unified-section--link { border-top: 1px solid #E2E8F0; padding-top: 12px; margin-top: 10px; }
.hcp-unified-label__opt { font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #94A3B8; }
.hcp-plan-link { color: #2563EB; text-decoration: underline; word-break: break-all; }
.hcp-plan-link:hover { color: #1D4ED8; }

/* Bağlantı çipi — uzun ham URL'ler yerine kompakt tıklanabilir etiket (Plan + Kontrol ortak) */
.hcp-link-chip {
    display: inline-flex; align-items: center; gap: 6px;
    max-width: 100%; vertical-align: middle;
    padding: 3px 10px; border-radius: 999px;
    background: #EFF6FF; border: 1px solid #BFDBFE;
    color: #1D4ED8; font-size: 13px; font-weight: 600;
    text-decoration: none; line-height: 1.4;
}
.hcp-link-chip:hover { background: #DBEAFE; border-color: #93C5FD; color: #1E40AF; }
.hcp-link-chip__ext { font-size: 10px; opacity: .7; }
.hcp-unified-section__title { font-size: 13px; font-weight: 700; margin: 0 0 8px; color: #0f172a; }
.hcp-unified-fb { padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.hcp-unified-fb--ok { background: #ecfdf5; border: 1px solid #a7f3d0; }
.hcp-unified-fb--warn { background: #fffbeb; border: 1px solid #fde68a; }
.hcp-unified-fb__head { font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.hcp-unified-history { margin-top: 8px; border-top: 1px solid #e2e8f0; padding-top: 10px; }
.hcp-unified-history summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    list-style: none;
}
.hcp-unified-history summary::-webkit-details-marker { display: none; }
.hcp-unified-history__body { margin-top: 10px; }
.hcp-unified-history .hcp-history-intro { font-size: 11px; padding: 8px 10px; }

.hcp-history-diff {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 8px;
    align-items: start;
    padding: 8px 0;
    border-top: 1px solid var(--color-border-tertiary, #e2e8f0);
}
.hcp-history-diff:first-child { border-top: none; }
.hcp-history-diff__values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.hcp-history-field__old {
    text-decoration: line-through;
    color: #94a3b8;
}
.hcp-history-field__new {
    font-weight: 600;
    color: #0f172a;
}
.hcp-history-diff__arrow { color: #cbd5e1; font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
    .hcp-detail-panel:not(.hcp-detail-panel--unified) { transition: none; }
}

/* Geri dönüş butonu — Kontrol / Brifing / alt görünümler */
.hcp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.hcp-back-btn:hover { background: rgba(255, 255, 255, 0.28); }
.hcp-back-btn svg { flex-shrink: 0; opacity: 0.9; }
.hcp-view-back { margin-bottom: 12px; }
.hcp-view-back .hcp-back-btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #1b2a2e;
}
.hcp-view-back .hcp-back-btn:hover { background: #f8fafc; border-color: #cbd5e1; }

