/* יום-יומי · הדגשות, הערות, חיזוקים — משותף לקורא ולאפליקציית "הסדר שלי" (v20261011) */
:root {
  --st-y: #fff1a8; --st-g: #c9f2cf; --st-b: #cfe6ff; --st-p: #e6d8ff; --st-r: #ffd3e1;
  --st-ink: #16161c; --st-mut: #6b7280; --st-line: #e7e9ef; --st-accent: #E70F57;
}
/* הדגשת פסקה שלמה */
p.st-hl { border-radius: 6px; box-shadow: -6px 0 0 0 transparent; }
p.st-hl.st-y { background: linear-gradient(var(--st-y), var(--st-y)); }
p.st-hl.st-g { background: var(--st-g); } p.st-hl.st-b { background: var(--st-b); } p.st-hl.st-p { background: var(--st-p); } p.st-hl.st-r { background: var(--st-r); }
p.st-hl { padding: 2px 6px; margin-inline: -6px; }
p.st-bm { position: relative; }
p.st-bm::before { content: ''; position: absolute; inset-inline-end: -14px; top: .25em; width: 7px; height: 1.1em; background: var(--st-accent); border-radius: 0 0 2px 2px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
/* קטע מסומן בתוך פסקה */
mark.st-m { color: inherit; border-radius: 3px; padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.st-y { background: var(--st-y); } mark.st-g { background: var(--st-g); } mark.st-b { background: var(--st-b); } mark.st-p { background: var(--st-p); } mark.st-r { background: var(--st-r); }
mark.st-n { background: transparent; border-bottom: 2px dotted #c58a12; border-radius: 0; }
/* תג הערות בסוף הפסקה */
.st-badge { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; margin-inline-start: 6px; border: 1px solid #ecd9a8; background: #fbf5e4; color: #9a6a08;
  border-radius: 999px; padding: 1px 7px; font: 700 .7rem/1.4 Rubik, Arial, sans-serif; cursor: pointer; }
.st-badge.sh { background: #eaf3ff; border-color: #bcd6f7; color: #2a62a8; }

/* כפתור צף בעת בחירת טקסט */
.st-float { position: absolute; z-index: 60; background: #15203A; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font: 700 .85rem Rubik, Arial, sans-serif;
  box-shadow: 0 6px 18px rgba(21,32,58,.25); cursor: pointer; }
.st-float[hidden] { display: none; }

/* גיליון תחתון */
.st-bg { position: fixed; inset: 0; background: rgba(15,20,35,.38); z-index: 80; opacity: 0; transition: opacity .2s; }
.st-bg.on { opacity: 1; }
.st-sheet { position: fixed; z-index: 81; inset-inline: 0; bottom: 0; margin: 0 auto; max-width: 560px; max-height: 88vh; overflow: auto; background: #fff; color: var(--st-ink);
  border-radius: 22px 22px 0 0; padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); font-family: Rubik, 'RD Heebo', Arial, sans-serif; direction: rtl;
  transform: translateY(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.15); }
.st-sheet.on { transform: none; }
@media (min-width: 700px) { .st-sheet { bottom: auto; top: 50%; border-radius: 22px; transform: translateY(-40%) scale(.97); opacity: 0; transition: transform .2s, opacity .2s; }
  .st-sheet.on { transform: translateY(-50%); opacity: 1; } }
.st-grab { width: 40px; height: 4px; border-radius: 4px; background: #dfe2e8; margin: 4px auto 10px; }
.st-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.st-h b { display: block; font-size: 1.08rem; } .st-h span { color: var(--st-mut); font-size: .85rem; }
.st-x { border: 0; background: #f2f3f6; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex: none; font-size: .95rem; }
.st-q { margin: 0 0 12px; padding: 10px 14px; border-inline-start: 4px solid #e2c06a; background: #fdf9ee; border-radius: 10px; font-family: var(--rd-font, 'RD Heebo'), serif; font-size: 1.05rem; line-height: 1.75; max-height: 30vh; overflow: auto; }
.st-q.sm { font-size: .95rem; padding: 6px 10px; margin: 6px 0; }
.st-colors { display: flex; gap: 10px; margin: 4px 0 14px; flex-wrap: wrap; }
.st-c { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(0,0,0,.08); cursor: pointer; }
.st-c.on { outline: 3px solid #15203A; outline-offset: 2px; }
.st-c.st-y { background: var(--st-y); } .st-c.st-g { background: var(--st-g); } .st-c.st-b { background: var(--st-b); } .st-c.st-p { background: var(--st-p); } .st-c.st-r { background: var(--st-r); }
.st-c.st-none { background: #fff; color: #888; font-size: .8rem; }
.st-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.st-acts button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--st-line); background: #fff; border-radius: 14px; padding: 12px; font: 600 .95rem Rubik, Arial, sans-serif; cursor: pointer; text-align: start; color: var(--st-ink); }
.st-acts button:hover { background: #f7f8fb; }
.st-acts i { font-style: normal; width: 22px; text-align: center; color: #9a6a08; }
.st-sheet textarea, .st-sheet input[type=text], .st-sheet select { width: 100%; box-sizing: border-box; border: 1px solid #d9dde5; border-radius: 12px; padding: 10px 12px; font: 1rem/1.6 Rubik, 'RD Heebo', Arial, sans-serif; resize: vertical; }
.st-sheet textarea:focus, .st-sheet input:focus { outline: 2px solid #f4b7cb; border-color: var(--st-accent); }
.st-scope { display: block; margin: 10px 0 0; font-size: .9rem; color: var(--st-mut); } .st-scope select { margin-top: 4px; }
.st-row { display: flex; gap: 10px; margin-top: 14px; }
.st-btn { flex: 1; border: 0; background: var(--st-accent); color: #fff; border-radius: 14px; padding: 13px 16px; font: 700 1rem Rubik, Arial, sans-serif; cursor: pointer; box-shadow: 0 3px 0 #b30a43; }
.st-btn.line { background: #fff; color: var(--st-ink); border: 1px solid var(--st-line); box-shadow: 0 3px 0 #e3e6ec; }
.st-btn.wa { background: #1faa59; box-shadow: 0 3px 0 #15843f; }
.st-share-b { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .st-share-b .st-btn { min-width: 120px; }
.st-hint { color: var(--st-mut); font-size: .85rem; margin: 12px 0 0; } .st-hint a { color: var(--st-accent); font-weight: 700; }
.st-thread { display: flex; flex-direction: column; gap: 10px; }
.st-note { border: 1px solid var(--st-line); border-radius: 14px; padding: 10px 12px; }
.st-note.rep { border: 0; border-inline-start: 3px solid #dfe6f3; border-radius: 0; padding: 4px 10px; margin-top: 6px; }
.st-nh { display: flex; gap: 8px; align-items: baseline; font-size: .85rem; } .st-nh span { color: var(--st-mut); flex: 1; }
.st-nh button { border: 0; background: none; color: var(--st-accent); font: 600 .8rem Rubik, Arial; cursor: pointer; }
.st-nt { margin-top: 4px; line-height: 1.6; white-space: normal; }
.st-rep { display: flex; gap: 6px; margin-top: 8px; } .st-rep input { flex: 1; } .st-rep button { border: 0; background: #15203A; color: #fff; border-radius: 10px; padding: 0 14px; font: 600 .85rem Rubik; cursor: pointer; }
.st-toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 30px); background: #15203A; color: #fff; padding: 10px 18px; border-radius: 999px;
  font: 600 .92rem Rubik, Arial, sans-serif; z-index: 120; opacity: 0; transition: .25s; pointer-events: none; }
.st-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media print { .st-badge, .st-float { display: none !important; } }
