/* chk1: the assistant's own check-ins and reminders (prefix chk-). Shared by both apps. */
.chk-card{margin:12px 0 4px;max-width:560px;border:1px solid var(--app-border,rgba(15,23,42,.12));border-radius:14px;background:var(--app-bg,#fff);overflow:hidden}
.chk-card ul,.bubble .chk-card ul{list-style:none!important;margin:0!important;padding:0!important}
.chk-card .chk-li,.bubble .chk-card .chk-li{margin:0!important;list-style:none!important}
.chk-card .chk-li::marker{content:none}
.chk-li{display:flex;align-items:flex-start;gap:10px;padding:10px 12px}
.chk-li+.chk-li{border-top:1px solid var(--app-border,rgba(15,23,42,.08))}
.chk-ic{flex:0 0 28px;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:rgba(49,97,232,.1);color:var(--accent,#3161E8)}
.chk-ic svg{width:16px;height:16px}
.chk-li[data-kind="r"] .chk-ic{background:rgba(245,158,11,.12);color:#b45309}
.chk-li.is-done .chk-ic{background:rgba(31,157,85,.12);color:#1f7a45}
.chk-li.is-cancelled .chk-ic,.chk-li.is-failed .chk-ic{background:rgba(100,116,139,.12);color:#64748b}
.chk-li.is-failed .chk-ic{color:#b42318;background:rgba(217,45,32,.1)}
.chk-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.chk-tx b{font-size:13.5px;font-weight:650;color:var(--app-text,#0f172a);line-height:1.35}
.chk-tx small{font-size:12.5px;line-height:1.45;color:var(--app-text-dim,#64748b);overflow-wrap:anywhere}
.chk-li.is-cancelled .chk-tx b{color:var(--app-text-dim,#64748b)}
.chk-err{font-size:12px;color:#b42318;line-height:1.4}
.chk-btn{flex:0 0 auto;align-self:center;height:30px;padding:0 12px;border:1px solid var(--app-border,rgba(15,23,42,.16));border-radius:9px;background:transparent;color:var(--app-text,#0f172a);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.chk-btn:hover{border-color:var(--accent,#3161E8);color:var(--accent,#3161E8)}
.chk-btn:focus-visible{outline:2px solid var(--accent,#3161E8);outline-offset:2px}
.chk-btn:disabled{opacity:.55;cursor:default}
@media (pointer:coarse){.chk-btn{height:36px;padding:0 14px}}
.chk-spin{animation:chk-rot 1s linear infinite}
@keyframes chk-rot{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.chk-spin{animation:none}}
/* the message that starts a check-in: a slim line instead of a bubble */
.msg-row.user.chk-row{justify-content:center}
.msg-row.user.chk-row>.bubble{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:100%!important;width:100%}
.msg-row.user.chk-row>:not(.bubble){display:none!important}
.chk-line{display:flex;align-items:center;gap:10px;margin:6px 0;color:var(--app-text-dim,#64748b);font-size:12.5px}
.chk-line::before,.chk-line::after{content:"";flex:1;height:1px;background:currentColor;opacity:.25}
.chk-pill{display:inline-flex;align-items:center;gap:6px;max-width:min(560px,82%);padding:4px 12px;border-radius:999px;background:var(--app-hover,rgba(15,23,42,.05))}
.chk-pill svg{width:14px;height:14px;flex:none}
.chk-pill b{font-weight:650;white-space:nowrap}
.chk-pt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.chk-pt::before{content:"· ";opacity:.7}
.chk-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
html[data-theme="dark"] .chk-card{background:var(--app-bg,#111827);border-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .chk-pill{background:rgba(255,255,255,.06)}
@media print{.chk-card .chk-btn{display:none}}
