/* pys_hcp_planned.css — Havuz Rafı, Planım tarafı (25 Eylül 2026)
 * Altı harf (yeni iş satırı ve satır içi şerit) ile satırdaki gün nişanı.
 * Renk: yerleşmiş iş Aurora mavisi, günsüz iş gri hayalet. Tek taraflı renkli şerit
 * yok; ayrım dolgu, iç çerçeve ve gölgeden gelir. Yazılar Title Case. */

/* —— Altı harf ———————————————————————————————————————————————————————— */
.hcp-gunler {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    background: #F8FAFC;
    box-shadow: inset 0 0 0 1px var(--hcp-hairline, #D5DFEA);
    flex-shrink: 0;
}
.hcp-gun {
    appearance: none;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8A96A8;
    font: inherit;
    font-size: var(--pys-fs-xs);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hcp-gun:hover { background: #EDF6FF; color: var(--hcp-aurora-ink, #285FD5); }
.hcp-gun:focus-visible { outline: 2px solid var(--hcp-aurora-a, #2F9CFF); outline-offset: 1px; }
.hcp-gun.is-on {
    background: linear-gradient(135deg, var(--hcp-aurora-a, #2F9CFF), var(--hcp-aurora-b, #5F7CFF));
    color: #fff;
    box-shadow: 0 4px 10px rgba(47, 156, 255, .32);
    transform: translateY(-1px);
}
.hcp-qa-days { display: inline-flex; align-items: center; }
.hcp-quick-add--disabled .hcp-qa-days,
.hcp-quick-add--kapali .hcp-qa-days { display: none; }

/* —— Satırdaki nişan ——————————————————————————————————————————————————
   36 piksellik kutu: gün kısaltması üstte, saat altta. Günsüz işte yalnız fare
   gelince soluk bir takvim simgesi belirir, liste sakin kalır. Kutunun yeri her
   satırda ayrılır ki başlıklar aynı hizada dursun. */
.hcp-pin-wrap {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
}
.hcp-pin {
    appearance: none;
    flex: none;
    width: 36px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.hcp-pin__gun { font-size: var(--pys-fs-xs); font-weight: 800; letter-spacing: .01em; }
.hcp-pin small { font-size: var(--pys-fi-xs); font-weight: 700; opacity: .85; font-variant-numeric: tabular-nums; }
/* Parçalı iş (6 Eki 2026): işaret ilk günü yazar, sağ üst köşede kaç parça daha olduğu. */
.hcp-pin { position: relative; }
.hcp-pin__fazla { position: absolute; top: -6px; right: -7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #285FD5; color: #fff; font-size: var(--pys-fi-xs); font-weight: 800; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.hcp-pin--set {
    background: #EDF6FF;
    color: var(--hcp-aurora-ink, #285FD5);
    box-shadow: inset 0 0 0 1px #C7DAF4;
}
.hcp-pin--set:hover,
.hcp-pin--set.is-open { background: #DDEEFF; box-shadow: inset 0 0 0 1px #A9C7F0, 0 4px 12px rgba(47, 156, 255, .18); }
.hcp-pin--none {
    background: transparent;
    color: #B6C0CE;
    opacity: 0;
}
.hcp-item-row:hover .hcp-pin--none,
.hcp-item-row:focus-within .hcp-pin--none,
.hcp-pin--none.is-open { opacity: 1; box-shadow: inset 0 0 0 1px #E2E8F0; }
.hcp-pin--none:hover,
.hcp-pin--none.is-open { background: #F8FAFC; color: #7C8899; }
.hcp-pin--blank { cursor: default; opacity: 0; pointer-events: none; }
.hcp-pin--locked { cursor: default; }
.hcp-pin:focus-visible { outline: 2px solid var(--hcp-aurora-a, #2F9CFF); outline-offset: 1px; opacity: 1; }
/* Dokunmatik ekranda fare yok: günsüz işin simgesi hep hafifçe görünür. */
@media (pointer: coarse) {
    .hcp-pin--none { opacity: .6; box-shadow: inset 0 0 0 1px #E2E8F0; }
}

/* —— Nişanın yanında açılan şerit ——————————————————————————————————————
   Satırın ÜSTÜNDE yüzer, başlığı itmez; pencere açmaz. */
.hcp-pin-strip {
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px #C7DAF4, 0 10px 24px rgba(15, 23, 42, .12);
    transform: translateY(-50%);
    white-space: nowrap;
    animation: hcp-pin-in .16s ease-out;
}
.hcp-pin-strip .hcp-gunler { background: transparent; box-shadow: none; padding: 0; }
.hcp-pin-strip__clear {
    appearance: none;
    height: 26px;
    margin-right: 2px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: #F8FAFC;
    box-shadow: inset 0 0 0 1px var(--hcp-hairline, #D5DFEA);
    color: #475569;
    font: inherit;
    font-size: var(--pys-fi-sm);
    font-weight: 700;
    cursor: pointer;
}
.hcp-pin-strip__clear:hover { background: #FFF4EC; color: #9A3412; box-shadow: inset 0 0 0 1px #F6CDB2; }
.hcp-pin-strip__clear:focus-visible { outline: 2px solid var(--hcp-aurora-a, #2F9CFF); outline-offset: 1px; }
@keyframes hcp-pin-in { from { opacity: 0; transform: translate(-4px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

/* —— Dar ekran ————————————————————————————————————————————————————————
   Telefonda başlığa ayrılan yer çok dar. Günü olmayan satırda nişan hiç yer
   kaplamaz; günü olan satırda kutu küçülür. Şerit nişanın yanına sığmadığı için
   satırın içine, iki kenardan boşluk bırakarak oturur. */
@media (max-width: 640px) {
    .hcp-pin-wrap { position: static; }
    .hcp-pin-wrap--empty { display: none; }
    .hcp-pin { width: 32px; height: 30px; border-radius: 9px; }
    .hcp-pin__gun { font-size: var(--pys-fs-xs); }
    .hcp-pin small { font-size: var(--pys-fi-xs); }
    .hcp-pin-strip { left: 8px; right: 8px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .hcp-pin-strip { animation: none; } }

/* —— İpucu balonu (1 Ekim 2026) ———————————————————————————————————————
   Gün harfi, gün nişanı ve kategori noktasının üstüne gelince hemen çıkar.
   Tarayıcının kendi ipucu geç geliyordu; bu balon body'de durur, satırın
   taşma kesmesine takılmaz. Ok, balonun hedefe bakan kenarında. */
.hcp-ipucu {
    position: fixed;
    z-index: 2147483000;
    max-width: 260px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #1E293B;
    color: #fff;
    font-size: var(--pys-fs-xs);
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .12s ease, transform .12s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
}
.hcp-ipucu.is-on { opacity: 1; transform: translateY(0); }
.hcp-ipucu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: var(--ok-x, 50%);
    width: 0;
    height: 0;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #1E293B;
}
.hcp-ipucu.is-alt { transform: translateY(-3px); }
.hcp-ipucu.is-alt.is-on { transform: translateY(0); }
.hcp-ipucu.is-alt::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #1E293B; }
@media (prefers-reduced-motion: reduce) { .hcp-ipucu { transition: none; } }
