/* Click Agent › 채팅 (click-chat.js) as the original Click Agent design draws it (user 11-20 15:1x: 디자인만 똑같이,
   메뉴·기능은 PoC 기준; DIFF-1630 §1 첫 화면 · §2 대화+근거). Before a question: the original's yellow plate under the
   tabs, 이전 대화 at its top right and in its middle the waiting approvals, the mark, the headline, the input and the
   questions to start from. After it: the original's two columns -- the conversation (head, turns, input) and one
   answer's 근거 panel, each scrolling on its own -- side by side when the content is 1100 wide or more (the page's
   container, not the window: the portal's menu stands beside it), one at a time with 대화 | 근거 under that. Layout and
   sizes are the original's; its colours this page's own (click-s3.css 'Click Agent › 채팅'), never one written here. */
/* The page: the original's inset (top clamp(16,2vw,32) less the plate's −8, sides clamp(16,2.6vw,40), 16 under it). The
   shell's 갱신 line (#screen-snapshots: 가장 오래된 성공 갱신 · 새로고침, a PoC function) stays over it as on the other
   Click Agent tabs (review F1); the plate takes the room left under it to the window's foot. The shell's header is 2px
   taller than its two tokens (the tab's 2px line less its −1 margin, and the header's own 1px line), so the page is 2px
   shorter than 100vh − header − tabs: the document fits the window (no 2px scroll where scrollbars show, principle 5),
   the original's 16px stays under the plate and the plate, which fills the rest, is 2px shorter. */
main.lx-page:has(>[data-page="click-chat"].active){display:flex;flex-direction:column;box-sizing:border-box;max-width:none;height:calc(100vh - var(--header-h) - var(--tabs-h) - 2px);padding:calc(clamp(16px,2vw,32px) - 8px) clamp(16px,2.6vw,40px) 16px}
main.lx-page>.app-view[data-page="click-chat"].active:not([hidden]){display:flex;flex-direction:column;flex:1 1 0;min-height:0}
.app-view[data-page="click-chat"]{container:lc-page/inline-size;--fs-hello:clamp(30px,2.6vw,46px)}
#click-chat-root{display:flex;flex-direction:column;flex:1 1 0;min-height:0}
[data-page="click-chat"] .lc-chat{position:relative;box-sizing:border-box;flex:1 1 0;width:100%;max-width:none;min-height:0;margin:0;padding:0;color:var(--ink);letter-spacing:normal}
.lc-chat [hidden]{display:none}
.lc-chat[data-click-chat="talk"] .lc-hello,.lc-chat[data-click-chat="talk"] .lc-suggest,.lc-chat[data-click-chat="start"] .lc-log,.lc-chat[data-click-chat="start"] .lc-note,.lc-chat[data-click-chat="start"]>.lc-art{display:none}

/* ---- The first screen: the original's plate (radius 20, its line, the yellow ground, its glows and dot grid) ---- */
[data-page="click-chat"] .lc-chat[data-click-chat="start"]{min-height:560px;border:1px solid var(--lc-hero-line);border-radius:20px;background:var(--lc-hero-bg);overflow:hidden}
[data-page="click-chat"] .lc-chat[data-click-chat="start"]::before{inset:0;background:var(--lc-hero-dots) 0 0/24px 24px;-webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 42%,black 10%,transparent 75%);mask-image:radial-gradient(ellipse 70% 60% at 50% 42%,black 10%,transparent 75%);opacity:.7}
[data-page="click-chat"] .lc-chat[data-click-chat="start"]::after{inset:0;background:var(--lc-hero-glow);opacity:1;transition:none}
.lc-chat[data-click-chat="start"]>.lc-conv{display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:clamp(24px,2.4vh,32px);box-sizing:border-box;height:100%;padding:72px 20px 64px;overflow-x:hidden;overflow-y:auto}
/* 이전 대화 stands at the plate's top right, out of what scrolls. */
.lc-chat[data-click-chat="start"] .lc-bar{position:absolute;top:14px;right:14px;z-index:5;display:flex;align-items:center;gap:6px}
.lc-chat[data-click-chat="start"] :is(.lc-head-t,.lc-act,.lc-art-open,[data-click-chat-new],[data-click-chat-export],.lc-seg){display:none}
.lc-head{position:relative;display:inline-flex;align-items:center;min-width:0}
.lc-chat .lc-past,.lc-chat .lc-find{margin:0}
.lc-chat[data-click-chat="start"] .lc-past{position:relative;display:inline-flex;align-items:center}
.lc-chat[data-click-chat="start"] .lc-past select{field-sizing:content;max-width:min(360px,60vw);height:34px;padding:0 30px 0 33px;border:1px solid var(--lc-glass-line);border-radius:9px;background:var(--lc-glass) none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink-2);font-size:13px;font-weight:600;text-overflow:ellipsis;cursor:pointer}
.lc-chat[data-click-chat="start"] .lc-past:hover select{border-color:var(--faint);color:var(--ink)}
.lc-chat[data-click-chat="start"] .lc-past>.lc-past-i{position:absolute;left:10px;z-index:1;width:17px;height:17px;color:var(--lc-label);pointer-events:none}
.lc-chat[data-click-chat="start"] .lc-past>.lc-past-x{position:absolute;right:8px;z-index:1;width:17px;height:17px;color:var(--faint);pointer-events:none}
.lc-chat[data-click-chat="start"] .lc-find{order:-1}
/* The 이전 대화 list opens as the original's list card -- white, radius 14, its line and shadow, each conversation a
   row of 13.5 that greys under the pointer, the head line the original's small grey -- where the browser draws a
   select's list itself (customizable select); any other browser shows its own list. */
@supports (appearance:base-select){
  .lc-chat .lc-past select.lx-sel,.lc-chat .lc-past select.lx-sel::picker(select){-webkit-appearance:base-select;appearance:base-select}
  .lc-chat .lc-past select.lx-sel::picker-icon{display:none}
  .lc-chat .lc-past select.lx-sel::picker(select){box-sizing:border-box;width:340px;max-width:calc(100vw - 32px);max-height:min(480px,70vh);margin:8px 0;padding:6px 6px 8px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--lc-pop-shadow);overflow-y:auto}
  .lc-chat .lc-past option{display:block;box-sizing:border-box;padding:8px 10px;border-radius:8px;color:var(--ink);font-size:13.5px;font-weight:400;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
  .lc-chat .lc-past option::checkmark{display:none}
  .lc-chat .lc-past option:is(:hover,:focus-visible){background:var(--brand-cloud);outline:none}
  .lc-chat .lc-past option:checked:not([value=""]){background:var(--brand-cloud);font-weight:600}
  .lc-chat .lc-past option[value=""],.lc-chat .lc-past option[value=""]:is(:hover,:focus-visible,:checked){min-block-size:0;padding:10px 8px 4px;background:none;color:var(--faint);font-size:11.5px;font-weight:600;cursor:default}
  .lc-chat .lc-past option:not([value=""]){display:flex;flex-direction:column;align-items:stretch;gap:0;min-block-size:0;white-space:normal}
  .lc-chat .lc-past option>:is(.lc-past-n,.lc-past-m){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lc-chat .lc-past option>.lc-past-n{order:-1}
  .lc-chat .lc-past option>.lc-past-m{margin-top:2px;color:var(--faint);font-size:11.5px;font-weight:400}
  .lc-chat .lc-past option>.lc-past-sep{display:none}
  .lc-chat[data-click-chat="talk"] .lc-past select.lx-sel::picker(select){margin:14px 0 0 -6px}
}
/* 이전 대화 찾기 (R72, kept): a quiet square with its magnifier, as wide as a word needs once it is used. */
.lc-chat .lc-find{flex:none;box-sizing:border-box;width:34px;height:34px;min-width:0;padding:0 8px;overflow:hidden;cursor:text;transition:width var(--dur) var(--ease)}
.lc-chat .lc-find input{min-width:0;font-size:13px}
.lc-chat .lc-find:is(:focus-within,[data-on]){width:200px}
.lc-chat[data-click-chat="start"] .lc-find{border:1px solid var(--lc-glass-line);border-radius:9px;background:var(--lc-glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.lc-chat .lc-find[hidden]{display:none}

/* The middle: the waiting approvals, the mark and the headline (gap 18), over the input. */
.lc-hello{display:flex;flex-direction:column;align-items:center;gap:18px;margin:0;padding:0;text-align:center}
.lc-hello .cx-pill{gap:10px;height:34px;min-height:34px;margin:0;padding:0 12px 0 4px;border:1px solid var(--lc-glass-line);border-radius:99px;background:var(--lc-glass-pill);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--lc-pill-shadow);color:var(--ink-2);font-size:13px}
.lc-hello .cx-pill:hover{border-color:var(--ink);color:var(--ink-2)}
.lc-hello .cx-pill[hidden]{display:none}
.lc-hello .cx-pill-badge{gap:4px;height:26px;padding:0 10px;border-radius:99px;background:var(--brand-ink);color:var(--brand-yellow);font-size:12px;font-weight:700}
.lc-hello .cx-pill-badge .ck-i{width:14px;height:14px}
.lc-hello .cx-pill-line{font-weight:500}
.lc-hello .cx-pill .cx-pill-go{width:16px;height:16px;color:var(--faint)}
/* The Click mark: 56, its ink rising, a faint yellow ring, the original's bolt 15 × 30. */
.lc-hello .lc-mark{position:relative;width:56px;height:56px;border-radius:16px;background:var(--lc-mark-bg);box-shadow:var(--lc-mark-ring)}
.lc-mark::after,.lc-mark-s26::after,.lc-mark-xs::after,.lc-mark-m::after{content:"";display:block;background:var(--lc-bolt) center/contain no-repeat}
.lc-hello .lc-mark::after{width:15px;height:30px}
/* The headline at the original's scale (user decision 10: clamp(30px, 2.6vw, 46px) / 700, −0.04em; 37.44 at 1440). */
.lc-hello-t{margin:0;font-size:var(--fs-hello);font-weight:var(--fw-bold);letter-spacing:-0.04em;line-height:1.2;color:var(--ink);text-wrap:balance}
/* The questions to start from (the PoC's): the original's glass control on the plate, under the input. */
.lc-suggest{width:100%;max-width:min(820px,100%);margin:0;padding:0}
.lc-suggest-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lc-suggest>.lx-lbl{margin:0 0 10px;text-align:center}
.lc-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.lc-cards>.cx-chip{gap:6px;min-height:34px;padding:7px 12px 7px 10px;border:1px solid var(--lc-glass-line);border-radius:99px;background:var(--lc-glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink-2);font-size:13px;font-weight:600}
.lc-cards>.cx-chip:hover{border-color:var(--faint);background:var(--lc-glass);color:var(--ink)}
.lc-cards>.cx-chip .ck-i{width:17px;height:17px;color:var(--lc-label)}

/* ---- The input: on the first screen the original's 820 box (radius 22, an ink line, the yellow step under it), its
   words 16.5 over a footer row whose ground turns faintly yellow; under a conversation the column's quiet box ---- */
.lc-compose{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"field field" "gate send";align-items:stretch;box-sizing:border-box;width:100%;margin:0;padding:0;border:1px solid var(--border);background:var(--surface)}
.lc-chat[data-click-chat="start"] .lc-compose{flex:none;max-width:min(820px,100%);border:1.5px solid var(--ink);border-radius:22px;box-shadow:var(--lc-hero-input-shadow);overflow:hidden}
.lc-field{grid-area:field;display:block;margin:0}
textarea.lc-in{display:block;width:100%;min-height:calc(3 * 1.6em + 30px);max-height:40vh;margin:0;padding:22px 24px 8px;border:0;border-radius:22px 22px 0 0;background:transparent;color:var(--ink);font:inherit;line-height:1.6;resize:none;box-shadow:none}
/* It grows with its words (click-chat.js fitInput) to 40% of the window, held to whole lines so that, scrolled to the
   caret, the line at its top is whole too (U44 follow-up). */
@supports (max-height:calc(round(down,40vh,1lh) + 8px)){textarea.lc-in{max-height:calc(round(down,40vh - 30px,1lh) + 30px)}}
textarea.lc-in:focus-visible{outline:none}
.lc-gate{grid-area:gate;display:flex;align-items:center;min-width:0;padding:10px 0 12px 16px;background:var(--lc-compose-foot)}
.lc-gate:empty{padding-top:0;padding-bottom:0}
.lc-gate p{margin:0}
[data-page="click-chat"] .lc-compose-f{grid-area:send;display:flex;align-items:center;justify-content:flex-end;padding:10px 12px 12px 8px;background:var(--lc-compose-foot)}
/* 보내기: grey while the box is empty (K02 4d), the ink with the yellow arrow once there are words. */
[data-page="click-chat"] .lc-send{width:40px;height:40px;border-radius:99px;background:var(--brand-ink);color:var(--brand-yellow);box-shadow:var(--lc-send-shadow);transition:background .15s}
[data-page="click-chat"] .lc-send .ck-i{width:21px;height:21px}
[data-page="click-chat"] .lc-send:hover:not(:disabled){background:var(--brand-ink)}
[data-page="click-chat"] .lc-send:disabled{background:var(--divider-soft);color:var(--faint);box-shadow:none}
.lc-send{flex:none;margin-left:auto}

/* ---- Under a conversation: the original's two columns ---- */
[data-page="click-chat"] .lc-chat[data-click-chat="talk"]{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-height:440px;border:0;border-radius:0;background:none;overflow:visible;isolation:auto}
[data-page="click-chat"] .lc-chat[data-click-chat="talk"]::before,[data-page="click-chat"] .lc-chat[data-click-chat="talk"]::after{content:none}
.lc-chat[data-click-chat="talk"]>:is(.lc-conv,.lc-art){display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0;border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden}
/* One at a time on a narrow screen: 대화 or 근거. */
.lc-chat[data-click-chat="talk"][data-click-chat-view="art"]>.lc-conv,.lc-chat[data-click-chat="talk"][data-click-chat-view="chat"]>.lc-art{display:none}
.lc-chat .lc-art-open,.lc-chat .lc-art-close{display:none}
@container lc-page (min-width:1100px){
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"]{grid-template-columns:minmax(360px,440px) minmax(0,1fr)}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"][data-click-chat-view]>:is(.lc-conv,.lc-art){display:flex}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"][data-click-chat-art-shut]{grid-template-columns:minmax(0,1fr)}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"][data-click-chat-view][data-click-chat-art-shut]>.lc-art{display:none}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"] .lc-seg{display:none}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"] .lc-art-close{display:inline-grid}
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"][data-click-chat-art-shut] .lc-art-open{display:inline-grid}
}
@container lc-page (min-width:1800px){
  [data-page="click-chat"] .lc-chat[data-click-chat="talk"]{grid-template-columns:540px minmax(0,1fr)}
}

/* The conversation's head: its title (the 이전 대화 list under it), then 새 대화, 승인 대기 and, closed, 근거 열기. */
.lc-chat[data-click-chat="talk"] .lc-bar{flex:none;position:relative;display:flex;align-items:center;gap:6px;height:56px;padding:0 10px;border-bottom:1px solid var(--divider)}
/* The title stays while an answer is written; the 이전 대화 list lies over it, unseen, and opens where it is pressed
   (it is not offered while an answer is written: paintGate hides it then). */
.lc-chat[data-click-chat="talk"] .lc-head{flex:0 1 auto;border-radius:10px}
.lc-chat[data-click-chat="talk"] .lc-head-t{display:flex;align-items:center;gap:8px;min-width:0;height:38px;padding:0 6px}
.lc-chat[data-click-chat="talk"] .lc-head:has(.lc-past:not([hidden])):hover{background:var(--brand-cloud)}
.lc-chat[data-click-chat="talk"] .lc-head:has(select:focus-visible){outline:2px solid var(--select-ring);outline-offset:2px}
.lc-chat[data-click-chat="talk"] .lc-past{position:absolute;inset:0;display:block;margin:0;cursor:pointer}
.lc-chat[data-click-chat="talk"] .lc-past select{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.lc-chat[data-click-chat="talk"] .lc-past>:is(.lc-past-i,.lc-past-x){display:none}
.lc-chat[data-click-chat] .lc-past[hidden]{display:none}
.lc-mark-s26{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:7px;background:var(--brand-ink)}
.lc-mark-s26::after{width:8px;height:16px}
.lc-past-t{min-width:0;overflow:hidden;color:var(--ink);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.lc-chat[data-click-chat="talk"] .lc-head-x{flex:none;width:18px;height:18px;color:var(--faint)}
.lc-bar-acts{display:inline-flex;align-items:center;gap:6px;margin-left:auto}
.lc-chat .lc-bar-acts>.cx-icon-btn,.lc-art-bar>.cx-icon-btn{position:relative;width:36px;height:36px;border-radius:9px;color:var(--ink-3)}
.lc-chat .lc-bar-acts>.cx-icon-btn .ck-i,.lc-art-bar>.cx-icon-btn .ck-i{width:20px;height:20px}
.lc-chat .lc-bar-acts>.cx-icon-btn:hover,.lc-art-bar>.cx-icon-btn:hover{background:var(--divider-soft);color:var(--ink-3)}
.lc-chat[data-click-chat="talk"] .lc-find{width:36px;height:36px;margin-left:auto;border:0;border-radius:9px;background:transparent;color:var(--ink-3)}
.lc-chat[data-click-chat="talk"] .lc-find:not([hidden])~.lc-bar-acts{margin-left:0}
.lc-chat[data-click-chat="talk"] .lc-find:hover{background:var(--divider-soft)}
.lc-chat[data-click-chat="talk"] .lc-find:is(:focus-within,[data-on]){width:180px;border:1px solid var(--border-strong);background:var(--surface)}
/* the yellow count of what waits for approval on its icon */
.lc-act-n{position:absolute;top:3px;right:2px;display:grid;place-items:center;box-sizing:border-box;min-width:16px;height:16px;padding:0 4px;border:1.5px solid var(--surface);border-radius:99px;background:var(--brand-yellow);color:var(--ink);font-size:10.5px;font-weight:700;line-height:1}
.lc-act-n[hidden]{display:none}
/* 대화 | 근거: the original's grey track, the pressed one a white key. */
.lc-seg{display:flex;flex:none;padding:2px;border-radius:9px;background:var(--divider-soft)}
.lc-seg>button{height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--lc-label);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.lc-seg>button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-seg)}

/* The turns: the column scrolls on its own; 800 wide at most when the conversation has the whole width. */
.lc-chat[data-click-chat="talk"] .lc-log{flex:1;display:flex;flex-direction:column;gap:28px;box-sizing:border-box;min-height:0;margin:0;padding:24px max(20px,calc((100% - 760px) / 2)) 12px;overflow-y:auto}
.lc-turn{display:flex;flex-direction:column;gap:12px;min-width:0}
.lc-q{align-self:flex-end;max-width:min(560px,90%);margin-bottom:2px;padding:11px 15px;border-radius:18px 18px 4px 18px;background:var(--brand-cloud);color:var(--ink);font-size:14.5px;line-height:1.6}
.lc-q p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
/* A long question folds at eight lines and 전체 보기 opens it (R72): its whole words stay in the page. */
.lc-q[data-click-chat-folded] p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;line-clamp:8;overflow:hidden}
.lc-q-more{margin-top:var(--sp-1)}
.lc-a-head{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:13px}
.lc-a-head>b{font-weight:700}
.lc-a-head>.lx-lbl{color:var(--faint);font-size:12px}
.lc-mark-xs{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:6px;background:var(--brand-ink)}
.lc-mark-xs::after{width:7px;height:14px}
.lc-a{display:flex;flex-direction:column;gap:12px;min-width:0}
.lc-a-body{display:flex;flex-direction:column;gap:12px;min-width:0;overflow-wrap:anywhere}
.lc-answer{color:var(--ink);font-size:14.5px;line-height:1.75;text-wrap:pretty}
.lc-answer p,.lc-answer ul,.lc-answer ol{margin:0 0 12px}
.lc-answer>:last-child{margin-bottom:0}
.lc-answer ul,.lc-answer ol{padding-left:0}
.lc-answer :is(h1,h2,h3,h4){margin:4px 0 6px;color:var(--ink);font-size:14.5px;font-weight:700}
.lc-answer b,.lc-answer strong{font-weight:700}
.lc-chat .lc-answer table.lx-t{display:block;max-width:100%;overflow-x:auto;margin:0 0 12px;border:1px solid var(--border);border-radius:14px;border-collapse:separate;border-spacing:0;background:var(--surface);font-size:13.5px}
.lc-chat .lc-answer :is(th,td),.lc-chat .lc-art-table-b :is(th,td){height:auto;padding:12px 18px;color:var(--ink);font-size:13.5px;border-bottom:1px solid var(--divider-soft);text-align:left;white-space:normal}
.lc-chat .lc-answer th,.lc-chat .lc-art-table-b th{padding:9px 18px;border-bottom-color:var(--divider);background:var(--bg-head);color:var(--lc-label);font-size:12px;font-weight:500}
.lc-chat .lc-answer tr:last-child>td,.lc-chat .lc-art-table-b tr:last-child>td{border-bottom:0}
/* (an answer's table is seen in its 근거 panel; here it is kept for 복사 and 내보내기 alone, unseen) */
.lc-answer .lc-answer-table{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0}
.lc-art-h:focus:not(:focus-visible),.lc-chat>.lc-art:focus:not(:focus-visible){outline:none}
.lc-answer code{padding:1px 5px;border-radius:var(--r-xs);background:var(--bg-subtle);font-family:var(--font-mono);font-size:var(--fs-mono);white-space:pre-wrap;overflow-wrap:anywhere}
.lc-answer pre{max-width:100%;overflow-x:auto;padding:12px 14px;border:1px solid var(--border);border-radius:var(--r-card);background:var(--bg-subtle)}
/* An answer that did not come: one quiet card, its edge the danger line. */
.lc-a:is([data-click-chat-reply="failed"],[data-click-chat-reply="error"],[data-click-chat-reply="poll_error"]) .lc-a-body{padding:12px 14px;border:1px solid var(--danger-line);border-radius:14px;background:var(--surface)}
.lc-goon{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0}
/* Being answered: the original's quiet status under the name. */
.lc-wait{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;color:var(--faint);font-size:12px}
.lc-wait .lc-spin{width:14px;height:14px;color:var(--ink);animation:lc-spin 1s linear infinite}
@keyframes lc-spin{to{transform:rotate(360deg)}}
/* The answer's 근거 card: its mark, 근거 and its title over what it holds, 승인 대기 while a change waits, 보는 중 or 열기. */
.lc-art-card{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:10px 12px 10px 10px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.lc-art-card:hover{border-color:var(--ink)}
.lc-art-i{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:10px;background:var(--brand-cloud);color:var(--ink-2)}
.lc-art-i .ck-i{width:22px;height:22px}
.lc-art-t{flex:1;min-width:0}
.lc-art-n{display:block;overflow:hidden;color:var(--ink);font-size:13.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.lc-art-s{display:block;margin-top:2px;color:var(--lc-label);font-size:12px}
.lc-chip-wait{display:inline-flex;align-items:center;flex:none;height:22px;padding:0 8px;border-radius:6px;background:var(--primary-tint);color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}
.lc-chip-wait[hidden]{display:none}
.lc-art-end{flex:none;color:var(--ink-3);font-size:12.5px;font-weight:600;white-space:nowrap}
.lc-art-on{display:none}
@container lc-page (min-width:1100px){
  [data-page="click-chat"] .lc-chat:not([data-click-chat-art-shut]) .lc-art-card[data-on]{border-color:var(--ink);background:var(--select-bg)}
  [data-page="click-chat"] .lc-chat:not([data-click-chat-art-shut]) .lc-art-card[data-on] .lc-art-on{display:inline}
  [data-page="click-chat"] .lc-chat:not([data-click-chat-art-shut]) .lc-art-card[data-on] .lc-art-off{display:none}
}
/* Its quiet row: copy and 다시 묻기 (30, radius 7, grey), then what it read and took in the original's small grey. */
.lc-a-tools{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0}
.lc-a-tools>.cx-icon-btn{width:30px;height:30px;border-radius:7px;color:var(--faint)}
.lc-a-tools>.cx-icon-btn .ck-i{width:17px;height:17px}
.lc-a-tools>.cx-icon-btn:hover{background:var(--divider-soft);color:var(--faint)}
.lc-a-tools>.lx-lbl:empty{display:none}
.lc-a [data-click-ask-meta]{margin:0 0 0 8px;color:var(--faint);font-size:11.5px}
.lc-a>[data-click-ask-meta]{margin:0}
/* The conversation's input: the column's foot, the original's box (radius 20, its quiet line and lift), 14.5 words over
   the send row, and one grey line under it. */
.lc-chat[data-click-chat="talk"] .lc-compose{flex:none;width:auto;max-width:800px;margin:8px max(14px,calc((100% - 800px) / 2)) 0;border-radius:20px;box-shadow:var(--lc-compose-shadow)}
@container lc-page (min-width:1100px){[data-page="click-chat"] .lc-chat[data-click-chat="talk"]:not([data-click-chat-art-shut]) .lc-compose{max-width:none}}
.lc-chat[data-click-chat="talk"] textarea.lc-in{min-height:calc(1.6em + 18px);padding:14px 16px 4px;border-radius:20px 20px 0 0}
.lc-chat[data-click-chat="talk"] :is(.lc-gate,.lc-compose-f){background:none}
.lc-chat[data-click-chat="talk"] .lc-gate{padding:6px 0 10px 12px}
.lc-chat[data-click-chat="talk"] .lc-gate:empty{padding-top:0;padding-bottom:0}
[data-page="click-chat"] .lc-chat[data-click-chat="talk"] .lc-compose-f{padding:6px 10px 10px 8px}
[data-page="click-chat"] .lc-chat[data-click-chat="talk"] .lc-send{width:34px;height:34px;box-shadow:none}
[data-page="click-chat"] .lc-chat[data-click-chat="talk"] .lc-send .ck-i{width:19px;height:19px}
.lc-note{flex:none;margin:6px 14px 12px;color:var(--faint);font-size:11.5px;text-align:center}

/* ---- The 근거 panel: its head (근거 and the answer's title, 대화 | 근거 or 닫기), then on the faint ground the
   question, the answer's tables, the changes it filed, 근거 화면 and what it did ---- */
.lc-art-bar{flex:none;display:flex;align-items:center;gap:10px;height:56px;padding:0 10px 0 18px;border-bottom:1px solid var(--divider)}
.lc-art-bar>.lc-art-bar-i{flex:none;width:19px;height:19px;color:var(--ink-3)}
.lc-art-bar>b{font-size:14px;font-weight:600;white-space:nowrap}
.lc-art-crumb{flex:1;min-width:0;overflow:hidden;color:var(--faint);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.lc-art-scroll{flex:1;min-height:0;overflow-y:auto;background:var(--plate-bg)}
.lc-art-body{display:flex;flex-direction:column;gap:20px;box-sizing:border-box;max-width:920px;margin:0 auto;padding:28px clamp(18px,2.4vw,36px) 48px}
.lc-art-eye{margin:0;color:var(--lc-label);font-size:12.5px}
.lc-art-h{margin:6px 0 0;font-size:clamp(20px,1.7vw,24px);font-weight:700;line-height:1.35;letter-spacing:-0.025em;text-wrap:pretty;overflow-wrap:anywhere}
.lc-art-q{margin:6px 0 0;color:var(--ink-3);font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
/* While it is answered, and an answer with none. */
.lc-art-wait{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;max-width:420px;min-height:100%;margin:0 auto;padding:40px 20px}
.lc-art-wait b{display:block;font-size:15px;font-weight:700}
.lc-art-wait small{display:block;margin-top:2px;color:var(--lc-label);font-size:12.5px}
.lc-mark-m{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--brand-ink)}
.lc-mark-m::after{width:10px;height:20px}
.lc-art-none{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;min-height:100%;padding:40px 24px;text-align:center}
.lc-art-none-i{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--divider-soft);color:var(--ink-3)}
.lc-art-none-i .ck-i{width:26px;height:26px}
.lc-art-none b{font-size:17px;font-weight:700;letter-spacing:-0.02em}
/* A table of the answer, the original's table card. */
.lc-art-table{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}
.lc-art-table-h{margin:0;padding:14px 18px 10px;font-size:14px;font-weight:600}
.lc-art-table-b{overflow-x:auto}
.lc-chat .lc-art .lc-art-table-b table{display:table;width:100%;min-width:520px;margin:0;border:0;border-radius:0;border-collapse:collapse;background:none;font-size:13.5px}
.lc-art .lc-art-table-b td:first-child{font-weight:600}
.lc-art-table-b th{border-top:1px solid var(--divider)}
/* A change the answer filed: the original's 'Click 제안, 승인 후 실행' card -- its name, what approving does on white,
   승인하고 실행 · 보류 · 거절 (36, radius 9), its Task. */
.lc-prop{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid var(--primary-line);border-radius:16px;background:var(--primary-wash)}
.lc-prop-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:12.5px;font-weight:700}
.lc-prop-h>.lc-mark-xs{width:24px;height:24px;border-radius:7px}
.lc-prop-b{display:flex;flex-direction:column;gap:12px;min-width:0}
.lc-prop-b>*{margin:0}
.lc-prop .lo-ask-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:16px;line-height:1.45;letter-spacing:-0.02em}
.lc-prop .lo-ask-head>b{font-weight:700}
.lc-prop [data-click-chat-change-on]{margin-top:-6px;color:var(--ink-2);font-size:13.5px}
.lc-prop [data-click-chat-closes]{padding:12px 14px;border-radius:12px;background:var(--surface);color:var(--ink-2);font-size:13.5px;line-height:1.6}
.lc-prop-acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lc-prop .lc-prop-acts>.lx-btn{height:36px;padding:0 14px;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface);color:var(--ink-2);font-size:13px;font-weight:600;white-space:nowrap}
.lc-prop .lc-prop-acts>.lx-btn.lx-btn-p{padding:0 16px;border-color:var(--ink);background:var(--ink);color:var(--surface)}
.lc-prop .lc-prop-acts>.lx-btn.lx-btn-p:hover:not(:disabled){background:var(--primary-hover)}
.lc-prop .lc-prop-acts>.lx-btn[data-click-chat-reject]{padding:0 12px;border-color:transparent;background:transparent;color:var(--ink-3)}
.lc-prop .lc-prop-acts>.lx-btn[data-click-chat-reject]:hover:not(:disabled){background:var(--primary-tint)}
.lc-prop-task{font-size:12.5px}
.lc-prop-task .lx-lk{color:var(--ink-3);font-weight:600}
.lc-prop [data-click-chat-decided]{font-size:13px;font-weight:600}
.lc-prop [data-click-done="approved"],.lc-prop [data-click-done="undo"]{color:var(--st-managed-fg)}
/* 근거 화면: the original's cards, two to a line where they fit. */
.lc-ev{margin:0}
.lc-ev-h{margin:0 0 8px;color:var(--ink-2);font-size:13px;font-weight:600}
.lc-ev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:10px}
.lc-ev-card{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-width:0;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.lc-ev-card:hover{border-color:var(--ink)}
.lc-ev-i{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:9px;background:var(--brand-cloud);color:var(--ink-3)}
.lc-ev-i .ck-i{width:19px;height:19px}
.lc-ev-t{flex:1;min-width:0;overflow:hidden;font-size:13.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.lc-ev-card .lc-ev-go{flex:none;width:17px;height:17px;color:var(--faint)}
.lc-ev-none{color:var(--lc-label);font-size:12.5px}
/* 이 답에서 한 조치 (the PoC's record of what the answer did): the original's list card, a line each. */
.lc-art [data-click-ask-actions]{margin:0;padding:0;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}
.lc-art [data-click-ask-actions]>small{display:block;padding:14px 18px 10px;color:var(--ink);font-size:14px;font-weight:600}
.lc-art [data-click-ask-actions] .lo-ask-action{padding:12px 18px;border-top:1px solid var(--divider-soft);color:var(--ink);font-size:13.5px}
.lc-art [data-click-ask-actions] .lo-ask-action .lx-bdg{border-radius:6px}
.lc-art [data-click-ask-action-undo]{margin-left:6px;color:var(--ink-3);font-size:12.5px;font-weight:600}
.lc-art [data-click-ask-undo-hint]{margin:0;padding:10px 18px 12px;border-top:1px solid var(--divider-soft)}

@media (max-width:640px){
  .lc-chat[data-click-chat="start"]>.lc-conv{padding:64px 14px 40px}
  .lc-cards{justify-content:stretch}
  .lc-cards>.cx-chip{width:100%}
  .lc-q{max-width:100%}
  .lc-chat[data-click-chat="talk"] .lc-find:is(:focus-within,[data-on]){width:140px}
}
@media (prefers-reduced-motion:reduce){.lc-wait .lc-spin{animation:none}.lc-chat .lc-find{transition:none}}
