/* Channels widgets 1.0.0 - Navy Luxe LIGHT (FOUNDATIONAL #1: ink on pale ivory; no reverse type except the
   filled CTA buttons). Phone 375 first, tablet 820. RYAN 2026-11-19. */
:root {
  --ink: #14171f; --ivory: #fdfcf6; --card: #ffffff; --navy: #122c4f; --navy-2: #1b3a66;
  --line: #e7e3d3; --muted: #5b6473; --cloud: #f2ead7; --ok: #1e7d4f; --warn: #8a2f2f;
  --r: 14px; color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ivory); color: var(--ink); }
body { font: 15px/1.45 Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.cw { max-width: 760px; margin: 0 auto; padding: 14px 14px 28px; }
.cw-head { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.cw-head img { width: 30px; height: 30px; border-radius: 8px; }
.cw-head h1 { font-size: 18px; margin: 0; line-height: 1.2; }
.cw-head p { margin: 0; color: var(--muted); font-size: 13px; }
.cw-head > div { min-width: 0; }
.cw-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0 0 12px; }
.cw-box h2 { font-size: 15px; margin: 0 0 8px; }
.cw-muted { color: var(--muted); font-size: 13px; margin: 4px 0; }
.cw-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cw-grid > *, .cw-box, .cw-list > li { min-width: 0; }
@media (min-width: 700px) { .cw-grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
label.cw-f { display: block; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
label.cw-f input, label.cw-f select, textarea.cw-ta {
  display: block; width: 100%; margin-top: 4px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #c9c3ad; border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
textarea.cw-ta { min-height: 92px; font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .cw-btn:focus-visible, a:focus-visible { outline: 3px solid #d4a84b; outline-offset: 2px; }
.cw-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--navy); background: #fff; color: var(--navy);
  font: 600 14px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.cw-btn.cta { background: var(--navy); color: #fff; }
.cw-btn[disabled] { opacity: .5; cursor: not-allowed; }
.cw-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--cloud); color: var(--ink); }
.cw-pill.ok { background: #e3f1ea; color: #14532d; }
.cw-list { list-style: none; margin: 0; padding: 0; }
.cw-list > li { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 0 10px; background: #fff; }
.cw-who { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.cw-kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 13px; margin: 6px 0 10px; }
.cw-kv dt { color: var(--muted); } .cw-kv dd { margin: 0; overflow-wrap: anywhere; }
.cw-qr { width: 200px; max-width: 70%; margin: 6px auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cw-note { border-left: 3px solid var(--navy); padding: 8px 12px; background: #fff; border-radius: 0 10px 10px 0; font-size: 13px; }
.cw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cw-table th, .cw-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.cw-table th { color: var(--muted); font-weight: 600; }
.cw-toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(20px); opacity: 0; transition: .2s;
  background: #fff; color: var(--ink); border: 1px solid var(--navy); border-radius: 10px; padding: 10px 14px; font-size: 14px; box-shadow: 0 6px 20px rgba(20,23,31,.18); }
.cw-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .cw-toast { transition: none; } }
.cw-hidden { display: none !important; }
.cw-gap { margin-top: 12px; }
