/* ---------- сферы, срок, повтор: маленькие подписи ---------- */
.sph-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.sph-dot.lg { width: 12px; height: 12px; }
.sph-dot.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.sph, .rep { display: inline-flex; align-items: center; gap: 6px; }
.rep .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.card-tags, .row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 13px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-tags { margin-top: 8px; }
.due.is-hot { color: color-mix(in srgb, var(--urgent) 80%, var(--text)); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- карточки из бизнеса: тревога Wildberries и черновик поста ---------- */
.card-label { display: inline-flex; align-items: center; gap: 8px; }
.card[data-type="alert"]:not(.is-urgent) { box-shadow: inset 4px 0 0 var(--sph-wb), var(--shadow-card); }
.card[data-type="post"] { box-shadow: inset 4px 0 0 var(--sph-edu), var(--shadow-card); }
.quote { margin-top: 12px; padding: 2px 0 2px 12px; border-left: 3px solid color-mix(in srgb, var(--sph-edu) 55%, transparent); font-size: 15px; line-height: 20px; overflow-wrap: break-word; }
.quote p + p { margin-top: 2px; }
.card-queue { display: flex; align-items: center; gap: 8px; }
.card-queue .ico { width: 16px; height: 16px; }

/* ---------- утренняя сводка: строки про Wildberries и Telegram, «Со вчера» ---------- */
.sum-lines { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.sum-line { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; line-height: 20px; }
.sum-line > span { flex: 1; min-width: 0; }
.sum-line .chev { width: 16px; height: 16px; color: var(--muted); }
.sum-up { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: color-mix(in srgb, var(--done) 80%, var(--text)); }
.sum-up .ico { width: 12px; height: 12px; }
.sum-warn { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-warn p { font-size: 15px; line-height: 20px; }
.sum-go, .sum-move { min-height: 44px; padding: 0 16px; border-radius: 22px; font-size: 15px; line-height: 20px; font-weight: 600; }
.sum-go { margin-top: 8px; background: color-mix(in srgb, var(--doing) 15%, var(--surface)); color: color-mix(in srgb, var(--doing) 80%, var(--text)); }
.sum-move { display: block; margin: 0 0 8px; background: var(--surface-2); color: var(--text); font-weight: 500; }
.sum-move:active, .sum-go:active { filter: brightness(.96); }

/* ---------- страница «Бизнес»: пока модуля нет ---------- */
.biz-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 60%; padding: 48px 24px; text-align: center; }
.biz-wait h2 { font-size: 22px; line-height: 28px; font-weight: 600; }
.biz-wait p { font-size: 17px; line-height: 22px; color: var(--muted); }

/* ---------- лист черновика поста (чтение и правка) и лист остатков Wildberries ---------- */
.ed-read { margin-top: 12px; padding: 4px 0 4px 14px; border-left: 3px solid color-mix(in srgb, var(--sph-edu) 55%, transparent); font-size: 17px; line-height: 24px; white-space: pre-line; overflow-wrap: break-word; }
.ed-queue { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; line-height: 20px; color: var(--muted); }
.ed-queue .ico { width: 16px; height: 16px; }
.wb-kicker { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--muted); }
.wb-stock, .wb-facts { margin: 0; padding: 0; list-style: none; }
.wb-stock { display: grid; gap: 14px; margin-top: 16px; }
.wb-t { display: block; font-size: 17px; line-height: 22px; overflow-wrap: break-word; }
.wb-t b { font-weight: 600; }
.wb-bar { display: block; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: var(--line); }
.wb-bar i { display: block; height: 100%; border-radius: 2px; background: var(--done); }
.wb-w.is-low .wb-t { color: color-mix(in srgb, var(--urgent) 80%, var(--text)); }
.wb-w.is-low .wb-bar i { background: var(--urgent); }
.wb-facts { display: grid; gap: 2px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 20px; color: var(--muted); }
.wb-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; margin-top: 12px; padding: 0; border-top: 1px solid var(--line); text-align: left; font-size: 17px; line-height: 22px; font-weight: 600; color: color-mix(in srgb, var(--accent) 75%, var(--text)); }
.wb-link .ico { width: 16px; height: 16px; }
.wb-link:active { background: var(--surface-2); }
.wb-sheet .ghost-btn.wide { margin-top: 4px; }
