/* 회사 묻기 화면: PolitikCast 묻기(politikcast/static/map/style.css 의 ask·cf 칸)를 그대로 옮기고 #cochat 안으로 묶음. 색은 ViewCast 쪽으로 */
#cochat{--ink:#15233d;--navy:#15233d;--text:#2a3648;--sub:#5b6880;--mut:#8a95a8;--line:#e3e7ed;--wash:#f3f6f8;--teal:#0e6e66;--red:#b3261e;--serif:'Noto Serif KR',serif;--mast:0px;
font-family:'Noto Sans KR',system-ui,sans-serif;color:var(--text);word-break:keep-all;overflow-wrap:break-word;font-feature-settings:'tnum' 1}
#cochat *{box-sizing:border-box}
#cochat button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
#cochat h3,#cochat p{margin:0}
#cochat .tbl{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}#cochat .tbl th{background:var(--wash);color:var(--ink);font-weight:600;border-bottom:1px solid var(--line)}#cochat .tbl td{border-bottom:1px solid var(--line)}
#cochat .wrapx{overflow-x:auto}
#cochat .ask{position:fixed;z-index:1050;top:calc(var(--mast) + 14px);bottom:14px;right:14px;width:min(1240px,calc(100vw - 28px));display:flex;background:#fff;border-radius:14px;box-shadow:0 12px 48px rgba(11,31,58,.26);overflow:hidden;overflow:clip}
#cochat .ask[hidden]{display:none}
#cochat .ask-side{flex:0 0 268px;display:flex;flex-direction:column;min-height:0;background:var(--wash);border-right:1px solid var(--line)}
#cochat .ask.noside .ask-side{display:none}
#cochat .ask-newbtn{margin:14px 12px 8px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;font-weight:600;color:var(--ink);text-align:left;padding:0 14px}
#cochat .ask-newbtn::before{content:"+";margin-right:8px;font-weight:400;font-size:17px}
#cochat .ask-newbtn:hover{border-color:var(--teal);color:var(--teal)}
#cochat .ask-side-h{margin:10px 18px 4px;font-size:12px;font-weight:600;color:var(--mut)}
#cochat .ask-list{flex:1;overflow:auto;padding:0 8px 12px;display:flex;flex-direction:column;gap:1px}
#cochat .ask-list .sep{border:0;color:var(--mut)}
#cochat .chat-item{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border-radius:8px;text-align:left}
#cochat .chat-item:hover{background:#E8EDF4}
#cochat .chat-item.on{background:#DFE6F0}
#cochat .chat-item b{font-size:13.5px;font-weight:500;color:var(--ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#cochat .chat-item small{font-size:11.5px;color:var(--mut)}
#cochat .chat-run{color:var(--teal);font-weight:600}
#cochat .chat-run .spin{width:7px;height:7px;vertical-align:0}
#cochat .chat-row{position:relative}
#cochat .chat-acts{position:absolute;top:4px;right:4px;display:flex;gap:2px;background:#E8EDF4;border-radius:6px;opacity:0}
#cochat .chat-acts button{height:22px;padding:0 6px;border-radius:5px;font-size:11.5px;color:var(--mut)}
#cochat .chat-acts button:hover{background:#D3DCE8;color:var(--ink)}
#cochat .chat-del{width:22px;font-size:15px!important;line-height:1}
#cochat .chat-acts .chat-del:hover{color:var(--red)}
#cochat .chat-row:hover .chat-acts,#cochat .chat-acts:focus-within{opacity:1}
@media (hover:none){#cochat .chat-acts{position:static;opacity:1;background:none;justify-content:flex-end;margin:-4px 4px 4px}}
.pin-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--gold,#B88A2E);margin:0 6px 2px 0;vertical-align:middle}
#cochat .ask-q{width:calc(100% - 24px);height:34px;margin:0 12px 6px;padding:0 10px;border:1px solid #CFD8E4;border-radius:8px;font:inherit;font-size:13px;background:#fff}
#cochat .ask-side-h{display:flex;justify-content:space-between;align-items:center}
#cochat .ask-arch{font-size:11.5px;color:var(--mut);padding:2px 6px;border-radius:5px}
#cochat .ask-arch:hover,#cochat .ask-arch.on{background:#E1E7F0;color:var(--ink)}
#cochat .ask-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;overflow:clip}
#cochat .ask-main header{display:flex;align-items:center;gap:14px;height:54px;padding:0 18px;border-bottom:1px solid var(--line);flex:none}
#cochat .ask-main header b{font-size:15px;color:var(--ink)}
#cochat .ask-main header>span{font-size:13px;color:var(--sub)}
#cochat #ask-where{display:flex;align-items:center;gap:2px;position:relative}
#cochat .ask-main header .reg-name{padding:3px 11px;border-radius:99px;background:var(--wash);font-size:13px;color:var(--ink)}
#cochat .ask-main header .reg-name:hover{background:#E3E9F1}
#cochat .ask-main header .reg-x{width:22px;height:22px;border-radius:50%;font-size:15px;line-height:1;color:var(--mut)}
#cochat .ask-main header .reg-x:hover{background:var(--wash);color:var(--ink)}
#cochat #ask-where .reg-find{flex:none;position:absolute;top:34px;left:0;z-index:5;width:250px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px rgba(11,31,58,.14)}
#cochat #ask-where .reg-find[hidden]{display:none}
#cochat .reg-find input{width:100%;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px;outline:none;box-sizing:border-box}
#cochat .reg-find input:focus{border-color:var(--teal)}
#cochat #ask-where .reg-res{flex:none;display:flex;flex-direction:column;margin-top:4px;max-height:260px;overflow:auto}
#cochat .reg-res button{padding:7px 8px;border-radius:6px;text-align:left;font-size:13px;color:var(--ink)}
#cochat .reg-res button:hover{background:var(--wash)}
#cochat .reg-res em{padding:7px 8px;font-style:normal;font-size:12px;color:var(--mut)}
#cochat .ask-main header #ask-export{margin-left:auto}
#cochat .ask-main header button{font-size:13px;color:var(--sub)}
#cochat .ask-main header button:hover,#cochat .ask-main header button.on{color:var(--ink)}
#cochat #ask-export.on{font-weight:600;color:var(--ink)}
#cochat #ask-close{font-size:22px;line-height:1}
#cochat .ask-log{flex:1;min-height:0;overflow:auto;padding:24px 28px 12px;font-size:15px;line-height:1.75;display:flex;flex-direction:column}
#cochat .ask-log>*,#cochat .ask-pick,#cochat #ask-form{width:100%;max-width:860px;margin-left:auto;margin-right:auto;box-sizing:border-box}
#cochat .pick{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--sub);cursor:pointer}
#cochat .pick input{margin:0;accent-color:var(--navy)}
#cochat .ask.picking .turn{border-left:3px solid var(--line);padding-left:14px}
#cochat .ask.picking .turn:has(.pick input:checked){border-left-color:var(--teal)}
#cochat .ask.picking .nexts,#cochat .ask.picking .starters{display:none}
#cochat .ask-pick{flex:none;display:flex;align-items:center;gap:8px;padding:12px 28px 16px;font-size:13px;color:var(--sub);border-top:1px solid var(--line);max-width:none}
#cochat .ask-pick .gap{flex:1}
#cochat .ask-pick[hidden],#cochat .ask-log[hidden]{display:none}
#cochat .ask-pick button{height:34px;padding:0 12px;border-radius:9px;font-size:13px;color:var(--sub)}
#cochat .ask-pick button[data-out=html],#cochat .ask-pick button[data-out=pdf]{background:var(--navy);color:#fff;font-weight:600}
#cochat .turn{display:flex;flex-direction:column;gap:6px;padding:8px 0 22px}
#cochat .msg{word-break:break-word}
#cochat .msg.me{align-self:flex-end;max-width:72%;padding:10px 16px;border-radius:18px;background:#EDF1F6;color:var(--ink)}
#cochat .msg-acts{display:flex;gap:4px;margin-top:6px}
#cochat .msg-acts button{height:28px;padding:0 10px;border-radius:7px;font-size:12.5px;color:var(--sub)}
#cochat .msg-acts button:hover{background:var(--wash);color:var(--ink)}
#cochat .turn.queued{opacity:.7}
#cochat .turn.queued .unqueue{font-size:12px;color:var(--sub);margin-left:8px}
#cochat .msg.bot{align-self:stretch;max-width:100%;padding:2px 0;color:var(--text)}
#cochat .msg.bot p{margin:0 0 10px}
#cochat .msg.bot p:last-child{margin:0}
#cochat .msg.bot h4{margin:16px 0 6px;font-size:15.5px;color:var(--ink)}
#cochat .msg.bot ul{margin:0 0 10px;padding-left:20px}
#cochat .msg.bot a{color:var(--teal);font-weight:500}
#cochat .msg.bot .tbl{font-size:13px;margin:8px 0 12px}
#cochat .tbl.md th,#cochat .tbl.md td{text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;padding:8px 14px 8px 0;line-height:1.55}
#cochat .tbl.md th:first-child,#cochat .tbl.md td:first-child{min-width:7.5em;max-width:16em;font-weight:600;color:var(--ink)}
#cochat .tbl.md td.n{text-align:right;white-space:nowrap}
#cochat .msg.bot .tbl tbody tr:hover td{background:none}
#cochat .who{display:flex;align-items:center;gap:8px;margin-top:4px;min-height:20px}
#cochat .runst{display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--line);border-radius:99px;font-size:11.5px;color:var(--sub);line-height:19px}
#cochat .runst.run{color:var(--teal);border-color:var(--teal);font-weight:600}
#cochat .runst .act{font-weight:400}
#cochat .runst.bad{color:var(--red);border-color:var(--red)}
#cochat .spin{display:inline-block;width:8px;height:8px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .8s linear infinite}
#cochat @keyframes spin{to{transform:rotate(360deg)}
#cochat }
.typing{display:inline-flex;gap:4px;padding:6px 2px 2px}
#cochat .typing i{width:7px;height:7px;border-radius:50%;background:var(--teal);opacity:.3;animation:bob 1.2s infinite ease-in-out}
#cochat .typing i:nth-child(2){animation-delay:.2s}
#cochat .typing i:nth-child(3){animation-delay:.4s}
#cochat @keyframes bob{0%,80%,100%{opacity:.3;transform:translateY(0)}
#cochat 40%{opacity:1;transform:translateY(-3px)}
#cochat }
.starters{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:auto auto 0}
#cochat .starters button{padding:14px 16px;border:1px solid var(--line);border-radius:12px;text-align:left;font-size:14px;line-height:1.5;color:var(--text);transition:.12s}
#cochat .starters button:hover{border-color:var(--teal);color:var(--teal);background:var(--wash)}
#cochat .nexts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#cochat .nexts button{padding:5px 12px;border:1px solid var(--line);border-radius:16px;text-align:left;font-size:13px;line-height:1.45;color:var(--text);transition:.12s}
#cochat .nexts button:hover{border-color:var(--teal);color:var(--teal)}
#cochat .sep{align-self:stretch;margin:6px auto 10px;padding:6px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);text-align:center;font-size:12px;color:var(--sub)}
#cochat .clearmap{font-size:12px;color:var(--sub);text-decoration:underline}
#cochat #ask-form{flex:none;padding:6px 28px 18px;max-width:916px}
#cochat #ask-form textarea{display:block;width:100%;min-height:52px;max-height:200px;resize:none;padding:14px 16px 4px;border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0;background:#fff;font:inherit;font-size:15px;line-height:1.5;color:var(--ink);outline:none;box-sizing:border-box}
#cochat .ask-acts{display:flex;align-items:center;gap:8px;padding:6px 8px 8px 16px;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;box-shadow:0 2px 10px rgba(11,31,58,.06)}
#cochat #ask-form:focus-within textarea,#cochat #ask-form:focus-within .ask-acts{border-color:var(--teal)}
#cochat .ask-acts .hint{flex:1;font-size:12px;color:var(--mut)}
#cochat .ask-acts button{height:34px;padding:0 16px;border-radius:9px;background:var(--navy);color:#fff;font-size:14px;font-weight:600}
#cochat #ask-stop{background:var(--wash);color:var(--ink)}
#cochat .ask-acts .ask-deep{height:30px;padding:0 12px 0 28px;border-radius:15px;background:#fff;border:1px solid var(--line);color:var(--sub);font-size:13px;font-weight:500;position:relative}
#cochat .ask-deep::before{content:"";position:absolute;left:11px;top:50%;width:9px;height:9px;margin-top:-5px;border:1.5px solid currentColor;border-radius:50%;box-sizing:border-box}
#cochat .ask-deep:hover{border-color:#B9CAE0;color:var(--ink)}
#cochat .ask-acts .ask-deep.on{background:#E8EEF6;border-color:var(--navy);color:var(--navy);font-weight:600}
#cochat .ask-deep.on::before{background:currentColor}
#cochat .turn.past .msg.bot{opacity:.92}
#cochat .msg.me .where{display:block;font-size:11px;opacity:.75;margin-bottom:2px}
#cochat.cf{overflow:hidden}
#cochat.cf .spread{display:grid;grid-template-columns:minmax(0,1fr) var(--cf-right,420px);grid-template-rows:minmax(0,1fr);height:calc(100vh - var(--mast));align-items:stretch}
#cochat.cf .ask.cf-ask{min-height:0;position:relative;inset:auto;z-index:1;top:auto;bottom:auto;right:auto;width:auto;height:100%;border-radius:0;box-shadow:none;border-right:1px solid var(--line)}
#cochat.cf .cf-right{display:flex;flex-direction:column;min-width:0;height:100%;overflow-y:auto;background:#FAFBFD}
#cochat .cf-ctx{padding:14px;display:flex;flex-direction:column;gap:12px}
#cochat .cfc{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 14px}
#cochat .cfc h4{margin:0 0 6px;font-size:13px;color:var(--sub);font-weight:600}
#cochat .cfr{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:7px 2px;border-bottom:1px dashed var(--line);font-size:13.5px;color:var(--ink);text-decoration:none;text-align:left}
#cochat .cfr:last-child{border-bottom:0}
#cochat .cfr:hover{background:var(--wash)}
#cochat .cfr span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#cochat .cfr span b{font-weight:600}
#cochat .cfr>b.up{color:#1E6B45}
#cochat .cfr>b.down{color:#A9432F}
#cochat .cfn{margin:0;font-size:13px;color:var(--mut)}
#cochat .welcome{display:flex;flex-direction:column;gap:14px;margin:4px 0 18px}
#cochat .wb{border:1px solid var(--line);border-radius:14px;padding:18px 20px;background:#fff}
#cochat .wk{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.06em;color:#B88A2E}
#cochat .wb h3{margin:0 0 8px;font-family:var(--serif);font-weight:800;font-size:21px;line-height:1.45;color:var(--ink);text-wrap:balance}
#cochat .wb ul{margin:0;padding-left:18px;color:var(--text)}
#cochat .wb li{margin:2px 0}
#cochat .wsub{margin:0;color:var(--sub);font-size:14px}
#cochat .wtiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
#cochat .wtiles div{background:var(--wash);border-radius:10px;padding:8px 12px;min-width:0}
#cochat .wtiles span{display:block;font-size:12px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cochat .wtiles b{font-size:18px;font-weight:800;color:var(--ink)}
#cochat .wtiles b.up{color:#1E6B45}
#cochat .wtiles b.down{color:#A9432F}
#cochat .wh{margin:6px 0 0;font-size:13px;font-weight:600;color:var(--sub)}
#cochat .wcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#cochat .wcards button{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid #D6E1EE;border-radius:12px;background:#fff;text-align:left;color:var(--ink)}
#cochat .wcards button:hover{border-color:var(--teal);background:#FBFDFF}
#cochat .wcards b{font-size:14px;font-weight:600}
#cochat .wcards small{font-size:12.5px;color:var(--sub)}
#cochat .cfc h4 small{font-weight:400;color:var(--mut);margin-left:6px}
#cochat .cfc div.cfr{cursor:default}
#cochat .cfc div.cfr:hover{background:none}
#cochat .cfc div.cfr>small{flex:none;width:76px;text-align:right;font-size:12px;color:var(--mut)}
#cochat .cfc div.cfr>b{margin-left:auto}
#cochat .cfr span em{display:block;font-style:normal;font-size:11.5px;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#cochat.cf .ask-side{flex:0 0 var(--cf-side,268px);width:var(--cf-side,268px)}
#cochat.cf .cf-right{position:relative}
#cochat .cf-split{flex:none;width:7px;margin:0 -3px;z-index:5;cursor:col-resize;background:transparent;position:relative;touch-action:none}
#cochat .cf-split::after{content:"";position:absolute;top:0;bottom:0;left:3px;width:1px;background:transparent;transition:background .15s}
#cochat .cf-split:hover::after,body.cf-dragging .cf-split::after{background:var(--teal);width:2px;left:2px}
#cochat .cf-split-right{position:absolute;top:0;bottom:0;left:-4px;margin:0;height:100%}
body.cf-dragging{cursor:col-resize;user-select:none}
#cochat .ask.noside .cf-split-side{display:none}
.steps-live{list-style:none;margin:6px 0 4px;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--sub)}
#cochat .steps-live li{display:flex;align-items:flex-start;gap:8px;line-height:1.5}

/* ViewCast 회사 화면 위에 얹는 틀: 위쪽 탭 아래를 채운다 */
#cochat{position:fixed;left:0;right:0;bottom:0;top:var(--appbar-h,64px);z-index:25;background:#fff;border-top:1px solid var(--line)}
#cochat[hidden]{display:none}
#cochat.cf .spread{height:100%}
#cochat .reg-res button{display:block;width:100%;text-align:left;padding:7px 8px;border-radius:7px;font-size:13.5px;color:var(--ink)}#cochat .reg-res button:hover{background:var(--wash)}
#cochat .reg-res small{color:var(--mut);font-size:11.5px}#cochat .reg-res em{font-size:12.5px;color:var(--mut);padding:6px 8px}
#cochat .reg-find input{width:100%;height:34px;padding:0 10px;border:1px solid #cfd8e4;border-radius:8px;font:inherit;font-size:13px}
#cochat .showmap{font-size:12px;color:var(--sub);text-decoration:underline}
#cochat .pin-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--teal);margin-right:6px;vertical-align:2px}
body.cochat-on .chat,body.cochat-on .rail,body.cochat-on .cbtn{display:none!important}
body.cochat-on{overflow:hidden}

/* 관점 고르기(내부) · 공개 이름 */
#cochat .ask-lens{display:inline-flex;gap:2px;padding:3px;background:var(--wash);border-radius:99px}
#cochat .ask-lens button{padding:3px 12px;border-radius:99px;font-size:13px;color:var(--sub)}
#cochat .ask-lens button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 3px rgba(21,35,61,.12)}
#cochat .ask-brand{font-family:var(--serif);font-weight:800;font-size:16px;color:var(--ink);white-space:nowrap}
#cochat .cfr span em{display:block}
/* 공개: 인증키 입력 */
.vd-gate{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;justify-content:center;gap:10px;max-width:420px;margin:0 auto;padding:24px;font-family:'Pretendard','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;color:#2A3648;background:#fff}
.vd-gate .vd-t{font-family:'Nanum Myeongjo','Noto Serif KR',serif;font-weight:800;font-size:30px;letter-spacing:-.02em;color:#0B1F3A}
.vd-gate p{margin:0;color:#5b6880;font-size:14.5px;line-height:1.6}
.vd-gate label{margin-top:8px;font-size:13px;font-weight:600;color:#5b6880}
.vd-gate input{height:46px;padding:0 12px;border:1px solid #cfd8e4;border-radius:10px;font:inherit;font-size:16px}
.vd-gate button{height:46px;border:0;border-radius:10px;background:#0B2C57;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.vd-gate .vd-err{color:#b3261e}
/* 첫 화면 카드도 대화·입력창과 같은 폭으로 가운데에 */
#cochat .ask-log>.welcome{margin:4px auto 18px}
/* 761~1100px: 대화 목록은 접고(목록 버튼으로 엶) 오른쪽 맥락 칸은 좁게 */
@media (max-width:1100px){#cochat.cf .spread{grid-template-columns:minmax(0,1fr) min(var(--cf-right,400px),36vw)}}

/* 공개(Directors' ViewCast): PolitikCast 와 같은 위쪽 남색 막대·글꼴 */
#cochat.pub{--navy:#0B2C57;--ink:#0B1F3A;--text:#2A3648;--sub:#5A6880;--mut:#8996A8;--line:#E1E6EE;--wash:#F3F6FA;
  font-family:'Pretendard','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;border-top:0;display:flex;flex-direction:column}
#cochat.pub .vd-mast{flex:none;display:flex;align-items:center;gap:16px;height:60px;padding:0 24px;background:var(--navy)}
#cochat.pub .vd-brand{font-family:'Nanum Myeongjo','Noto Serif KR',serif;font-weight:800;font-size:23px;letter-spacing:-.02em;color:#fff;white-space:nowrap}
#cochat.pub .vd-left{margin-left:auto;padding:4px 12px;border:1px solid rgba(255,255,255,.28);border-radius:99px;color:#C9D6E8;font-size:13px;white-space:nowrap}
#cochat.pub .vd-left.out{color:#FFD2C7;border-color:#FFB4A2}
#cochat.pub .vd-left:empty{display:none}
#cochat.pub .vd-guide{padding:4px 12px;border:1px solid rgba(255,255,255,.28);border-radius:99px;background:none;color:#C9D6E8;font-size:13px;white-space:nowrap;cursor:pointer}
#cochat.pub .vd-guide:hover{color:#fff;border-color:rgba(255,255,255,.6)}
#cochat.pub .vd-left:empty + .vd-guide{margin-left:auto}
.vd-guide-ov{position:fixed;inset:0;z-index:200;background:rgba(14,22,36,.55);display:flex;align-items:center;justify-content:center;padding:24px}
.vd-guide-box{width:min(960px,100%);height:min(92vh,100%);background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
.vd-guide-bar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #D5DBE3;font-size:15px}
.vd-guide-bar button{border:1px solid #D5DBE3;border-radius:8px;background:#fff;padding:5px 12px;font-size:14px;cursor:pointer}
.vd-guide-box iframe{flex:1;border:0;width:100%}
.vd-guide-wait{padding:24px;color:#55606F}
@media (max-width:760px){.vd-guide-ov{padding:0}.vd-guide-box{height:100dvh;border-radius:0}}
#cochat.pub.cf .spread{flex:1;min-height:0;height:auto}
#cochat.pub .wb h3,#cochat.pub .vd-t{font-family:'Nanum Myeongjo','Noto Serif KR',serif}
@media (max-width:760px){#cochat.pub .vd-mast{height:52px;padding:0 14px}#cochat.pub .vd-brand{font-size:19px}}
.vd-gate .vd-user{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;opacity:0}
#cochat .cfr>b small{font-weight:500;font-size:12px;color:var(--sub);margin-left:4px}#cochat .cfr>b small.up{color:#1E6B45}#cochat .cfr>b small.down{color:#A9432F}
#cochat .cfc h4 small{display:inline}
#cochat .cfr>b small.ok{color:#1E6B45}
#cochat .ask-acts button#ask-send.req{background:#A8422F}#cochat .ask-acts button#ask-send.req:disabled{background:#C9D3E0;color:#5A6880;cursor:default}
#cochat #ask-form textarea:disabled{background:var(--wash);color:var(--mut);cursor:not-allowed}
/* 공개: 입력창 아래 남은 질문 수와 질문 추가 요청 */
#cochat .vd-quota{display:flex;align-items:center;gap:6px;flex:1;min-width:0;font-size:13px;color:var(--sub)}
#cochat .vd-quota b{font-size:14.5px;font-weight:700;color:var(--ink)}#cochat .vd-quota b.low{color:#B4690E}#cochat .vd-quota b.out{color:#A8422F}
#cochat .ask-acts .vd-req{height:28px;padding:0 10px;margin-left:6px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);font-size:12.5px;font-weight:600}
#cochat .ask-acts .vd-req:hover{border-color:var(--navy)}#cochat .ask-acts .vd-req:disabled{opacity:.6}
#cochat .vd-reqd{margin-left:6px;padding:2px 9px;border-radius:12px;background:var(--wash);font-size:12px;color:var(--sub)}

/* ===== 휴대폰(760px 아래): PolitikCast 휴대폰 채팅과 같은 틀 =====
   대화가 화면을 다 쓰고, 위 남색 줄에 ☰(대화 목록 서랍)·회사 칩·회사 정보(아래에서 올라오는 칸)·새 대화.
   자판이 올라오면 보이는 높이(--vvh)에 맞춘다. 남은 질문·질문 추가 요청은 입력창 아래에 늘 보인다 */
#cochat .ask-ico,#cochat .cf-sheet-head,#cochat .cf-scrim,#cochat #ask-chats svg,#cochat .side-export{display:none}
@media (max-width:760px){
  body.cochat-on{overflow:hidden}
  #cochat{top:var(--co-top,0px)!important;height:auto}
  #cochat.cf .spread{display:block;height:100%}
  #cochat.pub .vd-mast{display:none}
  #cochat .ask.cf-ask{position:absolute;inset:0;height:auto;border-right:0;overscroll-behavior:contain}
  #cochat.kbd .ask.cf-ask{position:fixed;inset:auto 0;top:var(--vvt,0px);height:var(--vvh,100dvh);z-index:40}
  #cochat .ask-log{padding:14px 14px 8px;overscroll-behavior:contain;font-size:15px}
  #cochat #ask-form{padding:6px 10px calc(10px + env(safe-area-inset-bottom,0px))}
  #cochat .ask-pick{padding:10px 12px;flex-wrap:wrap}
  #cochat .msg.me{max-width:86%}
  #cochat .ask-main{position:relative}
  #cochat .ask-main header{height:52px;padding:0 4px;gap:2px;background:var(--navy);border-bottom:0}
  #cochat .ask-main header button{color:#fff}
  #cochat .ask-main header .reg-res button{color:var(--ink);min-height:44px;font-size:15px}
  #cochat #ask-where .reg-find{width:min(300px,calc(100vw - 72px))}
  #cochat .reg-find input{height:42px;font-size:16px}
  #cochat #ask-chats,#cochat .ask-ico{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none}
  #cochat #ask-chats svg{display:block}#cochat #ask-chats .lbl{display:none}
  #cochat #ask-where{flex:1;min-width:0}
  #cochat .ask-main header .reg-name{background:rgba(255,255,255,.14);color:#fff;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #cochat .ask-main header .reg-x{color:#B7C6DB}
  #cochat #ask-export{display:none}
  #cochat .ask-lens{padding:2px;background:rgba(255,255,255,.12)}#cochat .ask-lens button{padding:3px 8px;font-size:12px;color:#D5DEEA}
  #cochat .ask-lens button.on{background:#fff;color:var(--ink)}
  #cochat.cf .ask-side{position:absolute;z-index:4;top:0;bottom:0;left:0;flex:none;width:min(316px,84vw);box-shadow:4px 0 20px rgba(11,31,58,.18)}
  #cochat .ask:not(.noside) .ask-main::before{content:"";position:absolute;inset:0;z-index:3;background:rgba(11,31,58,.42)}
  #cochat .side-export{display:block;margin:auto 12px 14px;height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;color:var(--ink)}
  #cochat .cf-split{display:none}
  #cochat.cf .cf-right{position:fixed;left:0;right:0;bottom:0;top:72px;z-index:60;height:auto;overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;
    box-shadow:0 -8px 30px rgba(11,31,58,.18);transform:translateY(105%);transition:transform .25s ease;visibility:hidden;display:block}
  #cochat.cf.sheet .cf-right{transform:none;visibility:visible}
  #cochat .cf-sheet-head{display:flex;align-items:center;position:sticky;top:0;z-index:3;background:#fff;padding:16px 6px 6px 18px}
  #cochat .cf-grip{position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#C9D3E0}
  #cochat .cf-sheet-head b{flex:1;font-size:17px;font-weight:800;color:var(--ink)}
  #cochat .cf-sheet-head button{width:44px;height:44px;font-size:24px;color:var(--sub)}
  #cochat .cf-ctx{padding:6px 14px 24px}
  #cochat .cf-scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(11,31,58,.42);opacity:0;pointer-events:none;transition:opacity .25s}
  #cochat.sheet .cf-scrim{opacity:1;pointer-events:auto}
  #cochat .ask-acts{flex-wrap:wrap;gap:6px;padding:6px 6px 6px 10px}
  #cochat .ask-acts .hint:not(.vd-quota){display:none}
  #cochat .ask-acts .ask-deep{margin-right:auto}
  #cochat .ask-acts .vd-quota{order:5;flex:1 1 100%;padding:4px 2px 0;border-top:1px solid var(--line);margin-top:2px}
  #cochat .vd-quota b,#cochat .vd-quota .vd-req{white-space:nowrap}#cochat .ask-acts .vd-req{margin-left:auto}
  #cochat .welcome .wsub{display:none}
  #cochat .wb{padding:14px 16px}#cochat .wb h3{font-size:19px}
  #cochat .wtiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  #cochat .wtiles b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #cochat .wcards{grid-template-columns:minmax(0,1fr)}
  #cochat .tbl.md{font-size:12.5px}
  #cochat .chat-acts{opacity:1}
}

/* 휴대폰 위·아래 줄 다듬기(2026-11-16): 남색 줄은 ☰·회사·회사 정보·새 대화만, 관점은 서랍 맨 위, 입력창은 낮게 */
#cochat .side-lens{display:none}
@media (max-width:760px){
  #cochat .ask-main header{height:48px;padding:0 2px 0 0;gap:0}
  #cochat .ask-main header>.ask-lens{display:none}
  #cochat #ask-chats,#cochat .ask-ico{width:44px;height:44px}
  #cochat #ask-where{gap:0;padding:0 4px}
  #cochat .ask-main header .reg-name{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;font-size:14px;
    background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
  #cochat .ask-main header .reg-name::after{content:"";width:6px;height:6px;margin-top:-3px;border-right:1.6px solid #C9D6E8;border-bottom:1.6px solid #C9D6E8;transform:rotate(45deg)}
  #cochat .ask-main header .reg-x{width:30px;height:30px;font-size:17px}
  #cochat .ask-main header .ask-ico svg{width:20px;height:20px;opacity:.92}
  #cochat .side-lens{display:flex;align-items:center;gap:10px;margin:14px 12px 4px;font-size:12.5px;color:var(--sub);font-weight:600}
  #cochat .side-lens .ask-lens{flex:1;display:flex;background:#E3E9F1;padding:3px;border-radius:10px}
  #cochat .side-lens .ask-lens button{flex:1;height:32px;border-radius:8px;font-size:13.5px;color:var(--sub)}
  #cochat .side-lens .ask-lens button.on{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 3px rgba(11,31,58,.12)}
  #cochat .ask-newbtn{margin-top:8px}
  #cochat #ask-form{padding:4px 8px calc(8px + env(safe-area-inset-bottom,0px))}
  #cochat #ask-form textarea{min-height:44px;padding:11px 14px 2px;font-size:16px}
  #cochat .ask-acts{padding:4px 6px 6px 8px;gap:4px}
  #cochat .ask-acts .ask-deep{height:28px;font-size:12.5px;padding:0 10px 0 26px}
  #cochat .ask-acts button#ask-send{height:32px;padding:0 14px;font-size:14px}
  #cochat .ask-log{padding:12px 12px 6px}
  #cochat .welcome{gap:10px;margin:0 0 10px}
  #cochat .wb{padding:12px 14px}#cochat .wb h3{font-size:18px;margin-bottom:2px}
  #cochat .wcards button{padding:10px 12px}#cochat .wcards b{font-size:14px}#cochat .wcards small{font-size:12px}
  #cochat .wh{font-size:12.5px}
}
/* 당겨서 새로 고침(휴대폰) */
#cochat .ptr{display:none}
@media (max-width:760px){
  #cochat .ptr{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:0;overflow:hidden;flex:none;color:var(--sub);font-size:12px;transition:height .18s ease}
  #cochat .ptr i{width:18px;height:18px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;margin-bottom:2px}
  #cochat .ptr.ready{color:var(--navy)}
  #cochat .ptr.spinning{height:44px!important}#cochat .ptr.spinning i{animation:spin .8s linear infinite}
  #cochat .ptr span{margin-bottom:8px}
}
@keyframes spin{to{transform:rotate(360deg)}}
/* 휴대폰 대화를 촘촘하게(2026-11-16) */
@media (max-width:760px){
  #cochat .ask-log{font-size:14.5px;line-height:1.65}
  #cochat .turn{gap:4px;padding:4px 0 14px}
  #cochat .msg.me{padding:8px 12px;border-radius:14px;font-size:14.5px}
  #cochat .msg.bot p{margin:0 0 8px}#cochat .msg.bot h4{margin:12px 0 4px;font-size:15px}#cochat .msg.bot ul{margin:0 0 8px;padding-left:18px}
  #cochat .msg.bot .tbl.md{font-size:12px}#cochat .tbl.md th,#cochat .tbl.md td{padding:6px 10px 6px 0}
  #cochat .who{margin-top:2px}#cochat .runst{font-size:11px}
  #cochat .steps-done{font-size:12px;margin:2px 0 4px}#cochat .steps-live{font-size:12px}
  #cochat .nexts{gap:5px;margin-top:6px}#cochat .nexts button{padding:4px 10px;font-size:12.5px;border-radius:14px}
  #cochat .msg-acts{margin-top:2px}#cochat .msg-acts button{height:26px;padding:0 8px;font-size:12px}
  #cochat .sep{font-size:11.5px;margin:4px auto 8px;padding:4px 0}
  #cochat .cf-ctx{gap:10px}#cochat .cfc{padding:10px 12px;border-radius:10px}#cochat .cfc h4{font-size:12.5px;margin-bottom:4px}
  #cochat .cfr{padding:6px 2px;font-size:13.5px}
  #cochat .wtiles{gap:6px;margin-top:10px}#cochat .wtiles div{padding:6px 10px}#cochat .wtiles span{font-size:11.5px}#cochat .wtiles b{font-size:15px}
  #cochat .chat-item{padding:7px 8px}#cochat .chat-item b{font-size:13.5px}
}
/* 휴대폰 글자 한 단계 작게, 간격은 숨 쉴 만큼(2026-11-16 사용자: 글자는 작게, 너무 촘촘하지는 않게). 입력창은 16px 유지(아이폰 확대 방지) */
@media (max-width:760px){
  #cochat .ask-log{font-size:14px;line-height:1.7}
  #cochat .turn{padding:6px 0 18px;gap:5px}
  #cochat .msg.me{font-size:14px;padding:9px 13px}
  #cochat .msg.bot p{margin:0 0 9px}#cochat .msg.bot h4{font-size:14.5px}
  #cochat .nexts button{font-size:12px;padding:5px 11px}
  #cochat .ask-main header .reg-name{font-size:13.5px}
  #cochat .wb h3{font-size:17px}#cochat .wk{font-size:11px}
  #cochat .wcards{gap:7px}#cochat .wcards button{padding:11px 13px}#cochat .wcards b{font-size:13.5px}#cochat .wcards small{font-size:11.5px}
  #cochat .wtiles span{font-size:11px}#cochat .wtiles b{font-size:14.5px}
  #cochat .wh{font-size:12px}
  #cochat .cfr{font-size:13px;padding:7px 2px}#cochat .cfr span em{font-size:11px}
  #cochat .ask-acts .ask-deep{font-size:12px}#cochat .vd-quota{font-size:12px}#cochat .vd-quota b{font-size:13.5px}
  #cochat .chat-item b{font-size:13px}#cochat .chat-item small{font-size:11px}
}
/* 휴대폰 남색 줄: 누른 뒤 남는 hover 상태 때문에 단추가 남색이 되어 사라지던 것(2026-11-16). 남색 줄 단추는 늘 흰색, 누를 때만 살짝 밝은 바탕 */
@media (max-width:760px){
  #cochat .ask-main header>button,#cochat .ask-main header>button:hover,#cochat .ask-main header>button.on,
  #cochat .ask-main header #ask-where>button,#cochat .ask-main header #ask-where>button:hover{color:#fff}
  #cochat .ask-main header .reg-x,#cochat .ask-main header .reg-x:hover{color:#B7C6DB;background:none}
  #cochat .ask-main header>button:active,#cochat .ask-main header #ask-where>button:active{background:rgba(255,255,255,.14);border-radius:10px}
  #cochat .ask-main header .reg-res button,#cochat .ask-main header .reg-res button:hover{color:var(--ink)}
}
/* 대화 속 표: 숫자 열은 머리글까지 오른쪽, 자릿수 맞춤 */
#cochat .tbl.md th.n,#cochat .tbl.md td.n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding-left:12px}
#cochat .tbl.md th{white-space:nowrap}
#cochat .tbl.md td:last-child,#cochat .tbl.md th:last-child{padding-right:2px}
/* 이사회 질의 칸 */
#cochat .bq-card{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:10px 0;background:#fff}
#cochat .bq-q{margin:0 0 8px;font-weight:700;color:var(--ink);line-height:1.55}
#cochat .bq-tag{display:inline-block;margin-right:8px;padding:1px 7px;border-radius:6px;background:var(--navy);color:#fff;font-size:11px;font-weight:700;vertical-align:2px;letter-spacing:.02em}
#cochat .bq-card dl{margin:0;display:flex;flex-direction:column;gap:5px}
#cochat .bq-card dl div{display:grid;grid-template-columns:7.2em minmax(0,1fr);gap:10px;align-items:baseline}
#cochat .bq-card dt{font-size:12px;font-weight:600;color:var(--sub);white-space:nowrap}
#cochat .bq-card dd{margin:0;font-size:.95em;line-height:1.6}
#cochat .bq-card dl div.who dd{font-weight:600;color:var(--ink)}
@media (max-width:760px){
  #cochat .bq-card{padding:11px 12px}
  #cochat .bq-card dl div{grid-template-columns:minmax(0,1fr);gap:1px}
  #cochat .bq-card dt{font-size:11.5px}
}
/* 핵심 현안 브리핑 카드 */
#cochat .wb.issue .issue-head{margin:4px 0 6px;font-weight:700;color:var(--ink);line-height:1.6}
#cochat .wb.issue .issue-sum{margin:0 0 6px;color:var(--text);line-height:1.7}
#cochat .wb.issue .issue-why{margin:0;font-size:.95em;color:var(--sub);line-height:1.65}#cochat .wb.issue .issue-why b{color:var(--ink);margin-right:4px}
#cochat .cfc .cfr span em{white-space:normal}
@media (max-width:760px){#cochat .wb.issue .issue-sum{display:block}}
#cochat .issue-more{margin:2px 0 4px}
#cochat .issue-more summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--navy);padding:3px 0}
#cochat .issue-more summary::-webkit-details-marker{display:none}
#cochat .issue-more summary::before{content:"▸";font-size:11px}#cochat .issue-more[open] summary::before{content:"▾"}
#cochat .issue-more[open] summary{margin-bottom:4px}
#cochat .wb .dmake-go{margin-top:10px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;cursor:pointer}
#cochat .wb .dmake-go:hover:not(:disabled){border-color:var(--navy,#0B2545)}
#cochat .wb .dmake-go:disabled{color:var(--mut);cursor:default}

/* 사외이사 이사회 질의: 질의 · 예상 답변(3줄) · 접힌 기준·후속·배경 (2026-11-25) */
#cochat .bqs{display:flex;flex-direction:column;gap:10px}
#cochat .bq{border:1px solid #D6E1EE;border-radius:12px;background:#fff;overflow:hidden}
#cochat .bq>button{display:flex;flex-direction:column;gap:2px;width:100%;padding:12px 14px 6px;border:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer}
#cochat .bq>button:hover b{color:var(--teal)}
#cochat .bq>button b{font-size:14px;font-weight:600;line-height:1.45}
#cochat .bq>button small{font-size:12px;color:var(--sub)}
#cochat .bq-exp{margin:0;padding:4px 14px 12px;font-size:13px;line-height:1.6;color:var(--ink)}   /* 예상 답변은 350자 안이라 줄이지 않고 다 보인다(2026-11-25 사용자: 잘려 보임) */
#cochat .bq-exp span,#cochat .bq-more p span{display:inline-block;margin-right:6px;font-size:11.5px;font-weight:600;color:var(--teal)}
#cochat .bq-exp.bq-wait{color:var(--sub);font-size:12.5px}
#cochat .bq-more{border-top:1px solid #EEF2F7;padding:6px 14px 8px}
#cochat .bq-more summary{font-size:12px;color:var(--sub);cursor:pointer;padding:2px 0}
#cochat .bq-more p{margin:6px 0 0;font-size:12.5px;line-height:1.55;color:var(--ink)}

/* '자세히 보기' 소제목·문단·항목(2026-11-25) */
#cochat .issue-more .issue-h{margin:14px 0 4px;font-size:13px;font-weight:700;color:var(--ink)}
#cochat .issue-more .issue-h:first-of-type{margin-top:8px}
#cochat .issue-more .issue-sum{margin:0 0 8px}
#cochat .issue-why-list{margin:2px 0 4px;padding-left:18px}
#cochat .issue-why-list li{margin:0 0 6px;font-size:13.5px;line-height:1.6;color:var(--ink)}
