/* Calm pass: one color system. Red means act now. Everything else is ink and gray. */
.dl.up, .dl.dn, .dl.fl { color: var(--ink2); }
.t td.warn, .warn { color: var(--out); font-weight: 600; }
.st.Medium::before, .st.Low::before { background: #b5bbb4; }
.st.Watch::before { background: #c58b1e; } .st.Modified::before { background: #8a9aaf; }
.astrip, .strip { display: none; }
.pn { box-shadow: none; } .content { gap: 20px; }
.ph h1 { font-size: 24px; letter-spacing: -.02em; }
.k4c { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .k4c { grid-template-columns: 1fr 1fr; } }
.kauto { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi .v b { font-size: 26px; } .kpi .v small { margin-left: 2px; }
.nrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ln); cursor: pointer; }
.nrow:last-child { border-bottom: 0; } .nrow:hover { background: var(--sub); } .nrow img.face { width: 34px; height: 34px; }
.nrow .m { flex: 1; min-width: 0; } .nrow .m b { display: block; font-weight: 600; } .nrow .m span { display: block; color: var(--mut); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nrow .urg { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--out); }
.nrow .go { color: var(--acc); font-weight: 500; font-size: 12.5px; }
.li .hint { display: block; color: var(--ink2); font-size: 12px; margin-top: 3px; }
.asent { margin: 0; color: var(--ink2); font-size: 14px; } .asent b { color: var(--ink); }
.ib-row .sevbar.Medium, .ib-row .sevbar.Low, .bcard .sevbar.Medium, .bcard .sevbar.Low { background: #d5d9d2; }
.vtag { --c: #4e5a40 !important; }
.vmini i { background: #c3c9c0 !important; } .vmini i:first-child { background: #8a938b !important; }

/* Message preview: a real thread, no empty box */
.am { border-radius: 14px; background: var(--sub); padding: 16px 18px; }
.am-h { display: flex; justify-content: space-between; align-items: center; }
.am-h span { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.am-e { font: inherit; font-size: 12.5px; font-weight: 500; color: var(--acc); background: none; border: 0; cursor: pointer; padding: 2px 4px; }
.am-th { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 12px 0 4px; }
.am-b { max-width: 78%; background: #2f6fde; color: #fff; padding: 10px 14px; border-radius: 18px 18px 4px 18px; font-size: 14px; line-height: 1.45; outline: 0; transition: box-shadow .15s; }
.am-b.editing { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px #2f6fde; cursor: text; }
.am-r { align-self: flex-start; max-width: 70%; background: var(--panel); border: 1px solid var(--ln); padding: 8px 12px; border-radius: 18px 18px 18px 4px; font-size: 14px; }
.am-s { font-size: 11.5px; color: var(--mut); }
.am-f { font-size: 12.5px; color: var(--mut); margin-top: 6px; }
.am-f.ok { color: #2f8a55; font-weight: 500; }
.ad .am { margin-top: 4px; }

.am-d { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f6eedf; color: #8a5c17; margin-left: 8px; }
.am-d.ok { background: #e6f1ea; color: #2f6b45; }
.am-todo { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--ln); border-radius: 10px; font-size: 13.5px; }
.am-todo b { font-weight: 600; white-space: nowrap; } .am-f b { font-weight: 600; }
.am-r { align-self: flex-start; max-width: 70%; background: var(--panel); border: 1px solid var(--ln); padding: 8px 12px; border-radius: 18px 18px 18px 4px; font-size: 14px; }
.am-todo { background: #fdf0ed !important; border: 1px solid #f3cfc6 !important; border-left: 4px solid #c0392b !important; align-items: center !important; }
.am-todo b { color: #a3301c !important; }
.am-todo span { color: #3a2a26 !important; font-weight: 500; }
.am-ti { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #c0392b; flex-shrink: 0; }
.am-ti svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .am-todo { background: #3a2220 !important; border-color: #5a302a !important; border-left-color: #e0574a !important; }
html[data-theme="dark"] .am-todo b { color: #ff9b8c !important; } html[data-theme="dark"] .am-todo span { color: #f1dcd8 !important; }
