/* Ask the Sage in Taktus Light (light/sage.js): Taktus's chat in Light's panel. The numbers are the body's spot marks. */
.ls-chat { display: flex; flex-direction: column; min-height: 100%; }
.ls-top { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.ls-tb { min-height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--indigo); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ls-tb:hover, .ls-tb[aria-expanded="true"] { background: var(--indigo-soft); }
.ls-thread { flex: 1; }
.ls-hello h2 { margin: 8px 0 10px; }
.ls-turn { margin: 0 0 16px; }
.ls-q { margin: 0 0 8px auto; width: fit-content; max-width: 85%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--indigo-soft); font-weight: 600; font-size: 15px; white-space: pre-wrap; }
[dir="rtl"] .ls-q { margin: 0 auto 8px 0; border-radius: 14px 14px 14px 4px; }
.ls-a { font-size: 15px; line-height: 1.55; }
.ls-a p { margin: 0 0 8px; }
.ls-a ul, .ls-a ol { margin: 0 0 8px; padding-inline-start: 20px; }
.ls-a li { margin: 3px 0; }
.ls-a h4 { margin: 10px 0 4px; font-size: 15px; }
.ls-a .ls-cau { padding: 6px 10px; border-radius: 9px; background: var(--warn); color: var(--warn-ink); font-size: 14px; }
.ls-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin: 0 2px; padding: 0 5px; border: 0; border-radius: 99px; background: var(--spot); color: #fff; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; vertical-align: 1px; cursor: pointer; }
.ls-n:hover { box-shadow: 0 0 0 3px #f08a2440; }
.ls-turn > .lt-btn.main { margin: 4px 0 8px; }
.ls-src { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.ls-src ul { margin: 2px 0 0; padding-inline-start: 18px; }
.ls-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.ls-took { margin: 0; font-size: 12px; color: var(--muted); }
.ls-share { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ls-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ls-wait { color: var(--muted); font-style: italic; }
.ls-ask { position: sticky; bottom: -10px; margin: 8px -16px -10px; padding: 8px 16px 10px; background: var(--panel); border-top: 1px solid var(--line); }
.ls-hist .ls-search { margin: 0 0 8px; }
.ls-group { margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ls-hrow { display: flex; align-items: center; gap: 4px; border-radius: 10px; }
.ls-hrow.on, .ls-hrow:hover { background: var(--panel2); }
.ls-hi { flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.ls-hx { width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.ls-none { color: var(--muted); font-size: 14px; }
.ls-ask { display: flex; align-items: flex-end; gap: 8px; }
.ls-ask textarea { flex: 1; min-height: 44px; height: 44px; resize: none; }
.ls-ask .lt-ask-row { flex: none; }
.ls-ask .lt-btn.main { min-height: 44px; }
