/* Yoyo Anımsatıcılar */
.rm-main { overflow: hidden; }
.rm-wrap { display: flex; height: 100%; min-height: 0; }
.rm-pane { flex: 1; min-width: 0; overflow-y: auto; padding: 0 0 48px; }

/* Sol menu */
.rm-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin: 0 4px; }
.rm-lists { display: grid; gap: 6px; }
.rm-addlist { align-self: flex-start; }
.ys-nav button.rm-drop { background: var(--blue-l); outline: 2px solid var(--blue); outline-offset: -2px; }
.ys-nav button.rm-over-top { box-shadow: inset 0 2px 0 var(--blue); }
.ys-nav button.rm-over-bot { box-shadow: inset 0 -2px 0 var(--blue); }

/* Baslik */
.rm-head { display: flex; align-items: center; gap: 8px; padding: 16px 12px 6px 46px; position: sticky; top: 0; background: var(--panel); z-index: 2; }
.rm-head h1 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-tools { display: flex; gap: 2px; flex: none; }
.rm-gh { margin: 0; padding: 18px 12px 4px 46px; font-size: 15px; font-weight: 700; }
.rm-gh.late { color: var(--red); }

/* Satir */
.rm-row { display: flex; align-items: flex-start; gap: 6px; padding: 5px 12px 5px 4px; position: relative; }
.rm-row::after { content: ""; position: absolute; left: 46px; right: 0; bottom: 0; border-bottom: 1px solid #eef2f7; }
.rm-row.sub { padding-inline-start: 34px; }
.rm-row.sub::after { left: 76px; }
.rm-row.on { background: #f1f5f9; }
.rm-row.rm-dragging { opacity: .45; }
.rm-row.rm-over-top { box-shadow: inset 0 2px 0 var(--blue); }
.rm-row.rm-over-bot { box-shadow: inset 0 -2px 0 var(--blue); }
.rm-grip { width: 16px; height: 30px; flex: none; display: grid; place-items: center; color: #cbd5e1; cursor: grab; visibility: hidden; }
.rm-grip svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.rm-row:hover .rm-grip { visibility: visible; }
.rm-grip.none, .rm-row:hover .rm-grip.none { visibility: hidden; }
.rm-check { width: 20px; height: 20px; margin: 5px 0; flex: none; border-radius: 50%; border: 1.5px solid #94a3b8; background: none; padding: 0; display: grid; place-items: center; color: transparent; }
.rm-check svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.rm-check:hover { border-color: var(--c, var(--blue)); }
.rm-check[aria-checked="true"] { background: var(--c, var(--blue)); border-color: var(--c, var(--blue)); color: #fff; }
.rm-check.ghost { border-style: dashed; border-color: #cbd5e1; }
.rm-body { flex: 1; min-width: 0; padding: 3px 0 2px 4px; display: grid; gap: 1px; cursor: text; }
.rm-tl { display: flex; align-items: flex-start; gap: 5px; min-width: 0; }
.rm-pri { color: var(--blue); font-weight: 700; flex: none; line-height: 24px; }
.rm-title { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; resize: none; padding: 0; margin: 0; line-height: 24px; min-height: 24px; overflow: hidden; field-sizing: content; display: block; }
.rm-title::placeholder { color: #94a3b8; }
.rm-row.done .rm-title { color: var(--mute); text-decoration: line-through; }
.rm-row.done .rm-pri { color: var(--mute); }
.rm-notes { color: var(--mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: var(--mute); font-size: 13px; min-width: 0; }
.rm-meta > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-meta a { color: var(--blue); text-decoration: none; }
.rm-meta a:hover { text-decoration: underline; }
.rm-date.late { color: var(--red); }
.rm-rep { display: inline-flex; align-items: center; gap: 3px; }
.rm-rep svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.rm-sug:empty { display: none; }
.rm-sug { padding: 3px 0 2px; }
.rm-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 3px 9px; font-size: 13px; font-weight: 600; color: var(--blue-d); max-width: 100%; }
.rm-chip:hover { background: var(--blue-l); border-color: #c7d7f5; }
.rm-chip.on { background: var(--blue-l); border-color: #c7d7f5; }
.rm-chip svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.rm-flag { border: 0; background: none; padding: 0; width: 26px; height: 30px; display: grid; place-items: center; color: #ea580c; flex: none; border-radius: 8px; }
.rm-flag svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.rm-act { visibility: hidden; }
.rm-row:hover .rm-act, .rm-row:focus-within .rm-act, .rm-row.on .rm-act { visibility: visible; }
.rm-act svg { width: 18px; height: 18px; }
.rm-pane .ys-empty { padding: 48px 20px; }

/* Geri al bildirimi */
.rm-toast { display: flex; align-items: center; gap: 14px; }
.rm-toast button { border: 0; background: none; color: #93c5fd; font-weight: 700; padding: 0; }

/* Ayrinti paneli */
.rm-panel { width: 340px; flex: none; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--panel); }
.rm-phead { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px 16px; flex: none; }
.rm-pbody { padding: 4px 16px 20px; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.rm-pbody .ys-field { min-width: 0; }
.rm-pbody textarea { resize: vertical; min-height: 40px; display: block; }
.rm-pbody [data-f="title"] { font-weight: 600; resize: none; }
.rm-pbody input.bad { border-color: var(--red); }
.rm-pbody input:disabled, .rm-pbody select:disabled { background: #f8fafc; color: #94a3b8; }
.rm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rm-two input { min-width: 0; }
.rm-chk { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #334155; }
.rm-chk input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.rm-subs { display: grid; gap: 2px; }
.rm-sh { font-size: 13px; font-weight: 600; color: #334155; padding-bottom: 3px; }
.rm-sub { display: flex; align-items: center; gap: 8px; min-height: 34px; border-bottom: 1px solid #eef2f7; }
.rm-sub .rm-check { margin: 0; }
.rm-sin { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 4px 0; }
.rm-sin::placeholder { color: #94a3b8; }
.rm-sub.done .rm-sin { color: var(--mute); text-decoration: line-through; }

/* Liste penceresi */
.rm-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-colors label { position: relative; display: block; width: 28px; height: 28px; cursor: pointer; }
.rm-colors input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rm-colors i { display: block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; }
.rm-colors input:checked + i { box-shadow: 0 0 0 2px #0f172a; }
.rm-colors input:focus-visible + i { box-shadow: 0 0 0 2px var(--blue); }

/* Hatirlatma kartlari */
.rm-alerts { position: fixed; top: 64px; right: 16px; z-index: 150; display: grid; gap: 8px; width: min(340px, calc(100vw - 24px)); }
.rm-alert { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); padding: 12px 14px; display: grid; gap: 10px; }
.rm-atext { display: grid; gap: 2px; cursor: pointer; min-width: 0; }
.rm-atext b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-atext span { color: var(--mute); font-size: 13px; }
.rm-abtn { display: flex; gap: 8px; }

@media (hover: none) {
  .rm-act { visibility: visible; }
  .rm-grip { visibility: hidden !important; width: 6px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .rm-panel { width: 300px; }
}
@media (max-width: 760px) {
  .rm-panel { position: fixed; inset: 0; z-index: 60; width: auto; border: 0; }
  .rm-head { padding-inline-start: 36px; }
  .rm-gh { padding-inline-start: 36px; }
  .rm-row::after { left: 36px; }
  .rm-row.sub::after { left: 66px; }
  .rm-act { visibility: visible; }
  .rm-grip { width: 6px; visibility: hidden !important; }
}

@media print {
  html, body { height: auto; background: #fff; }
  .ys { height: auto; display: block; }
  .ys-top, .ys-side, .rm-tools, .rm-panel, .rm-quick, .rm-grip, .rm-act, .rm-sug, .rm-alerts, .ys-toast, .ys-menu, .ys-veil { display: none !important; }
  .ys-body { display: block; }
  .ys-main, .rm-main { overflow: visible; border: 0; margin: 0; border-radius: 0; }
  .rm-wrap { display: block; height: auto; }
  .rm-pane { overflow: visible; padding: 0; }
  .rm-head { position: static; padding-inline-start: 0; }
  .rm-head h1 { color: #000 !important; white-space: normal; }
  .rm-gh { padding-inline-start: 0; color: #000 !important; }
  .rm-row { padding-inline-start: 0; break-inside: avoid; background: none !important; }
  .rm-row.sub { padding-inline-start: 28px; }
  .rm-row::after { left: 0; }
  .rm-check { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
