/** OBİG PYS — kurumsal kimlik v2 (Plus Jakarta Sans + Cabin, sıcak zemin, HÇP mavi ailesi). */

/* Plus Jakarta Sans — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* Cabin — local */
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('fonts/Cabin-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

/* —— OBİG PYS Design Token Sistemi v2 —— */
:root {
    /* Fontlar */
    --pys-font-display: 'Plus Jakarta Sans', 'Cabin', system-ui, sans-serif;
    --pys-font-sans:    'Cabin', system-ui, sans-serif;

    /* HÇP modül renk ailesi */
    --hcp1: #3FA0EC;
    --hcp2: #1E6FD0;
    --hcp-s:  #2E8FFF;
    --hcp-sh: #1F7DEB;
    --hcp-sa: #1A6FD4;

    /* Diğer modül renkleri */
    --etk1:    #F9A02A; --etk2:    #EE6E12;
    --motiv1:  #FF8A47; --motiv2:  #ED4F2C;
    --das1:    #B85AE0; --das2:    #9134C4;
    --superv1: #1FC6B6; --superv2: #0E938C;
    --saglik1: #2BC07A; --saglik2: #16A05A;
    --veri1:   #8366F0; --veri2:   #5E3FD6;
    --aile1:   #FF6088; --aile2:   #E84C72;
    --dash1:   #1FA8EC; --dash2:   #12C2C0;
    --ok1:     #19C37D; --ok2:     #5FD98C;

    /* Aksiyon */
    --color-action-primary:      #2E8FFF;
    --color-action-primary-deep: #1A6FD4;
    --color-role-control:        #1E6FD0;
    --color-role-manager:        #B85AE0;
    --color-deadline:            #ED4F2C;

    /* Durum renkleri */
    --color-status-pending:  #2563EB;
    --color-status-progress: #F59E0B;
    --color-status-success:  #16A34A;
    --color-status-info:     #1E6FD0;
    --color-status-danger:   #EF4444;
    --color-status-muted:    #B85AE0;
    --color-status-neutral:  #5a6c70;
    --color-status-warning:  #F59E0B;

    /* Durum arka planları */
    --color-status-pending-bg:   #DBEAFE;
    --color-status-progress-bg:  #FEF3C7;
    --color-status-success-bg:   #D1FAE5;
    --color-status-info-bg:      #E7F2FF;
    --color-status-danger-bg:    #FEE2E2;
    --color-status-muted-bg:     #EDE9FE;

    /* Uyarı */
    --color-warn-friday:   #F59E0B;
    --color-warn-saturday: #ED4F2C;
    --color-warn-overdue:  #EF4444;

    /* Marka */
    --color-brand-cini:      #3FA0EC;
    --color-brand-cini-deep: #1E6FD0;
    --color-brand-kobalt:    #1E6FD0;

    /* İlerleme */
    --hcp-progress-full: #16A34A;
    --hcp-progress-high: #2E8FFF;
    --hcp-progress-mid:  #F59E0B;
    --hcp-progress-low:  #1A6FD4;
    --hcp-progress-zero: #EEECE6;

    /* Zemin & kart */
    --color-background-primary:   #ffffff;
    --color-background-secondary: #FBFAF6;
    --color-background-tertiary:  #EEECE6;

    /* Metin */
    --color-text-primary:   #1b2a2e;
    --color-text-secondary: #3A5058;
    --color-text-tertiary:  #687A80;

    /* Kenarlık */
    --color-border-secondary: #C4BFB3;
    --color-border-tertiary:  #D9D5CE;

    /* Gölge & boyut */
    --hcp-row-border-width: 3px;
    --hcp-row-radius: 0.875rem;
    --hcp-card-shadow: 0 1px 2px rgba(11,42,80,.06), 0 6px 18px rgba(11,42,80,.10);
    --hcp-btn-shadow: 0 2px 6px rgba(46,143,255,.26), 0 8px 20px rgba(46,143,255,.22);
    --hcp-btn-shadow-strong: 0 4px 12px rgba(46,143,255,.3), 0 10px 26px rgba(22,160,210,.26);

    /* HÇP status tokens */
    --hcp-status-info:    #2563EB;
    --hcp-status-warning: #F59E0B;
    --hcp-status-success: #16A34A;
    --hcp-status-danger:  #EF4444;
    --hcp-status-purple:  #B85AE0;
}

html.pys-theme-dark {
    --color-action-primary:      #3FA0EC;
    --color-status-pending:      #60a5fa;
    --color-status-success:      #34d399;
    --color-status-progress:     #fbbf24;
    --color-status-danger:       #f87171;
    --color-status-muted:        #c084fc;
    --color-status-neutral:      #9aa0a0;
    --color-status-pending-bg:   rgba(59, 130, 246, 0.12);
    --color-status-progress-bg:  rgba(245, 158, 11, 0.12);
    --color-status-success-bg:   rgba(22, 163, 74, 0.12);
    --color-status-danger-bg:    rgba(239, 68, 68, 0.12);
    --color-status-muted-bg:     rgba(184, 90, 224, 0.12);
    --color-background-primary:  #1a2428;
    --color-background-secondary:#1f2d32;
    --color-background-tertiary: #253338;
    --color-text-primary:        #e8e4dc;
    --color-text-secondary:      #9aa0a0;
    --color-text-tertiary:       #96a3a3;
    --color-border-secondary:    #2e3d42;
    --color-border-tertiary:     #263238;
}

@keyframes hcp-rise { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* —— A3 Banner + şerit —— */
.pys-hcp-banner-wrap {
    border-radius: 14px;
    overflow: visible;
    border: 0.5px solid var(--color-border-tertiary);
}
.pys-hcp-banner-wrap .pys-hero-band--hcp {
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: none;
    animation: none;
    margin: 0;
    min-height: 0;
    background: linear-gradient(118deg, #3FA0EC 0%, #1E6FD0 52%, #0B2A50 100%);
}
.pys-hcp-banner-wrap .pys-hero-band__inner {
    padding: 18px 22px 16px;
    min-height: 0;
}
.pys-hcp-banner-wrap .pys-hero-band__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.pys-hcp-banner-wrap .pys-hero-band__kicker {
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 600;
    opacity: 0.82;
    text-transform: none;
}
.pys-hcp-banner-wrap .pys-hero-band__title {
    font-size: 1.65rem;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: -0.01em;
    font-family: var(--pys-font-display);
}

/* —— HÇP header aksiyon barı (Brief 2B) —— */
.hcp-header-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 18px 16px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    border-top: 1.5px solid #efece4;
    box-shadow: 0 4px 16px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9);
}
.hcp-header-action-bar--warn { box-shadow: inset 0 2px 0 #f59e0b; }
.hcp-header-action-bar--saturday { background: #fff7ed !important; box-shadow: inset 0 2px 0 #f97316; }
.hcp-header-left,
.hcp-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.hcp-header-icons-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.hcp-header-iw {
    position: relative;
    flex-shrink: 0;
}
.hcp-header-iw.hidden { display: none !important; }
.hcp-header-iw .tip {
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text-primary, #0f172a);
    color: var(--color-background-primary, #fff);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s;
    z-index: 5;
}
.hcp-header-iw:hover .tip { opacity: 1; }
.hcp-header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    flex-shrink: 0;
    box-shadow: var(--hcp-btn-shadow);
}
.hcp-header-icon-btn i { font-size: 16px; }
.hcp-header-icon-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: var(--hcp-btn-shadow-strong);
}
/* Klavye ile gezinirken odak halkası görünsün (koyu bant üstünde beyaz) */
.hcp-header-icon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hcp-header-icon-btn--nav {
    background: #ffffff !important;
    color: #5a6c70 !important;
    border-color: #e7e3da !important;
}
.hcp-header-icon-btn--feedback {
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hcp-header-icon-btn--analyze {
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hcp-header-icon-btn--leave {
    background: linear-gradient(135deg, #F9A02A, #EE6E12) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hcp-header-icon-btn--assign {
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hcp-header-icon-btn--outgoing {
    background: linear-gradient(135deg, #2BC07A, #16A05A) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hcp-header-icon-btn--feedback { position: relative; }
.hcp-header-icon-btn--feedback.is-active {
    box-shadow: inset 0 0 0 2px rgba(24, 95, 165, 0.45);
}
.hcp-header-icon-btn--feedback .hcp-fb-dot,
.hcp-header-icon-btn--control .hcp-ctrl-dot {
    top: 3px;
    right: 3px;
    width: 6px;
    height: 6px;
    background: #BA7517;
    border-color: var(--color-background-primary, #fff);
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid #fff;
}
.hcp-header-icon-btn--control .hcp-ctrl-dot { background: #1D4ED8; }
.hcp-header-icon-btn.has-alert {
    animation: hcp-header-pulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(186, 117, 23, 0.45);
}
.hcp-header-icon-btn--control.has-alert {
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4);
}
@keyframes hcp-header-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(186, 117, 23, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(186, 117, 23, 0); }
}
.hcp-header-icon-btn--control { position: relative; }
.hcp-edited-mark--minimal,
.hcp-pending-mark--minimal {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    padding: 0;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.hcp-edited-mark--minimal { background: #94a3b8; }
.hcp-pending-mark--minimal { background: #f59e0b; }
.hcp-history-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fafafa;
}
.hcp-history-card__head { font-size: 11px; color: #64748b; margin-bottom: 6px; }
.hcp-history-diff { font-size: 12px; color: #1b2a2e; padding: 2px 0; }
.hcp-history-field__old { color: #94a3b8; text-decoration: line-through; }
.hcp-history-field__new { color: #0f172a; font-weight: 500; }
.hcp-fb-panel--page {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: 16px;
}
.hcp-fb-panel__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.hcp-fb-panel__title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}
.hcp-fb-back-btn {
    border: none;
    background: #FBFAF6;
    color: #1b2a2e;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hcp-fb-back-btn:hover { background: #e2e8f0; }
.hcp-header-vsep {
    width: 1px;
    height: 26px;
    background: var(--color-border-tertiary, #e2e8f0);
    margin: 0 2px;
    flex-shrink: 0;
}
.hcp-header-submit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #3FA0EC, #16C7E0);
    color: #fff;
    font-family: var(--pys-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 2px 6px rgba(22,160,210,.28), 0 10px 26px rgba(22,160,210,.3);
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.hcp-header-action-wrap {
    position: relative;
    flex-shrink: 0;
}
.hcp-header-action-wrap.hidden { display: none !important; }
.hcp-header-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0);
    color: #fff;
    font-family: var(--pys-font-display);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 6px rgba(46,143,255,.26), 0 8px 20px rgba(46,143,255,.22);
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.hcp-header-control:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.hcp-header-control .hcp-ctrl-dot {
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #FBBF24;
    border-color: #1D4ED8;
    position: absolute;
    border-radius: 50%;
    border: 2px solid #1D4ED8;
}
.hcp-header-control.has-alert {
    animation: hcp-header-pulse-control 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.45);
}
@keyframes hcp-header-pulse-control {
    0%, 100% { box-shadow: 0 3px 10px rgba(29, 78, 216, 0.32), 0 0 0 0 rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 3px 10px rgba(29, 78, 216, 0.32), 0 0 0 6px rgba(251, 191, 36, 0); }
}
.hcp-header-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.hcp-header-submit.warn-saturday {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.38);
}
.hcp-header-submit.hidden { display: none !important; }

/* —— Segment çubuğu —— */
.hcp-segment-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
    flex-shrink: 0;
}
/* Birleşik segment grubu (Analizim + Kontrol) — tek temiz gölge */
.hcp-segment-bar .hcp-seg--analyze,
.hcp-segment-bar .hcp-seg--control-wrap {
    box-shadow: 0 2px 8px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.08);
}
/* Planım #1 — Gönder öncesi görünür "eksikler" çipi (tıklayınca listeyi açar) */
.hcp-segment-bar .hcp-submit-blockers-hint {
    margin-inline-end: auto;
    display: inline-flex; align-items: center; gap: 6px;
    background: #FEF3C7; color: #B45309; border: 1px solid #FCD34D;
    border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: background .15s ease; white-space: nowrap;
}
.hcp-segment-bar .hcp-submit-blockers-hint:hover { background: #FDE68A; }
.hcp-segment-bar .hcp-submit-blockers-hint.hidden { display: none; }
.hcp-seg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-family: var(--pys-font-sans, inherit);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    white-space: nowrap;
    color: #fff;
    transition: filter 0.15s ease;
}
.hcp-seg:hover { filter: brightness(1.12); }
/* Analizim — turkuaz (Seçenek B) */
.hcp-seg--analyze {
    background: linear-gradient(135deg, #16B3C4, #0C8F9F);
    border-radius: 12px 0 0 12px;
}
/* Kontrol sarmalayıcı */
.hcp-seg--control-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hcp-seg--control-wrap.hidden { display: none !important; }
/* Kontrol — HÇP mavi */
.hcp-seg--control-main {
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0);
    border-radius: 12px 0 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}
.hcp-seg--control-main.hidden { display: none !important; }
.hcp-seg--control-main.has-alert {
    animation: hcp-header-pulse-control 1.8s ease-in-out infinite;
}
.hcp-seg--control-main .hcp-ctrl-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #F9A02A;
    border-radius: 50%;
    border: 2px solid #1E6FD0;
}
/* Chevron — koyu HÇP */
.hcp-seg--control-chevron {
    background: linear-gradient(135deg, #1E6FD0, #1A6FD4);
    border-radius: 0 12px 12px 0;
    border-right: none;
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    padding: 0 13px;
    font-size: 11px;
    font-weight: 900;
}
.hcp-seg--control-chevron.hidden { display: none !important; }
.hcp-seg--control-chevron:hover { background: linear-gradient(135deg, #1A6FD4, #185EC0); }
/* Geribildirimler — HÇP mavi */
.hcp-seg--feedbacks-direct {
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hcp-seg--feedbacks-direct.hidden { display: none !important; }
/* Teslim et butonu */
@keyframes cowBlink {
    0%, 89%, 96%, 100% { transform: scaleY(1); }
    92% { transform: scaleY(0.07); }
}
@keyframes ikvFly {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.9); }
    22%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-82px, -66px) scale(1.06); }
}
@keyframes successPop {
    0%   { transform: scale(1); }
    42%  { transform: scale(1.055); }
    100% { transform: scale(1); }
}
@keyframes teslim-spin {
    to { transform: rotate(360deg); }
}

.teslim-btn {
    font-family: var(--pys-font-display);
    font-weight: 700;
    font-size: 14px;
    height: 44px;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    overflow: visible;
    border-radius: 12px;
    background: linear-gradient(135deg, #F23127, #C01818);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 2px 6px rgba(192,24,24,.30), 0 10px 26px rgba(192,24,24,.32);
    transition: background .28s, box-shadow .22s, transform .14s;
}
.teslim-btn:hover:not(.submitted):not(.loading) {
    background: linear-gradient(135deg, #DD1F1F, #A11212);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 12px rgba(217,45,32,.34), 0 14px 34px rgba(217,45,32,.4);
}
.teslim-btn:active:not(.submitted) {
    transform: translateY(0);
    box-shadow: inset 0 2px 5px rgba(0,0,0,.18);
}
.teslim-btn .layer-normal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px 0 17px;
    transition: opacity .2s;
}
.teslim-btn .layer-normal svg {
    width: 24px;
    height: 23px;
    flex-shrink: 0;
}
.teslim-btn .layer-submitted,
.teslim-btn .layer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .25s;
    font-weight: 600;
    font-size: 15px;
    color: white;
    pointer-events: none;
    padding: 0 18px;
    white-space: nowrap;
}
/* Gönderildi: kırmızı inek → altın sarısı madalya (başarı anı) */
.teslim-btn.submitted {
    background: linear-gradient(135deg, #FFD75E, #E3A50F);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1.5px rgba(180,120,0,.30), 0 2px 10px rgba(180,120,0,.26);
    color: #7A5200;
    cursor: default;
}
.teslim-btn.submitted:hover {
    background: linear-gradient(135deg, #FFD75E, #E3A50F);
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1.5px rgba(180,120,0,.30), 0 2px 10px rgba(180,120,0,.26);
}
.teslim-btn.submitted .layer-normal { opacity: 0; }
.teslim-btn.submitted .layer-submitted { opacity: 1; pointer-events: auto; color: #7A5200; font-weight: 700; }
/* Yönetici: kilidi açmak için tıklanabilir — üzerine gelince koyu altın */
.teslim-btn.submitted.teslim-btn--unlockable { cursor: pointer; }
.teslim-btn.submitted.teslim-btn--unlockable:hover {
    background: linear-gradient(135deg, #F0B429, #C77C02);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 4px 12px rgba(180,120,0,.34);
}
.teslim-btn.submitted.teslim-btn--unlockable:hover .layer-submitted { color: #fff; }
.teslim-btn.loading .layer-normal { opacity: 0; }
.teslim-btn.loading .layer-loading { opacity: 1; }
.teslim-btn.justsubmitted { animation: successPop .34s ease; }
.teslim-btn.hidden { display: none !important; }
.teslim-btn:disabled,
.teslim-btn[disabled] {
    background: #EEECE6;
    color: #6b6a63;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.teslim-btn .cow-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: cowBlink 2.6s ease-in-out infinite;
}
.teslim-btn .cow-eye.right { animation-delay: .04s; }
.teslim-btn .ikv-text {
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -10px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 19px;
    letter-spacing: .03em;
    background: linear-gradient(135deg, #FB6B5B, #D92D20);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #D92D20;
    filter: drop-shadow(0 1px 1.5px rgba(255,255,255,.88));
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    user-select: none;
    z-index: 5;
}
.teslim-btn:hover:not(.submitted):not(.loading) .ikv-text {
    animation: ikvFly 2s cubic-bezier(.22,.7,.3,1) 1 forwards;
}
.teslim-btn.warn-saturday {
    background: linear-gradient(135deg, #F23127, #C01818);
}
.teslim-btn.warn-saturday:hover:not(.submitted):not(.loading) {
    background: linear-gradient(135deg, #DD1F1F, #A11212);
}
.teslim-btn .spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    animation: teslim-spin .7s linear infinite;
    flex-shrink: 0;
}
/* Kontrol dropdown */
.hcp-control-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 196px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.16),
        0 3px 8px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
    z-index: 300;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 5px 0;
}
.hcp-ctrl-dd-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s ease;
}
.hcp-ctrl-dd-item:hover { background: #FBFAF6; color: #1E6FD0; }
.hcp-ctrl-dd-item i { width: 15px; font-size: 13px; opacity: 0.85; }
#hcp-ctrl-dd-feedbacks i { color: #0E938C; }
#hcp-ctrl-dd-assign i { color: #1E6FD0; }
#hcp-ctrl-dd-leave i { color: #F9A02A; }

/* —— Work area chip'leri zaten var, ek selector stilleri —— */
.hcp-wa-selector-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.hcp-wa-selector {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    background: #fff;
    border: 1.5px solid #3FA0EC;
    border-radius: 9px;
    padding: 0 11px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1b2a2e;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hcp-wa-selector:hover { border-color: #1E6FD0; background: #F0F6FF; box-shadow: 0 2px 8px rgba(46,143,255,0.18); }
.hcp-wa-selector--disabled { opacity: 0.45; pointer-events: none; }
.hcp-wa-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hcp-wa-chevron { font-size: 10px; opacity: 0.5; margin-left: 2px; }
.hcp-wa-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    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);
    z-index: 300;
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
    display: grid;
    /* Kolon sayısı genişliğe göre otomatik: masaüstünde 3, dar ekranda 2/1 — taşma olmaz */
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 2px;
    min-width: min(384px, 92vw);
}
.hcp-wa-dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1b2a2e;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    transition: background 0.12s ease;
}
.hcp-wa-dd-item .hcp-wa-dot { width: 12px; height: 12px; box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.hcp-wa-dd-item:hover { background: #F4F1EA; }
.hcp-wa-dd-item.is-selected { background: #E7F2FF; color: #1E6FD0; }
/* Kategori satırları kendi renginin soluk tonuyla dolar; seçili olan daha doygun */
@supports (background: color-mix(in srgb, red 10%, white)) {
    .hcp-wa-dd-item { background: color-mix(in srgb, var(--wa-color, #CBD5E1) 7%, #fff); }
    .hcp-wa-dd-item:hover { background: color-mix(in srgb, var(--wa-color, #CBD5E1) 16%, #fff); }
    .hcp-wa-dd-item.is-selected {
        background: color-mix(in srgb, var(--wa-color, #1E6FD0) 24%, #fff);
        color: #1b2a2e;
    }
}
/* Boş durum — kategori seçilmedi (zorunlu): belirgin mavi çağrı */
.hcp-wa-selector--empty { background: #F0F6FF; border-color: #3FA0EC; }
.hcp-wa-selector--empty .hcp-wa-label { color: #1E6FD0; font-weight: 700; }
.hcp-wa-selector--empty .hcp-wa-dot {
    background: conic-gradient(from 90deg, #8366F0, #3FA0EC, #16B3C4, #16A34A, #F9A02A, #FF6088, #8366F0) !important;
    width: 12px; height: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,0.7);
}
.hcp-quick-add--disabled .hcp-wa-selector { opacity: 0.45; }
/* Kategori seçilmeden eklemeye çalışınca dikkat çekici uyarı (kısa süre) */
@keyframes hcp-wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(225,29,72,0.55); transform: translateX(0); }
    15%  { transform: translateX(-4px); }
    30%  { transform: translateX(4px); }
    45%  { transform: translateX(-3px); }
    60%  { transform: translateX(3px); }
    75%  { transform: translateX(0); }
    100% { box-shadow: 0 0 0 10px rgba(225,29,72,0); transform: translateX(0); }
}
.hcp-wa-selector--pulse {
    animation: hcp-wa-pulse 0.9s ease-out 2;
    border-color: #E11D48 !important;
    background: #FFF1F2 !important;
}
.hcp-wa-selector--pulse .hcp-wa-label { color: #BE123C !important; font-weight: 700; }
/* Durum modalı başlığı seçilen durumun yumuşak tonunu alır — hangi modda olduğun belli */
.hcp-center-modal[data-sp-status="completed"] .hcp-center-modal__head { background: #EAF7EF; }
.hcp-center-modal[data-sp-status="completed"] .hcp-center-modal__title { color: #15803D; }
.hcp-center-modal[data-sp-status="in_progress"] .hcp-center-modal__head { background: #FFF7E8; }
.hcp-center-modal[data-sp-status="in_progress"] .hcp-center-modal__title { color: #B45309; }
.hcp-center-modal[data-sp-status="not_completed"] .hcp-center-modal__head { background: #FEECEC; }
.hcp-center-modal[data-sp-status="not_completed"] .hcp-center-modal__title { color: #B91C1C; }
.hcp-center-modal[data-sp-status="abandoned"] .hcp-center-modal__head { background: #F1F5F9; }
.hcp-center-modal[data-sp-status="abandoned"] .hcp-center-modal__title { color: #475569; }
/* Açıklama sayacı sınıra yaklaşınca uyarır */
.hcp-sp-counter--warn { color: #B45309 !important; font-weight: 700; }
.hcp-sp-counter--limit { color: #B91C1C !important; font-weight: 700; }
/* "Yapılacaklara geri al" iki adımlı onay durumu */
.hcp-sp-revert.is-armed { color: #B91C1C !important; font-weight: 700; }
/* Kategorisi seçilmemiş işlerin soluk daveti */
.hcp-area-badge--none {
    border: 1px dashed #CBD5E1;
    background: #F8FAFC;
    font-style: italic;
}
.hcp-area-badge--none .hcp-area-badge__label { color: #5c686b; }
/* Durum popup: süre (sol) + kategori (sağ) */
.hcp-sp-row2 { display: flex; gap: 12px; align-items: flex-start; }
.hcp-sp-row2 .hcp-sp-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hcp-sp-row2 .hcp-wa-selector-wrap,
.hcp-sp-row2 .hcp-wa-selector { width: 100%; }
.hcp-sp-row2 .hcp-wa-selector { justify-content: space-between; }
/* Durum popup'ı kaydırılabilir gövdede; kategori menüsü/özel giriş YUKARI açılır ki kırpılmasın */
.hcp-sp-row2 .hcp-wa-dropdown { left: auto; right: 0; top: auto; bottom: calc(100% + 6px); }
/* "Diğer" özel kategori adı girişi — selector'ın hemen altında */
.hcp-wa-custom {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: flex;
    gap: 6px;
    align-items: center;
    width: max-content;
    min-width: 280px;
    max-width: min(360px, 86vw);
    background: #fff;
    border: 1px solid #3FA0EC;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 3px 8px rgba(15, 23, 42, 0.08);
    z-index: 320;
}
/* Durum panelinde sağa hizala (ekran dışına taşmasın) */
.hcp-sp-row2 .hcp-wa-custom { left: auto; right: 0; top: auto; bottom: calc(100% + 6px); }
.hcp-wa-custom-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e7e3da;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    color: #1b2a2e;
    outline: none;
}
.hcp-wa-custom-input:focus { border-color: #1E6FD0; box-shadow: 0 0 0 3px rgba(46,143,255,0.15); }
.hcp-wa-custom-ok {
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #1E6FD0;
    cursor: pointer;
}
.hcp-wa-custom-ok:hover { background: #1559aa; }

.hcp-header-progress {
    min-width: 0;
}
.hcp-header-progress--ring {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hcp-header-progress__ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: conic-gradient(
        #16A34A 0deg calc(var(--progress-pct, 0) * 3.6deg),
        #3FA0EC calc(var(--progress-pct, 0) * 3.6deg) calc((var(--progress-pct, 0) + var(--progress-wip, 0)) * 3.6deg),
        #EEECE6 calc((var(--progress-pct, 0) + var(--progress-wip, 0)) * 3.6deg) 360deg
    );
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.12);
}
.hcp-header-progress__ring::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}
.hcp-header-progress__ring.is-empty {
    background: #e2e8f0;
}
.hcp-header-progress__ring.is-complete {
    background: conic-gradient(#16A34A 0deg 360deg);
}
.hcp-header-progress__ring-icon {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #16A34A;
    background: linear-gradient(135deg, #D1FAE5, #ecfdf5);
}
.hcp-header-progress__ring.is-empty .hcp-header-progress__ring-icon { color: #94a3b8; background: #f8fafc; }
.hcp-header-progress__meta { min-width: 0; }
.hcp-header-progress__stats {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #16A34A;
    line-height: 1.25;
}
.hcp-header-progress__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
    gap: 8px;
}
.hcp-header-progress__label {
    font-size: 11px;
    color: var(--color-text-secondary, #64748b);
    white-space: nowrap;
}
.hcp-header-progress__pct {
    font-size: 12px;
    font-weight: 500;
    color: #16A34A;
}
.hcp-header-progress__pct.hidden { display: none; }
.hcp-header-progress__bar {
    display: flex;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--color-background-secondary, #FBFAF6);
    width: 120px;
}
.hcp-header-progress__seg { height: 100%; transition: width 0.25s ease; }
.hcp-header-progress__seg--done {
    background: linear-gradient(90deg, #5FD98C, #16A34A);
}
.hcp-header-progress__seg--wip { background: #3FA0EC; }
.hcp-header-week-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.hcp-header-week-label {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 8px;
    text-align: center;
    min-width: 0;
}
.hcp-header-week-label.hcp-week-trigger-v2 {
    background: linear-gradient(145deg, #E7F2FF 0%, #D9EBFD 100%);
    border: 1px solid rgba(63, 160, 236, 0.45);
    border-radius: 12px;
    padding: 6px 12px;
    min-width: 7.5rem;
    box-shadow: 0 2px 10px rgba(46, 143, 255, 0.12);
}
.hcp-header-week-label.hcp-week-trigger-v2:hover {
    background: linear-gradient(145deg, #D9EBFD 0%, #C9E2FB 100%);
    box-shadow: 0 4px 14px rgba(46, 143, 255, 0.18);
}
.hcp-week-label-main {
    font-size: 13px;
    font-weight: 700;
    color: #1A6FD4;
}
.hcp-week-label-year {
    font-size: 9px;
    font-weight: 600;
    color: #1E6FD0;
    letter-spacing: 0.04em;
}
.hcp-header-week-label:hover { background: rgba(15, 23, 42, 0.04); }
.hcp-header-week-label.hcp-week-trigger-v2:hover {
    background: linear-gradient(145deg, #CFFAFE 0%, #A5F3FC 100%);
}
.hcp-week-label-date { font-weight: 500; color: var(--color-text-primary, #0f172a); }
.hcp-week-label-week { color: var(--color-text-info, #185FA5); font-weight: 500; }
.hcp-header-action-bar.hcp-gamif-sweep {
    animation: hcp-gamif-sweep 0.6s ease;
}
@media (max-width: 1023px) {
    .hcp-header-action-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .hcp-header-left,
    .hcp-header-right {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 639px) {
    .hcp-header-left {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .hcp-header-icons-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        padding-bottom: 2px;
    }
    .hcp-header-submit,
    .hcp-header-control {
        margin-left: auto;
    }
}

.hcp-banner-divider {
    height: 2px;
    background: linear-gradient(90deg, #3FA0EC, #1E6FD0);
    transition: background 0.3s ease;
}
.hcp-banner-divider.warn-friday {
    background: var(--color-warn-friday);
}
.hcp-banner-divider.warn-saturday {
    background: var(--color-warn-saturday);
}
.hcp-banner-divider.warn-overdue {
    background: var(--color-warn-overdue);
}

.hcp-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.25rem;
    background: var(--color-background-primary);
    transition: background 0.3s ease;
}
.hcp-strip.warn-saturday {
    background: #FFF7ED;
}
.hcp-strip-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hcp-strip-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hcp-strip-week {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
}
.hcp-strip-sep {
    font-size: 12px;
    color: var(--color-text-tertiary);
}
.hcp-strip-range {
    font-size: 13px;
    color: var(--color-text-secondary);
}
.hcp-strip-warn {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-warn-saturday);
}
.hcp-strip-warn.hidden {
    display: none;
}
.hcp-strip-nav {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    overflow: hidden;
    border: 0.5px solid var(--color-border-secondary);
    background: var(--color-background-primary);
}
.hcp-strip-nav button {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    padding: 5px 11px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.hcp-strip-nav button:nth-child(2) {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-primary);
    border-left: 0.5px solid var(--color-border-tertiary);
    border-right: 0.5px solid var(--color-border-tertiary);
    white-space: nowrap;
}
.hcp-strip-dots {
    background: transparent;
    border: 0.5px solid var(--color-border-secondary);
    border-radius: 100px;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--color-text-secondary);
    font-size: 13px;
}
.hcp-strip-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* —— B1 Banner aksiyon butonları —— */
.hcp-action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hcp-ic-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    position: relative;
    transition: opacity 0.15s;
}
.hcp-ic-btn:hover { opacity: 0.8; }
.hcp-ic-btn svg { display: block; }
.hcp-ic-btn--izin { background: #FEF3C7; color: #D97706; }
.hcp-ic-btn--ata  { background: #DBEAFE; color: #1D4ED8; }
.hcp-ic-btn--yz   { background: #F5F3FF; color: #6D28D9; }
.hcp-ic-btn--feedback { background: #EDE9FE; color: #7C3AED; }
.hcp-ic-btn .tip {
    display: none;
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: #1E293B;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 10;
    pointer-events: none;
}
.hcp-ic-btn:hover .tip { display: block; }

.hcp-strip-submit {
    height: 36px;
    padding: 0 16px;
    border-radius: 50px;
    border: none;
    background: #0EA5E9;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}
.hcp-strip-submit:hover { background: #0284C7; }
.hcp-strip-submit.warn-saturday { background: #F97316; }
.hcp-strip-submit.warn-saturday:hover { background: #EA580C; }

.hcp-strip1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 1.25rem;
    background: var(--color-background-primary);
    transition: background 0.3s ease;
}
.hcp-week-nav {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border-secondary);
    border-radius: 50px;
    overflow: hidden;
}
.hcp-week-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #767c88;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.hcp-week-arrow:hover {
    background: #F8FAFC;
    color: #64748B;
}
.hcp-week-arrow svg { display: block; }
.hcp-week-trigger {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: transparent;
    border: none;
    border-left: 1px solid var(--color-border-secondary);
    border-right: 1px solid var(--color-border-secondary);
    border-radius: 0;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    min-width: 0;
}
.hcp-week-trigger:hover { background: #F8FAFC; }
.hcp-week-label-date {
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}
.hcp-week-label-week {
    font-weight: 500;
    color: #0EA5E9;
    white-space: nowrap;
}

.hcp-strip2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 14px;
    margin: 0 1.25rem 8px;
    background: #F8FAFC;
    border: 1px solid var(--color-border-secondary);
    border-radius: 12px;
}
.hcp-strip2-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 240px;
}
.hcp-streak {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #B45309;
}
.hcp-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
}
.hcp-strip2 .hcp-progress-track {
    flex: 1;
    height: 8px;
    border-radius: 50px;
    background: #E2E8F0;
    overflow: hidden;
    min-width: 80px;
}
.hcp-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 50px;
    transition: width 0.4s ease, background 0.3s;
}
.hcp-progress-count {
    font-size: 12px;
    color: var(--color-text-secondary);
    white-space: nowrap;
}
.hcp-strip2-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hcp-status-line {
    font-size: 13px;
    color: var(--color-text-secondary);
}
.hcp-chip-unplanned {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 50px;
    background: #FEF3C7;
    color: #B45309;
}

/* —— B3 Quick-add —— */
.hcp-quick-add {
    margin-top: 1rem;
    padding: 0.85rem 1rem 1rem;
    border-radius: 16px;
    border: 1px solid #E6ECF3;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 40, 60, 0.06), 0 6px 16px rgba(16, 40, 60, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hcp-quick-add__label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    background: linear-gradient(90deg, #1E6FD0, #16B3C4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1A6FD4;
}
.hcp-quick-add__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.hcp-quick-add__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(46, 143, 255, 0.35);
}
.hcp-quick-add__input {
    flex: 1;
    min-width: 9rem;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.22);
}
.hcp-quick-add__input::placeholder {
    color: #64748b;
    font-weight: 500;
}
.hcp-quick-add__input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px #3FA0EC;
}
/* Global :focus-visible dış halkası burada İKİNCİ çizgi oluşturuyordu;
   girişin kendi mavi iç çerçevesi tek başına yeterli. */
.hcp-quick-add__input:focus-visible { outline: none; }
.hcp-quick-add__unplanned {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    font-size: 12.5px;
    color: #1b2a2e;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1.5px solid #cdd5e3;
    background: #fff;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease;
}
.hcp-quick-add__unplanned:hover { background: #f3f6fb; border-color: #b9c2d4; }
.hcp-quick-add__unplanned input {
    width: 0.88rem;
    height: 0.88rem;
    accent-color: #EE6E12;
    cursor: pointer;
}
.hcp-quick-add__bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    /* Giriş kutusuyla aynı sol hiza: + ikonu (2.125rem) + boşluk (0.5rem) kadar içeri */
    margin-left: calc(2.125rem + 0.5rem);
}
@media (max-width: 640px) {
    /* Dar ekranda satır zaten sarıyor; girinti yer israfı olur */
    .hcp-quick-add__bottom-row { margin-left: 0; }
}
.hcp-quick-add__chips {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible;
    position: relative;
}
.hcp-quick-add__chips::-webkit-scrollbar { display: none; }
.hcp-quick-add__chips .hcp-work-area-chip {
    flex-shrink: 0;
    font-size: 10.5px;
    padding: 4px 10px;
}
.hcp-quick-add__bottom-row .hcp-quick-add__unplanned {
    flex-shrink: 0;
    align-self: center;
    margin-top: 0;
}
.hcp-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.05rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #2E8FFF, #1E6FD0);
    color: #fff;
    font-family: var(--pys-font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--hcp-btn-shadow-strong);
    transition: background 0.15s, transform 0.12s, opacity 0.15s;
}
.hcp-btn-add:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.hcp-btn-add:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: none;
}
#hcp-quick-add:focus-within {
    border-color: #0284C7;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.22), 0 4px 18px rgba(14, 165, 233, 0.22);
}
#hcp-quick-add.opacity-60 {
    opacity: 0.72;
}

/* —— B4 Başlık düzenleme / sağ panel —— */
#hcp-shell-plan .hcp-item-title {
    cursor: pointer;
}
#hcp-shell-plan .hcp-item-title:hover {
    color: #0EA5E9;
}

.hcp-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.hcp-detail-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
body.hcp-detail-open {
    overflow: hidden;
}
.hcp-detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 92vw;
    background: var(--color-background-primary);
    border-left: 0.5px solid var(--color-border-secondary);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.10);
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 301;
    display: flex;
    flex-direction: column;
}
.hcp-detail-panel.is-open { transform: translateX(0); }

/* Tek Yüzey: anında açılan merkez modal */
.hcp-detail-panel.hcp-detail-panel--unified {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(480px, 100%);
    max-width: 480px;
    max-height: min(88vh, 760px);
    height: auto;
    border: 1px solid var(--color-border-secondary, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
    transition: none;
    z-index: 301;
    overflow: hidden;
}
.hcp-detail-panel.hcp-detail-panel--unified.is-open {
    transform: translate(-50%, -50%);
}
.hcp-detail-head__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary, #0f172a);
}
.hcp-detail-close {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--color-background-secondary, #FBFAF6);
    color: var(--color-text-secondary, #64748b);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.hcp-detail-close:hover {
    background: #fee2e2;
    color: #dc2626;
}
.hcp-detail-close:focus-visible {
    outline: 2px solid var(--color-action-primary, #0ea5e9);
    outline-offset: 2px;
}
.hcp-detail-tabs {
    display: flex;
    gap: 4px;
    padding: 0 20px 12px;
    border-bottom: 0.5px solid var(--color-border-secondary);
}
.hcp-detail-tab {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border-tertiary);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}
.hcp-detail-tab.is-active {
    background: var(--color-status-pending-bg);
    border-color: var(--color-action-primary);
    color: var(--color-brand-cini-deep);
}
.hcp-btn-verify {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border-secondary);
    background: var(--color-background-primary);
    color: var(--color-text-secondary);
    cursor: pointer;
    shrink: 0;
}
.hcp-btn-verify:hover { border-color: var(--color-action-primary); color: var(--color-brand-cini-deep); }
.hcp-btn-verify--filled {
    background: var(--color-status-success-bg);
    border-color: var(--color-status-success);
    color: var(--color-status-success);
}
.hcp-verify-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 30;
}
.hcp-item-row {
    overflow: visible;
    position: relative;
}
.hcp-verify-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 250;
    width: min(20rem, 86vw);
}
.hcp-verify-popover__box {
    background: var(--color-background-primary);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    padding: 0;
    overflow: hidden;
}
.hcp-verify-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border-tertiary);
}
.hcp-verify-popover__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.01em;
}
.hcp-verify-required {
    color: var(--color-status-danger);
}
.hcp-verify-popover__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border-secondary);
    background: var(--color-background-primary);
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
}
.hcp-verify-popover__close:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}
.hcp-verify-popover__box .hcp-verify-text {
    margin: 12px 12px 0;
    width: calc(100% - 24px);
    min-height: 5.5rem;
    resize: vertical;
    border-radius: 10px;
    border-color: var(--color-border-secondary);
}
.hcp-verify-popover__box .hcp-verify-text:focus {
    border-color: var(--color-action-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.hcp-verify-popover__box .hcp-verify-text.hcp-field--warn {
    border-color: var(--color-status-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.hcp-verify-hint {
    margin: 8px 12px 0;
    font-size: 11px;
    color: var(--color-text-tertiary);
    line-height: 1.4;
}
.hcp-verify-popover__box .hcp-btn-verify-save {
    margin: 10px 12px 12px;
    width: calc(100% - 24px);
}

/* —— H5 Değişiklik geçmişi —— */
.hcp-history-empty {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    padding: 0.5rem 0;
}
.hcp-history-intro {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #0e7490;
    background: rgba(46, 143, 255, 0.08);
    border: 1px solid rgba(46, 143, 255, 0.18);
}
.hcp-history-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hcp-history-card {
    border: 1px solid var(--color-border-tertiary);
    border-radius: 12px;
    background: var(--color-background-primary);
    overflow: hidden;
}
.hcp-history-card--pending {
    border-color: #fcd34d;
    background: #fffbeb;
}
.hcp-history-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--color-background-secondary);
    border-bottom: 1px solid var(--color-border-tertiary);
}
.hcp-history-card__time {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-primary);
}
.hcp-history-card__who {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-left: auto;
}
.hcp-history-pending {
    font-size: 10px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 999px;
}
.hcp-history-context {
    margin: 0;
    padding: 8px 12px 0;
    font-size: 11px;
    color: var(--color-text-secondary);
}
.hcp-history-card__body {
    padding: 10px 12px 12px;
}
.hcp-history-card__lead {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--color-text-tertiary);
}
.hcp-history-field {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-top: 1px solid var(--color-border-tertiary);
}
.hcp-history-field:first-of-type {
    border-top: none;
    padding-top: 0;
}
.hcp-history-field__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
}
.hcp-history-field__old {
    font-size: 12px;
    color: var(--color-text-primary);
    line-height: 1.45;
    word-break: break-word;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 8px;
    border: 1px solid var(--color-border-tertiary);
}

@media (max-width: 640px) {
    .hcp-verify-popover {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
.hcp-fb-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}
.hcp-fb-badge--success { background: var(--color-status-success-bg); color: var(--color-status-success); border-color: rgba(5,150,105,.25); }
.hcp-fb-badge--warning { background: var(--color-status-progress-bg); color: var(--color-status-warning); border-color: rgba(245,158,11,.25); }
.hcp-fb-badge--info { background: var(--color-status-info-bg); color: var(--color-status-info); border-color: rgba(14,165,233,.25); }
.hcp-edited-mark {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(46, 143, 255, 0.28);
    background: rgba(46, 143, 255, 0.1);
    color: var(--color-brand-cini, #0e7c8a);
    cursor: pointer;
    vertical-align: middle;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hcp-edited-mark:hover {
    background: rgba(46, 143, 255, 0.18);
    border-color: rgba(46, 143, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(46, 143, 255, 0.15);
}
.hcp-edited-mark:focus-visible {
    outline: 2px solid var(--color-brand-cini, #0e7c8a);
    outline-offset: 2px;
}
.hcp-pending-mark {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(254, 243, 199, 0.85);
    color: #b45309;
    vertical-align: middle;
}
.hcp-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--color-border-secondary);
}
.hcp-detail-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.hcp-detail-foot {
    padding: 14px 20px;
    border-top: 0.5px solid var(--color-border-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hcp-detail-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(254, 226, 226, 0.4);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 9px;
    cursor: pointer;
    color: rgba(220, 38, 38, 0.35);
    font-size: 13px;
    transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.hcp-detail-delete:hover {
    color: #DC2626;
    background: #FEE2E2;
    border-color: rgba(220, 38, 38, 0.28);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.14);
}
@media (max-width: 640px) {
    .hcp-detail-panel:not(.hcp-detail-panel--unified) {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 88vh;
        border-left: none;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        transform: translateY(100%);
    }
    .hcp-detail-panel:not(.hcp-detail-panel--unified).is-open { transform: translateY(0); }
    .hcp-detail-panel.hcp-detail-panel--unified {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }
    .hcp-detail-panel.hcp-detail-panel--unified.is-open {
        transform: none;
    }
    .hcp-detail-overlay { padding: 0; }
}

/* —— B5 Tik animasyonu —— */
@keyframes hcp-tik-pop {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes hcp-tik-complete {
    0%   { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}
.hcp-btn-tik.is-completing,
.hcp-status-indicator.is-completing {
    animation: hcp-tik-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
               hcp-tik-complete 0.6s ease-out;
}

/* —— B6 Hafta dropdown —— */
.hcp-week-dropdown {
    position: fixed;
    z-index: 200;
    background: var(--color-background-primary);
    border: 0.5px solid var(--color-border-secondary);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 4px;
    min-width: 200px;
}
.hcp-week-dropdown-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  gap: 5px;
  transition: background 0.1s;
}
.hcp-week-dropdown-item:hover { background: var(--color-background-secondary); }
.hcp-week-dropdown-item.is-active { background: #EFF6FF; }
.hcp-week-dropdown-range {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}
.hcp-week-dropdown-item.is-active .hcp-week-dropdown-range { color: #1D4ED8; }
.hcp-week-dropdown-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 2px 8px;
  border-radius: 50px;
  background: #FBFAF6;
  line-height: 1.4;
}
.hcp-week-dropdown-label.is-current {
  background: #DBEAFE;
  color: #1D4ED8;
  font-weight: 600;
}

.hcp-section {
    border: 1px solid var(--color-border-secondary);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
.hcp-section-head-wrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 14px;
    background: #FBFAF6;
}
.hcp-section-head-wrap .hcp-section-head {
    flex-shrink: 0;
    min-width: 0;
    width: auto;
    padding: 0;
    background: transparent;
}
.hcp-section-bar__chips {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    /* Sağ kenar solması: çipler taştığında "daha var" ipucu verir.
       Çipler az olduğunda fade sağdaki boşluğa denk gelir, görünmez. */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent);
}
.hcp-section-bar__chips::-webkit-scrollbar { display: none; }
.hcp-section-bar__chips .hcp-work-area-chip { flex-shrink: 0; }
.hcp-section--order-flash {
    animation: hcp-order-flash 1.2s ease;
}
@keyframes hcp-order-flash {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
    40% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25); }
    100% { box-shadow: none; }
}
.hcp-section-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #FBFAF6;
  border: none;
  cursor: pointer;
  text-align: left;
}
.hcp-section-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #94A3B8;
}
.hcp-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sec-color);
  flex: 1;
  display: inline-flex;
  align-items: center;
}
.hcp-section-title::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sec-color);
  margin-right: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(15,23,42,0.05);
}
.hcp-section-caret {
  display: block;
  transition: transform 0.2s;
}
.hcp-section.is-collapsed .hcp-section-body { display: none; }
.hcp-section.is-collapsed .hcp-section-caret { transform: rotate(-90deg); }
.hcp-section-empty {
    padding: 28px 16px;
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
}
.hcp-section-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== Tema: Renk Blokları (Alt-1) — beyaz zemin ===== */
.hcp-section {
    border: none;
    box-shadow: none;
    border-radius: 16px;
    background: #EEF2F6;
}
.hcp-section[data-section="bekliyor"]      { background: #E7F2FF; }
.hcp-section[data-section="devam"]         { background: #FFF3E0; }
.hcp-section[data-section="tamamlandi"]    { background: #E8F6ED; }
.hcp-section[data-section="tamamlanamadi"] { background: #FCEDED; }
.hcp-section[data-section="vazgecildi"]    { background: #EEF1F5; }
.hcp-section-head-wrap, .hcp-section-head { background: transparent; }
/* B2: bolum basligi renkli nokta aksani geri acildi (zemine gomulmesin). */
.hcp-section-title::before { display: inline-block; }
.hcp-section[data-section="bekliyor"] .hcp-section-title      { color: #1E6FD0; }
.hcp-section[data-section="devam"] .hcp-section-title         { color: #B45309; }
.hcp-section[data-section="tamamlandi"] .hcp-section-title    { color: #15803D; }
.hcp-section[data-section="tamamlanamadi"] .hcp-section-title { color: #B42318; }
.hcp-section[data-section="vazgecildi"] .hcp-section-title    { color: #5A6C70; }
.hcp-section-body .hcp-item-row--compact {
    background: #fff;
    border: none;
    border-bottom: none;
    border-radius: 12px;
    padding: 11px 14px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.05);
}
.hcp-section-body .hcp-item-row--compact:hover {
    box-shadow: 0 3px 12px rgba(15,23,42,0.09);
    border: none;
}

.hcp-btn-tik,
.hcp-status-indicator {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hcp-surface-amber { background: var(--color-status-progress-bg); }
.hcp-surface-amber-soft { background: var(--color-status-progress-bg); }
.hcp-surface-info { background: var(--color-status-info-bg); }
.hcp-surface-violet { background: var(--color-status-muted-bg); }
.hcp-surface-neutral { background: #f8fafc; }
.hcp-notif-row--critical {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: var(--color-status-danger-bg);
}
/* Bildirim grubu: "4 plan gönderildi" başlık satırı + açılan alt satırlar */
.hcp-notif-group-btn { cursor: pointer; background: transparent; border: none; }
.hcp-notif-group-btn:hover { background: #f8fafc; }
.hcp-notif-group-children { background: #f8fafc; }
.hcp-notif-group-children .hcp-notif-row-btn { padding-left: 22px; }
.hcp-row-status--completed { background: var(--color-status-success-bg); border-color: var(--color-status-success); }
.hcp-row-status--in-progress { background: var(--color-status-progress-bg); border-color: var(--color-status-warning); }
.hcp-row-status--not-completed { background: var(--color-status-danger-bg); border-color: var(--color-status-danger); }
.hcp-row-status--abandoned { background: #f8fafc; border-color: #e2e8f0; }

.hcp-status-indicator {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    background: transparent;
    border: 2px solid var(--status-color, #CBD5E1);
    color: var(--status-color, #64748B);
    font-size: 11px;
    transition: transform 0.12s, border-color 0.15s, color 0.15s;
    box-sizing: border-box;
}

.hcp-btn-tik {
    padding: 0;
    margin: 0;
    touch-action: manipulation;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.hcp-item-row-main .hcp-status-indicator {
    position: relative;
    z-index: 2;
}

.hcp-btn-tik:focus-visible,
.hcp-status-indicator:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}
.hcp-status-indicator svg { display: block; }
.hcp-status-indicator:hover { transform: scale(1.1); }
.hcp-status-indicator[data-status="bekliyor"] { --status-color: #3B82F6; border-style: dashed; color: #3B82F6; }
.hcp-status-indicator[data-status="devam"] { --status-color: #F59E0B; }
.hcp-status-indicator[data-status="tamamlandi"] { --status-color: #059669; }
.hcp-status-indicator[data-status="tamamlanamadi"] { --status-color: #EF4444; }
.hcp-status-indicator[data-status="vazgecildi"] { --status-color: #8B5CF6; }
.hcp-status-indicator--locked {
    background: #FBFAF6;
    border: 2px solid #CBD5E1;
    color: #64748B;
    cursor: default;
}
.hcp-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
    border: 2px solid var(--status-color, #CBD5E1);
}
.hcp-status-dot[data-status="bekliyor"] { --status-color: #3B82F6; border-style: dashed; }
.hcp-status-dot[data-status="devam"] { --status-color: #F59E0B; background: #F59E0B; border-color: #F59E0B; }
.hcp-status-dot[data-status="tamamlandi"] { --status-color: #059669; background: #059669; border-color: #059669; }
.hcp-status-dot[data-status="tamamlanamadi"] { --status-color: #EF4444; background: #EF4444; border-color: #EF4444; }
.hcp-status-dot[data-status="vazgecildi"] { --status-color: #8B5CF6; background: #8B5CF6; border-color: #8B5CF6; }
.hcp-item-row {
    box-shadow: inset 0 0 0 1px var(--row-accent, #CBD5E1);
    padding-left: 12px;
}

.hcp-status-pop {
    position: fixed;
    z-index: 420;
    background: #fff;
    min-width: 180px;
    padding: 4px;
    border: 0.5px solid var(--color-border-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}
.hcp-status-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
    color: #1b2a2e;
}
.hcp-status-opt:hover { background: #FBFAF6; }

.hcp-cursor-tip {
  position: fixed;
  z-index: 400;
  max-width: 260px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #1E293B;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

#hcp-shell-plan .hcp-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
#hcp-shell-plan .hcp-btn-icon:hover { background: #F8FAFC; color: #1b2a2e; }
#hcp-shell-plan .hcp-btn-icon--danger:hover { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
#hcp-shell-plan .hcp-btn-icon svg { display: block; }
#hcp-shell-plan .hcp-item-title--locked { cursor: not-allowed; }
#hcp-shell-plan .hcp-item-title--locked:hover { color: inherit; }


@media (prefers-reduced-motion: reduce) {
    .hcp-btn-tik.is-completing,
    .hcp-status-indicator.is-completing { animation: none; }
}

/* —— A4 İş listesi bölümleri —— */
#hcp-shell-plan .hcp-section-card {
    margin-top: 1rem;
    border-radius: var(--hcp-row-radius);
    border: 1px solid #CBD8E8;
    background: var(--color-background-primary, #fff);
    overflow: hidden;
    box-shadow: var(--hcp-card-shadow);
}
#hcp-shell-plan .hcp-section-card.mt-6 {
    margin-top: 1.5rem;
}
#hcp-shell-plan .hcp-section-card .hcp-section-head {
    padding: 0.6rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: none;
    background: linear-gradient(90deg, #EAF1FA 0%, #F6FAFE 100%);
    border-bottom: 1px solid #CBD8E8;
}
#hcp-shell-plan .hcp-section-head--bekleyen {
    color: #1D4ED8;
    background: linear-gradient(90deg, #DBEAFE 0%, #EFF6FF 100%);
    border-bottom-color: rgba(37, 99, 235, 0.2);
}
#hcp-shell-plan .hcp-section-head--devam {
    color: #B45309;
    background: linear-gradient(90deg, #FEF3C7 0%, #FFFBEB 100%);
    border-bottom-color: rgba(217, 119, 6, 0.22);
}
#hcp-shell-plan .hcp-section-head--tam {
    color: #047857;
    background: linear-gradient(90deg, #D1FAE5 0%, #ECFDF5 100%);
    border-bottom-color: rgba(5, 150, 105, 0.22);
}
#hcp-shell-plan .hcp-section-head--tmd {
    color: #B91C1C;
    background: linear-gradient(90deg, #FEE2E2 0%, #FEF2F2 100%);
    border-bottom-color: rgba(220, 38, 38, 0.2);
}
#hcp-shell-plan .hcp-section-head--vaz {
    color: #6D28D9;
    background: linear-gradient(90deg, #EDE9FE 0%, #F5F3FF 100%);
    border-bottom-color: rgba(124, 58, 237, 0.2);
}
#hcp-shell-plan .hcp-section-head--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
#hcp-shell-plan .hcp-section-chevron {
    font-size: 0.625rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
#hcp-shell-plan .hcp-section-head--devam .hcp-section-chevron { color: var(--color-status-progress, #F59E0B); }
#hcp-shell-plan .hcp-section-head--tam .hcp-section-chevron { color: var(--color-status-success, #059669); }
#hcp-shell-plan .hcp-section-head--tmd .hcp-section-chevron { color: var(--color-status-danger, #EF4444); }
#hcp-shell-plan .hcp-section-head--vaz .hcp-section-chevron { color: var(--color-status-muted, #8B5CF6); }
#hcp-shell-plan details[open] .hcp-section-chevron {
    transform: rotate(180deg);
}
#hcp-shell-plan details.hcp-section-card > summary.hcp-section-head {
    border-bottom: none;
}
#hcp-shell-plan details.hcp-section-card[open] > summary.hcp-section-head {
    border-bottom: 1px solid #e2e8f0;
}
#hcp-shell-plan details.hcp-section-card > summary::-webkit-details-marker {
    display: none;
}
#hcp-shell-plan details.hcp-section-card > summary::marker {
    content: '';
}
#hcp-shell-plan .hcp-empty-section {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-tertiary, #94a3b8);
}

@keyframes hcp-progress-complete {
    0%   { opacity: 1; }
    40%  { opacity: 0.6; box-shadow: 0 0 0 4px rgba(29, 158, 117, 0.15); }
    100% { opacity: 1; box-shadow: none; }
}

.hcp-progress-complete {
    animation: hcp-progress-complete 0.8s ease-out;
}

@keyframes pys-theme-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* —— Sayfa zemin tonları — tutarlılık için nötrlendi; tek tip ambient canvas (#ambient-bg) gösterilir —— */

/* —— Ortak hero band —— */
.pys-hero-band {
    position: relative;
    overflow: visible;
    border-radius: 1.25rem;
    color: #fff;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
    background-size: 200% 200%;
    animation: pys-theme-shimmer 10s ease infinite;
    min-height: 4.25rem;
}
.pys-hero-band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 88% 12%, rgba(255,255,255,0.35), transparent 42%);
}
.pys-hero-band__inner {
    position: relative;
    z-index: 1;
    padding: 0.85rem 1.25rem;
    overflow: visible;
    min-height: 4.25rem;
    display: flex;
    align-items: center;
}
@media (min-width: 640px) {
    .pys-hero-band__inner { padding: 0.95rem 1.5rem; }
}
.pys-hero-band__kicker {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0.88;
    margin: 0 0 0.15rem;
}
.pys-hero-band__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
@media (min-width: 768px) {
    .pys-hero-band__title { font-size: 1.5rem; }
}
.pys-hero-band__sub {
    font-size: 0.8125rem;
    opacity: 0.92;
    margin-top: 0.35rem;
    max-width: 36rem;
    line-height: 1.45;
}
.pys-hero-band__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.pys-hero-band__actions .pys-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,255,255,0.92);
    color: #0f172a;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.pys-hero-band__actions .pys-hero-btn:hover { filter: brightness(1.03); transform: translateY(-1px); }
.pys-hero-band__actions .pys-hero-btn--solid {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
}
.pys-hero-band__actions .pys-hero-btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}
.pys-hero-band__actions .pys-hero-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}
.pys-hero-band__actions .pys-hero-btn--icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    justify-content: center;
}
.pys-hero-band__actions .pys-hero-btn--solid {
    color: #0f172a;
}

/* ===== Buton sistemi (v2) — senaryo bazlı, tek kimlik =====
   Temel: .pys-btn + boyut (.pys-btn--sm/md/lg/icon) + tür (.pys-btn--primary/success/ai/submit/secondary/ghost/danger).
   Kural: 🐮 submit=plan teslimi (imza) · mavi=nötr ana · yeşil=onay/bitiş · mor=YZ · beyaz/şeffaf=ikincil · çerçeveli kırmızı=sil/geri. */
.pys-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    border: 1.5px solid transparent; border-radius: var(--pys-radius-md);
    cursor: pointer; font-weight: 600; font-family: var(--pys-font-display, inherit);
    line-height: 1; white-space: nowrap;
    transition: filter .15s ease, transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.pys-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.pys-btn:active { transform: translateY(0) scale(.98); }
.pys-btn:focus-visible { outline: none; box-shadow: var(--pys-focus-ring); }
.pys-btn:disabled, .pys-btn.is-disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.2); box-shadow: none; pointer-events: none; transform: none; }
.pys-btn--sm { height: 32px; padding: 0 13px; font-size: 12px; border-radius: var(--pys-radius-sm); }
.pys-btn--md { height: 40px; padding: 0 18px; font-size: 13px; }
.pys-btn--lg { height: 46px; padding: 0 22px; font-size: 14px; }
.pys-btn--icon { width: 38px; height: 38px; padding: 0; border-radius: var(--pys-radius-sm); gap: 0; }
.pys-btn--primary { background: linear-gradient(135deg,#2E8FFF,#1453B8); color:#fff; box-shadow: 0 2px 10px rgba(30,111,208,.32); }
.pys-btn--success { background: linear-gradient(135deg,#19C37D,#16A34A); color:#fff; box-shadow: 0 2px 10px rgba(22,163,74,.32); }
.pys-btn--ai      { background: linear-gradient(135deg,#A855F7,#6D28D9); color:#fff; box-shadow: 0 2px 10px rgba(124,58,237,.32); }
.pys-btn--submit  { background: linear-gradient(135deg,#FF4747,#C20510); color:#fff; box-shadow: 0 3px 14px rgba(194,5,16,.40); font-weight: 700; border-radius: var(--pys-radius-lg); }
.pys-btn--secondary { background:#fff; border-color:#cdd5e3; color:#1b2a2e; }
.pys-btn--secondary:hover { background:#f3f6fb; filter:none; }
.pys-btn--ghost { background:transparent; color:#1E6FD0; border-color:transparent; }
.pys-btn--ghost:hover { background:#eaf2fe; filter:none; transform:none; }
.pys-btn--danger { background:#fff; border-color:#F0A8A8; color:#C0392B; }
.pys-btn--danger:hover { background: linear-gradient(135deg,#F26A6A,#DC2626); border-color:transparent; color:#fff; }

/* Tüm iç modüller — tek header ölçüsü ve hiyerarşi */
.pys-module-header {
    margin-bottom: 1.25rem;
}
#main-app .pys-hero-band__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
@media (min-width: 768px) {
    #main-app .pys-hero-band__title { font-size: 1.5rem; }
}
#main-app .pys-hero-band__kicker {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}
#main-app .pys-hero-band__icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.35rem;
}
.pys-module-subtabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    margin: 0;
}
#page-hcp > .glass-panel > .pys-module-subtabs {
    padding: 0.35rem 1rem 0.25rem;
}
.pys-module-subtabs [data-hcp-subtab] {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pys-module-subtabs [data-hcp-subtab].is-active {
    background: linear-gradient(135deg, var(--color-action-primary) 0%, var(--color-brand-kobalt) 55%, #0B2A50 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 14px rgba(46, 143, 255, 0.35);
}
.pys-module-subtabs [data-hcp-subtab].is-idle {
    color: #1b2a2e;
    border: 1px solid #cbd5e1;
    background: #fff;
}
.pys-module-subtabs [data-hcp-subtab].is-idle:hover {
    background: var(--color-status-pending-bg);
    border-color: var(--color-action-primary);
    color: #0e5a63;
}
.pys-hero-band__actions .das-personel-select {
    min-width: 11rem;
    max-width: 16rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.94);
    outline: none;
}
.pys-hero-band__actions .das-personel-select:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

/* Modül gradientleri — doygun canlı tonlar */
.pys-hero-band--dashboard { background: linear-gradient(135deg, #6366F1 0%, #3730A3 100%); }
.pys-hero-band--hcp { background: linear-gradient(135deg, #2E8FFF 0%, #1453B8 100%); }
.pys-hero-band--kobalt { background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%); }
.pys-hero-band--violet { background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%); }
.pys-hero-band--calendar { background: linear-gradient(135deg, #FBA94C 0%, #C2410C 100%); }
.pys-hero-band--admin { background: linear-gradient(135deg, #C084FC 0%, #7E22CE 100%); }
.pys-hero-band--profile { background: linear-gradient(135deg, #38BDF8 0%, #0369A1 100%); }
.pys-hero-band--das { background: linear-gradient(135deg, #2DD4BF 0%, #0F766E 100%); }
.pys-hero-band--work_track { background: linear-gradient(135deg, #818CF8 0%, #3730A3 100%); }
.pys-hero-band--bip_prep { background: linear-gradient(135deg, #60A5FA 0%, #1A6FD4 100%); }
.pys-hero-band--bip_eval_summary { background: linear-gradient(135deg, #FCD34D 0%, #B45309 100%); }
.pys-hero-band--motivation { background: linear-gradient(135deg, #FBBF24 0%, #B45309 100%); }
.pys-hero-band--graph_gubir { background: linear-gradient(135deg, #5EEAD4 0%, #0D9488 100%); }
.pys-hero-band--supervision { background: linear-gradient(135deg, #A78BFA 0%, #6D28D9 100%); }
.pys-hero-band--eval_proto { background: linear-gradient(135deg, #7DD3FC 0%, #0369A1 100%); }
.pys-hero-band--family_eval { background: linear-gradient(135deg, #FB7185 0%, #BE123C 100%); }
.pys-hero-band--family_meet { background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%); }
.pys-hero-band--discipline { background: linear-gradient(135deg, #94A3B8 0%, #475569 100%); }
.pys-hero-band--health { background: linear-gradient(135deg, #34D399 0%, #059669 100%); }
.pys-hero-band--personnel_file { background: linear-gradient(135deg, #CBD5E1 0%, #64748B 100%); }
.pys-hero-band--events { background: linear-gradient(135deg, #FDBA74 0%, #EA580C 100%); }
.pys-hero-band--coach_tracking { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); }

/* Themed shell kartları */
.pys-themed-shell.glass-panel,
.pys-themed-shell .glass-panel.pys-module-page {
    border-color: rgba(63, 160, 236, 0.2);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 16px 38px rgba(0,0,0,.09);
    background: rgba(255, 255, 255, 0.92);
}
[data-pys-theme="hcp"] .pys-themed-shell .glass-panel.pys-module-page {
    background: linear-gradient(165deg, #FFFFFF 0%, #EAF1FA 52%, #DDE8F4 100%);
    border-color: rgba(63, 160, 236, 0.25);
}
#page-hcp .glass-panel.pys-module-page {
    overflow: visible;
    padding-top: 14px;
}
.pys-hero-band__actions {
    overflow: visible;
}
[data-pys-theme="calendar"] .pys-themed-shell.glass-panel { border-color: rgba(249, 115, 22, 0.2); }
[data-pys-theme="admin"] .pys-themed-shell.glass-panel { border-color: rgba(124, 58, 237, 0.2); }
[data-pys-theme="profile"] .pys-themed-shell.glass-panel { border-color: rgba(2, 132, 199, 0.2); }
[data-pys-theme="das"] .pys-themed-shell.glass-panel { border-color: rgba(20, 184, 166, 0.2); }

/* Okunabilir yazı alanları — tüm modüllerde */
[data-pys-theme] .pys-input,
[data-pys-theme] .pys-field,
[data-pys-theme] .hcp-field {
    background: #fff !important;
    border: 2px solid rgba(148, 163, 184, 0.45) !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}
[data-pys-theme] .pys-input:focus,
[data-pys-theme] .pys-field:focus {
    border-color: var(--color-action-primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}
[data-pys-theme="calendar"] .pys-input:focus { border-color: var(--color-warn-saturday) !important; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2) !important; }
[data-pys-theme="admin"] .pys-input:focus { border-color: var(--color-role-manager) !important; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2) !important; }
[data-pys-theme="profile"] .pys-input:focus { border-color: #0284c7 !important; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important; }

[data-pys-theme] .pys-section-label {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: none;
    background: linear-gradient(90deg, #1E6FD0, #2E8FFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Dashboard hero — canlı */
.dash-v3-hero {
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(56, 189, 248, 0.6), transparent 52%),
        radial-gradient(95% 85% at 100% 0%, rgba(129, 140, 248, 0.52), transparent 46%),
        radial-gradient(85% 75% at 50% 115%, rgba(45, 212, 191, 0.5), transparent 55%),
        linear-gradient(135deg, #bae6fd 0%, #c7d2fe 50%, #99f6e4 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.45) !important;
    box-shadow: 0 24px 56px rgba(46, 143, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
.dash-v3-launch-tile {
    border-width: 2px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.dash-v3-launch-tile--violet { background: linear-gradient(145deg, #c4b5fd, #7c3aed) !important; border-color: rgba(124, 58, 237, 0.5) !important; }
.dash-v3-launch-tile--sky { background: linear-gradient(145deg, #7dd3fc, #0284c7) !important; border-color: rgba(2, 132, 199, 0.5) !important; }
.dash-v3-launch-tile--emerald { background: linear-gradient(145deg, #6ee7b7, #059669) !important; border-color: rgba(5, 150, 105, 0.5) !important; }
.dash-v3-launch-tile--amber { background: linear-gradient(145deg, #fcd34d, #ea580c) !important; border-color: rgba(217, 119, 6, 0.5) !important; }

/* Modül brief üst kabuk */
#module-page-top.pys-module-brief-hero {
    border: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}
#module-page-top .pys-module-brief-tabs {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), #fff);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.5rem 1rem 0.65rem;
}
#module-page-top .pys-app-tab--on {
    background: linear-gradient(135deg, var(--color-action-primary), var(--color-brand-kobalt)) !important;
    color: #fff !important;
}

/* Profil sekmeleri */
[data-pys-theme="profile"] .profile-subtab[data-active="true"],
[data-pys-theme="profile"] .profile-subtab.bg-slate-900 {
    background: linear-gradient(135deg, #0284c7, #3FA0EC) !important;
    border-color: transparent !important;
    color: #fff !important;
}

[data-pys-theme="dashboard"] #page-dashboard .glass-panel {
    background: linear-gradient(145deg, #ffffff 0%, #bae6fd 55%, #ddd6fe 100%);
    border-color: rgba(2, 132, 199, 0.3);
}

/* —— HÇP Kategori A —— */
.hcp-identity-line {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.01em;
}
html.pys-theme-dark .hcp-identity-line { color: #cbd5e1; }

.hcp-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.125rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.hcp-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.hcp-btn-pill:hover { transform: translateY(-1px); filter: brightness(1.04); }
.hcp-btn-pill--ghost {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}
.hcp-btn-pill--ghost:hover { background: rgba(255, 255, 255, 0.26); }
.hcp-btn-pill--icon { width: 2.25rem; height: 2.25rem; padding: 0; }
.hcp-week-nav-label {
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
}
.hcp-btn-pill--primary {
    background: var(--color-action-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}

#hcp-shell-plan .hcp-row-pending,
#hcp-shell-plan .hcp-row-done,
#hcp-shell-plan .hcp-row-closed {
    border-radius: var(--hcp-row-radius);
    box-shadow: var(--hcp-card-shadow);
}

#hcp-shell-plan .hcp-item-row--carryover {
    background: linear-gradient(90deg, rgba(237, 233, 254, 0.55) 0%, #fff 38%) !important;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.35);
}
#hcp-shell-plan .hcp-carryover-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #6D28D9;
    background: #EDE9FE;
    border: 1px solid #C4B5FD;
    border-radius: 999px;
    padding: 2px 8px;
}
#hcp-shell-plan .hcp-carryover-badge i { font-size: 9px; }

/* Brief 04 — carry-forward devir seviyesine göre renk skalası (1-2 / 3-4 / 5+).
   Bileşik seçici (.hcp-item-row--carryover.hcp-item-row--carryover-N) tek-sınıflı
   temel kuralın !important'ını yenmek için daha yüksek specificity taşır. */
/* Devir seviyesi skalası — sarı/turuncu yerine COOL mor/indigo (Devir rozetiyle uyumlu).
   Escalation derinleşen mor tonlarıyla korunur: açık violet -> indigo -> derin indigo. */
#hcp-shell-plan .hcp-item-row--carryover.hcp-item-row--carryover-1 {
    border-left-color: #8B5CF6 !important; /* violet-500 */
    background: linear-gradient(90deg, #F5F3FF 0%, #fff 38%) !important; /* violet-50 */
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.12);
}
#hcp-shell-plan .hcp-item-row--carryover.hcp-item-row--carryover-3 {
    border-left-color: #7C3AED !important; /* violet-600 */
    background: linear-gradient(90deg, #EDE9FE 0%, #fff 42%) !important; /* violet-100 */
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.18);
}
#hcp-shell-plan .hcp-item-row--carryover.hcp-item-row--carryover-5 {
    border-left-color: #6D28D9 !important; /* violet-700 (Devir rozeti rengi) */
    background: linear-gradient(90deg, #DDD6FE 0%, #fff 44%) !important; /* violet-200 */
    box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.22);
}

#hcp-shell-plan .hcp-status-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}
#hcp-shell-plan .hcp-status-icon--pending { background: var(--color-status-pending-bg); color: var(--color-status-pending); }
#hcp-shell-plan .hcp-status-icon--progress { background: var(--color-status-progress-bg); color: var(--color-status-progress); }
#hcp-shell-plan .hcp-status-icon--success { background: var(--color-status-success-bg); color: var(--color-status-success); }
#hcp-shell-plan .hcp-status-icon--danger { background: var(--color-status-danger-bg); color: var(--color-status-danger); }
#hcp-shell-plan .hcp-status-icon--muted { background: var(--color-status-muted-bg); color: var(--color-status-muted); }

#hcp-shell-plan .hcp-section-icon {
    font-size: 0.75rem;
    margin-right: 0.35rem;
    vertical-align: -1px;
    opacity: 0.85;
}
#hcp-shell-plan .hcp-section-bekleyen .hcp-section-icon { color: var(--color-status-pending); }
#hcp-shell-plan .hcp-section-devam .hcp-section-icon { color: var(--color-status-progress); }
#hcp-shell-plan .hcp-section-tamamlanan .hcp-section-icon { color: var(--color-status-success); }
#hcp-shell-plan .hcp-section-not-completed .hcp-section-icon { color: var(--color-status-danger); }
#hcp-shell-plan .hcp-section-abandoned .hcp-section-icon { color: var(--color-status-muted); }

#hcp-shell-plan .hcp-section-not-completed .hcp-section-head,
#hcp-shell-plan .hcp-section-abandoned .hcp-section-head,
#hcp-shell-plan .hcp-section-head--collapsible {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}
#hcp-shell-plan .hcp-section-not-completed .hcp-section-head {
    background: linear-gradient(90deg, #FEE2E2, #FEF2F2);
    color: #B91C1C;
    border-bottom-color: rgba(220, 38, 38, 0.2);
}
#hcp-shell-plan .hcp-section-abandoned .hcp-section-head {
    background: linear-gradient(90deg, #EDE9FE, #F5F3FF);
    color: #6D28D9;
    border-bottom-color: rgba(124, 58, 237, 0.2);
}
#hcp-shell-plan .hcp-section-devam .hcp-section-head--collapsible {
    background: linear-gradient(90deg, #FEF3C7, #FFFBEB);
    color: #B45309;
    border-bottom-color: rgba(217, 119, 6, 0.22);
}
#hcp-shell-plan .hcp-section-tamamlanan .hcp-section-head--collapsible {
    background: linear-gradient(90deg, #D1FAE5, #ECFDF5);
    color: #047857;
    font-weight: 700;
    border-bottom-color: rgba(5, 150, 105, 0.22);
}
#hcp-shell-plan .hcp-section-devam.is-collapsed #hcp-devam-edenler,
#hcp-shell-plan .hcp-section-tamamlanan.is-collapsed #hcp-tamamlananlar,
#hcp-shell-plan .hcp-section-not-completed.is-collapsed #hcp-tamamlanamadi,
#hcp-shell-plan .hcp-section-abandoned.is-collapsed #hcp-vazgecildi { display: none; }
#hcp-shell-plan .hcp-section-card.is-collapsed .hcp-section-chevron { transform: rotate(180deg); }
#hcp-shell-plan .hcp-section-chevron { transition: transform 0.2s ease; }

#hcp-shell-plan .hcp-work-check--pending {
    border-color: var(--color-status-neutral);
    background: #fff;
}
#hcp-shell-plan .hcp-work-check--pending:hover { border-color: var(--color-action-primary); }
#hcp-shell-plan .hcp-work-check--complete-active,
#hcp-shell-plan .hcp-work-check--completed {
    background: var(--color-status-success);
    border-color: var(--color-status-success);
}
#hcp-shell-plan .hcp-work-check--progress {
    background: var(--color-status-progress-bg);
    border-color: var(--color-status-progress);
    color: #b45309;
}
#hcp-shell-plan .hcp-work-check--not-completed {
    background: var(--color-status-danger);
    border-color: var(--color-status-danger);
}
#hcp-shell-plan .hcp-work-check--abandoned {
    background: var(--color-status-muted);
    border-color: var(--color-status-muted);
}

#hcp-shell-plan .hcp-stats-strip {
    background: linear-gradient(135deg, #FFFFFF 0%, #E7F2FF 55%, #FBFAF6 100%);
    box-shadow: var(--hcp-card-shadow);
    border: 1px solid rgba(63, 160, 236, 0.2);
    border-radius: 14px;
}
#hcp-shell-plan .hcp-stats-strip__streak.is-active {
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border-color: rgba(234, 88, 12, 0.35) !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}
#hcp-shell-plan .hcp-stats-strip__streak.is-active #hcp-seri,
#hcp-shell-plan #hcp-seri.hcp-seri--active {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: #c2410c;
}
#hcp-shell-plan .hcp-stats-strip__streak.is-active .hcp-stat-icon--fire {
    animation: hcp-streak-fire 1.2s ease-in-out infinite alternate;
}
#hcp-shell-plan .hcp-stats-strip__progress {
    background: transparent;
}
#hcp-shell-plan .hcp-progress-track {
    background: #e2e8f0;
}
@keyframes hcp-streak-fire {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.08); filter: brightness(1.12); }
}

#hcp-shell-plan .hcp-feedback-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
    background: #EDE9FE;
    color: #6D28D9;
    border: 1px solid #C4B5FD;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.12);
}
#hcp-shell-plan .hcp-feedback-badge:hover { background: #DDD6FE; }

html.pys-theme-dark #page-hcp .glass-panel.pys-module-page {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.92));
    border-color: rgba(56, 189, 248, 0.25);
}
html.pys-theme-dark #hcp-shell-plan .hcp-row-pending,
html.pys-theme-dark #hcp-shell-plan .hcp-row-done,
html.pys-theme-dark #hcp-shell-plan .hcp-row-closed {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(51, 65, 85, 0.8);
}
html.pys-theme-dark #hcp-shell-plan .hcp-item-title { color: #e2e8f0; }
html.pys-theme-dark #hcp-shell-plan .hcp-quick-add {
    background: linear-gradient(180deg, rgba(12, 74, 110, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: #38BDF8;
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.15);
}
html.pys-theme-dark #hcp-shell-plan .hcp-quick-add__label { color: #7DD3FC; }
html.pys-theme-dark #hcp-shell-plan .hcp-quick-add__input {
    background: rgba(15, 23, 42, 0.75);
    color: #e2e8f0;
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}
html.pys-theme-dark #hcp-shell-plan .hcp-quick-add__unplanned { color: #cbd5e1; }
html.pys-theme-dark #hcp-shell-plan .hcp-work-area-chip {
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--wa-color) 70%, #0f172a),
        color-mix(in srgb, var(--wa-color) 55%, #000));
    color: #fff;
}
html.pys-theme-dark #hcp-shell-plan .hcp-work-area-chip:hover:not(.is-selected) {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--wa-color) 80%, #0f172a),
        color-mix(in srgb, var(--wa-color) 62%, #000));
    border-color: rgba(255, 255, 255, 0.28);
}
html.pys-theme-dark #hcp-shell-plan .hcp-work-area-chip.is-selected {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--wa-color) 85%, #0f172a),
        color-mix(in srgb, var(--wa-color) 65%, #000));
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.45);
    box-shadow:
        0 0 0 2px rgba(15, 23, 42, 0.95),
        0 0 0 4px var(--wa-color),
        0 4px 14px color-mix(in srgb, var(--wa-color) 50%, transparent);
    transform: translateY(-1px);
}
html.pys-theme-dark #hcp-shell-plan .hcp-plan-disi-chip {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(251, 191, 36, 0.45);
    color: #FCD34D;
}
html.pys-theme-dark #hcp-shell-plan .hcp-plan-disi-chip.is-active {
    background: rgba(245, 158, 11, 0.22);
    border-color: #F59E0B;
    color: #FDE68A;
}
html.pys-theme-dark #hcp-shell-plan .hcp-plan-disi-divider { background: #475569; }
html.pys-theme-dark #hcp-shell-plan .hcp-quick-add__areas-label { color: #94a3b8; }
html.pys-theme-dark #hcp-shell-plan .hcp-btn-primary {
    background: var(--color-action-primary);
}
@media (prefers-reduced-motion: reduce) {
    .pys-hero-band { animation: none; }
    #hcp-shell-plan .hcp-stats-strip__streak.is-active .hcp-stat-icon--fire { animation: none; }
}

/* —— C Gamification —— */
.hcp-streak-hint {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-left: 4px;
}
.hcp-streak-record {
    font-size: 11px;
    color: var(--color-text-tertiary);
    margin-left: 8px;
}
.hcp-streak--lv0 { color: var(--color-status-neutral); opacity: 0.85; }
.hcp-streak--lv0 .hcp-streak-flame { filter: grayscale(0.6); opacity: 0.5; }
.hcp-streak--lv1 { color: var(--color-status-warning); }
.hcp-streak--lv1.is-active { background: var(--color-status-progress-bg); border-radius: 8px; padding: 2px 6px; }
.hcp-streak--lv2 { color: var(--color-status-warning); font-weight: 600; }
.hcp-streak--lv3 { color: var(--color-deadline); font-weight: 700; }
.hcp-streak--lv4 {
    color: var(--color-deadline);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-status-progress-bg), var(--color-status-success-bg));
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.25);
}
.hcp-progress-ring-wrap {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.hcp-progress-ring {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--color-status-neutral) 0deg, var(--color-status-neutral) 360deg);
}
.hcp-gamif-panel {
    margin: 0;
}
.hcp-gamif-shield-notice {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    background: var(--color-status-progress-bg);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #92400e;
}
.hcp-gamif-celebration {
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: var(--color-status-success-bg);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: #065f46;
}
.hcp-gamif-celebration--badge {
    background: var(--color-status-muted-bg);
    border-color: rgba(139, 92, 246, 0.25);
    color: #5b21b6;
}
.hcp-gamif-celebration.is-visible {
    animation: hcp-gamif-sweep-in 0.45s ease;
}
@keyframes hcp-gamif-sweep-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
.hcp-strip2.hcp-gamif-sweep {
    animation: hcp-gamif-strip-sweep 0.55s ease;
}
@keyframes hcp-gamif-strip-sweep {
    0% { box-shadow: inset 0 0 0 0 rgba(5, 150, 105, 0); }
    40% { box-shadow: inset 120px 0 24px -24px rgba(5, 150, 105, 0.12); }
    100% { box-shadow: inset 0 0 0 0 rgba(5, 150, 105, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hcp-gamif-celebration.is-visible,
    .hcp-strip2.hcp-gamif-sweep,
    .hcp-header-action-bar.hcp-gamif-sweep { animation: none; }
    .hcp-streak.is-active .hcp-streak-flame { animation: none; }
}

.hcp-plan-view-pane {
    padding: 0 1.25rem;
}
.hcp-plan-view-pane.hidden { display: none; }

/* —— 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:#16A34A; }
.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); }

/* Geri bildirim — plan kabuğu içinde; hero + action bar kalır, hafta içeriği gizlenir */
.hcp-view-feedbacks #hcp-shell-plan > .hcp-lock-banner-wrap,
.hcp-view-feedbacks #hcp-shell-plan > #hcp-plan-week-content,
.hcp-view-feedbacks #hcp-command-deck-mount,
.hcp-view-feedbacks #hcp-gamif-panel {
    display: none !important;
}
.hcp-view-feedbacks #hcp-plan-alt-content {
    display: block !important;
    padding: 0;
    max-width: 920px;
    margin: 0 auto;
}
.hcp-view-feedbacks #hcp-shell-plan > .pys-hcp-banner-wrap {
    margin-bottom: 0;
}
body.hcp-view-feedbacks #hcp-shell-control,
body.hcp-view-feedbacks #hcp-shell-ai-briefing {
    display: none !important;
}
body.hcp-view-feedbacks #hcp-shell-plan.hidden {
    display: block !important;
}
.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-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-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: #16A34A; }
.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-item-fb--minus { background: #FFF7ED; border-left-color: #F59E0B; color: #9A3412; }
.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:#16A34A; }
.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:#16A34A; }
.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: 13.5px;
    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: #94a3b8;
    font-style: italic;
    padding: 0.75rem 0.5rem 0.75rem 2rem;
}

.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; }

/* —— Kapalı hafta UX —— */
.hcp-week-closed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.5rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #9a3412;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
    vertical-align: middle;
}
.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: #94a3b8; 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: #1E6FD0; }
.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: 10.5px; 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: #1E6FD0; }
.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: 10.5px; 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: 12.5px; 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); }
/* 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: 12.5px; font-weight: 600; color: #334155;
}
.hcp-progress-band__title b { font-size: 14px; font-weight: 800; color: #16A34A; }
.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: 12.5px; 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: 10.5px; font-weight: 800; opacity: 0.75;
}
/* Kronik devir uyarı bandı — 5+ haftadır devreden işler için liste başı özeti */
.hcp-chronic-strip {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px; padding: 10px 14px;
    border-radius: 12px; background: #FFF7E8;
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.14);
}
.hcp-chronic-strip__icon {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #FDE9C8; color: #B45309; font-size: 13px;
}
.hcp-chronic-strip__text {
    flex: 1; min-width: 0;
    font-size: 12.5px; font-weight: 600; color: #92400E; line-height: 1.4;
}
.hcp-chronic-strip__btn {
    flex-shrink: 0; border: none; cursor: pointer;
    padding: 6px 14px; border-radius: 9px;
    background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
    font-size: 12px; font-weight: 700;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
    transition: filter 0.15s, transform 0.12s;
}
.hcp-chronic-strip__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* "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; }
/* 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: #94a3b8; 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: 12.5px; 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; }

/* Kategori G — yönetici ekip özeti (banner altı, kompakt) */
#hcp-command-deck-mount {
    margin: 0 1.25rem 10px;
}
.hcp-command-deck {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}
.hcp-command-deck.hidden { display: none; }
.hcp-command-deck__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    text-align: left;
}
.hcp-command-deck__toggle:hover { background: #FBFAF6; }
.hcp-command-deck__week {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}
.hcp-command-deck__title {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0.04em;
}
.hcp-command-deck__chev {
    margin-left: auto;
    font-size: 10px;
    color: #94a3b8;
}
.hcp-command-deck__body { padding: 8px 10px 10px; }
.hcp-command-deck.is-collapsed .hcp-command-deck__body { display: none; }

.hcp-command-deck__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}
@media (max-width: 520px) {
    .hcp-command-deck__metrics { grid-template-columns: 1fr; }
}
.hcp-deck-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hcp-deck-metric:hover {
    border-color: #7dd3fc;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
}
.hcp-deck-metric--warn {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb, #fff);
}
.hcp-deck-metric--warn .hcp-deck-metric__val { color: #b45309; }
.hcp-deck-metric--alert {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fef2f2, #fff);
}
.hcp-deck-metric--alert .hcp-deck-metric__val { color: #dc2626; }
.hcp-deck-metric--skel {
    pointer-events: none;
    opacity: 0.55;
    animation: hcp-deck-pulse 1.4s ease-in-out infinite;
}
@keyframes hcp-deck-pulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.75; }
}
.hcp-deck-metric__val {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}
.hcp-deck-metric__lbl {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.hcp-command-deck__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
@media (max-width: 640px) {
    .hcp-command-deck__actions { grid-template-columns: 1fr; }
}
.hcp-deck-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.hcp-deck-action:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
    transform: translateY(-1px);
}
.hcp-deck-action--admin {
    border-color: #ddd6fe;
    background: linear-gradient(135deg, #faf5ff, #fff);
}
.hcp-deck-action--admin:hover {
    border-color: #a78bfa;
    background: #f5f3ff;
}
.hcp-deck-action__icon { font-size: 16px; line-height: 1; }
.hcp-deck-action__lbl {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.hcp-deck-action--admin .hcp-deck-action__lbl { color: #6d28d9; }
.hcp-deck-action__hint {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    margin-left: auto;
}
.hcp-fb-panel--compact { padding: 0 1.25rem 1rem; }
.hcp-fb-panel--compact .hcp-fb-tabs { margin-top: 0; }

.hcp-deck-error {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #64748b;
    margin: 0;
}
.hcp-deck-retry {
    border: none;
    background: none;
    color: #0ea5e9;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* Kategori G — kontrol yerinde +/–/DD */
.hcp-mark-btn {
    min-width: 2.25rem;
    height: 2rem;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}
.hcp-mark-btn:hover { background: #FBFAF6; }
.hcp-mark-btn.is-active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}

/* Kategori G — geri bildirim şablon çipleri */
.hcp-fb-chip {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
}
.hcp-fb-chip:hover { background: #e0f2fe; border-color: #7dd3fc; }

/* Kategori G — koç onboarding */
.hcp-onboard-overlay {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.hcp-onboard-overlay.hidden { display: none; }
.hcp-onboard-card {
    max-width: 22rem;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
.hcp-onboard-step { font-size: 11px; color: #94a3b8; margin: 0 0 6px; }
.hcp-onboard-title { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.hcp-onboard-body { font-size: 14px; color: #475569; line-height: 1.5; margin: 0 0 16px; }
.hcp-onboard-actions { display: flex; justify-content: space-between; gap: 8px; }
.hcp-onboard-skip {
    font-size: 13px;
    color: #64748b;
    background: none;
    border: none;
    padding: 8px 12px;
}
.hcp-onboard-next {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: #0ea5e9;
    color: #fff;
}

/* —— HÇP brief 02–04 ek stiller —— */
.hcp-onboard-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #93C5FD;
}
.hcp-onboard-banner.hidden { display: none; }
.hcp-onboard-banner__text { font-size: 13px; color: #1e3a5f; margin: 0; flex: 1; min-width: 200px; }
.hcp-onboard-banner__actions { display: flex; gap: 8px; }
.hcp-onboard-banner__btn {
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px;
    border: none; background: var(--hcp-status-info); color: #fff; cursor: pointer;
}
.hcp-onboard-banner__btn--ghost { background: transparent; color: #475569; border: 1px solid #cbd5e1; }

.hcp-deck-actionline-wrap { padding: 4px 0; }
.hcp-deck-actionline {
    width: 100%; text-align: left; font-size: 13px; font-weight: 500;
    padding: 8px 10px; border-radius: 10px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400e;
}
.hcp-deck-actionline--ok { font-size: 13px; color: #64748b; padding: 6px 10px; margin: 0; }

.hcp-gamif-time-card {
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #86EFAC;
}
.hcp-gamif-time-title { font-size: 12px; font-weight: 700; color: #14532d; margin: 0 0 8px; }
.hcp-gamif-time-row { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; }
.hcp-gamif-time-tag { color: #1b2a2e; }
.hcp-gamif-time-val { font-weight: 600; color: #059669; }
.hcp-gamif-time-hint { font-size: 11px; color: #64748b; margin: 8px 0 0; }
.hcp-gamif-time-empty { font-size: 11px; color: #64748b; margin: 0; }
.hcp-gamif-time-secondary {
    margin-top: 8px; font-size: 11px; color: #64748b; background: none; border: none;
    text-decoration: underline; cursor: pointer; padding: 0;
}

.hcp-inline-title {
    flex: 1; min-width: 120px; border: none; background: transparent;
    font-size: 14px; font-weight: 500; color: #0f172a; padding: 4px 0;
}
.hcp-inline-title:focus { outline: none; border-bottom: 2px solid var(--hcp-status-info); }
.hcp-inline-title:disabled { opacity: 0.6; cursor: not-allowed; }
.hcp-inline-title--done {
    text-align: left; cursor: pointer; line-height: 1.35;
    font-family: inherit; font-size: 14px; font-weight: 500; color: #0f172a;
}
.hcp-inline-title--done:hover { color: var(--hcp-status-info); text-decoration: underline; text-underline-offset: 2px; }
.hcp-inline-title--done:focus { outline: none; text-decoration: underline; text-underline-offset: 2px; }
.hcp-inline-duration {
    width: 52px; font-size: 11px; text-align: center; padding: 4px;
    border-radius: 6px; border: 1px solid #e2e8f0; background: #f8fafc;
}
.hcp-item-duration-wrap { display: flex; align-items: center; }

.hcp-icon-button {
    position: relative; min-width: 32px; min-height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; background: transparent; cursor: pointer; color: #64748b;
    border-radius: 8px; padding: 4px;
}
.hcp-icon-button::before { content: ""; position: absolute; inset: -6px; }
.hcp-icon-button:hover, .hcp-icon-button:focus-visible { color: #0f172a; background: #FBFAF6; }
.hcp-icon-button:focus-visible { outline: 2px solid var(--hcp-status-info); outline-offset: 2px; }

.hcp-item-delete { opacity: 0.45; }
.hcp-item-delete:hover, .hcp-item-delete:focus-visible { opacity: 1; color: var(--hcp-status-danger); }

.hcp-control-history-panel {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(24rem, 92vw);
    z-index: 88; background: #fff; border-left: 1px solid #e2e8f0;
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.08);
    display: flex; flex-direction: column;
}
.hcp-control-history-panel.hidden { display: none; }
.hcp-control-history-panel__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-bottom: 1px solid #e2e8f0; font-weight: 600; font-size: 14px;
}
.hcp-control-history-panel__body { flex: 1; overflow-y: auto; padding: 12px 14px; }

.hcp-quick-add__duration {
    width: 72px; font-size: 12px; padding: 6px 8px; border-radius: 8px;
    border: 1px solid #e2e8f0; background: #fff;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:root {
    --color-work-area-veri: #0EA5E9;
    --color-work-area-operasyon: #10B981;
    --color-work-area-bip: #2563EB;
    --color-work-area-motivasyon: #22C55E;
    --color-work-area-danismanlik: #0EA5E9;
    --color-work-area-problem: #EF4444;
    --color-work-area-idari: #475569;
    --color-work-area-akademik: #A855F7;
    --color-work-area-operasyonel: #EAB308;
    --color-work-area-idari-operasyonel: #EAB308;
    --color-work-area-dijitallesme: #06B6D4;
    --color-work-area-arsiv-duzenleme: #D97706;
    --color-work-area-surec-strateji: #6366F1;
    --color-work-area-aile: #EC4899;
    --color-work-area-etkinlik: #F97316;
    --color-work-area-egitim: #059669;
    --color-work-area-toplanti: #8B5CF6;
    --color-work-area-supervizyon: #84CC16;
    --color-work-area-ogretim: #14B8A6;
    --color-work-area-gozlem: #E11D48;
    --color-work-area-iletisim: #9333EA;
    --color-work-area-yayginlastirma: #C2410C;
    --color-work-area-iyilestirme: #4D7C0F;
    --color-work-area-diger: #64748B;
    --hcp-chip-plan-disi-bg: #FFFBEB;
    --hcp-chip-plan-disi-border: #FDE68A;
    --hcp-chip-plan-disi-text: #B45309;
    --hcp-chip-plan-disi-active-bg: #FEF3C7;
    --hcp-chip-plan-disi-active-border: #F59E0B;
}

.hcp-work-area-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 6px;
}
.hcp-work-area-chip,
.hcp-plan-disi-chip {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.hcp-work-area-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg,
        var(--wa-color),
        color-mix(in srgb, var(--wa-color) 78%, #000));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    box-shadow:
        0 2px 10px color-mix(in srgb, var(--wa-color) 38%, transparent),
        0 1px 3px rgba(0, 0, 0, 0.12);
}
.hcp-work-area-chip:hover:not(.is-selected) {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--wa-color) 90%, #fff),
        color-mix(in srgb, var(--wa-color) 68%, #000));
    color: #fff;
    box-shadow:
        0 4px 16px color-mix(in srgb, var(--wa-color) 52%, transparent),
        0 2px 6px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}
.hcp-work-area-chip.is-selected {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--wa-color) 88%, #fff),
        color-mix(in srgb, var(--wa-color) 65%, #000));
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px var(--wa-color),
        0 4px 16px color-mix(in srgb, var(--wa-color) 52%, transparent);
    transform: translateY(-1px);
}
.hcp-work-area-chip.is-selected[data-work-area="operasyonel"],
.hcp-work-area-chip.is-selected[data-work-area="supervizyon"],
.hcp-work-area-chip[data-work-area="operasyonel"],
.hcp-work-area-chip[data-work-area="supervizyon"] {
    color: #1e293b;
    text-shadow: none;
}
.hcp-work-area-chip--disabled,
.hcp-work-area-chip[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
.hcp-quick-add--disabled {
    opacity: 0.55;
}
.hcp-quick-add--disabled .hcp-quick-add__unplanned {
    opacity: 0.6;
    pointer-events: none;
}
.hcp-plan-disi-divider {
    display: inline-block;
    flex-shrink: 0;
    width: 1px;
    height: 18px;
    background: #CBD5E1;
    margin: 0 1px;
}
.hcp-plan-disi-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hcp-chip-plan-disi-border);
    background: var(--hcp-chip-plan-disi-bg);
    color: var(--hcp-chip-plan-disi-text);
}
.hcp-plan-disi-chip:hover {
    background: #FEF9C3;
    border-color: #FBBF24;
}
.hcp-plan-disi-chip.is-active {
    background: var(--hcp-chip-plan-disi-active-bg);
    border-color: var(--hcp-chip-plan-disi-active-border);
    color: #92400E;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18);
}
.hcp-work-area-badge {
    font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--wa-color) 80%, #000), var(--wa-color));
    color: #fff; white-space: nowrap;
}
.hcp-quick-add__areas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.375rem;
}
.hcp-quick-add__areas-label { font-size: 11px; font-weight: 600; color: #64748b; display: block; }
.hcp-item-duration-badge { font-size: 11px; font-weight: 600; color: #059669; padding: 2px 6px; background: #ecfdf5; border-radius: 6px; }
.hcp-item-row-actions {
    display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.hcp-row-action {
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 28px; padding: 2px 8px; border: none; border-radius: 6px;
    background: transparent; font-size: 11px; font-weight: 600; color: #64748b;
    cursor: pointer; white-space: nowrap; position: relative; z-index: 2;
}
.hcp-row-action:hover, .hcp-row-action:focus-visible { background: #FBFAF6; color: #1b2a2e; }
.hcp-row-action--status { color: #0f766e; background: #f0fdfa; border: 1px solid #99f6e4; }
.hcp-row-action--status:hover, .hcp-row-action--status:focus-visible { background: #ccfbf1; color: #115e59; }
.hcp-row-action--change { color: #b45309; }
.hcp-row-action--change:hover { background: #fffbeb; color: #92400e; }
.hcp-row-action--pending { color: #c2410c; }
.hcp-row-action--pending:hover { background: #fff7ed; color: #9a3412; }
.hcp-row-action--delete { color: #dc2626; }
.hcp-row-action--delete:hover { background: #fef2f2; color: #b91c1c; }
.hcp-row-action__chev { font-size: 9px; opacity: 0.7; }
.hcp-item-row--needs-detail { background: linear-gradient(90deg, rgba(254, 243, 199, 0.35) 0%, transparent 70%); }
.hcp-section-detail-warn {
    display: flex; align-items: center; gap: 6px; margin: 0 0 8px;
    font-size: 12px; font-weight: 600; color: #b45309;
}
.hcp-section-detail-form { margin-top: 6px; }
.hcp-inline-status-form {
    margin: 8px 0 0 30px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid #e2e8f0; background: #f8fafc;
}
.hcp-status-wrap { display: inline-flex; align-items: center; gap: 2px; }
.hcp-status-menu-btn {
    min-width: 28px; min-height: 28px; padding: 0 4px; border: none; background: transparent;
    color: #64748b; font-size: 12px; line-height: 1; border-radius: 6px; cursor: pointer;
}
.hcp-status-menu-btn:hover, .hcp-status-menu-btn:focus-visible { background: #FBFAF6; color: #1b2a2e; }
.hcp-inline-status-bar {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 4px 0 6px 36px;
}
.hcp-status-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
    border: 1px solid #e2e8f0; border-radius: 999px; background: #fff;
    font-size: 11px; font-weight: 600; color: #1b2a2e; cursor: pointer;
}
.hcp-status-chip:hover { background: #f8fafc; border-color: #cbd5e1; }
.hcp-status-chip.is-current { border-color: var(--status-color, #0ea5e9); background: #f0f9ff; }
.hcp-status-chip .hcp-status-dot { width: 8px; height: 8px; }
.hcp-readonly-mode .hcp-quick-add,
.hcp-readonly-mode .hcp-item-delete,
.hcp-readonly-mode .hcp-row-action,
.hcp-readonly-mode .hcp-btn-tik,
.hcp-readonly-mode .hcp-inline-title,
.hcp-readonly-mode .hcp-header-submit,
.hcp-readonly-mode .hcp-header-control,
.hcp-readonly-mode .hcp-strip-submit,
.hcp-readonly-mode #hcp-new-title,
.hcp-readonly-mode #hcp-new-submit { pointer-events: none; cursor: default; }

.pys-readonly-manager #main-app input:not(.hcp-readonly-allowed),
.pys-readonly-manager #main-app textarea:not(.hcp-readonly-allowed),
.pys-readonly-manager #main-app select:not(.hcp-readonly-allowed) {
    pointer-events: none;
    cursor: default;
}

.hcp-center-modal-root {
    position: fixed;
    inset: 0;
    z-index: 88;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}
.hcp-center-modal-root.is-open { pointer-events: auto; }
.hcp-center-modal-root__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.hcp-center-modal-root.is-open .hcp-center-modal-root__backdrop { opacity: 1; }
.hcp-center-modal {
    position: relative;
    width: min(520px, 100%);
    max-height: min(85vh, 720px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(8px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.hcp-center-modal-root.is-open .hcp-center-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.hcp-center-modal--lg { width: min(640px, 100%); }
/* Telefonda modala daha çok alan: kenar boşluğu daralır, gövde daha uzun kaydırılır */
@media (max-width: 430px) {
    .hcp-center-modal-root { padding: 10px; }
    .hcp-center-modal { max-height: 92vh; }
}
.hcp-center-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(5, 150, 105, 0.05));
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}
.hcp-center-modal__title { font-weight: 700; font-size: 1rem; color: #0f172a; }
.hcp-center-modal__close {
    border: none;
    background: #FBFAF6;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}
.hcp-center-modal__close:hover { background: #e2e8f0; color: #0f172a; }
.hcp-center-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.hcp-center-modal__foot {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.hcp-suggest-fab {
    display: none !important;
}

.exec-suggest-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 14px 5px 6px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.55);
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 45%, #ffedd5 100%);
    box-shadow: 0 2px 14px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    max-width: 100%;
}
.exec-suggest-header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    filter: brightness(1.02);
}
.exec-suggest-header-btn:active { transform: translateY(0); }
.exec-suggest-header-btn__icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 45%, #ea580c 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.exec-suggest-header-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
    min-width: 0;
}
.exec-suggest-header-btn__line1 {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #b45309;
    white-space: nowrap;
}
.exec-suggest-header-btn__line2 {
    font-size: 10.5px;
    font-weight: 700;
    color: #78350f;
    white-space: nowrap;
}
@media (max-width: 640px) {
    #header-exec-suggest-center .exec-suggest-header-btn__text { display: none; }
    #header-exec-suggest-center .exec-suggest-header-btn { padding: 6px; border-radius: 50%; }
}

.hcp-row-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1b2a2e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.hcp-row-detail-btn:hover { border-color: #0ea5e9; color: #0369a1; background: #f0f9ff; }

.hcp-yz-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(14, 165, 233, 0.1));
    color: #5b21b6;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.hcp-yz-quick-btn:hover { filter: brightness(1.03); }

.hcp-btn-suggest { font-size: 0.75rem; }
.hcp-plan-loading-skeleton .hcp-skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #FBFAF6 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: hcp-skeleton-shimmer 1.2s ease-in-out infinite;
}
@keyframes hcp-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* —— HÇP Kontrol paneli —— */
#hcp-shell-control .hcp-ctrl-page { width: 100%; max-width: none; }
#hcp-shell-control .hcp-ctrl-page--full { min-height: 0; }
#hcp-shell-control .hcp-ctrl-msg { font-size: 0.75rem; min-height: 1.25rem; margin-bottom: 0.5rem; padding: 0 1rem; }
@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-msg { padding: 0 1.25rem; }
}

#hcp-shell-control .hcp-ctrl-deck {
    margin: 0 1rem 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-deck { margin-left: 1.25rem; margin-right: 1.25rem; }
}
#hcp-shell-control .hcp-ctrl-deck-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem 1rem;
}
#hcp-shell-control .hcp-ctrl-deck-row--filters {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px solid #FBFAF6;
    justify-content: space-between;
}
#hcp-shell-control .hcp-ctrl-stats-wrap--inline {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
#hcp-shell-control .hcp-ctrl-stats-wrap--inline .hcp-ctrl-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr);
    gap: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-stats-wrap--inline .hcp-ctrl-stat {
    padding: 0.4375rem 0.5rem;
}
#hcp-shell-control .hcp-ctrl-stats-wrap--inline .hcp-ctrl-stat-val {
    font-size: 0.9375rem;
}
@media (max-width: 899px) {
    #hcp-shell-control .hcp-ctrl-stats-wrap--inline .hcp-ctrl-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #hcp-shell-control .hcp-ctrl-stats-wrap--inline .hcp-ctrl-stat-progress {
        grid-column: 1 / -1;
    }
}

#hcp-shell-control .hcp-ctrl-toolbar {
    margin: 0 1rem 1rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.04);
}
#hcp-shell-control .hcp-ctrl-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}
#hcp-shell-control .hcp-ctrl-week-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#hcp-shell-control .hcp-ctrl-week-label i { color: #1E6FD0; opacity: 0.85; }
#hcp-shell-control .hcp-ctrl-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
#hcp-shell-control .hcp-ctrl-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
#hcp-shell-control .hcp-ctrl-search-icon {
    position: absolute;
    left: 0.625rem;
    font-size: 0.6875rem;
    color: #94a3b8;
    pointer-events: none;
}
#hcp-shell-control .hcp-ctrl-search {
    font-size: 0.75rem;
    padding: 0.4375rem 0.75rem 0.4375rem 1.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    background: #fff;
    color: #1b2a2e;
    min-width: 11rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#hcp-shell-control .hcp-ctrl-search:focus {
    border-color: #1E6FD0;
    box-shadow: 0 0 0 3px rgba(46, 143, 255, 0.12);
}
#hcp-shell-control .hcp-ctrl-tool-btn {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#hcp-shell-control .hcp-ctrl-tool-btn:hover {
    border-color: #1E6FD0;
    color: #1E6FD0;
    background: #f8fafc;
}

@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-toolbar { margin-left: 1.25rem; margin-right: 1.25rem; }
}
#hcp-shell-control .hcp-ctrl-stats-wrap { margin-bottom: 0.75rem; }
#hcp-shell-control .hcp-ctrl-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr);
    }
}
#hcp-shell-control .hcp-ctrl-stat {
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    text-align: center;
}
#hcp-shell-control .hcp-ctrl-stat-val {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.2;
}
#hcp-shell-control .hcp-ctrl-stat-lbl {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.04em;
    margin-top: 0.125rem;
    opacity: 0.85;
}
#hcp-shell-control .hcp-ctrl-stat--plus { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
#hcp-shell-control .hcp-ctrl-stat--minus { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
#hcp-shell-control .hcp-ctrl-stat--dd { background: #fffbeb; border-color: #fde68a; color: #92400e; }
#hcp-shell-control .hcp-ctrl-stat--pending { background: #FBFAF6; border-color: #cbd5e1; color: #475569; }
#hcp-shell-control .hcp-ctrl-stat-progress {
    grid-column: 1 / -1;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}
@media (min-width: 640px) {
    #hcp-shell-control .hcp-ctrl-stat-progress { grid-column: auto; }
}
#hcp-shell-control .hcp-ctrl-stat-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-stat-progress-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1b2a2e;
}
#hcp-shell-control .hcp-ctrl-stat-progress-pct {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1E6FD0;
}
#hcp-shell-control .hcp-ctrl-stat-progress-track {
    height: 0.375rem;
    border-radius: 9999px;
    background: #e2e8f0;
    overflow: hidden;
}
#hcp-shell-control .hcp-ctrl-stat-progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #1E6FD0, #3FA0EC);
    transition: width 0.35s ease;
}

#hcp-shell-control .hcp-ctrl-help-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1E6FD0;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 9999px;
    padding: 0.3125rem 0.625rem;
    cursor: pointer;
    flex-shrink: 0;
}
#hcp-shell-control .hcp-ctrl-help-toggle.is-open {
    background: #1E6FD0;
    color: #fff;
    border-color: #1E6FD0;
}
#hcp-shell-control .hcp-ctrl-help {
    padding: 0.625rem 0.875rem;
    margin-top: 0.625rem;
    border-radius: 0.625rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
}
#hcp-shell-control .hcp-ctrl-help-text {
    font-size: 0.75rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}
#hcp-shell-control .hcp-ctrl-intro-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.3125rem;
    font-size: 0.6875rem;
    font-weight: 700;
    vertical-align: middle;
    margin: 0 0.0625rem;
}
#hcp-shell-control .hcp-ctrl-intro-mark--plus { background: #d1fae5; color: #065f46; }
#hcp-shell-control .hcp-ctrl-intro-mark--minus { background: #fee2e2; color: #991b1b; }
#hcp-shell-control .hcp-ctrl-intro-mark--dd { background: #fef3c7; color: #92400e; }

#hcp-shell-control .hcp-ctrl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    margin-left: 0.25rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    background: rgba(0,0,0,0.12);
}
#hcp-shell-control .hcp-filter-chip.is-active .hcp-ctrl-filter-count {
    background: rgba(255,255,255,0.25);
}

#hcp-shell-control .hcp-ctrl-pending-mount {
    padding: 0 1rem;
    margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-pending-mount { padding: 0 1.25rem; }
}

#hcp-shell-control .hcp-ctrl-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 0 1rem 1.25rem;
    align-items: start;
}
@media (min-width: 900px) {
    #hcp-shell-control .hcp-ctrl-layout {
        grid-template-columns: minmax(240px, 272px) minmax(0, 1fr);
        padding: 0 1.25rem 1.5rem;
        gap: 1rem;
    }
}
#hcp-shell-control .hcp-ctrl-sidebar {
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
#hcp-shell-control .hcp-ctrl-coach-picker {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: min(420px, 55vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}
#hcp-shell-control .hcp-ctrl-coach-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    border: 1px solid transparent;
    background: #f8fafc;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-coach-row:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}
#hcp-shell-control .hcp-ctrl-coach-row.is-active {
    background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
    border-color: #1E6FD0;
    box-shadow: 0 2px 10px rgba(46, 143, 255, 0.12);
}
#hcp-shell-control .hcp-ctrl-coach-row--dim { opacity: 0.45; }
#hcp-shell-control .hcp-ctrl-coach-row-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #1E6FD0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}
#hcp-shell-control .hcp-ctrl-coach-row.is-active .hcp-ctrl-coach-row-avatar {
    background: linear-gradient(135deg, #1E6FD0, #3FA0EC);
    color: #fff;
}
#hcp-shell-control .hcp-ctrl-coach-row-body { flex: 1; min-width: 0; }
#hcp-shell-control .hcp-ctrl-coach-row-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#hcp-shell-control .hcp-ctrl-coach-row-meta {
    display: block;
    font-size: 0.625rem;
    color: #64748b;
    margin-top: 0.125rem;
}
#hcp-shell-control .hcp-ctrl-coach-row-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}
#hcp-shell-control .hcp-ctrl-coach-row-pending {
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
#hcp-shell-control .hcp-ctrl-coach-row-status {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
}
#hcp-shell-control .hcp-ctrl-coach-row-status--done {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
#hcp-shell-control .hcp-ctrl-coach-row-status--waiting {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

#hcp-shell-control .hcp-ctrl-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem 1.25rem;
}
@media (min-width: 768px) {
    #hcp-shell-control .hcp-ctrl-main { padding: 0 1.25rem 1.5rem; }
}

#hcp-shell-control .hcp-ctrl-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

#hcp-shell-control .hcp-ctrl-coach-picker {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.625rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
#hcp-shell-control .hcp-ctrl-coach-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 11rem;
    max-width: 15rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    position: relative;
}
#hcp-shell-control .hcp-ctrl-coach-tab:hover {
    border-color: #c7d2fe;
    background: #fafafa;
}
#hcp-shell-control .hcp-ctrl-coach-tab.is-active {
    border-color: #1E6FD0;
    background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
    box-shadow: 0 4px 16px rgba(46, 143, 255, 0.15);
}
#hcp-shell-control .hcp-ctrl-coach-tab-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #1E6FD0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid #c7d2fe;
}
#hcp-shell-control .hcp-ctrl-coach-tab.is-active .hcp-ctrl-coach-tab-avatar {
    background: linear-gradient(135deg, #1E6FD0, #3FA0EC);
    color: #fff;
    border-color: transparent;
}
#hcp-shell-control .hcp-ctrl-coach-tab-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
#hcp-shell-control .hcp-ctrl-coach-tab-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#hcp-shell-control .hcp-ctrl-coach-tab-meta {
    font-size: 0.625rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#hcp-shell-control .hcp-ctrl-coach-tab-dot {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}
#hcp-shell-control .hcp-ctrl-coach-tab-status {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    flex-shrink: 0;
}
#hcp-shell-control .hcp-ctrl-coach-tab-status--done {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
#hcp-shell-control .hcp-ctrl-coach-tab-status--waiting {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
#hcp-shell-control .hcp-ctrl-picker-empty {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

#hcp-shell-control .hcp-ctrl-work-area {
    flex: 1;
    min-height: 12rem;
}
#hcp-shell-control .hcp-ctrl-work-panel {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--hcp-card-shadow, 0 4px 14px rgba(15, 23, 42, 0.08));
}
#hcp-shell-control .hcp-ctrl-work-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    border-bottom: 1px solid #FBFAF6;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
#hcp-shell-control .hcp-ctrl-work-coach {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
#hcp-shell-control .hcp-ctrl-work-coach-info { flex: 1; min-width: 0; }
#hcp-shell-control .hcp-ctrl-coach-nav {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-coach-nav:hover:not(:disabled) {
    border-color: #1E6FD0;
    color: #1E6FD0;
    background: #eef2ff;
}
#hcp-shell-control .hcp-ctrl-coach-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
#hcp-shell-control .hcp-ctrl-nav-pos {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.4375rem;
    border-radius: 9999px;
    background: #FBFAF6;
    color: #64748b;
}

#hcp-shell-control .hcp-ctrl-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#hcp-shell-control .hcp-ctrl-pending-card {
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
}
#hcp-shell-control .hcp-ctrl-pending-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #92400e;
}
#hcp-shell-control .hcp-ctrl-pending-title {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}
#hcp-shell-control .hcp-ctrl-pending-count {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #fef3c7;
    border: 1px solid #fde68a;
}
#hcp-shell-control .hcp-ctrl-pending-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    color: #78350f;
}
#hcp-shell-control .hcp-ctrl-pending-list li + li { margin-top: 0.25rem; }
#hcp-shell-control .hcp-ctrl-pending-type { opacity: 0.75; }

#hcp-shell-control .hcp-ctrl-coach-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
#hcp-shell-control .hcp-ctrl-coach-avatar {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #1E6FD0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid #c7d2fe;
}
#hcp-shell-control .hcp-ctrl-coach-info { flex: 1; min-width: 0; }
#hcp-shell-control .hcp-ctrl-coach-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-coach-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}
#hcp-shell-control .hcp-ctrl-coach-role {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #64748b;
}
#hcp-shell-control .hcp-ctrl-coach-count {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.4375rem;
    border-radius: 9999px;
    background: #FBFAF6;
    color: #475569;
}
#hcp-shell-control .hcp-ctrl-coach-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
}
#hcp-shell-control .hcp-ctrl-coach-progress {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    min-width: 5rem;
    max-width: 8rem;
}
#hcp-shell-control .hcp-ctrl-coach-progress-track {
    flex: 1;
    height: 0.25rem;
    border-radius: 9999px;
    background: #e2e8f0;
    overflow: hidden;
}
#hcp-shell-control .hcp-ctrl-coach-progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #1E6FD0, #62B4F0);
    transition: width 0.3s ease;
}
#hcp-shell-control .hcp-ctrl-coach-progress-pct {
    font-size: 0.625rem;
    font-weight: 700;
    color: #1E6FD0;
    flex-shrink: 0;
}
#hcp-shell-control .hcp-ctrl-eval-sums {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3125rem;
    align-items: center;
}
#hcp-shell-control .hcp-ctrl-eval-sum {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}
#hcp-shell-control .hcp-ctrl-eval-sum--plus { background: #d1fae5; color: #065f46; }
#hcp-shell-control .hcp-ctrl-eval-sum--minus { background: #fee2e2; color: #991b1b; }
#hcp-shell-control .hcp-ctrl-eval-sum--revise { background: #fef3c7; color: #b45309; }
#hcp-shell-control .hcp-ctrl-eval-sum--dd { background: #E7F2FF; color: #1E6FD0; }
#hcp-shell-control .hcp-ctrl-eval-sum--pending { background: #FBFAF6; color: #475569; font-weight: 500; }
#hcp-shell-control .hcp-ctrl-eval-sum--empty { font-size: 0.6875rem; color: #94a3b8; font-weight: 400; }

#hcp-shell-control .hcp-ctrl-coach-warns { padding: 0.625rem 1.125rem; }
#hcp-shell-control .hcp-ctrl-submit-badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5625rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
#hcp-shell-control .hcp-ctrl-submit-badge--done {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
#hcp-shell-control .hcp-ctrl-submit-badge--waiting {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

#hcp-shell-control .hcp-ctrl-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    margin-top: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-alert--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
#hcp-shell-control .hcp-ctrl-alert i { flex-shrink: 0; margin-top: 0.125rem; }

#hcp-shell-control .hcp-ctrl-hidden { display: none; }

#hcp-shell-control .hcp-ctrl-item {
    padding: 1rem 1.125rem;
    border-bottom: 1px solid #FBFAF6;
    transition: background 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-item:last-child { border-bottom: none; }
#hcp-shell-control .hcp-ctrl-item--pending {
    background: linear-gradient(90deg, #fffbeb 0%, #fff 40%);
    box-shadow: var(--pys-shadow-sm), inset 0 0 0 1px rgba(245,158,11,.40);
}
#hcp-shell-control .hcp-ctrl-item--needs-fb {
    box-shadow: var(--pys-shadow-sm), inset 0 0 0 1px rgba(239,68,68,.42);
}
#hcp-shell-control .hcp-ctrl-item--needs-fb .hcp-ctrl-fb-row input { border-color: #fca5a5; }
#hcp-shell-control .hcp-ctrl-item--carryover {
    box-shadow: var(--pys-shadow-sm), inset 0 0 0 1px rgba(139,92,246,.42);
}
#hcp-shell-control .hcp-ctrl-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 1rem;
    align-items: start;
}
@media (max-width: 768px) {
    #hcp-shell-control .hcp-ctrl-item-row {
        grid-template-columns: 1fr;
    }
}

#hcp-shell-control .hcp-ctrl-item-info { flex: 1; min-width: 0; }
#hcp-shell-control .hcp-ctrl-item-head {
    display: flex;
    align-items: flex-start;
    gap: 0.4375rem;
    margin-bottom: 0.25rem;
}
#hcp-shell-control .hcp-ctrl-item-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}
#hcp-shell-control .hcp-ctrl-item-meta {
    font-size: 0.6875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}
#hcp-shell-control .hcp-ctrl-status { font-weight: 600; }
#hcp-shell-control .hcp-ctrl-meta-sep { opacity: 0.5; }

#hcp-shell-control .hcp-ctrl-expl-block {
    margin: 0.375rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-expl-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.06em;
    color: #64748b;
}
#hcp-shell-control .hcp-ctrl-expl-input {
    width: 100%;
    font-size: 0.75rem;
    line-height: 1.45;
    padding: 0.4375rem 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f172a;
    resize: vertical;
    min-height: 2.75rem;
    font-family: inherit;
}
#hcp-shell-control .hcp-ctrl-expl-input:focus {
    outline: none;
    border-color: #62B4F0;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}
#hcp-shell-control .hcp-ctrl-expl-save {
    align-self: flex-start;
    padding: 0.3125rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #fff;
    color: #1E6FD0;
    border: 1px solid #c7d2fe;
    border-radius: 0.4375rem;
    cursor: pointer;
    transition: background 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-expl-save:hover {
    background: #eef2ff;
}

#hcp-shell-control .hcp-ctrl-item-expl {
    font-size: 0.6875rem;
    color: #64748b;
    margin: 0.25rem 0;
    font-style: italic;
    line-height: 1.45;
}
#hcp-shell-control .hcp-ctrl-item-link {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1E6FD0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.25rem 0;
}
#hcp-shell-control .hcp-ctrl-item-link:hover { text-decoration: underline; }

#hcp-shell-control .hcp-ctrl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.4375rem;
    border-radius: 9999px;
    font-weight: 600;
}
#hcp-shell-control .hcp-ctrl-badge--amber { background: #fef3c7; color: #92400e; }
#hcp-shell-control .hcp-ctrl-badge--slate { background: #FBFAF6; color: #475569; }
#hcp-shell-control .hcp-ctrl-badge--blue { background: #dbeafe; color: #1d4ed8; }
#hcp-shell-control .hcp-ctrl-badge--red { background: #fee2e2; color: #991b1b; }

#hcp-shell-control .hcp-ctrl-fb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-fb-pill {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}
#hcp-shell-control .hcp-ctrl-fb-pill--appreciation { background: #d1fae5; color: #065f46; }
#hcp-shell-control .hcp-ctrl-fb-pill--correction { background: #fef3c7; color: #92400e; }
#hcp-shell-control .hcp-ctrl-fb-next { opacity: 0.85; font-weight: 600; }

#hcp-shell-control .hcp-ctrl-eval-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 13rem;
    flex-shrink: 0;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
#hcp-shell-control .hcp-ctrl-side-panel {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-width: 13rem;
}
#hcp-shell-control .hcp-ctrl-fb-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
#hcp-shell-control .hcp-ctrl-fb-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0;
}
#hcp-shell-control .hcp-ctrl-fb-type-group {
    display: flex;
    gap: 0.25rem;
    padding: 0.1875rem;
    background: #e2e8f0;
    border-radius: 0.5rem;
}
#hcp-shell-control .hcp-ctrl-fb-type {
    flex: 1;
    padding: 0.3125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-fb-type.is-active {
    background: #fff;
    color: #1E6FD0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
#hcp-shell-control .hcp-ctrl-fb-type[data-fb-type="correction"].is-active {
    color: #b45309;
}
#hcp-shell-control .hcp-ctrl-fb-chips { margin-top: 0.125rem; }
#hcp-shell-control .hcp-ctrl-eval-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0;
}
#hcp-shell-control .hcp-ctrl-marks { display: flex; gap: 0.3125rem; }
#hcp-shell-control .hcp-ctrl-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.12s ease;
    color: #64748b;
}
#hcp-shell-control .hcp-ctrl-mark:hover { background: #FBFAF6; }
#hcp-shell-control .hcp-ctrl-mark.is-active[data-mark="plus"] {
    background: #d1fae5; border-color: #6ee7b7; color: #065f46;
}
#hcp-shell-control .hcp-ctrl-mark.is-active[data-mark="minus"] {
    background: #fee2e2; border-color: #fca5a5; color: #991b1b;
}
#hcp-shell-control .hcp-ctrl-mark.is-active[data-mark="revise"] {
    background: #fef3c7; border-color: #fbbf24; color: #b45309;
}
#hcp-shell-control .hcp-ctrl-mark.is-active[data-mark="dd"] {
    background: #E7F2FF; border-color: #BBDCFA; color: #1E6FD0;
}

#hcp-shell-control .hcp-ctrl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
#hcp-shell-control .hcp-ctrl-chip {
    font-size: 0.625rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.1s ease;
}
#hcp-shell-control .hcp-ctrl-chip:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1E6FD0;
}

#hcp-shell-control .hcp-ctrl-fb-row { display: flex; gap: 0.375rem; }
#hcp-shell-control .hcp-ctrl-fb-row input {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.4375rem 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f172a;
    min-width: 0;
}
#hcp-shell-control .hcp-btn-feedback {
    padding: 0.4375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #1E6FD0;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: filter 0.12s ease;
}
#hcp-shell-control .hcp-btn-feedback:hover { filter: brightness(1.08); }

#hcp-shell-control .hcp-ctrl-eval-done {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem;
}
#hcp-shell-control .hcp-ctrl-eval-mark {
    font-size: 0.8125rem;
    font-weight: 700;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#hcp-shell-control .hcp-ctrl-eval-mark--plus { background: #d1fae5; color: #065f46; }
#hcp-shell-control .hcp-ctrl-eval-mark--minus { background: #fee2e2; color: #991b1b; }
#hcp-shell-control .hcp-ctrl-eval-mark--revise { background: #fef3c7; color: #b45309; }
#hcp-shell-control .hcp-ctrl-eval-mark--dd { background: #E7F2FF; color: #1E6FD0; }
#hcp-shell-control .hcp-ctrl-eval-by { font-size: 0.625rem; color: #94a3b8; }

#hcp-shell-control .hcp-ctrl-empty {
    padding: 1.25rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
}

#hcp-shell-control .hcp-ctrl-general-note-wrap {
    padding: 0.875rem 1.125rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
#hcp-shell-control .hcp-ctrl-note-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
#hcp-shell-control .hcp-ctrl-general-note {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f172a;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    min-height: 2.5rem;
}
#hcp-shell-control .hcp-ctrl-note-save {
    align-self: flex-end;
    padding: 0.4375rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #fff;
    color: #1E6FD0;
    border: 1px solid #c7d2fe;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    transition: all 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-note-save:hover {
    background: #1E6FD0;
    color: #fff;
    border-color: #1E6FD0;
}

#hcp-shell-control .hcp-ctrl-change-btn {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.3125rem;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #991b1b;
    flex-shrink: 0;
    transition: background 0.12s ease;
}
#hcp-shell-control .hcp-ctrl-change-btn:hover { background: #fecaca; }

html.pys-theme-dark #hcp-shell-control .hcp-ctrl-toolbar {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: #1b2a2e;
}
html.pys-theme-dark #hcp-shell-control .hcp-ctrl-work-panel {
    background: #1e293b;
    border-color: #1b2a2e;
}
html.pys-theme-dark #hcp-shell-control .hcp-ctrl-coach-tab {
    background: #1e293b;
    border-color: #1b2a2e;
}
html.pys-theme-dark #hcp-shell-control .hcp-ctrl-coach-name { color: #e2e8f0; }
html.pys-theme-dark #hcp-shell-control .hcp-ctrl-item-title { color: #e2e8f0; }
html.pys-theme-dark #hcp-shell-control .hcp-ctrl-eval-panel {
    background: #0f172a;
    border-color: #1b2a2e;
}

/* Yapılacaklar — manuel sıralama (oklar en başta) */
.hcp-item-sort-slot {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex-shrink: 0;
    width: 28px;
    margin-right: 4px;
    padding: 3px 2px;
    border-radius: 8px;
    background: #F8FAFC;
    border: .5px solid #E2E8F0;
}
.hcp-item-move {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 18px;
    padding: 0;
    border: none;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    border-radius: 4px;
}
.hcp-item-move:hover {
    color: #1E6FD0;
    background: #EEF2FF;
}
.hcp-item-move i { font-size: 10px; pointer-events: none; }
.hcp-section[data-section="bekliyor"] .hcp-item-row-main { padding-left: 0; }
.hcp-btn-sort-suggest {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #A855F7, #6D28D9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    box-shadow: 0 1px 6px rgba(109, 40, 217, 0.32);
    transition: all 120ms ease;
    line-height: 1.4;
}
.hcp-btn-sort-suggest:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 2px 10px rgba(124, 58, 237, 0.4); }
.hcp-btn-sort-suggest i { font-size: 10px; color: #E9D5FF; }

/* ── İş Ata Modal ── */
.hcp-assign-modal {
    position: fixed; inset: 0; z-index: 95;
    display: flex; align-items: flex-end; justify-content: center;
}
.hcp-assign-modal.hidden { display: none; }
.hcp-assign-modal__backdrop {
    position: absolute; inset: 0; background: rgba(15, 23, 42, 0.4);
}
.hcp-assign-modal__card {
    position: relative; background: #fff;
    border-radius: 20px 20px 0 0; width: 100%; max-width: 440px;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.16); overflow: hidden;
}
@media (min-width: 640px) {
    .hcp-assign-modal { align-items: center; justify-content: center; padding: 16px; }
    .hcp-assign-modal__card { border-radius: 14px; max-width: 420px; }
}
.hcp-assign-modal__handle {
    width: 36px; height: 4px; background: #E2E8F0;
    border-radius: 2px; margin: 10px auto 0;
}
@media (min-width: 640px) { .hcp-assign-modal__handle { display: none; } }
.hcp-assign-modal__tabs {
    display: flex; align-items: stretch;
    border-bottom: 1px solid #E2E8F0; background: #F8FAFC;
}
.hcp-assign-modal__tab {
    flex: 1; padding: 11px 6px; font-size: 12.5px; font-weight: 600;
    color: #64748B; border: none; background: transparent; cursor: pointer;
    border-bottom: 2px solid transparent; transition: all 120ms;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.hcp-assign-modal__tab.is-active { color: #1E6FD0; border-bottom-color: #3FA0EC; background: #fff; }
.hcp-assign-modal__tab-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #1E6FD0; color: #fff; border-radius: 999px;
    font-size: 9px; min-width: 15px; height: 15px; padding: 0 3px;
}
.hcp-assign-modal__close {
    flex-shrink: 0; width: 38px; border: none; background: transparent;
    color: #94A3B8; cursor: pointer; font-size: 13px; transition: color 120ms;
}
.hcp-assign-modal__close:hover { color: #475569; }
.hcp-assign-modal__panel { padding: 16px; }
.hcp-assign-modal__hint {
    font-size: 13px; color: #475569; margin: 0;
    line-height: 1.55;
}
.hcp-assign-modal__label {
    display: block; font-size: 12px; font-weight: 700;
    text-transform: none; letter-spacing: 0.01em; color: #334155;
    margin-bottom: 2px;
}
.hcp-assign-modal__btn-save {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 12px; margin-top: 4px;
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0);
    color: #fff; font-size: 14px; font-weight: 700;
    border: none; border-radius: 11px; cursor: pointer;
    box-shadow: 0 3px 12px rgba(30, 111, 208, 0.28);
    transition: opacity 120ms, transform 120ms;
}
.hcp-assign-modal__btn-save:hover { opacity: .92; transform: translateY(-1px); }
.hcp-assign-modal__list { max-height: 260px; overflow-y: auto; padding: 10px 14px 14px; }
.hcp-assign-modal__empty { padding: 28px 16px; text-align: center; }
.hcp-assign-item {
    background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px;
    padding: 9px 12px; display: flex; flex-direction: column; gap: 5px;
}
.hcp-assign-item__top {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.hcp-assign-item__title { font-size: 13px; font-weight: 600; color: #1E293B; flex: 1; }
.hcp-assign-item__week { font-size: 10px; color: #94A3B8; flex-shrink: 0; }
.hcp-assign-item__bottom { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hcp-assign-item__person { font-size: 11px; color: #64748B; display: flex; align-items: center; gap: 4px; }
.hcp-assign-item__person i { font-size: 9px; }
.hcp-assign-item__status { font-size: 10px; padding: 2px 7px; border-radius: 999px; }
.hcp-assign-item__eval { font-size: 10px; color: #1E6FD0; background: #E7F2FF; padding: 2px 7px; border-radius: 999px; }

/* YZ aciliyet önerisi paneli — salt okunur */
.hcp-sort-panel--loading { text-align: center; padding: 32px 16px; }
.hcp-sort-panel--loading .hcp-sort-loading { margin-bottom: 10px; color: #3FA0EC; font-size: 24px; }
.hcp-sort-intro--loading { margin: 0; font-size: 12px; color: #64748B; }
.hcp-sort-panel--readonly .hcp-sort-intro {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.55;
    color: #475569;
}
.hcp-suggest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}
.hcp-suggest-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: .5px solid #E2E8F0;
    background: #FAFAFA;
}
.hcp-suggest-rank {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #1E6FD0;
    background: #EEF2FF;
    border: .5px solid #C7D2FE;
}
.hcp-suggest-body { min-width: 0; flex: 1; }
.hcp-suggest-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}
.hcp-suggest-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #0F172A;
}
.hcp-suggest-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--badge-color, #64748B);
    background: color-mix(in srgb, var(--badge-color, #64748B) 12%, #fff);
    border: .5px solid color-mix(in srgb, var(--badge-color, #64748B) 28%, #fff);
    white-space: nowrap;
}
.hcp-suggest-reason {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #64748B;
}
.hcp-sort-panel--readonly .hcp-sort-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: .5px solid #E2E8F0;
}
.hcp-sort-cancel {
    padding: 8px 14px;
    border-radius: 8px;
    border: .5px solid #E2E8F0;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}
.hcp-sort-cancel:hover { background: #F8FAFC; }
.hcp-sort-apply {
    padding: 8px 16px;
    border-radius: 8px;
    background: #1E6FD0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.hcp-sort-apply:hover { background: #1A6FD4; }
.hcp-sort-apply:disabled { opacity: 0.6; cursor: wait; }

.pys-hcp-banner-wrap .pys-hero-band--kobalt,
.pys-hcp-banner-wrap .pys-hero-band--violet {
    /* --hcp ile aynı yumuşak versiyon */
}
.pys-hcp-banner-wrap .pys-hero-band--kobalt .pys-hero-band__kicker,
.pys-hcp-banner-wrap .pys-hero-band--violet .pys-hero-band__kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.75;
    text-transform: none;
}
.pys-hcp-banner-wrap .pys-hero-band--kobalt .pys-hero-band__title,
.pys-hcp-banner-wrap .pys-hero-band--violet .pys-hero-band__title {
    font-size: 19px;
    font-weight: 500;
    text-shadow: none;
}
.pys-hcp-banner-wrap .pys-hero-band--kobalt {
    background: linear-gradient(120deg, #2E8FFF 0%, #1E6FD0 52%, #0B2A50 100%);
}
.pys-hcp-banner-wrap .pys-hero-band--violet {
    background: linear-gradient(125deg, #6d28d9 0%, #4c1d95 100%);
}

/* === Hero band'de yıkıcı aksiyon vurgusu === */
.pys-hero-band__actions .hcp-btn-approve,
.pys-hero-band__actions [data-action="approve-week"] {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pys-hero-band__actions .hcp-btn-approve:hover {
    background: #fff !important;
    transform: translateY(-1px);
}

/* Navigasyon butonları daha sessiz */

.hcp-mod-header__title-stack{display:flex;flex-direction:column;gap:1px;}
.hcp-mod-header__context{font-size:11px;color:rgba(255,255,255,0.82);margin:0;font-weight:400;letter-spacing:.01em;}

/* === Geri Bildirimler v2 — kontrol paneli estetiği === */
.hcp-fb-page--v2 { padding-bottom: 24px; }
.hcp-fb-action-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 1.25rem 10px;
    max-width: 920px;
    margin: 0 auto;
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.hcp-fb-action-bar__left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}
.hcp-fb-action-bar__text { min-width: 0; }
.hcp-fb-action-bar__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary, #0f172a);
}
.hcp-fb-action-bar__lead {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--color-text-secondary, #64748b);
    line-height: 1.45;
}
.hcp-fb-action-bar .hcp-back-btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #1b2a2e;
    flex-shrink: 0;
    margin-top: 2px;
}
.hcp-fb-action-bar .hcp-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.hcp-fb-close-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background .15s, color .15s, border-color .15s;
}
.hcp-fb-close-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.hcp-fb-page--v2 .hcp-fb-page__body {
    padding: 0 1rem 1rem;
    max-width: 920px;
    margin: 0 auto;
}
.hcp-fb-page--v2 .hcp-fb-tabs {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1rem;
}
.hcp-fb-eval-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.hcp-fb-eval-mark--lg { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
.hcp-fb-eval-mark--plus { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.hcp-fb-eval-mark--minus { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.hcp-fb-eval-mark--revise { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.hcp-fb-eval-mark--dd { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; font-size: 9px; }
.hcp-fb-eval-mark--none { background: #FBFAF6; color: #94a3b8; border: 1px solid #e2e8f0; }
.hcp-fb-eval-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    border: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: #fff;
    flex-shrink: 0;
}
.hcp-fb-eval-pill__text { font-size: 11px; font-weight: 600; color: var(--color-text-secondary, #475569); }
.hcp-fb-eval-pill--minus { border-color: #fecaca; background: #fff5f5; }
.hcp-fb-eval-pill--plus { border-color: #a7f3d0; background: #f0fdf9; }
.hcp-fb-eval-pill--revise { border-color: #fde68a; background: #fffbeb; }
.hcp-fb-eval-pill--dd { border-color: #bfdbfe; background: #eff6ff; }
.hcp-fb-week-card {
    border: 1px solid var(--color-border-tertiary, #e2e8f0);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hcp-fb-week-card--new { border-color: rgba(29, 158, 117, 0.35); }
.hcp-fb-week-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}
.hcp-fb-week-card--new .hcp-fb-week-head { background: linear-gradient(90deg, #ecfdf5 0%, #fff 55%); }
.hcp-fb-week-head__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.hcp-fb-week-head__no { font-size: 14px; font-weight: 700; color: var(--color-text-primary, #0f172a); }
.hcp-fb-week-head__range { font-size: 12px; color: var(--color-text-secondary, #64748b); }
.hcp-fb-week-head__prog { font-size: 11px; color: var(--color-text-tertiary, #94a3b8); }
.hcp-fb-week-head__chev { font-size: 12px; color: #94a3b8; flex-shrink: 0; margin-left: auto; }
.hcp-fb-week-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.hcp-fb-week-sum {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 2px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.hcp-fb-week-sum__n { font-size: 11px; font-weight: 700; color: #1b2a2e; min-width: 10px; text-align: center; }
.hcp-fb-week-body { border-top: 1px solid var(--color-border-tertiary, #e2e8f0); }
.hcp-fb-week-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: #fafbfc;
}
.hcp-fb-week-stat {
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid var(--color-border-tertiary, #e2e8f0);
}
.hcp-fb-week-stat:last-child { border-right: 0; }
.hcp-fb-week-stat__value--icon { color: #0f6e56; font-size: 16px; }
.hcp-fb-week-stat__dash { color: #cbd5e1; }
.hcp-fb-group {
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
}
.hcp-fb-group:last-child { border-bottom: 0; }
.hcp-fb-group__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
    color: #991b1b;
}
.hcp-fb-group__head--muted {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
    color: #475569;
}
.hcp-fb-group__head i { margin-top: 2px; font-size: 13px; flex-shrink: 0; }
.hcp-fb-group__title { font-size: 12px; font-weight: 700; }
.hcp-fb-group__lead { font-size: 11px; line-height: 1.45; margin-top: 2px; opacity: 0.9; font-weight: 400; }
.hcp-fb-group__items { display: flex; flex-direction: column; }
.hcp-fb-item {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    cursor: pointer;
    transition: background .12s;
}
.hcp-fb-item:last-child { border-bottom: 0; }
.hcp-fb-item:hover { background: #f8fafc; }
.hcp-fb-item:focus-visible { outline: 2px solid #1d9e75; outline-offset: -2px; }
.hcp-fb-item--priority { background: #fffbeb; }
.hcp-fb-item--priority:hover { background: #fef3c7; }
.hcp-fb-item--plus { box-shadow: inset 0 0 0 1px rgba(52,211,153,.40); }
.hcp-fb-item__main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.hcp-fb-item__body { flex: 1; min-width: 0; }
.hcp-fb-item__title { margin: 0; font-size: 13px; font-weight: 600; color: var(--color-text-primary, #0f172a); line-height: 1.4; }
.hcp-fb-item__meta { margin: 3px 0 0; font-size: 11px; color: var(--color-text-tertiary, #94a3b8); }
.hcp-fb-item__aside {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hcp-fb-item__chev { color: #cbd5e1; font-size: 11px; }
.hcp-fb-item__preview { margin-top: 8px; padding-left: 2px; }
.hcp-fb-item-note {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--color-text-secondary, #64748b);
    font-style: italic;
}
.hcp-fb-item-note--warn { color: #b45309; }
.hcp-fb-report {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    background: #ecfdf5;
}
.hcp-fb-report__label { font-size: 11px; font-weight: 700; color: #0f6e56; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.hcp-fb-report__text { font-size: 12px; line-height: 1.55; color: #1b2a2e; white-space: pre-wrap; }
.hcp-fb-report__foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hcp-fb-report__meta { font-size: 10px; color: #64748b; }
.hcp-fb-report__refresh {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
    background: #fff;
    color: #0f6e56;
    cursor: pointer;
}
.hcp-fb-next-week {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #eff6ff;
    border-top: 1px solid #bfdbfe;
}
.hcp-fb-next-week__text { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #1e40af; }
.hcp-fb-next-week__text strong { font-size: 13px; }
.hcp-fb-next-week__btn {
    font-size: 11px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #93c5fd;
    background: #fff;
    color: #1d4ed8;
    cursor: pointer;
    white-space: nowrap;
}
.hcp-fb-detail__hero {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}
.hcp-fb-detail__eval { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; }
.hcp-fb-detail__meta { margin: 4px 0 0; font-size: 12px; color: #64748b; }
.hcp-fb-detail__week { margin: 4px 0 0; font-size: 11px; color: #94a3b8; }
.hcp-fb-goto-plan-btn { display: inline-flex; align-items: center; gap: 6px; }
.hcp-fb-notif-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0);
    cursor: pointer;
    transition: background .12s;
}
.hcp-fb-notif-row:hover { background: #f8fafc; }
.hcp-fb-notif-row:focus-visible { outline: 2px solid #1d9e75; outline-offset: -2px; }
.hcp-fb-notif-body { flex: 1; min-width: 0; }
.hcp-fb-notif-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.hcp-fb-notif-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--color-text-primary, #0f172a); }
.hcp-fb-notif-week { font-size: 10px; font-weight: 600; color: #64748b; background: #FBFAF6; padding: 2px 7px; border-radius: 999px; }
.hcp-fb-notif-text { margin: 0; font-size: 12px; line-height: 1.5; color: var(--color-text-secondary, #475569); }
.hcp-fb-skeleton-row { height: 72px; border-radius: 14px; margin-bottom: 10px; }
@media (max-width: 640px) {
    .hcp-fb-week-stats { grid-template-columns: repeat(2, 1fr); }
    .hcp-fb-week-stat:nth-child(2) { border-right: 0; }
    .hcp-fb-week-stat:nth-child(1),
    .hcp-fb-week-stat:nth-child(2) { border-bottom: 1px solid var(--color-border-tertiary, #e2e8f0); }
    .hcp-fb-action-bar { padding-left: 1rem; padding-right: 1rem; }
    .hcp-fb-week-summary { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   Yönetim Merkezi — ym- bileşen sistemi
   ══════════════════════════════════════════════════════════════ */
.ym-summary {
  font-family: var(--pys-font-display);
  font-size: 13px; font-weight: 700; color: #4338CA;
  margin-bottom: 16px; letter-spacing: 0.01em;
}

/* ── Panel ─────────────────────────────────────────────────── */
.ym-panel {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset,
              0 4px 8px rgba(27,42,46,0.07),
              0 16px 32px rgba(27,42,46,0.12),
              0 0 0 0.5px rgba(27,42,46,0.06);
}
.ym-panel-head {
  font-family: var(--pys-font-display);
  font-size: 13px; font-weight: 800; color: #fff;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.ym-panel-head--violet  { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.ym-panel-head--amber   { background: linear-gradient(135deg, #D97706, #B45309); }
.ym-panel-head--indigo  { background: linear-gradient(135deg, #4F46E5, #3730A3); }
.ym-panel-head--teal    { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.ym-panel-head--sky     { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.ym-panel-body {
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--pys-font-sans);
  font-size: 13px; color: #1E293B;
}
.ym-panel-body--scroll { max-height: 28rem; overflow-y: auto; }

/* ── Koç Kartları ──────────────────────────────────────────── */
.ym-coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.ym-coach-card {
  text-align: left; cursor: pointer;
  background: #fff; border: none;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset,
              0 2px 6px rgba(27,42,46,0.08),
              0 8px 20px rgba(27,42,46,0.12),
              0 0 0 0.5px rgba(27,42,46,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ym-coach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset,
              0 4px 12px rgba(27,42,46,0.12),
              0 20px 40px rgba(27,42,46,0.18),
              0 0 0 0.5px rgba(27,42,46,0.08);
}
.ym-coach-head {
  background: linear-gradient(135deg, #1E40AF, #3730A3);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.ym-coach-name {
  font-family: var(--pys-font-display);
  font-size: 14px; font-weight: 800; color: #fff;
}
.ym-coach-team {
  font-family: var(--pys-font-sans);
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.18); padding: 2px 8px; border-radius: 999px;
  white-space: nowrap;
}
.ym-skor-wrap {
  padding: 12px 14px 8px;
  display: flex; align-items: baseline; gap: 6px;
}
.ym-skor-val {
  font-family: var(--pys-font-display);
  font-size: 32px; font-weight: 900; line-height: 1;
}
.ym-skor-lbl {
  font-family: var(--pys-font-sans);
  font-size: 10px; font-weight: 600; color: #64748B;
}
.ym-skor--good  .ym-skor-val { color: #059669; }
.ym-skor--mid   .ym-skor-val { color: #D97706; }
.ym-skor--low   .ym-skor-val { color: #DC2626; }
.ym-skor--neutral .ym-skor-val { color: #94A3B8; }
.ym-mini-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 0 10px 12px;
}
.ym-mini {
  border-radius: 10px; padding: 7px 4px; text-align: center;
}
.ym-mini--green { background: #059669; }
.ym-mini--red   { background: #DC2626; }
.ym-mini--blue  { background: #2563EB; }
.ym-mini-val {
  font-family: var(--pys-font-display);
  font-size: 14px; font-weight: 900; color: #fff; line-height: 1;
}
.ym-mini-lbl {
  font-family: var(--pys-font-sans);
  font-size: 9px; color: rgba(255,255,255,0.8); margin-top: 2px;
}

/* ── Isı Haritası ──────────────────────────────────────────── */
.ym-heatmap-wrap { overflow-x: auto; }
.ym-ht-table { width: 100%; border-collapse: collapse; }
.ym-ht-th {
  padding: 6px 8px; text-align: center;
  font-family: var(--pys-font-sans); font-size: 10px;
  font-weight: 700; color: #64748B; white-space: nowrap;
}
.ym-ht-th--label { text-align: left; }
.ym-ht-coach {
  padding: 6px 8px; white-space: nowrap;
  font-family: var(--pys-font-display); font-size: 13px;
  font-weight: 800; color: #1E293B;
}
.ym-ht-td { padding: 3px; }
.ym-ht-cell {
  height: 36px; min-width: 52px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pys-font-display); font-size: 12px; font-weight: 900;
  color: #fff;
}
.ym-cell--good    { background: #059669; }
.ym-cell--mid     { background: #D97706; }
.ym-cell--low     { background: #DC2626; }
.ym-cell--null    { background: #94A3B8; }

/* ── Kapanış & İçgörü listesi ──────────────────────────────── */
.ym-detail {
  border-radius: 12px; border: 1px solid #E2E8F0;
  background: #F8FAFC; overflow: hidden;
}
.ym-detail-sum {
  cursor: pointer; padding: 10px 14px;
  font-family: var(--pys-font-display); font-size: 13px;
  font-weight: 700; color: #1E293B; list-style: none;
}
.ym-detail-sum::-webkit-details-marker { display: none; }
.ym-detail[open] .ym-detail-sum { border-bottom: 1px solid #E2E8F0; }
.ym-detail-body {
  padding: 10px 14px;
  font-family: var(--pys-font-sans); font-size: 13px;
  color: #1b2a2e; white-space: pre-wrap; line-height: 1.7;
}
.ym-insight {
  border-radius: 12px; border: 1px solid #E2E8F0;
  background: #F8FAFC; padding: 10px 14px;
}
.ym-insight-meta {
  font-family: var(--pys-font-sans); font-size: 11px;
  color: #94A3B8; margin-bottom: 4px;
}
.ym-insight-text {
  font-family: var(--pys-font-sans); font-size: 13px; color: #1E293B;
}

/* ── Profil paneli ──────────────────────────────────────────── */
.ym-profile-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.ym-profile-name {
  font-family: var(--pys-font-display);
  font-size: 22px; font-weight: 900; color: #1E293B;
}
.ym-profile-team {
  font-family: var(--pys-font-sans); font-size: 12px; color: #64748B;
  margin-top: 2px;
}
.ym-yz-btn {
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #fff; border: none; border-radius: 12px;
  padding: 10px 18px; cursor: pointer;
  font-family: var(--pys-font-display); font-size: 12px; font-weight: 800;
  box-shadow: 0 3px 12px rgba(124,58,237,0.4);
  transition: filter 0.15s, transform 0.12s;
}
.ym-yz-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ym-box-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-top: 16px;
}
@media (min-width: 640px) { .ym-box-row { grid-template-columns: repeat(4, 1fr); } }
.ym-box {
  border-radius: 14px; padding: 14px 10px; text-align: center;
  background: linear-gradient(135deg, #1E40AF, #3730A3);
  box-shadow: 0 2px 8px rgba(30,64,175,0.25);
}
.ym-box-val {
  font-family: var(--pys-font-display);
  font-size: 26px; font-weight: 900; color: #fff; line-height: 1;
}
.ym-box-lbl {
  font-family: var(--pys-font-sans);
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.8); margin-top: 4px;
  letter-spacing: 0.04em;
}
.ym-sinyal {
  margin-top: 12px; border-radius: 12px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  padding: 12px 16px;
  font-family: var(--pys-font-sans); font-size: 13px; color: #E2E8F0;
  line-height: 1.6;
}
.ym-sinyal-lbl { font-weight: 700; color: #7C3AED; }

/* ── Ortak ──────────────────────────────────────────────────── */
.ym-empty {
  font-family: var(--pys-font-sans); font-size: 13px;
  color: #94A3B8; text-align: center; padding: 24px 0;
}

/* === Kontrol: hero üst köşe kaynatma === */
/* Sekme şeridi (#hcp-subtabs) artık her panelde render ediliyor; barın altındaki
   hero üst köşeleri düz, alt köşeleri yuvarlak kalır. */
#page-hcp.hcp-panel-active:not(.hcp-plan-active):not(.hcp-feedbacks-active) .pys-hcp-banner-wrap {
    margin: 0;
    border-radius: 0 0 var(--pys-radius-lg) var(--pys-radius-lg);
}
#page-hcp.hcp-panel-active:not(.hcp-plan-active):not(.hcp-feedbacks-active) .pys-hero-band--hcp {
    border-radius: 0 0 var(--pys-radius-lg) var(--pys-radius-lg);
}

/* === Çözüm 3 — Sayfa Geçiş Nav Barı === */

/* Eski #hcp-subtabs sekme barı artık kullanılmıyor — gizle */
#hcp-subtabs { display: none !important; }
#page-hcp > .glass-panel > .pys-module-subtabs { display: none !important; }

/* Kaynaşık tasarım kalıntıları: hero köşelerini düzelt */
#page-hcp .pys-hcp-banner-wrap { border-radius: var(--pys-radius-lg, 20px) !important; }
#page-hcp .pys-hero-band--hcp  { border-radius: var(--pys-radius-lg, 20px) !important; }

/* Nav bar kapsayıcı */
.hcp-page-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #fff;
    border-radius: var(--pys-radius-lg, 20px);
    box-shadow:
        0 1px 2px rgba(16,40,60,.05),
        0 4px 12px rgba(16,40,60,.08),
        0 10px 24px rgba(16,40,60,.06);
    margin-top: 14px;
}

/* Nav buton — S3 (ikon + etiket); pasif sade, aktif beyaz pill */
.hcp-pnav-btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    color: #5b7480;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.hcp-pnav-btn:hover { background: #f1f5f9; color: var(--ink, #13303a); }

/* Nav buton — aktif: beyaz pill + ince çerçeve + yumuşak gölge */
.hcp-pnav-btn--active {
    background: #fff;
    color: var(--ink, #13303a);
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(16,40,60,.12);
}
.hcp-pnav-btn--active:hover { background: #fff; }

/* Sekme ikonu: pasifte nötr gri, aktifte sekmenin kendi rengi */
.hcp-pnav-ico { font-size: 16px; color: #9fb1bd; flex-shrink: 0; transition: color 0.15s ease; }
.hcp-pnav-btn--active[data-hcp-goto="plan"]      .hcp-pnav-ico { color: var(--color-brand-cini, #3FA0EC); }
.hcp-pnav-btn--active[data-hcp-goto="control"]   .hcp-pnav-ico { color: #16A34A; }
.hcp-pnav-btn--active[data-hcp-goto="feedbacks"] .hcp-pnav-ico { color: #E0890C; }

/* Birleşik header içindeyken sekme barı kendi kartını bırakır (header zaten kart) */
.hcp-uhead .hcp-page-nav {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 2px 0 10px;
    border-radius: 0;
    gap: 4px;
}
/* Tab butonlar mavi zemin üzerinde: kontrast düzeltme */
.hcp-uhead .hcp-pnav-btn         { color: rgba(255,255,255,0.82); }
.hcp-uhead .hcp-pnav-ico         { color: rgba(255,255,255,0.55); }
.hcp-uhead .hcp-pnav-btn:hover   { background: rgba(255,255,255,0.15); color: #fff; }
.hcp-uhead .hcp-pnav-btn--active { color: var(--ink, #13303a); }
.hcp-uhead .hcp-pnav-btn--active:hover { background: #fff; color: var(--ink, #13303a); }
/* Erişilebilirlik: klavye ile gezinende görünür focus halkası */
.hcp-uhead .hcp-pnav-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hcp-act-btn:focus-visible,
.teslim-btn:focus-visible,
.hcp-btn-add:focus-visible { outline: 2px solid #1E6FD0; outline-offset: 2px; }

/* ===== Birleşik HÇP header: mavi dış kart → beyaz iç kart ===== */
.hcp-uhead {
    display: flex; flex-direction: column;
    background: linear-gradient(135deg, #2E8FFF 0%, #1453B8 55%, #0B2A50 100%);
    border-radius: 22px;
    padding: 14px 16px 14px;
    box-shadow: 0 8px 24px rgba(11, 42, 80, .22);
}
.hcp-uhead__band {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 4px 6px 14px;
}
.hcp-uhead__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hcp-uhead__icon {
    width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .18); color: #fff; font-size: 20px;
}
.hcp-uhead__title { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
/* Kalıcı teslim çipi — hafta seçicinin yanında, mavi bant üstünde yarı saydam hap */
.hcp-week-deadline {
    display: inline-flex; align-items: center; gap: 7px;
    margin-left: auto; padding: 6px 13px; border-radius: 999px;
    background: rgba(255, 255, 255, .16); color: #fff;
    font-size: 12px; font-weight: 700; white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.hcp-week-deadline i { font-size: 11px; opacity: .85; }
.hcp-week-deadline.hidden { display: none; }
/* Son 12 saat alarmı: yazı yok, periyodik sallanan kırmızı zil (tooltip'te kalan süre) */
.hcp-week-deadline--alarm {
    width: 34px; height: 34px; padding: 0;
    justify-content: center;
    background: #DC2626;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.45);
    cursor: help;
    animation: hcp-alarm-ring 2.4s ease-in-out infinite;
}
.hcp-week-deadline--alarm i { font-size: 15px; opacity: 1; }
@keyframes hcp-alarm-ring {
    0%, 55%, 100% { transform: rotate(0); }
    58% { transform: rotate(14deg); }
    62% { transform: rotate(-12deg); }
    66% { transform: rotate(9deg); }
    70% { transform: rotate(-6deg); }
    74% { transform: rotate(3deg); }
    78% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hcp-week-deadline--alarm { animation: none; }
}
.hcp-uhead__card {
    background: #fff; border-radius: 16px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 12px;
}
.hcp-uhead__top { display: flex; align-items: center; gap: 14px; }
.hcp-uhead__bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    border-top: 1px solid #eef2f6; padding-top: 12px;
}
.hcp-uhead__bottom .hcp-segment-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Tek sıralı kart (Kontrol): üst ayraç çizgisi yok */
.hcp-uhead__bottom--solo { border-top: none; padding-top: 0; }
.hcp-uhead__bottom .hcp-ctrl-approve-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

/* İlerleme bloğu (halka + çubuk + rozet) */
.hcp-uprog {
    display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0;
    background: transparent; border: none; cursor: pointer; text-align: left; padding: 0;
}
.hcp-uprog__ring {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; position: relative;
    background: conic-gradient(#F59E0B 0%, #E5EAF0 0);
    display: flex; align-items: center; justify-content: center;
}
.hcp-uprog__ring-inner {
    width: 44px; height: 44px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.hcp-uprog .hcp-hp-pct {
    position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
    background: #F59E0B; color: #fff; font-size: 10px; font-weight: 800;
    padding: 1px 7px; border-radius: 999px; border: 2px solid #fff; white-space: nowrap;
}
.hcp-uprog__body { flex: 1; min-width: 0; }
.hcp-uprog__line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hcp-uprog .hcp-hp-headline { font-size: 1.05rem; font-weight: 800; color: #13303a; }
.hcp-uprog .hcp-hp-sub { font-size: 13px; color: #64748b; font-weight: 600; }
.hcp-uprog__bar { margin-top: 8px; height: 9px; border-radius: 999px; background: #E5EAF0; overflow: hidden; }
.hcp-uprog__bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22C55E, #16A34A); width: 0; transition: width .4s ease; }

/* "Devam et" rozeti — üst sıranın sağında pill buton (renk/level JS ile) */
.hcp-uhead__top .hcp-hp3-badge {
    margin-left: auto; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 12px; font-weight: 700; font-size: 14px;
}

/* === Planım aksiyon barı: İş Ata + İzin (tek standart, segment mirası YOK) === */
/* Gönder (.teslim-btn) ile aynı form: 44px yükseklik, 12px köşe, yumuşak gölge.
   Renkler korunur (İş Ata çini, İzin bakır) — sadece form standardize edildi. */

.hcp-act-btn {
    height: 44px;
    padding: 0 16px;
    min-width: 108px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    font-family: var(--pys-font-display, inherit);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 8px rgba(16,40,60,.16);
    transition: filter .15s ease, transform .14s ease, box-shadow .22s ease;
}
.hcp-act-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.hcp-act-btn:active { transform: translateY(0); }

.hcp-act-btn--assign { background: linear-gradient(135deg, var(--color-brand-cini, #3FA0EC), #0C7C8C); }
.hcp-act-btn--leave  { background: linear-gradient(135deg, #F59E0B, #D97706); }
/* İkonlar belirgin ve net beyaz olsun (14px ince yerine ~18px) — Gönder'le aynı görünür ağırlık */
.hcp-act-btn i { font-size: 18px; color: #fff; line-height: 1; }
/* Eski açılır-menü ID kuralları (#...-dd-assign/-leave i) ikonu mavi/turuncu boyuyordu;
   solid butonda ikon beyaz kalsın (ID düzeyinde override) */
.hcp-act-btn#hcp-ctrl-dd-assign i,
.hcp-act-btn#hcp-ctrl-dd-leave i { color: #fff; }

/* İş Ata modalı: geç atama hafta seçimi (Cuma) + bilgi notu (Cmt/Paz) */
.hcp-assign-week-wrap { margin-top: 4px; }
.hcp-assign-week-choice { display: flex; gap: 8px; margin-top: 6px; }
.hcp-assign-week-opt {
    flex: 1; padding: 8px 10px; border-radius: 10px;
    border: 1.5px solid #DCE3EB; background: #fff; color: #475569;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.hcp-assign-week-opt:hover { border-color: #94A3B8; }
.hcp-assign-week-opt.is-selected { border-color: #2563EB; background: #EAF1FE; color: #0C3480; }
.hcp-assign-week-note {
    margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.45; color: #92400E;
    background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 9px 12px;
}

/* ===== Ortada uyarı/hata popup (M.hcpAlert) — açık modalların ÜSTÜNDE yığılır ===== */
.hcp-alert-overlay {
    position: fixed; inset: 0; z-index: 130;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; transition: opacity .16s ease;
}
.hcp-alert-overlay.is-open { opacity: 1; }
.hcp-alert-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.hcp-alert-card {
    position: relative; background: #fff; border-radius: 16px;
    padding: 22px 22px 18px; width: min(360px, 92vw);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .24); text-align: center;
    transform: translateY(8px) scale(.98); transition: transform .18s ease;
}
.hcp-alert-overlay.is-open .hcp-alert-card { transform: translateY(0) scale(1); }
.hcp-alert__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px; font-size: 22px; margin-bottom: 12px;
}
.hcp-alert__title { font-size: 16px; font-weight: 800; color: #13303a; margin-bottom: 4px; }
.hcp-alert__msg { font-size: 13.5px; line-height: 1.5; color: #475569; margin-bottom: 16px; }
.hcp-alert__ok {
    width: 100%; padding: 11px; border: none; border-radius: 11px;
    background: linear-gradient(135deg, #3FA0EC, #1E6FD0); color: #fff;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}
.hcp-alert__ok:hover { opacity: .92; transform: translateY(-1px); }
.hcp-alert__ok:focus-visible { outline: 2px solid #1E6FD0; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .hcp-alert-overlay, .hcp-alert-card { transition: none; }
}

/* Akıllı kategori önerisi çipi (quick-add) */
.hcp-wa-suggest {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: 8px; padding: 5px 11px; border-radius: 999px;
    border: 1px dashed #BBD9F5; background: #F0F7FF; color: #1E6FD0;
    font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .15s ease;
}
.hcp-wa-suggest:hover { background: #E0F2FE; }
.hcp-wa-suggest .hcp-wa-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* "YZ ile derinleştir" — Haftamın Analizi panelinde gerçek YZ analizi (gpt-4o-mini) */
.hcp-yz-ai { margin-top: 16px; border-top: 1px solid #EEF2F6; padding-top: 14px; }
.hcp-yz-ai-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: none; border-radius: 11px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff;
    font-size: 13px; font-weight: 700; cursor: pointer;
    box-shadow: 0 3px 12px rgba(124, 58, 237, .28);
    transition: opacity .15s ease, transform .15s ease;
}
.hcp-yz-ai-btn:hover:not(:disabled) { opacity: .92; transform: translateY(-1px); }
.hcp-yz-ai-btn:disabled { opacity: .7; cursor: default; }
.hcp-yz-ai-text { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: #334155; white-space: pre-wrap; }
.hcp-yz-ai-empty { margin-top: 12px; font-size: 13px; color: #94A3B8; }
.hcp-yz-spin {
    width: 13px; height: 13px; border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff; border-radius: 50%; display: inline-block;
    animation: hcp-yz-spin .7s linear infinite;
}
@keyframes hcp-yz-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hcp-yz-spin { animation: none; } }

/* Aksiyon butonları artık içerik alanında (Yeni İş Ekle'nin üstünde) bir araç çubuğu */
.hcp-plan-actionbar {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}
.hcp-plan-actionbar .hcp-segment-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
/* Durum şeridi (ör. teslim geri sayımı) butonlarla aynı satırda: şerit solda esner, butonlar sağda.
   Tam genişlik: eskiden fit-content + sağa yaslıydı, solda ölü boşluk kalıyordu. */
.hcp-plan-actionrow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    width: 100%;
    background: rgba(255,255,255,0.55);
    border: 1px solid #D7E3F0;
    border-radius: 14px;
    padding: 8px 12px;
    box-shadow: 0 1px 2px rgba(11,42,80,.04), 0 4px 14px rgba(11,42,80,.06);
}
.hcp-plan-actionrow > #hcp-plan-status-strip {
    flex: 1 1 320px;
    margin-top: 0;
}
.hcp-plan-actionrow > .hcp-plan-actionbar {
    margin-top: 0;
    margin-left: auto;
    flex: 0 0 auto;
}

/* === Panel başlık standardı: Kontrol + Geri Bildirimler aksiyon kartı === */
/* Planım'ın .hcp-header-action-bar'ı ile birebir aynı görünüm → üç panelde de
   [mavi band] + [beyaz aksiyon kartı] aynı. Kontroller sağa hizalı.
   position:relative → Geri Bildirimler takvim popup'ı bu karta göre konumlanır. */
.hcp-panel-actionbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 16px;
    padding: 8px 18px 10px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    border-top: 1.5px solid #efece4;
    box-shadow: 0 4px 16px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9);
    position: relative;
}


/* === Planım mobil saha modu (640px altı) — dokunma hedefleri ve yerleşim === */
@media (max-width: 640px) {
    /* Başlık bandı sıkışmasın: ikon/başlık küçülür, teslim çipi gizlenir
       (aynı bilgi son 48 saatte durum şeridinde zaten var) */
    #hcp-shell-plan .hcp-uhead__title { font-size: 1.05rem; }
    #hcp-shell-plan .hcp-uhead__icon { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
    #hcp-shell-plan .hcp-week-deadline { display: none; }

    /* Hızlı ekleme: 16px yazı iOS'ta odaklanınca otomatik yakınlaştırmayı önler;
       giriş ve Ekle butonu parmakla rahat basılacak yükseklikte */
    #hcp-shell-plan .hcp-quick-add__input { font-size: 16px; padding: 0.7rem 0.75rem; }
    #hcp-shell-plan .hcp-btn-add { min-height: 44px; }

    /* İş satırları: daha yüksek dokunma alanı, durum düğmesi büyür */
    #hcp-shell-plan .hcp-item-row-main { min-height: 52px; }
    #hcp-shell-plan .hcp-status-indicator {
        width: 28px; height: 28px; min-width: 28px; min-height: 28px; font-size: 13px;
    }
    #hcp-shell-plan .hcp-inline-title,
    #hcp-shell-plan .hcp-inline-title--done { font-size: 15px; }
}
