/* ================= Kontrol Paneli =================
   Programın yazı tipiyle. Açık görünüm kırık beyaz, koyu görünüm programın renkleri.
   Firma renkleri ve durum renkleri (bekliyor / sisteme girildi / faturaya gönderildi) korunur. */

.kp-root { flex: 1; min-width: 0; min-height: 0; display: flex; }
.kp {
  --kp-bg: #f3f0ea; --kp-panel: #fbfaf7; --kp-panel-2: #efebe3; --kp-line: #e1dbd0; --kp-text: #2b2d33; --kp-muted: #6f6b63;
  --kp-input: #ffffff; --kp-head: #2c3e50; --kp-head-text: #fff;
  flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--kp-bg); color: var(--kp-text); font-size: 13px;
}
.kp[data-tema="koyu"] {
  --kp-bg: var(--bg); --kp-panel: var(--bg-2); --kp-panel-2: var(--bg-3); --kp-line: var(--line); --kp-text: var(--text); --kp-muted: var(--text-2);
  --kp-input: var(--bg); --kp-head: #2b3a4c; --kp-head-text: #e9eaee;
}
.kp input:not([type="radio"]):not([type="checkbox"]), .kp select { background: var(--kp-input); color: var(--kp-text); border: 1px solid var(--kp-line); border-radius: 7px; padding: 7px 9px; font-size: 13px; }
.kp input:not([type="radio"]):focus, .kp select:focus { border-color: var(--accent); outline: none; }
.kp[data-tema="koyu"] input[type="date"] { color-scheme: dark; }
.kp svg { stroke: currentColor; }

/* Üst çubuk */
/* Tek satır, sabit ölçüler: yazarken ya da seçim değişince hiçbir şey kaymaz; sığmazsa çubuk yana kayar */
.kp-top { display: flex; flex-wrap: nowrap; gap: 14px; align-items: flex-end; padding: 10px 14px; background: var(--kp-panel); border-bottom: 1px solid var(--kp-line); overflow-x: auto; overflow-y: hidden; }
.kp-fields { display: flex; flex-wrap: nowrap; gap: 8px; align-items: flex-end; flex: none; }
.kp-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--kp-muted); flex: none; }
.kp-fields input, .kp-fields select { box-sizing: border-box; height: 34px; }
.kp-fields #kp-job { width: 165px; }
.kp-fields #kp-firm { width: 125px; } .kp-fields #kp-contact { width: 135px; } .kp-fields #kp-staff { width: 125px; } .kp-fields #kp-loc { width: 130px; }
.kp-actions { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; margin-left: auto; flex: none; }
.kp-top .kbtn { height: 34px; padding: 0 12px; font-size: 12.5px; }

/* Modern düğmeler */
.kbtn { --c: #495057; border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--c); color: #fff; transition: transform .12s, box-shadow .12s, filter .12s; box-shadow: 0 1px 2px rgba(0,0,0,.12); white-space: nowrap; }
.kbtn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.16); filter: brightness(1.06); }
.kbtn:active { transform: none; filter: brightness(.95); }
.kbtn.green { --c: #2f9e44; } .kbtn.red { --c: #e03131; } .kbtn.blue { --c: #1c7ed6; } .kbtn.orange { --c: #f76707; } .kbtn.dark { --c: #343a40; }
.kbtn.purple { --c: #7048e8; } .kbtn.excel { --c: #1d6f42; }
.kbtn.soft { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); box-shadow: none; }
.kp[data-tema="koyu"] .kbtn.soft { color: color-mix(in srgb, var(--c) 60%, white); }
.kbtn.soft.on { background: var(--c); color: #fff; }
.kbtn.ghost { background: transparent; color: var(--kp-text); border: 1px solid var(--kp-line); box-shadow: none; }
.kbtn.ghost:hover { background: var(--kp-panel-2); }
.kbtn.icon { width: 36px; height: 34px; padding: 0; display: grid; place-items: center; background: var(--kp-panel-2); color: var(--kp-text); box-shadow: none; }
.kbtn.icon svg { width: 18px; height: 18px; fill: none; stroke-width: 2; }
.kp-menu { position: relative; }
.kp-menu-list { display: none; position: fixed; background: var(--kp-panel); border: 1px solid var(--kp-line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); min-width: 200px; z-index: 20; overflow: hidden; }
.kp-menu-list.open { display: block; }
.kp-menu-list button { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: var(--kp-text); padding: 9px 14px; font: inherit; cursor: pointer; }
.kp-menu-list button:hover { background: var(--kp-panel-2); color: var(--accent); }

/* Sekmeler */
.kp-tabs { display: flex; gap: 4px; padding: 10px 14px 0; flex-wrap: wrap; }
.kp-tabs button { border: 0; background: transparent; color: var(--kp-muted); padding: 8px 14px; border-radius: 8px 8px 0 0; font: inherit; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; }
.kp-tabs button:hover { color: var(--kp-text); background: var(--kp-panel-2); }
.kp-tabs button.active { color: var(--kp-text); background: var(--kp-panel); border-bottom-color: var(--accent); }
.kp-body { flex: 1; min-height: 0; overflow: auto; background: var(--kp-panel); margin: 0 14px 14px; border-radius: 0 10px 10px 10px; border: 1px solid var(--kp-line); }

/* Sütunlar (konumlar) */
.kp-board { display: flex; min-height: 100%; }
.kp-col { flex: 1; min-width: 210px; container-type: inline-size; border-right: 1px solid var(--kp-line); display: flex; flex-direction: column; }
.kp-col:last-child { border-right: 0; }
.kp-col-head { background: var(--kp-head); color: var(--kp-head-text); text-align: center; font-weight: 600; font-size: 12px; padding: 8px 4px; position: sticky; top: 0; z-index: 2; }
.kp-col-head.extra { background: #c0392b; }
.kp-col-head.izmir { background: #2980b9; }
.kp-col-head.ispden { background: #7048e8; }
.kp-list { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-height: 60px; }
/* İş kartı tek satır: iş adı, yetkili/sorumlu, durum, sil. Uzun yazılar "…" ile kısalır, üzerine gelince tamamı görünür */
.kp-row { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 5px 0 7px; border-radius: 6px; font-weight: 600; font-size: 12px; cursor: grab; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.kp-row .kp-job { flex: 1 1 auto; min-width: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-row .kp-people { flex: 0 1 auto; max-width: 42%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; font-style: italic; font-size: 11px; opacity: .9; }
.kp-row .kp-status { font-size: 11px; height: 21px; padding: 0 2px !important; border-radius: 4px !important; background: rgba(255,255,255,.88) !important; color: #222 !important; border: 0 !important; width: 84px; flex: none; }
/* Dar sütunda iş adı görünsün diye yetkili/sorumlu gizlenir (üzerine gelince yine görünür) */
/* Dar sütunda durum kutusu küçülür; firma yetkilisi ancak çok darda gizlenir */
@container (max-width: 290px) { .kp-row .kp-status { width: 78px; } .kp-row .kp-people { max-width: 40%; } }
@container (max-width: 190px) { .kp-row .kp-people { display: none; } }
.kp-row .kp-stat { font-size: 11px; opacity: .85; white-space: nowrap; }
.kp-del { border: 0; width: 18px; height: 18px; border-radius: 5px; background: rgba(0,0,0,.25); color: #fff; font-weight: 700; cursor: pointer; line-height: 1; flex: none; }
.kp-del:hover { background: #c92a2a; }
.sortable-ghost { opacity: .4; }

/* Hatırlatma */
.kp-rem-add { display: flex; gap: 4px; padding: 6px 6px 0; }
.kp-rem-add input { flex: 1; min-width: 0; padding: 6px 8px; }
.kp-rem-add .kbtn { padding: 6px 10px; }
.kp-note { position: relative; color: #fff; border-radius: 6px; padding: 7px 26px 7px 9px; font-size: 12px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.kp-note-st { display: block; margin-top: 4px; padding-top: 3px; border-top: 1px solid rgba(255,255,255,.3); font-size: 11px; opacity: .9; }
.kp-note .kp-del { position: absolute; right: 4px; top: 4px; }

/* Filtreler */
.kp-filters { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--kp-line); background: var(--kp-panel-2); overflow-x: auto; white-space: nowrap; }
.kp-filters > * { flex: none; }
.kp-filters input:not([type="radio"]), .kp-filters select { height: 32px; box-sizing: border-box; }
.kp-filters #kp-r-q, .kp-filters #kp-s-q { width: 210px; }
.kp-filters .kbtn { height: 32px; padding: 0 12px; }
.kp-filters .kp-in.grow { flex: 1 1 auto; min-width: 240px; }
.kp-inline { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: 12px; color: var(--kp-muted); font-weight: 600; }
.kp-radios { display: flex; gap: 10px; flex-wrap: nowrap; padding-left: 10px; border-left: 1px solid var(--kp-line); }
.kp-radio { display: flex; flex-direction: row; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; cursor: pointer; }
.kp-radio input { margin: 0; accent-color: var(--accent); width: 14px; height: 14px; }
.kp-radio.c0 { color: #e8a800; } .kp-radio.c1 { color: #1c7ed6; } .kp-radio.c2 { color: #2f9e44; }
.kp-hint { color: var(--kp-muted); font-size: 12px; padding: 0 2px; }

/* Şef raporu */
.kp-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 8px 12px; font-size: 12px; border-bottom: 1px solid var(--kp-line); }
.kp-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.kp-legend .stage0, .kp-table tr.stage0 { background: #f1c40f; }
.kp-legend .stage1, .kp-table tr.stage1 { background: #3498db; }
.kp-legend .stage2, .kp-table tr.stage2 { background: #27ae60; }
.kp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.kp-table th { background: var(--kp-head); color: var(--kp-head-text); padding: 8px; text-align: left; font-weight: 600; position: sticky; top: 0; z-index: 1; }
.kp-table td { padding: 5px 8px; border-bottom: 1px solid rgba(0,0,0,.12); font-weight: 600; }
.kp-table tr.stage0 td { color: #1d1d1d; }
.kp-table tr.stage1 td, .kp-table tr.stage2 td { color: #fff; }
.kp-table .num { text-align: right; }
.kp-table .empty { color: var(--kp-muted); background: var(--kp-panel); }
.kp-cell { background: rgba(255,255,255,.92) !important; color: #222 !important; border: 1px solid rgba(0,0,0,.15) !important; padding: 4px 6px !important; border-radius: 5px !important; font-size: 12px !important; }
.kp-cell.num { text-align: right; }
.kp-steps { white-space: nowrap; }
.kp-step { border: 1px solid rgba(0,0,0,.2); background: rgba(255,255,255,.85); color: #333; border-radius: 6px; padding: 4px 8px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; margin-right: 4px; }
.kp-step:hover { background: #fff; }
.kp-step.on { background: #1c7ed6; color: #fff; border-color: #1864ab; }
.kp-step.inv.on { background: #2b8a3e; border-color: #2b8a3e; }
.kp-total { padding: 10px 14px; background: var(--kp-head); color: var(--kp-head-text); text-align: right; font-weight: 700; font-size: 14px; }

/* İstatistikler */
.kp-stats { display: grid; grid-template-columns: 1fr 1.4fr 1fr; min-height: 420px; }
.kp-stats > div { padding: 14px; border-right: 1px solid var(--kp-line); }
.kp-stats > div:last-child { border-right: 0; }
.kp-stats-center { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kp-card { background: var(--kp-panel-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; border-left: 4px solid #2980b9; }
.kp-card.green { border-left-color: #27ae60; } .kp-card.yellow { border-left-color: #f1c40f; }
.kp-card h4 { margin: 0; font-size: 12px; color: var(--kp-muted); font-weight: 600; }
.kp-card p { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.kp-chart { width: 100%; max-width: 260px; text-align: center; }
.kp-chart h4 { margin: 0 0 8px; font-size: 12px; color: var(--kp-muted); font-weight: 600; }
.kp-rank-head { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 6px; border-bottom: 2px solid var(--accent); margin-bottom: 6px; }
.kp-rank { display: flex; justify-content: space-between; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--kp-line); }
.kp-rank b { color: #2f9e44; white-space: nowrap; }
.kp[data-tema="koyu"] .kp-rank b { color: #69db7c; }

/* Tüm arşiv */
.kp-arch-list { padding: 8px 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.kp-archive > .kp-hint { padding: 8px 14px 0; }
.kp-arch { display: grid; grid-template-columns: 96px 1.4fr 1fr 1fr 120px 130px 150px; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--kp-line); border-radius: 8px; background: var(--kp-panel); }
.kp-arch:nth-child(even) { background: var(--kp-panel-2); }
.kp-arch .kp-cell { width: 100%; }
.kp-firm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.kp-stage-txt { font-weight: 700; font-size: 12px; }
.kp-stage-txt.stage0 { color: #e8a800; } .kp-stage-txt.stage1 { color: #1c7ed6; } .kp-stage-txt.stage2 { color: #2f9e44; }
.kp-arch-btns { display: flex; gap: 4px; justify-content: flex-end; }
.kp-arch-btns .kbtn { padding: 5px 10px; font-size: 12px; }

/* PDF alınırken her şey açık ve tam görünsün */
.kp.printing .kp-body, .kp.printing .kp-board { overflow: visible; }
.kp-form-toggle { display: none; }
@media (max-width: 760px) {
  .kp-form-toggle { display: inline-block; }
  .kp-top:not(.form-open) .kp-fields { display: none; }
  .kp-top.form-open .kp-form-toggle { --c: #868e96; }
}

/* Ölçek değişince düğme yazıları kırılmasın */
.kbtn { white-space: nowrap; flex-shrink: 0; }
.kp-top > *, .kp-filters > * { flex-shrink: 0; }
.kbtn.ghost.on { background: color-mix(in srgb, #f59f00 18%, transparent); border-color: #f59f00; color: #e8590c; }

/* ---------- Daha sık ve okunaklı liste (eski REKSMA görünümü gibi): küçük yazı, ince satır, az kırpma ---------- */
.kp-col { min-width: 180px; }
.kp-col-head { font-size: 11px; padding: 5px 4px; letter-spacing: .01em; }
.kp-list { padding: 3px; gap: 2px; }
.kp-row { height: 22px; gap: 4px; padding: 0 3px 0 5px; border-radius: 3px; font-size: 10.5px; line-height: 1; box-shadow: none; }
.kp-row .kp-job { font-weight: 700; letter-spacing: -.01em; }
.kp-row .kp-people { font-size: 9.5px; font-weight: 600; max-width: 38%; }
.kp-row .kp-status { font-size: 9.5px; font-weight: 600; height: 18px; width: 76px; text-transform: uppercase; border-radius: 3px !important; }
.kp-row .kp-stat { font-size: 9.5px; }
.kp-del { width: 16px; height: 16px; border-radius: 3px; font-size: 11px; background: #e03131; }
.kp-del:hover { background: #a61e1e; }
@container (max-width: 290px) { .kp-row .kp-status { width: 72px; } .kp-row .kp-people { max-width: 36%; } }
@container (max-width: 170px) { .kp-row .kp-people { display: none; } }
/* ince ayar: durum tam okunsun, iş adına daha çok yer kalsın */
.kp-row { gap: 3px; font-size: 10px; }
.kp-row .kp-people { font-size: 9px; max-width: 30%; }
.kp-row .kp-status { font-size: 9px; width: 90px; padding: 0 1px 0 3px !important; letter-spacing: -.02em; }
.kp-row .print-badge.pdot { width: 8px; height: 8px; border-width: 1px; }
@container (max-width: 290px) { .kp-row .kp-status { width: 86px; } .kp-row .kp-people { max-width: 28%; } }
/* Durum kutusu oksuz (tıklayınca yine açılır): iş adına daha çok yer kalır */
.kp-row .kp-status { appearance: none; -webkit-appearance: none; width: 78px; text-align: center; text-align-last: center; cursor: pointer; padding: 0 2px !important; }
.kp-row .kp-status:hover { background: #fff !important; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
@container (max-width: 290px) { .kp-row .kp-status { width: 76px; } }

/* Silinenler */
.kp-trash-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.kp-trash-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-3); }
.kp-trash-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kp-trash-b b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Silinmiş işler: silindiği yerde "SİLİNDİ" olarak görünür */
.kp-row.ghost { cursor: default; outline: 1.5px dashed #e03131; outline-offset: -1.5px; filter: saturate(.35); }
.kp-row.ghost .kp-job { text-decoration: line-through; opacity: .75; }
.kp-row.ghost .kp-stat { opacity: .75; }
.kp-ghost-tag { flex: none; background: #e03131; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .03em; padding: 2px 4px; border-radius: 3px; line-height: 1; }
.kp-gbtn { flex: none; border: 0; border-radius: 4px; padding: 2px 5px; min-width: 20px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.92); color: #222; line-height: 1.2; }
.kp-gbtn:hover { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.kp-arch.ghost { outline: 1.5px dashed #e03131; outline-offset: -1.5px; }
.kp-arch.ghost .kp-ghost-job { opacity: .85; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.printing .ghost { display: none !important; }

/* ---------- Şehir sütununu büyük göster ---------- */
.kp-col-head.zoomable { cursor: pointer; position: sticky; transition: filter .12s; }
.kp-col-head.zoomable:hover { filter: brightness(1.18); }
.kp-zoom-ico { margin-left: 6px; opacity: 0; font-size: 11px; transition: opacity .12s; }
.kp-col-head.zoomable:hover .kp-zoom-ico { opacity: .85; }
.kp-zoom { position: fixed; inset: 0; z-index: 48; display: grid; place-items: center; padding: 24px; background: rgba(15, 18, 24, .45); backdrop-filter: blur(3px); animation: kpZoomFade .16s ease-out; }
.kp-zpanel { width: min(980px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; background: var(--kp-panel); color: var(--kp-text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.45), 0 0 0 1px var(--kp-line); animation: kpZoomIn .2s cubic-bezier(.2,.9,.3,1.2); }
.kp-zhead { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 20px; background: var(--kp-head); color: var(--kp-head-text); }
.kp-zhead.extra { background: #c0392b; } .kp-zhead.izmir { background: #2980b9; } .kp-zhead.ispden { background: #7048e8; }
.kp-zhead b { font-size: 19px; letter-spacing: .01em; }
.kp-zcount { font-size: 13px; opacity: .8; }
.kp-zhead .spacer { flex: 1; }
.kp-zbtn { width: 36px; height: 36px; border: 0; border-radius: 9px; background: rgba(255,255,255,.14); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .12s; }
.kp-zbtn:hover { background: rgba(255,255,255,.28); }
.kp-zlist { overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.kp-zrow { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--kp-line); border-radius: 10px; background: var(--kp-panel-2); }
.kp-zrow:hover { border-color: color-mix(in srgb, var(--kp-text) 25%, var(--kp-line)); }
.kp-zfirm { flex: none; width: 118px; padding: 5px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-zmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kp-zmain b { font-size: 15px; line-height: 1.3; }
.kp-zmain span { font-size: 12.5px; color: var(--kp-muted); }
.kp-zrow .kp-zstatus { flex: none; width: 160px; height: 34px; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 0 8px; background: var(--kp-input); color: var(--kp-text); border: 1px solid var(--kp-line); }
.kp-zdel { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: color-mix(in srgb, #e03131 14%, transparent); color: #e03131; font-size: 18px; cursor: pointer; }
.kp-zdel:hover { background: #e03131; color: #fff; }
.kp-zrow.ghost { outline: 1.5px dashed #e03131; outline-offset: -1.5px; border-color: transparent; }
.kp-zrow.ghost .kp-zfirm, .kp-zrow.ghost .kp-zmain { opacity: .7; }
.kp-zempty { padding: 40px; text-align: center; color: var(--kp-muted); }
@keyframes kpZoomFade { from { opacity: 0; } }
@keyframes kpZoomIn { from { opacity: 0; transform: scale(.94) translateY(8px); } }
@media (max-width: 700px) {
  .kp-zoom { padding: 0; }
  .kp-zpanel { max-height: 100vh; height: 100%; border-radius: 0; }
  .kp-zrow { flex-wrap: wrap; }
  .kp-zfirm { width: auto; }
  .kp-zmain { flex-basis: 100%; order: -1; }
  .kp-zrow .kp-zstatus { flex: 1; width: auto; }
}

/* Hatırlatma saati ve ekrandaki uyarı */
.kp-rem-add { flex-wrap: wrap; }
.kp-rem-add input[name=text] { flex: 1 1 100%; }
.kp-rem-add input[type=datetime-local] { flex: 1 1 0; min-width: 0; font-size: 11px; padding: 5px 4px; }
.kp-note-at { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.18); border-radius: 4px; padding: 1px 5px; }
.kp-note-at.past { text-decoration: line-through; opacity: .75; }
.kp-note .kp-note-time { right: 22px; font-size: 11px; }
#kp-rem-pop { position: fixed; right: 16px; bottom: 16px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 32px)); }
.kp-rem-card { background: var(--bg-2, #1f2329); color: var(--text, #fff); border: 2px solid #fab005; border-radius: 10px; padding: 12px 14px; box-shadow: 0 8px 28px rgba(0,0,0,.45); animation: kp-rem-in .25s ease-out; }
@keyframes kp-rem-in { from { transform: translateY(20px); opacity: 0; } }
.kp-rem-h { font-weight: 800; color: #fab005; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.kp-rem-h span { color: var(--text-2, #aaa); font-weight: 600; font-size: 11.5px; }
.kp-rem-t { margin: 8px 0 10px; white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.4; }
.kp-rem-f { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.kp-rem-f select { width: auto; padding: 4px 6px; }
