/* Yoyo Rehber */
.ys-main { overflow: hidden; }
.pp { display: flex; height: 100%; min-height: 0; }
.pp-list { width: 380px; flex: none; display: flex; flex-direction: column; min-height: 0; border-inline-end: 1px solid var(--line); }
.pp-detail { flex: 1; min-width: 0; overflow-y: auto; }
.pp-full { flex: 1; min-width: 0; display: none; flex-direction: column; min-height: 0; }
.pp.wide .pp-list, .pp.wide .pp-detail { display: none; }
.pp.wide .pp-full { display: flex; }

.pp-head { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 16px; height: 56px; flex: none; border-bottom: 1px solid var(--line); }
.pp-title { margin: 0; font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-count { font-size: 13px; font-weight: 600; padding-inline-end: 4px; }
.pp-rows, .pp-wide { flex: 1; overflow-y: auto; min-height: 0; }
.pp-wide { padding-bottom: 16px; }
.pp-wide > * { max-width: 760px; }
.pp-letter { padding: 12px 16px 4px; font-size: 13px; font-weight: 700; color: var(--mute); }
.pp-row { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; min-height: 56px; color: var(--ink); text-decoration: none; }
.pp-rows .pp-row:hover { background: #f8fafc; }
.pp-row.on, .pp-rows .pp-row.on:hover { background: var(--blue-l); }
.pp-open { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding: 8px 0; color: var(--ink); text-decoration: none; }
.pp-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-sub { font-size: 13px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-star { color: var(--amber); flex: none; display: grid; }
.pp-star svg { width: 16px; height: 16px; fill: currentColor; }

.pp-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; overflow: hidden; }
.pp-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-av.xl { width: 88px; height: 88px; font-size: 34px; }
.pp-av.pp-blank { background: #e2e8f0; }
.pp-pick { border: 0; background: none; padding: 0; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.pp-box { display: none; width: 18px; height: 18px; border: 2px solid #94a3b8; border-radius: 4px; place-items: center; background: #fff; }
.pp-box svg { width: 14px; height: 14px; fill: #fff; display: block; }
.pp-rows.picking .pp-av, .pp-row.sel .pp-av { display: none; }
.pp-rows.picking .pp-box, .pp-row.sel .pp-box { display: grid; }
.pp-row.sel .pp-box { background: var(--blue); border-color: var(--blue); }
@media (hover: hover) {
  .pp-row:hover .pp-pick .pp-av { display: none; }
  .pp-row:hover .pp-box { display: grid; }
}

/* Sol menu */
.pp-groups { display: grid; gap: 4px; }
.pp-ghead { display: flex; align-items: center; justify-content: space-between; padding-inline-end: 4px; }

/* Ayrinti */
.pp-bar { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 56px; position: sticky; top: 0; background: var(--panel); z-index: 2; }
.pp-back { display: none; }
.pp-starred { color: var(--amber); }
.pp-status { font-size: 13px; padding-inline-start: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-status.pp-err { color: var(--red); font-weight: 600; }
.pp-card { max-width: 640px; padding: 8px 28px 40px; display: grid; gap: 16px; }
.pp-hero { display: flex; align-items: center; gap: 20px; min-width: 0; }
.pp-hero h1 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pp-info { margin: 8px 0 0; display: grid; }
.pp-line { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pp-line dt { color: var(--mute); font-size: 13px; font-weight: 600; padding-top: 2px; }
.pp-line dd { margin: 0; display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.pp-line a { color: var(--blue-d); text-decoration: none; }
.pp-line a:hover { text-decoration: underline; }
.pp-lab { color: var(--mute); font-size: 13px; margin-inline-start: 10px; }
.pp-pre { white-space: pre-wrap; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pp-chip { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: 13px; font-weight: 600; min-width: 0; max-width: 100%; }
.pp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-chip button { border: 0; background: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: var(--mute); flex: none; }
.pp-chip button:hover { background: #e2e8f0; }
.pp-chip svg { width: 14px; height: 14px; fill: currentColor; }

/* Duzenleme */
.pp-photo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-photo .pp-av { margin-inline-end: 10px; }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp-form textarea { resize: vertical; min-height: 44px; display: block; }
.pp-multi { display: grid; gap: 6px; justify-items: start; }
.pp-flabel { font-size: 13px; font-weight: 600; color: #334155; }
.pp-items { display: grid; gap: 6px; width: 100%; }
.pp-item { display: flex; align-items: center; gap: 6px; }
.pp-item select { border: 1px solid var(--line); border-radius: 10px; padding: 9px 8px; background: #fff; width: 92px; flex: none; outline: 0; }
.pp-item select:focus { border-color: var(--blue); }
.pp-item .ys-input { flex: 1; min-width: 0; }
.pp-item .pp-bad { border-color: var(--red); }
.pp-add { border: 0; background: none; padding: 4px 0; color: var(--blue-d); font-weight: 600; font-size: 13px; }
.pp-add:hover { text-decoration: underline; }

/* Yinelenenler */
.pp-set { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 0; border-bottom: 1px solid var(--line); }
.pp-set .pp-row:hover { background: #f8fafc; }
.pp-wide > .pp-row { border-bottom: 1px solid var(--line); padding-inline-end: 16px; }

@media (max-width: 1000px) {
  .pp-list { width: 300px; }
}
@media (max-width: 760px) {
  /* Ortak kabukta arama kutusu daralmiyor ve ust cubuk tasiyor; burada daraltilir */
  .ys-search { min-width: 0; }
  .ys-actions .ys-btn { padding: 9px; }
  .pp-list { width: 100%; border: 0; }
  .pp-detail { display: none; }
  .pp.detail .pp-list { display: none; }
  .pp.detail .pp-detail { display: block; }
  .pp-back { display: inline-grid; }
  .pp-card { padding: 4px 16px 32px; }
  .pp-line { grid-template-columns: 88px minmax(0, 1fr); }
  .pp-av.xl { width: 72px; height: 72px; font-size: 28px; }
  .pp-hero { gap: 14px; }
  .pp-hero h1 { font-size: 20px; }
}
@media (max-width: 420px) {
  .pp-two { grid-template-columns: 1fr; }
}
