/* LC Coordinator: high-visibility panel + live sign-in (light mode, sharp corners). */
.lcc-jump{display:inline-flex;align-items:center;gap:10px;margin:4px 0 14px;padding:12px 20px;background:#111c38;color:#fff;border:2px solid #111c38;border-radius:0;font-size:16px;font-weight:800;letter-spacing:.01em;text-decoration:none;box-shadow:0 4px 0 #e3b53f}
.lcc-jump:hover{background:#1c2b52}
.lcc-jump:focus-visible{outline:3px solid #e3b53f;outline-offset:3px}
.lcc-jump svg{flex:0 0 auto}

.coord{border-top:0;padding-top:28px;scroll-margin-top:90px}
.coord .coord-wrap{border:3px solid #111c38;border-radius:0;box-shadow:0 10px 30px rgba(17,28,56,.18);background:#fff}
.lcc-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;background:#111c38;color:#fff;padding:16px 20px;border-bottom:4px solid #e3b53f}
.lcc-bar h2{margin:0;font-size:26px;line-height:1.15;font-weight:800;color:#fff;display:flex;align-items:center;gap:12px}
.lcc-bar .lcc-badge{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#e3b53f;color:#111c38;font-size:14px;font-weight:900;border-radius:0}
.lcc-bar .lcc-cat{font-size:15px;font-weight:700;color:#e3b53f}
.lcc-status{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);padding:5px 10px;border-radius:0}
.lcc-status:before{content:"";width:9px;height:9px;background:#f59e0b}
.lcc-status.on:before{background:#22c55e}
.coord .coord-hd{border-bottom:1px solid #d4d4d8}
.coord .coord-hd .kicker{color:#111c38}
.coord .coord-hd .sub{color:#27272a;font-size:15px}
.coord .coord-hd .ex{color:#8a6410}

/* Sign-in box */
.lcc-auth{padding:16px 20px;background:#f1f5ff;border-bottom:1px solid #c7d2fe}
.lcc-auth h3{margin:0 0 6px;font-size:18px;color:#111c38}
.lcc-auth p{margin:0 0 10px;font-size:14px;line-height:1.5;color:#1f2937}
.lcc-signin{display:flex;flex-wrap:wrap;gap:8px}
.lcc-signin input{flex:1 1 260px;min-width:0;height:46px;padding:0 14px;border:2px solid #111c38;border-radius:0;background:#fff;color:#111c38;font:inherit;font-size:16px}
.lcc-signin input:focus{outline:3px solid #e3b53f;outline-offset:0}
.lcc-btn{height:46px;padding:0 20px;border:2px solid #111c38;border-radius:0;background:#111c38;color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.lcc-btn:hover{background:#1c2b52}
.lcc-btn:disabled{opacity:.6;cursor:wait}
.lcc-btn:focus-visible{outline:3px solid #e3b53f;outline-offset:2px}
.lcc-msg{margin-top:10px;padding:10px 12px;border:1px solid #e8d9a8;background:#fffdf6;font-size:14px;color:#1f2937}
.lcc-msg.err{border-color:#fca5a5;background:#fef2f2;color:#7f1d1d}
.lcc-msg[hidden]{display:none}
.lcc-who{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px;color:#1f2937}
.lcc-who strong{color:#111c38}
.lcc-score{display:inline-flex;align-items:baseline;gap:6px;background:#fff;border:2px solid #111c38;padding:4px 10px;font-weight:700;color:#111c38}
.lcc-score small{font-weight:600;color:#475569}
.lcc-logout{background:none;border:0;padding:0;color:#1d4ed8;font:inherit;font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer}

/* Threads */
.coord .coord-thread{min-height:300px;background:#f8fafc}
.coord-thread[hidden],.lcc-hide{display:none !important}
.coord .coord-bubble.bot{border:1px solid #cbd5e1;color:#111827}
.lcc-live .coord-bubble p{white-space:pre-wrap}
.lcc-empty{color:#334155;font-size:15px}
.lcc-typing{color:#334155;font-style:italic}
.lcc-resting{align-self:stretch;max-width:none;background:#fff8eb;border:2px solid #e3b53f;color:#111c38;font-weight:700}

/* Composer */
.coord .coord-compose{padding:16px 20px 20px;background:#fff;border-top:2px solid #111c38}
.coord .coord-form{border:2px solid #111c38;border-radius:0}
.coord .coord-form:focus-within{outline:3px solid #e3b53f;outline-offset:0}
.coord .coord-form textarea{min-height:84px;font-size:16px;color:#111827;padding:14px 16px 6px}
.coord .coord-form textarea::placeholder{color:#475569}
.coord .coord-tools{padding:6px 8px 8px}
.coord .coord-tools .plus{width:40px;height:40px;border-radius:0;background:#e4e4e7}
.coord .coord-tools .send{width:auto;height:44px;padding:0 22px;gap:8px;border-radius:0;background:#111c38;color:#fff;font:inherit;font-size:16px;font-weight:800;letter-spacing:.04em}
.coord .coord-tools .send:hover{background:#1c2b52}
.coord .coord-tools .send:disabled{opacity:.6;cursor:wait}
.coord .coord-mock-note{font-size:14px;color:#1f2937;font-weight:600}
.coord .coord-attach button{border-radius:0}

@media (max-width:600px){
  .lcc-bar{padding:14px}
  .lcc-bar h2{font-size:22px}
  .lcc-auth,.coord .coord-compose{padding-left:14px;padding-right:14px}
  .lcc-jump{width:100%;justify-content:center}
  .lcc-btn{flex:1 1 100%}
}
.coord .coord-bubble{border-radius:0}

/* Passcode sign-in, invite redeem, owner invites */
.lcc-signin{align-items:flex-end}
.lcc-field{display:flex;flex-direction:column;gap:4px;flex:1 1 220px;min-width:0}
.lcc-field label{font-size:13px;font-weight:800;color:#111c38;letter-spacing:.01em}
.lcc-field input{flex:0 0 auto;width:100%;box-sizing:border-box}
.lcc-link{display:inline-block;margin-top:10px;background:none;border:0;padding:0;color:#1d4ed8;font:inherit;font-size:14px;font-weight:800;text-decoration:underline;cursor:pointer}
.lcc-link:focus-visible,.lcc-logout:focus-visible,.lcc-revoke:focus-visible,.lcc-invite-btn:focus-visible{outline:3px solid #e3b53f;outline-offset:2px}
.lcc-invite-btn{height:36px;padding:0 14px;border:2px solid #111c38;border-radius:0;background:#e3b53f;color:#111c38;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.lcc-invite-btn:hover{background:#f0c75a}
.lcc-invites{margin-top:14px;padding:16px;background:#fff;border:2px solid #111c38}
.lcc-invites[hidden]{display:none}
.lcc-invites h4{margin:0 0 6px;font-size:17px;font-weight:800;color:#111c38}
.lcc-invites h4:not(:first-child){margin-top:18px}
.lcc-code-out{margin-top:12px;padding:12px;background:#fff8eb;border:2px solid #e3b53f}
.lcc-code-out[hidden]{display:none}
.lcc-code-out .lcc-code-note{font-weight:800;color:#111c38;margin-bottom:8px}
.lcc-code-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}
.lcc-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:22px;font-weight:800;letter-spacing:.08em;color:#111c38;background:#fff;border:2px solid #111c38;padding:6px 12px;user-select:all}
.lcc-copy{height:42px}
.lcc-inv-list{display:flex;flex-direction:column;border-top:1px solid #d4d4d8}
.lcc-inv-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 0;border-bottom:1px solid #d4d4d8}
.lcc-inv-info{display:flex;flex-direction:column;flex:1 1 220px;min-width:0}
.lcc-inv-info strong{color:#111c38;font-size:15px;overflow-wrap:anywhere}
.lcc-inv-info span{color:#475569;font-size:13px;overflow-wrap:anywhere}
.lcc-inv-status{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border:1px solid currentColor}
.lcc-inv-status.s-open{color:#15803d}
.lcc-inv-status.s-used{color:#1d4ed8}
.lcc-inv-status.s-revoked,.lcc-inv-status.s-expired{color:#6b7280}
.lcc-revoke{height:32px;padding:0 12px;border:2px solid #b91c1c;border-radius:0;background:#fff;color:#b91c1c;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.lcc-revoke:hover{background:#fef2f2}
@media (max-width:600px){
  .lcc-field{flex:1 1 100%}
  .lcc-invite-btn{flex:1 1 100%}
  .lcc-code{font-size:19px}
}

/* V2-clean right Coordinator (matches /constantvitals/ chat panel) */
.lcs-right #coordinator{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:rgb(31,31,46);background:transparent!important;border:0!important;box-shadow:none!important}
.lcs-right #coordinator .coord-wrap{display:flex!important;flex-direction:column!important;height:100%;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;padding:0 0 0 16px!important;box-sizing:border-box}
.lcs-right #coordinator .lcc-bar,.lcs-right #coordinator .lcc-auth,.lcs-right #coordinator .coord-hd h2,.lcs-right #coordinator .coord-hd .ex,.lcs-right #coordinator .coord-thread[hidden],.lcs-right #coordinator .coord-bubble .who,.lcs-right #coordinator .coord-sent,.lcs-right #coordinator .coord-mock-note{display:none!important}
.lcs-right #coordinator .coord-thread.lcc-live{order:1;flex:1 1 auto;min-height:0;overflow-y:auto;background:transparent!important;border:0!important;padding:0 0 16px!important;gap:12px;justify-content:flex-start}
.lcs-right #coordinator .coord-hd{order:2;padding:0!important;border:0!important;background:transparent!important}
.lcs-right #coordinator .coord-hd .kicker{margin:0!important;font-size:11px!important;line-height:16.5px;font-weight:800!important;letter-spacing:.2em!important;text-transform:uppercase;color:rgb(48,40,138)!important}
.lcs-right #coordinator .coord-hd .sub{margin:8px 0 0!important;font-size:14px!important;line-height:20px;color:rgb(113,113,122)!important}
.lcs-right #coordinator .coord-compose{order:3;padding:0!important;margin:16px 0 0!important;background:transparent!important;border:0!important}
.lcs-right #coordinator .coord-form{border:1px solid rgb(228,228,231)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 30px -18px rgba(15,23,42,.35)!important;padding:0!important;margin:0!important}
.lcs-right #coordinator .coord-form textarea{display:block;width:100%;box-sizing:border-box;min-height:40px!important;max-height:120px;padding:12px 16px 4px!important;font-family:inherit!important;font-size:14px!important;line-height:1.625!important;color:rgb(24,24,27)!important;background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;resize:none}
.lcs-right #coordinator .coord-form textarea::placeholder{color:rgb(161,161,170)!important}
.lcs-right #coordinator .coord-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 8px!important;border:0!important;background:transparent!important}
.lcs-right #coordinator .coord-tools .plus,.lcs-right #coordinator .coord-tools .send{width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:9999px!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:0!important;transition:background-color .15s,color .15s}
.lcs-right #coordinator .coord-tools .plus{background:rgb(228,228,231)!important;color:rgb(63,63,70)!important;box-shadow:0 2px 4px rgba(55,65,81,.06)!important}
.lcs-right #coordinator .coord-tools .plus:hover{background:rgb(212,212,216)!important}
.lcs-right #coordinator .coord-tools .send{background:rgb(48,40,138)!important;color:#fff!important;cursor:pointer}
.lcs-right #coordinator .coord-form:has(textarea:placeholder-shown) .send,.lcs-right #coordinator .coord-tools .send:disabled{background:rgb(228,228,231)!important;color:rgb(161,161,170)!important;cursor:not-allowed}
.lcs-right #coordinator .coord-tools svg{width:16px;height:16px}
.lcs-right #coordinator .coord-attach{padding:0 8px 8px!important}
.lcs-right #coordinator .coord-attach button{border:1px solid rgb(228,228,231)!important;background:#fff!important;border-radius:9999px!important;padding:4px 10px!important;font-size:12px!important;color:rgb(63,63,70)!important;font-family:inherit}
.lcs-right #coordinator .lcc-empty{margin:0!important;font-size:13px!important;color:rgb(161,161,170)!important;background:transparent!important;border:0!important;padding:0!important}
.lcs-right #coordinator .coord-bubble{font-size:14px!important;line-height:1.6!important;border-radius:16px!important;padding:10px 14px!important;box-shadow:none!important}
.lcs-right #coordinator .coord-bubble.user{background:rgb(48,40,138)!important;color:#fff!important;border:0!important;border-bottom-right-radius:6px!important}
.lcs-right #coordinator .coord-bubble.bot,.lcs-right #coordinator .coord-bubble.assistant{background:rgb(244,244,245)!important;color:rgb(24,24,27)!important;border:0!important;border-bottom-left-radius:6px!important}
@media (min-width:768px){.lcs-right #coordinator .coord-wrap{padding-right:60px!important}}
@media (max-width:767px){.lcs-right #coordinator .coord-wrap{height:auto;padding:0!important}.lcs-right #coordinator .coord-thread.lcc-live{max-height:60vh}}

/* commitments: Yes / No + check-in */
#coordinator .lcc-yn{display:flex;gap:8px;margin:4px 0 10px 0}
#coordinator .lcc-yn .lcc-btn{min-width:72px;padding:8px 16px}
#coordinator .lcc-yn .lcc-no{background:transparent;color:inherit;border:1px solid currentColor;opacity:.8}
#coordinator .lcc-checkin{display:flex;flex-direction:column;gap:6px;margin:0 0 8px}
#coordinator .lcc-ck-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid rgba(127,127,127,.3);border-radius:10px;font-size:13px}
#coordinator .lcc-ck-info{flex:1 1 180px;display:flex;flex-direction:column;min-width:0}
#coordinator .lcc-ck-info small{opacity:.7}
#coordinator .lcc-ck-btn{border:1px solid rgba(127,127,127,.45);background:transparent;color:inherit;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700;cursor:pointer}
#coordinator .lcc-ck-btn.on{background:#1f7a4d;color:#fff;border-color:#1f7a4d}
#coordinator .lcc-ck-btn.on:last-child{background:#a33;border-color:#a33}
#coordinator .coord-bubble p a{text-decoration:underline;word-break:break-all}
