/* misc.css — 담당 화면 전용(메시지 · AI 검색 · 입장 · 운영 콘솔 · 공동 프로젝트). 공통은 base.css(고치지 않음) */

/* ── 함께 쓰는 작은 부품 ── */
.msg .stack,.pj-st .stack{display:inline-flex;align-items:center;flex:none}
.msg .stack .mk + .mk,.pj-st .stack .mk + .mk{margin-left:-6px;box-shadow:0 0 0 2px #fff}
.msg .skel,.pg-ask .skel{border-radius:8px;background:var(--band);animation:skel 1.1s ease-in-out infinite alternate}
@keyframes skel{to{opacity:.45}}
.msg .attach-pill,.pg-ask .attach-pill{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:5px 6px 5px 12px;border-radius:8px;background:var(--band);font-size:14px;font-weight:600;color:var(--navy)}
.msg .attach-pill > span,.pg-ask .attach-pill > span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msg .attach-pill button,.pg-ask .attach-pill button{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:6px;color:var(--navy)}
.msg .attach-pill button:hover,.pg-ask .attach-pill button:hover{background:rgba(11,45,91,.08)}

/* ═════════ 메시지 ═════════ */
.msg-wrap{height:calc(100vh - var(--gnb) - 1px);height:calc(100dvh - var(--gnb) - 1px);padding-top:24px;padding-bottom:24px}
.msg{height:100%;display:grid;grid-template-columns:minmax(300px,4fr) minmax(0,8fr);border:1px solid var(--line);border-radius:var(--r-l);background:#fff;overflow:hidden;box-shadow:var(--sh-1)}
.msg-list{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line)}
.ml-h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:84px;padding:18px 20px 16px 24px;border-bottom:1px solid var(--line)}
.ml-h h1{font-size:28px;line-height:1.2;letter-spacing:-.035em;color:var(--navy)}
.ml-h p{margin-top:2px;font-size:14px;color:var(--muted)}
.ml-h p b{color:var(--navy)}
.ml-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 12px 20px}
.ml-scroll h5{display:flex;align-items:center;gap:6px;padding:18px 12px 6px;font-size:13px;font-weight:700;color:var(--sub);letter-spacing:.01em}
.ml-scroll h5 span{font-weight:600;color:var(--faint)}
.ml-none{padding:6px 12px;font-size:14px;line-height:1.55;color:var(--sub)}
.msg .th{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:66px;padding:10px 12px;border-radius:var(--r)}
.msg .th:hover{background:var(--bg)}
.msg .th.on{background:var(--bg);box-shadow:inset 3px 0 0 var(--gold)}
.msg .th .ic-tile{width:40px;height:40px}
.msg .th .stack .mk{width:40px;height:40px;font-size:15px}
.msg .th .stack .mk + .mk{display:none}
.msg .th .tx{min-width:0}
.msg .th .tx b{display:flex;align-items:center;gap:5px;font-size:16px;font-weight:700;letter-spacing:-.015em;color:var(--ink);white-space:nowrap;overflow:hidden}
.msg .th .tx b .ic{color:var(--faint)}
.msg .th .tx small{display:block;margin-top:1px;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msg .th.unread .tx small{color:var(--ink);font-weight:600}
.msg .th .r{display:flex;flex-direction:column;align-items:flex-end;gap:5px;align-self:start;padding-top:3px}
.msg .th time{font-size:12.5px;color:var(--sub);white-space:nowrap;font-variant-numeric:tabular-nums}
.msg .th .n{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;font-style:normal;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}

.msg-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}
.mm-h{display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 24px;border-bottom:1px solid var(--line)}
.mm-back{display:none}
.mm-h .stack .mk{width:42px;height:42px}
.mm-h .tt{flex:1;min-width:0}
.mm-h h2{font-size:20px;line-height:1.3;letter-spacing:-.03em;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-h p{margin-top:3px;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-h p .ic{margin:-3px 5px 0 0;color:var(--sub)}
.mm-h .r{display:flex;gap:8px;flex:none}
.mm-scroll{flex:1;min-height:0;overflow-y:auto;padding:8px 32px 28px;background:var(--bg)}
.mm-scroll .empty{padding-top:48px}
.mm-scroll .empty img{width:120px;height:120px}
.mm-empty{flex:1;display:grid;place-items:center;padding:24px;background:var(--bg)}
.mm-empty .empty img{width:140px;height:140px}
.msg .day{display:flex;align-items:center;gap:14px;margin:24px 0 4px;font-size:13px;font-weight:700;color:var(--sub);font-variant-numeric:tabular-nums}
.msg .day::before,.msg .day::after{content:"";flex:1;height:1px;background:var(--rule)}
.msg .m{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;max-width:76%;margin-top:18px}
.msg .m.cont{margin-top:6px}
.msg .m .av-sp{width:36px}
.msg .m .bd{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.msg .hd2{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;font-size:13px;color:var(--sub)}
.msg .hd2 b{font-size:14.5px;font-weight:700;color:var(--ink)}
.msg .hd2 time{font-variant-numeric:tabular-nums}
.msg .bb{max-width:100%;padding:10px 15px;border:1px solid var(--line);border-radius:4px 12px 12px 12px;background:#fff;font-size:15.5px;line-height:1.6;color:var(--ink);white-space:pre-wrap}
.msg .m.mine{grid-template-columns:minmax(0,1fr);margin-left:auto}
.msg .m.mine .bd{align-items:flex-end}
.msg .m.mine .bb{border-color:var(--navy);background:var(--navy);color:#fff;border-radius:12px 4px 12px 12px}
.msg .embed{display:flex;align-items:center;gap:12px;width:440px;max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);background:#fff;text-align:left;transition:border-color .15s}
.msg .embed:hover{border-color:rgba(11,45,91,.35)}
.msg .embed .tx{flex:1;min-width:0}
.msg .embed b{display:block;font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msg .embed small{display:block;margin-top:1px;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msg .embed > .ic{color:var(--faint)}
.msg .m .files{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--sub)}
.mm-comp{padding:14px 24px 16px;border-top:1px solid var(--line);background:#fff}
.mm-comp .msg .attach-pill,.pg-ask .attach-pill{margin-bottom:10px}
.mm-comp textarea.inp{min-height:56px;max-height:180px;resize:none}
.mm-comp .bar{display:flex;align-items:center;gap:10px;margin-top:10px}
.mm-comp .bar .r{display:flex;gap:8px;margin-left:auto}
.mm-comp .hint{font-size:13px;color:var(--faint);white-space:nowrap}
.msg .lock{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:var(--r);background:var(--band);font-size:15px;color:var(--muted)}
.msg .lock .ic{color:var(--gold-t)}
.msg-pick{max-height:52vh;overflow:auto;margin-top:12px;border-top:1px solid var(--line)}
.msg-pick .li{align-items:center}
.msg-pick .li:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.msg-pick .li > .ic:last-child{margin-left:auto;color:var(--faint)}

/* ═════════ AI 검색 ═════════ */
.ask-top{background:var(--bg);padding:48px 0 44px}
.ask-top h1{margin-top:18px;font-size:44px;line-height:1.2;letter-spacing:-.045em;color:var(--navy)}
.ask-top h1 em{position:relative;font-style:normal;white-space:nowrap}
.ask-top h1 em::after{content:"";position:absolute;left:.02em;right:.1em;bottom:-.07em;height:5px;border-radius:3px;background:var(--gold)}
.ask-top .lead{margin-top:16px}
.ask-top .lead span{display:block}
.ask-box{display:flex;align-items:center;gap:8px;max-width:980px;margin-top:30px;padding:8px 8px 8px 20px;border:1px solid var(--rule);border-radius:var(--r-l);background:#fff;box-shadow:var(--sh-1);transition:border-color .15s,box-shadow .15s}
.ask-box:focus-within{border-color:var(--navy);box-shadow:0 0 0 3px rgba(92,152,197,.25),var(--sh-1)}
.ask-box > .ic{color:var(--navy)}
.ask-box input[name=q]{flex:1;min-width:0;height:54px;padding:0 6px;border:0;outline:0;background:none;font-size:19px;color:var(--ink)}
.ask-box input[name=q]::placeholder{color:var(--faint)}
.ask-file{cursor:pointer}
.ask-fp:not(:empty){max-width:980px;margin-top:12px}
.ask-body{background:#fff;border-top:1px solid var(--line);padding:48px 0 96px}
.ask-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start}
.ask-main{grid-column:1 / span 8;min-width:0;display:grid;gap:44px;align-content:start}
.ask-side{grid-column:9 / span 4;min-width:0}
.ask-g .sec-h{margin-bottom:2px}
.ask-ex li{border-bottom:1px solid var(--line)}
.ask-ex button{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;column-gap:14px;width:100%;min-height:72px;padding:14px 0;text-align:left}
.ask-ex button > .ic:first-child{color:var(--gold-d)}
.ask-ex button > .ic:last-child{color:var(--faint)}
.ask-ex b{display:block;font-size:18px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.ask-ex small{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.ask-ex button:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(11,45,91,.28)}
.ask-scope dl > div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.ask-scope dl > div:last-child{border-bottom:0;padding-bottom:18px}
.ask-scope dt{font-size:15px;font-weight:700;color:var(--ink)}
.ask-scope dd{font-size:15px;font-weight:700;color:var(--navy)}
.ask-scope dd b{margin-right:3px;font-size:32px;font-weight:800;letter-spacing:-.03em}
.ask-ans .ans{margin:16px 0 20px;font-size:17px;line-height:1.75;color:var(--ink)}
.ask-ans .next{display:flex;align-items:flex-start;gap:8px;margin-top:-4px;padding:14px 0 20px;border-top:1px solid var(--rule);font-size:15px;font-weight:600;color:var(--teal)}
.ask-ans .next .ic{margin-top:3px}
.ask-ans.err .panel-h .ic,.ask-ans.err h2{color:var(--err)}
.pg-ask .why{margin:-6px 0 16px 60px;font-size:14.5px;line-height:1.6;color:var(--muted)}
.pg-ask .why::before{content:"";display:inline-block;width:14px;height:2px;margin-right:8px;border-radius:2px;background:var(--gold);vertical-align:4px}
.ask-it{border-bottom:1px solid var(--line)}
.ask-it .pk{border-bottom:0}
.ask-it .why{margin-left:78px}
.pg-ask .co-li{border-bottom:1px solid var(--line)}
.pg-ask .co-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;column-gap:18px;padding:16px 0}
.pg-ask .co-row .tx b{display:block;font-size:17px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.pg-ask .co-row .tx span{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.pg-ask .co-row > .ic{color:var(--faint)}
.pg-ask .co-row:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(11,45,91,.28)}
.pg-ask .lws{padding-bottom:8px}
.pg-ask .lw{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.pg-ask .lw:last-child{border-bottom:0}
.pg-ask .lw > .ic{margin-top:2px;color:var(--navy)}
.pg-ask .lw .tx{min-width:0}
.pg-ask .lw b{display:block;font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pg-ask .lw small{display:block;font-size:13px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pg-ask .lw:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.ask-none{padding:14px 0 20px;font-size:14px;color:var(--muted)}
.ask-note{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--sub)}

/* ═════════ 입장(로그인 전) ═════════ */
.entry{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.en-top{border-bottom:1px solid var(--line)}
.en-top-in{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.en-org{font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap}
.en-in{flex:1;width:100%;align-items:start;padding-top:52px;padding-bottom:72px}
.en-copy{grid-column:1 / span 6;min-width:0}
.en-copy h1{margin-top:24px;font-size:clamp(44px,4vw,58px);font-weight:800;line-height:1.16;letter-spacing:-.045em;color:var(--navy)}
.en-copy h1 .ln{display:block}
.en-copy h1 em{position:relative;font-style:normal;white-space:nowrap}
.en-copy h1 em::after{content:"";position:absolute;left:.02em;right:.1em;bottom:-.07em;height:5px;border-radius:3px;background:var(--gold)}
.en-copy .lead{margin-top:28px;font-size:18px}
.en-copy .lead span{display:block}
.en-safe{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:22px;font-size:15px;font-weight:600;color:var(--muted)}
.en-safe li{display:inline-flex;align-items:center;gap:7px}
.en-safe .ic{width:18px;height:18px;stroke-width:2.2;color:var(--navy)}
.en-geo{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:end;column-gap:20px;margin-top:36px;padding-top:8px;border-top:1px solid var(--rule)}
.en-map{width:100%}
.en-map .src{right:auto;left:0}
.en-geo-l{padding-bottom:30px}
.en-geo-l > div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.en-geo-l dt{font-size:15px;font-weight:700;color:var(--ink)}
.en-geo-l dd{font-size:15px;font-weight:700;color:var(--navy)}
.en-geo-l dd b{margin-right:2px;font-size:32px;font-weight:800;letter-spacing:-.03em}
.en-geo-l p{margin-top:12px;font-size:14px;line-height:1.7;color:var(--muted)}
.en-geo-l i{font-style:normal;white-space:nowrap}
.en-geo-l i:not(:last-child)::after{content:" ·"}
.en-panel{grid-column:8 / span 5;min-width:0;padding:32px;border:1px solid var(--line);border-radius:var(--r-l);background:#fff;box-shadow:var(--sh-1)}
.en-panel h2{font-size:24px;letter-spacing:-.03em;color:var(--navy)}
.en-sub{margin-top:6px;font-size:15px;color:var(--muted)}
.en-form{margin-top:24px}
.en-err{min-height:0;margin:-4px 0 12px;font-size:14px;font-weight:600;color:var(--err)}
.en-err:empty{display:none}
.en-adm{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:12px;width:100%;min-height:64px;margin-top:20px;padding:12px 16px;border:1px solid var(--navy);border-radius:12px;background:#fff;text-align:left;color:var(--navy)}
.en-adm b{display:block;font-size:15.5px;font-weight:800;letter-spacing:-.015em}
.en-adm small{display:block;font-size:13px;color:var(--muted)}
.en-adm:hover{background:var(--band)}
.en-demo{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.en-demo-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:6px}
.en-demo-h h3{font-size:17px;letter-spacing:-.02em;color:var(--navy)}
.en-ps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.en-ps li{border-bottom:1px solid var(--line);min-width:0}
.en-p{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:10px;width:100%;min-height:62px;padding:10px 0;text-align:left}
.en-p .tx{min-width:0}
.en-p b{display:block;font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.en-p small{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.en-p > .ic{color:var(--faint)}
.en-p:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.en-demo .more{margin-top:6px}
.en-note{margin-top:20px;font-size:13px;line-height:1.6;color:var(--sub)}
.en-foot{background:var(--navy);color:rgba(250,247,239,.86);padding:26px 0}
.en-foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 32px;font-size:14px}
.en-fl{display:flex;align-items:center;gap:16px}
.en-fl img{display:block;height:24px;width:auto}
.en-foot b{font-weight:600;color:#fff}

/* ═════════ 운영 콘솔 ═════════ */
.cs-tabs{margin-bottom:36px}
.cs-tabs .tabs{flex:1;min-width:0}
.cs-tabs .tabs > a{gap:7px}
.cs-tabs .tabs em.cs-c,.cs-c{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;font-style:normal;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}
.cs-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:56px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.cs-stats .stat{padding:22px 0 26px 28px;border-left:1px solid var(--line)}
.cs-stats .stat:nth-child(4n+1){padding-left:0;border-left:0}
.cs-stats .stat:nth-child(n+5){border-top:1px solid var(--line)}
.cs-stats dt{font-size:15px;font-weight:700;color:var(--ink)}
.cs-stats dd:not(.sub){display:flex;align-items:baseline;gap:5px;margin-top:8px}
.cs-stats .big{font-size:44px;font-weight:800;line-height:1;letter-spacing:-.035em;color:var(--navy)}
.cs-stats .u{font-size:17px;font-weight:700;color:var(--navy)}
.cs-stats .sub{margin-top:10px;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.cs-sec + .cs-sec{margin-top:56px}
.cs-sh{margin-bottom:18px}
.cs-sh .cs-n{margin-left:4px;font-size:20px;font-weight:700;color:var(--sub)}
.cs-sh .cs-cnt{margin-left:14px;font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--muted);white-space:nowrap}
.cs-sh .cs-cnt b{margin:0 1px 0 3px;font-weight:800;color:var(--navy)}
.cs-ml{display:none}
.cs-sh .r{display:flex;align-items:center;gap:10px}
.cs-co{display:flex;align-items:center;gap:10px;min-width:0}
.cs-co b{display:block;font-weight:700;color:var(--ink);white-space:nowrap}
.cs-co small{display:block;font-size:13px;color:var(--sub);white-space:nowrap}
a.cs-co:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.tbl td.nw{white-space:nowrap}
.cs-txt{min-width:280px;max-width:520px;line-height:1.55}
.cs-ref{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:13.5px;font-weight:600;color:var(--teal)}
.cs-ref:hover{text-decoration:underline;text-underline-offset:3px}
.cs-reply{display:flex;align-items:flex-start;gap:6px;margin-top:8px;padding-left:10px;border-left:2px solid var(--gold);font-size:14px;color:var(--muted)}
.cs-reply .ic{margin-top:3px;flex:none}
.cs-hint{display:flex;align-items:center;gap:6px;margin-top:12px}
.cs-hint.intro{margin:0 0 14px}
.cs-item{min-width:220px}
.cs-item b{font-weight:700;color:var(--ink)}
.cs-item a:hover b{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.cs-item small{display:block;font-size:13px;color:var(--sub)}
.cs-hid td:not(:last-child){opacity:.5}
.cs-filter{margin:0 0 16px}
.cs-pend{display:grid;grid-template-columns:42px minmax(0,1fr) auto;column-gap:18px;align-items:start;padding:20px 0;border-bottom:1px solid var(--line)}
.cs-pend .tx{min-width:0}
.cs-pend .ty{font-size:13px;font-weight:700;color:var(--navy)}
.cs-pend b{display:block;margin-top:2px;font-size:17px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.cs-pend p{margin-top:4px;font-size:14px;color:var(--muted)}
.cs-pend .one{font-size:15px;color:var(--ink)}
.cs-pend p.deid{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:3px 9px;border-radius:6px;background:var(--aqua-bg);font-size:13px;font-weight:700;color:var(--teal)}
.cs-pend p.deid.no{background:var(--err-bg);color:var(--err)}
.cs-pend .acts{display:flex;gap:8px}
.cs-report{margin:0;padding:26px 30px;border:1px solid var(--line);border-radius:var(--r-l);background:#fff;font:inherit;font-size:15px;line-height:1.85;color:var(--ink);white-space:pre-wrap;overflow-wrap:break-word;font-variant-numeric:tabular-nums}
.cs-swl{position:relative;display:inline-grid;cursor:pointer}
.cs-swl input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.cs-sw{display:block;width:34px;height:34px;border-radius:50%;background:var(--c)}
.cs-swl input:checked + .cs-sw{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--gold)}
.cs-swl input:focus-visible + .cs-sw{outline:3px solid var(--sky);outline-offset:4px}
.cs-code{display:flex;align-items:center;gap:14px;margin-top:6px;padding:18px 20px;border-radius:var(--r);background:var(--navy);color:#fff}
.cs-code > .ic{color:var(--gold)}
.cs-code small{display:block;font-size:13px;color:rgba(250,247,239,.78)}
.cs-code b{display:block;font-size:28px;font-weight:800;letter-spacing:.08em}
.cs-code .btn{margin-left:auto}

/* ═════════ 공동 프로젝트 ═════════ */
.pj-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-bottom:64px}
.pj-m{display:flex;flex-direction:column;padding-top:20px;border-top:2px solid var(--navy)}
.pj-m .ty{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:800;letter-spacing:-.025em;color:var(--navy)}
.pj-m .ty .ic{color:var(--gold-d)}
.pj-m .d{margin-top:10px;font-size:15px;line-height:1.65;color:var(--muted)}
.pj-m .flow{display:block;width:100%;max-width:300px;height:auto;margin:22px 0 14px}
.pj-m .n{display:flex;align-items:baseline;gap:4px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}
.pj-m .n span{margin-right:auto;font-size:15px;font-weight:700;color:var(--ink)}
.pj-m .n small{display:block;margin-top:2px;font-size:13px;font-weight:600;color:var(--sub);font-variant-numeric:tabular-nums}
.pj-m .n b{font-size:36px;font-weight:800;line-height:1;letter-spacing:-.03em;color:var(--navy)}
.pj-m .n i{font-style:normal;font-size:16px;font-weight:700;color:var(--navy)}
.pj-sec + .pj-sec{margin-top:64px}
.pj-pipe{border-top:2px solid var(--navy);border-bottom:1px solid var(--rule)}
.pj-st{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);column-gap:24px;padding:22px 0}
.pj-st + .pj-st{border-top:1px solid var(--rule)}
.pj-sh{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:baseline;column-gap:10px}
.pj-sh .no{font-size:14px;font-weight:800;color:var(--navy)}
.pj-sh h3{font-size:18px;letter-spacing:-.02em;color:var(--navy)}
.pj-sh .n{grid-column:1 / -1;margin-top:6px;font-size:15px;font-weight:700;color:var(--navy)}
.pj-sh .n b{margin-right:2px;font-size:28px;font-weight:800;letter-spacing:-.03em}
.pj-sl{min-width:0}
.pj-st .cand{display:grid;grid-template-columns:minmax(0,1fr) 172px 116px;align-items:center;column-gap:20px;padding:14px 0}
.pj-st .cand:first-child{padding-top:0}
.pj-st .cand:last-child{padding-bottom:0}
.pj-st .cand + .cand{border-top:1px solid var(--line)}
.pj-st .cand .tx{min-width:0}
.pj-st .cand .ty{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--muted)}
.pj-st .cand .ty .kb{margin-left:4px}
.pj-st .cand .t{display:block;margin-top:3px;font-size:16.5px;font-weight:700;line-height:1.45;letter-spacing:-.015em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pj-st .cand .t:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(11,45,91,.28)}
.pj-st .cand .ppl{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);white-space:nowrap}
.pj-st .cand .ppl .stack{margin-right:4px}
.pj-st .cand .ppl .mk.sm{width:28px;height:28px;font-size:12px}
.pj-st .cand .ppl b{font-size:16px;font-weight:800;color:var(--navy)}
.pj-st .cand .btn{justify-self:end}
.pj-none{font-size:14.5px;line-height:1.6;color:var(--sub)}
.pj-none + .pj-none,ol + .pj-none{margin-top:12px}
.pj-road{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin-top:24px}
.pj-road li{padding-top:16px;border-top:2px solid var(--rule)}
.pj-road li.k{border-top-color:var(--gold)}
.pj-road .w{font-size:14px;font-weight:800;color:var(--navy)}
.pj-road b{display:block;margin-top:6px;font-size:17px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.pj-road p{margin-top:4px;font-size:14px;color:var(--muted)}
.pj-foot{margin-top:24px}

/* ── 좁은 PC ── */
@media (max-width:1199px){
  .en-panel{grid-column:7 / span 6}
  .en-ps{grid-template-columns:minmax(0,1fr)}
  .pj-road{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}
}
@media (max-width:1099px){
  .msg{grid-template-columns:minmax(260px,4fr) minmax(0,8fr)}
  .mm-comp .hint,.mm-comp [data-attach] .lb,.mm-h .r .lb{display:none}
  .mm-comp [data-attach],.mm-h .r .btn{min-width:42px}
  .mm-scroll{padding:8px 20px 24px}
  .ask-main{grid-column:1 / -1}
  .ask-side{grid-column:1 / -1;margin-top:40px}
  .pj-st .cand{grid-template-columns:minmax(0,1fr) auto auto}
  .cs-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cs-stats .stat:nth-child(odd){padding-left:0;border-left:0}
  .cs-stats .stat:nth-child(even){padding-left:28px;border-left:1px solid var(--line)}
  .cs-stats .stat:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (max-width:999px){
  .en-copy,.en-panel{grid-column:1 / -1}
  .en-panel{margin-top:40px}
  .en-geo{display:none}
  .pj-models{grid-template-columns:minmax(0,1fr);gap:36px}
}

/* ── 휴대폰 ── */
@media (max-width:760px){
  /* 메시지: 목록 ↔ 대화 한 화면씩, 입력칸은 아래 탭바 위 */
  .msg-wrap{height:calc(100vh - var(--gnb) - 67px);height:calc(100dvh - var(--gnb) - 67px);padding:0}
  .msg{grid-template-columns:minmax(0,1fr);border:0;border-radius:0;box-shadow:none}
  .msg.open .msg-list{display:none}
  .msg:not(.open) .msg-main{display:none}
  .msg-list{border-right:0}
  .ml-h{min-height:0;padding:16px var(--gut) 14px}
  .ml-h h1{font-size:24px}
  .ml-scroll{padding:0 4px 16px}
  .msg .th{min-height:64px}
  .mm-h{min-height:64px;gap:10px;padding:8px 12px 8px 2px}
  .mm-back{display:inline-grid}
  .mm-h .ic-tile,.mm-h .stack .mk{width:36px;height:36px;font-size:14px}
  .mm-h h2{font-size:17px}
  .mm-h p{font-size:13px}
  .mm-h .r .btn{min-width:42px;padding:0 12px}
  .mm-h .r .lb{display:none}
  .mm-scroll{padding:4px 14px 16px}
  .msg .m{max-width:90%;margin-top:14px}
  .msg .m:not(.mine){grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  .msg .m .av{width:30px;height:30px;font-size:11px}
  .msg .m .av-sp{width:30px}
  .msg .bb{font-size:15px;padding:9px 13px}
  .msg .embed b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}
  .mm-comp{padding:10px 12px}
  .mm-comp textarea.inp{min-height:46px;padding:10px 12px;font-size:16px}
  .mm-comp .bar{gap:8px;margin-top:8px}
  .mm-comp .hint,.mm-comp [data-attach] .lb{display:none}
  .mm-comp [data-attach]{min-width:42px}
  .mm-comp .bar .btn{gap:6px;padding:0 11px;font-size:14px}

  /* AI 검색 */
  .ask-top{padding:24px 0 26px}
  .ask-top h1{margin-top:10px;font-size:30px;line-height:1.25}
  .ask-top .lead{margin-top:12px;font-size:16px}
  .ask-box{flex-wrap:wrap;gap:6px;margin-top:20px;padding:6px}
  .ask-box > .ic{margin-left:10px}
  .ask-box input[name=q]{flex:1 1 calc(100% - 48px);height:48px;font-size:17px}
  .ask-box .ask-file{flex:none}
  .ask-box .btn.pri{flex:1}
  .ask-body{padding:28px 0 56px}
  .ask-main{gap:32px}
  .ask-side{margin-top:32px}
  .ask-ex button{min-height:64px}
  .ask-ex b{font-size:16px}
  .pg-ask .why{margin-left:50px;font-size:14px}
  .ask-it .why{margin-left:78px}
  .pg-ask .co-row{grid-template-columns:38px minmax(0,1fr) auto;column-gap:12px}
  .pg-ask .co-row .mk{width:38px;height:38px;font-size:15px}

  /* 입장 */
  .en-top-in{height:58px}
  .en-top .brand img{height:21px}
  .en-top .brand b{font-size:16px}
  .en-org{display:none}
  .en-in{padding-top:24px;padding-bottom:40px}
  .en-copy h1{margin-top:12px;font-size:36px;line-height:1.2}
  .en-copy .lead{margin-top:14px;font-size:16px}
  .en-safe{margin-top:14px;font-size:14px;gap:6px 16px}
  .en-panel{margin-top:28px;padding:22px 18px}
  .en-panel h2{font-size:21px}
  .en-form{margin-top:18px}
  .en-foot{padding:22px 0}
  .en-foot-in{display:grid;gap:8px}

  /* 운영 콘솔 */
  .cs-tabs{margin-bottom:24px}
  .cs-stats{margin-bottom:36px}
  .cs-stats .stat,.cs-stats .stat:nth-child(even){padding:16px 0 18px 14px}
  .cs-stats .stat:nth-child(odd){padding-left:0}
  .cs-stats .big{font-size:34px}
  .cs-stats .u{font-size:15px}
  .cs-stats .sub{margin-top:8px;font-size:13px}
  .cs-sec + .cs-sec{margin-top:40px}
  .cs-sh .r{width:100%;padding-top:6px}
  .cs-pend{grid-template-columns:36px minmax(0,1fr);column-gap:12px}
  .cs-pend .mk,.cs-pend .ic-tile{width:36px;height:36px}
  .cs-pend .acts{grid-column:2;margin-top:12px}
  .cs-report{padding:18px 16px;font-size:14px}
  .cs-sh .cs-cnt{margin-left:10px;font-size:15px}
  .cs-pc{display:none}
  .cs-ml{display:block;border-top:1px solid var(--rule)}
  .cs-sh + .cs-pc + .cs-ml{margin-top:-18px;border-top:0}
  .cs-mi{padding:14px 0 15px;border-bottom:1px solid var(--line)}
  .cs-mi .hd{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-bottom:6px;font-size:13px;color:var(--sub)}
  .cs-mi .hd > :last-child:not(:first-child){margin-left:auto}
  .cs-mi .hd .k{font-weight:700;color:var(--muted)}
  .cs-mi .hd time{font-variant-numeric:tabular-nums}
  .cs-mi .t{min-width:0}
  .cs-mi .t > .tx,.cs-mi .t > a b{display:block;font-size:15.5px;line-height:1.5;color:var(--ink);text-align:left}
  .cs-mi .t > .tx{font-weight:600}
  .cs-mi .t > a b{font-weight:700}
  .cs-mi .t .cs-co small{white-space:normal}
  .cs-mi .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
  .cs-mi .ft .sub{display:flex;align-items:center;gap:8px;min-width:0;font-size:13.5px;color:var(--muted)}
  .cs-mi .ft .sub > span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cs-mi .ft .sub b{font-weight:700;color:var(--ink)}
  .cs-mi .ft .sub .mk.sm{width:26px;height:26px;font-size:11px}
  .cs-mi .ft > .btn,.cs-mi .ft > .tiny{flex:none;white-space:nowrap}
  .cs-mi .cs-ref{margin-top:6px}
  .cs-mi .cs-reply span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cs-mi.cs-hid .hd,.cs-mi.cs-hid .t,.cs-mi.cs-hid .sub{opacity:.5}
  .cs-nums{display:flex;flex-wrap:wrap;gap:2px 14px;margin-top:8px;font-size:13.5px;color:var(--muted)}
  .cs-nums b{margin-left:2px;font-weight:800;color:var(--navy)}
  .cs-code b{font-size:22px}

  /* 공동 프로젝트 */
  .pj-models{margin-bottom:48px}
  .pj-sec + .pj-sec{margin-top:48px}
  .pj-st{grid-template-columns:minmax(0,1fr);row-gap:12px;padding:18px 0}
  .pj-sh{display:flex;align-items:baseline;gap:8px}
  .pj-sh h3{font-size:17px}
  .pj-sh .n{margin:0 0 0 auto}
  .pj-sh .n b{font-size:22px}
  .pj-st .cand{grid-template-columns:minmax(0,1fr) auto;row-gap:8px;column-gap:12px;padding:12px 0}
  .pj-st .cand .tx{grid-column:1 / -1}
  .pj-st .cand .t{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px}
  .pj-road{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
}

/* 12-03 점토 아이콘 — AI 검색 추천 · 운영 숫자 · 공동 프로젝트 유형 */
.ask-ex .ex-i{width:52px;height:52px}
.cs-stats .stat{position:relative}
.cs-stats .st-i{position:absolute;right:14px;top:14px;width:60px;height:60px}
.pj-m .ty .pm-i{width:52px;height:52px;margin:-6px 0 -6px -4px}
@media (max-width:719px){
  .ask-ex button{grid-template-columns:44px minmax(0,1fr) auto}
  .ask-ex .ex-i{width:44px;height:44px}
  .cs-stats .st-i{width:40px;height:40px;right:6px;top:10px}
}

/* 다음 모임 · 일정(events.js) — 홈 패널 · #/events 공용 */
.ev-list{display:grid}
.ev{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;column-gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}
.ev-list > .ev:last-child{border-bottom:0}
a.ev:hover .ev-t b{color:var(--navy);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(11,45,91,.28)}
.ev-d{display:grid;place-items:center;align-content:center;gap:2px;height:66px;border-radius:12px;background:var(--navy-bg);color:var(--navy)}
.ev-d b{font-size:19px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ev-d small{font-size:12.5px;font-weight:700;color:var(--muted)}
.ev-d.main{background:var(--navy);color:#fff}
.ev-d.main small{color:rgba(255,255,255,.78)}
.ev-t{display:grid;gap:3px;min-width:0}
.ev-k{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted)}
.ev-k em,.ev-pbl em{font-style:normal;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700}
.ev-k em.ok,.ev-pbl em.ok{background:#E3F2F1;color:#006F7D}
.ev-k em.plan,.ev-pbl em.plan{background:#F6EEDC;color:#6B4E16}
.ev-t b{font-size:18px;font-weight:750;letter-spacing:-.02em;color:var(--ink)}
.ev-l{font-size:15px;line-height:1.5;color:var(--sub)}
.ev-t small{font-size:14px;color:var(--muted)}
.ev-dd{font-size:15px;font-weight:800;color:var(--teal);font-variant-numeric:tabular-nums;white-space:nowrap}
.ev-dd.off{color:var(--faint);font-weight:700}
.ev-list.past .ev{opacity:.62}
.ev-list.compact .ev{grid-template-columns:56px minmax(0,1fr) auto;column-gap:12px;padding:12px 0}
.ev-list.compact .ev-d{height:52px;border-radius:10px}
.ev-list.compact .ev-d b{font-size:15px}
.ev-list.compact .ev-d small{font-size:11.5px}
.ev-list.compact .ev-t b{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev-list.compact .ev-t small{font-size:13px;line-height:1.45}
.ev-list.compact .ev-k{font-size:12px}
.ev-list.compact .ev-dd{font-size:13.5px}
.panel.nx .panel-h .more{margin-left:auto;min-height:0;font-size:14px}
.panel.nx .ev-list{margin-top:8px}
.panel.nx{margin-bottom:16px}
.evp-h{align-items:flex-end}
.evp-h h1{margin-top:14px;font-size:40px;font-weight:800;letter-spacing:-.04em;color:var(--navy)}
.evp-h .sub{margin-top:10px;font-size:17px;color:var(--sub)}
.evp-org{display:grid;justify-items:end;gap:8px}
.evp-org img{height:30px;width:auto}
.evp-org small{font-size:13.5px;font-weight:600;color:var(--muted)}
.evp section + section{margin-top:56px}
.evp-h2{display:flex;align-items:baseline;gap:10px;padding-bottom:12px;border-bottom:2px solid var(--navy);font-size:22px;letter-spacing:-.03em;color:var(--navy)}
.evp-h2 span{font-size:15px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.evp-note{margin-top:14px;font-size:14px;color:var(--muted)}
.ev-pbl a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;column-gap:14px;padding:16px 0;border-bottom:1px solid var(--line);color:var(--faint)}
.ev-pbl .tx{display:grid;gap:2px;min-width:0}
.ev-pbl b{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:700;color:var(--ink)}
.ev-pbl .tx > span{font-size:15px;color:var(--sub)}
.ev-pbl small{font-size:14px;color:var(--muted)}
.ev-pbl a:hover b{color:var(--navy)}
@media (max-width:760px){
  .ev{grid-template-columns:58px minmax(0,1fr);column-gap:14px;row-gap:6px;align-items:start}
  .ev-d{height:56px}
  .ev-d b{font-size:16px}
  .ev .ev-dd{grid-column:2;justify-self:start;font-size:14px}
  .ev-list.compact .ev{grid-template-columns:52px minmax(0,1fr) auto}
  .ev-list.compact .ev .ev-dd{grid-column:auto;justify-self:end}
  .ev-t b{font-size:16.5px}
  .ev-l{font-size:14.5px}
  .evp-h h1{font-size:30px}
  .evp-org{justify-items:start}
  .evp-org img{height:24px}
}

/* 공지 채널 로고(액스업 · 진흥원) */
.ic-tile.ch-logo{background:#fff;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.ic-tile.ch-logo img{width:72%;height:72%;object-fit:contain}
.ic-tile.ch-logo.full{box-shadow:none;background:none}
.ic-tile.ch-logo.full img{width:100%;height:100%}
