/* SUPPORT AI 디자인 — 02_design/261201_SUPPORT_AI_디자인가이드_v1.md */
:root {
  --navy: #0b1f4d; --navy2: #0f2b67; --blue: #1f56c3; --sky: #017dec;
  --gold: #c99a2e; --gold-l: #dda954; --gold-d: #b78131;
  --bg: #eef3fb; --card: #fff; --soft: #f1f5fc; --line: #dde5f2;
  --ink: #0f2b67; --text: #1e2a44; --mute: #4a5878; --err: #b91c1c; --ok: #047857;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
#app { max-width: 680px; margin: 0 auto; padding: 0 0 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.wrap { padding: 4px 14px; }

/* 상단 띠 (그림 머리띠) */
.top { display: flex; align-items: center; gap: 10px; background: linear-gradient(90deg, var(--navy), #132f6e); color: #fff; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); }
.top img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 9px; } /* 원본 로고 그대로 */
.top .nm { display: flex; flex-direction: column; line-height: 1.15; }
.top .nm b { font-size: 17px; letter-spacing: .3px; }
.top .nm small { font-size: 12.5px; opacity: .75; font-style: italic; letter-spacing: .5px; }
.top .co { flex: 1; text-align: right; font-size: 13.5px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .ghost { color: #fff; border-color: rgba(255,255,255,.35); }

/* 카드·제목 알약 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 12px 0; box-shadow: 0 1px 2px rgba(15,43,103,.04); }
.pill { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; padding: 5px 14px; border-radius: 999px; margin: 0 0 12px; }
h1, h2 { margin: 0 0 6px; color: var(--ink); }
.sub { color: var(--mute); margin: 0 0 14px; font-size: 15px; }
.hint { color: var(--mute); font-size: 14.5px; margin: 6px 0 0; }
.label { font-size: 14.5px; color: var(--mute); }
.mt { margin-top: 14px; }

/* 로그인 */
.hero { text-align: center; padding: 28px 16px 6px; }
.hero img.logo { width: 150px; height: 150px; background: #fff; border-radius: 24px; box-shadow: 0 2px 10px rgba(11,31,77,.10); } /* 공식 로고 원본 그대로 — 흰 칸 안에 넣기(B안, 12/1) */
.hero p { color: var(--mute); margin: 6px 0 0; font-size: 15px; }
.hero .by { font-size: 13.5px; color: var(--navy2); font-style: italic; letter-spacing: .5px; opacity: .7; }
.narrow { max-width: 420px; margin: 14px auto; }

/* 입력·버튼 */
label { display: block; font-size: 15px; color: var(--navy2); margin: 10px 0; font-weight: 600; }
input { display: block; width: 100%; margin-top: 5px; padding: 12px; font-size: 16px; border: 1px solid #c7d3ea; border-radius: 10px; background: #fff; color: var(--text); font-weight: 400; }
input:focus { outline: 2px solid #9cc3fb; border-color: var(--blue); }
button { font: inherit; cursor: pointer; border-radius: 10px; }
button:disabled { opacity: .6; cursor: default; }
.primary { display: block; width: 100%; margin-top: 14px; padding: 13px; background: var(--blue); color: #fff; border: 0; font-weight: 700; }
.primary:active { background: var(--navy2); }
.ghost { background: none; border: 1px solid var(--line); padding: 6px 10px; font-size: 14.5px; color: var(--mute); }
.links { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 15px; }
.links a { color: var(--blue); text-decoration: none; font-weight: 600; }
.msg { min-height: 1.2em; font-size: 15px; margin: 10px 0 0; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

/* 내 SUPPORT AI 카드 */
.emp { border-top: 5px solid var(--gold); }
.emp .tagline { display: inline-block; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); color: #fff; font-size: 13.5px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.row { display: flex; gap: 12px; }
.between { justify-content: space-between; align-items: flex-end; }
.right { text-align: right; }
.plan { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.days { font-size: 26px; font-weight: 800; color: var(--blue); }
.tag { background: #e6eefc; color: var(--blue); padding: 4px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 700; }
.bar { height: 10px; background: #e2e9f6; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); }

/* 하는 일 (체크 목록) */
.feat { list-style: none; padding: 0; margin: 0; }
.feat li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; margin: 6px 0; background: var(--soft); border-radius: 10px; font-size: 16px; }
.feat li span::before { content: '✓'; color: var(--blue); font-weight: 800; margin-right: 8px; }
.feat em { font-style: normal; font-size: 13.5px; color: var(--mute); background: #e4e9f2; padding: 2px 9px; border-radius: 99px; white-space: nowrap; align-self: center; }
.feat em.on { color: var(--ok); background: #ddf5ea; }

/* AI 직원 라인업 칩 (그림의 라인업 카드) */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: center; background: #fff; }
.chip b { display: block; background: var(--navy2); color: #fff; font-size: 12.5px; padding: 5px 2px; letter-spacing: .2px; white-space: nowrap; }
.chip.SUPPORT b { background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); }
.chip.DESIGN b { background: var(--blue); }
.chip.NEW b { background: #7d8aa6; }
.chip span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); padding: 6px 2px 2px; }
.chip em { display: inline-block; font-style: normal; font-size: 12px; color: var(--mute); background: var(--soft); border-radius: 99px; padding: 1px 7px; margin: 2px 0 7px; }
.chip.SUPPORT em { background: #fbf1da; color: var(--gold-d); font-weight: 700; }
@media (max-width: 420px) { .lineup { grid-template-columns: repeat(2, 1fr); } }

.loading { text-align: center; color: var(--mute); margin-top: 30vh; }
#v { display: flex; flex-wrap: wrap; gap: 8px; }
#v input { flex: 1 1 220px; margin: 0; letter-spacing: 1px; }
#v .primary { flex: 0 0 auto; width: auto; margin: 0; padding: 12px 18px; }
#v .msg { flex-basis: 100%; }

/* 일 맡기기 · 진행 · 승인함 · 내 PC */
select, textarea { display: block; width: 100%; margin-top: 5px; padding: 12px; font-size: 16px; border: 1px solid #c7d3ea; border-radius: 10px; background: #fff; color: var(--text); font-weight: 400; font-family: inherit; }
label.chk { display: flex; align-items: center; gap: 8px; } label.chk input { width: auto; margin: 0; }
.pill.gold { background: var(--gold); }
.inbox { border: 2px solid var(--gold-l); }
.appr + .appr { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.kv { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.kv th { text-align: left; color: var(--mute); font-weight: 600; width: 40%; padding: 6px 8px; background: var(--soft); border-bottom: 1px solid #fff; }
.kv td { padding: 6px 8px; border-bottom: 1px solid var(--line); word-break: break-all; }
.row.gap { gap: 8px; } .row.gap .primary { margin-top: 0; flex: 2; } .row.gap .ghost2 { flex: 1; }
.ghost2 { background: #fff; color: var(--blue); border: 1px solid #c7d3ea; border-radius: 10px; padding: 12px; font-weight: 700; cursor: pointer; }
.ghost2.sm { padding: 4px 10px; font-size: 14.5px; }
.primary.ok { background: var(--blue); }
.job { background: var(--soft); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.job .st { font-size: 13.5px; padding: 2px 10px; border-radius: 999px; background: #dfe7f6; color: var(--navy2); white-space: nowrap; }
.job .st.done { background: #d9f2e6; color: var(--ok); } .job .st.failed, .job .st.rejected { background: #fde2e2; color: var(--err); }
.job .st.waiting_approval { background: #f7ecd2; color: var(--gold-d); }
.jmsg { margin: 4px 0 6px; font-size: 15px; color: var(--navy2); }
.steps { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.steps li { display: flex; gap: 8px; padding: 2px 0; color: var(--mute); }
.steps li i { font-style: normal; width: 16px; text-align: center; }
.steps li.done { color: var(--text); } .steps li.done i { color: var(--ok); }
.steps li.in_progress { color: var(--blue); font-weight: 700; } .steps li.waiting { color: var(--gold-d); font-weight: 700; } .steps li.failed { color: var(--err); }
.receipt { margin: 8px 0 0; font-size: 15px; } .receipt b { color: var(--blue); font-size: 16px; }
.devs { list-style: none; padding: 0; margin: 0 0 6px; } .devs li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.devs li span { flex: 1; } .devs li em { font-style: normal; font-size: 13.5px; color: var(--mute); }
.code { font-size: 32px; font-weight: 800; letter-spacing: 6px; color: var(--navy); text-align: center; margin: 12px 0 0; font-family: ui-monospace, Consolas, monospace; }

.sep { border: 0; border-top: 1px solid var(--line); margin: 16px 0 10px; }
label small.hint { display: block; font-weight: 400; }

/* AI브릿지 통합 브랜드 · 첫 화면 · 직원 선택 (V3.0) */
.hero h1.brand { font-size: 30px; color: var(--navy); margin: 8px 0 0; letter-spacing: -.5px; }
.hero .slogan { color: var(--gold-d); font-weight: 700; }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.need { text-align: left; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--text); }
.need span { display: block; font-weight: 700; font-size: 15px; color: var(--navy2); }
.need em { display: block; font-style: normal; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.need:active { background: #dfe7f6; }
.staff { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .staff { grid-template-columns: 1fr 1fr; } .needs { grid-template-columns: repeat(4, 1fr); } }
.sc { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.sc.hl { box-shadow: 0 0 0 3px var(--gold-l); }
.sc-h { background: var(--navy); color: #fff; padding: 8px 12px; display: flex; gap: 8px; align-items: baseline; }
.sc.SUPPORT .sc-h { background: linear-gradient(90deg, var(--gold-d), var(--gold)); }
.sc.DESIGN .sc-h { background: var(--blue); } .sc.NEW .sc-h { background: #7b88a3; }
.sc-h span { font-size: 14.5px; opacity: .9; }
.sc-w { margin: 10px 12px 2px; font-size: 15px; color: var(--navy2); }
.sc-x { margin: 0 12px; font-size: 13.5px; color: var(--mute); }
.sc-f { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; }
.sc-f .st { font-size: 13.5px; background: #eef1f7; color: var(--mute); border-radius: 999px; padding: 2px 10px; }
.sc-f .st.ok { background: #d9f2e6; color: var(--ok); }

/* 예비창업자 (12/1) */
.seg { display: flex; gap: 6px; margin: 10px 0 4px; }
.seg button { flex: 1; padding: 9px; border: 1px solid #c9d6ee; border-radius: 10px; background: #fff; color: var(--navy2); font-weight: 700; cursor: pointer; }
.seg button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
label.chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.chk input { width: auto; margin-top: 3px; }
ul.check { list-style: none; padding: 0; margin: 8px 0; }
ul.check li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e6ecf7; }
ul.check li b { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14.5px; color: #fff; background: #94a3b8; flex: none; }
ul.check li.ok b { background: #047857; } ul.check li.no b { background: #B91C1C; } ul.check li.check b { background: var(--gold-d); }
ul.check li small { display: block; color: var(--mute); font-size: 13.5px; margin-top: 2px; }
details summary { cursor: pointer; color: var(--blue); font-weight: 700; }

/* 아래 탭 (12/1: 길게 늘어뜨리지 않기) */
.wrap.has-nav { padding-bottom: 84px; }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: #fff; border-top: 1px solid #dfe6f3; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 20; }
.bnav button { flex: 1; position: relative; border: 0; background: none; color: var(--mute); font-size: 13.5px; font-weight: 700; padding: 4px 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: inherit; }
.bnav button i { font-style: normal; font-size: 20px; line-height: 1; }
.bnav button.on { color: var(--blue); }
.bnav .dot { position: absolute; top: 2px; left: 58%; width: 9px; height: 9px; border-radius: 50%; background: #B91C1C; }
@media (min-width: 760px) { .bnav { max-width: 720px; margin: 0 auto; border: 1px solid #dfe6f3; border-bottom: 0; border-radius: 14px 14px 0 0; } }
.sc-w { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cnt { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; font-size: 14.5px; font-weight: 700; }
.cnt span { padding: 4px 10px; border-radius: 999px; background: #eef3fb; }
.cnt .ok { color: #047857; } .cnt .check { color: var(--gold-d); } .cnt .no { color: #B91C1C; }
/* 예비창업 단계 화면 */
.wiz .wz-top { display: flex; justify-content: space-between; align-items: center; color: var(--mute); font-size: 14.5px; margin-bottom: 8px; }
.wiz h2.q { font-size: 20px; color: var(--navy); margin: 16px 0 10px; word-break: keep-all; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.chip { padding: 10px 14px; border: 1px solid #c9d6ee; border-radius: 999px; background: #fff; color: var(--navy2); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.chip.on, .opt.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.opts { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.opt { text-align: left; padding: 14px; border: 1px solid #c9d6ee; border-radius: 12px; background: #fff; color: var(--navy2); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; word-break: keep-all; }
.opt.tg::before { content: '○ '; } .opt.tg.on::before { content: '✓ '; }

.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.mc { border: 1px solid #dfe6f3; border-top: 4px solid var(--navy); border-radius: 12px; padding: 10px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.mc.DESIGN { border-top-color: var(--blue); } .mc.NEW { border-top-color: #94a3b8; }
.mc b { color: var(--navy); font-size: 15px; } .mc span { color: var(--mute); font-size: 13.5px; }
.mc em { font-style: normal; font-size: 12.5px; color: var(--mute); margin: 2px 0 6px; }
.mc button { margin-top: auto; padding: 7px; font-size: 14.5px; }
.mc.hl { outline: 2px solid var(--gold); }

[hidden] { display: none !important; } /* textarea 등 display 규칙보다 우선 */

/* 휴대폰에서 PC 보기 (12/2) */
.pcline { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #dfe6f3; font-size: 15px; }
.pcline.on b { color: #047857; } .pcline.off b { color: #B91C1C; }
.live { margin-top: 10px; border: 1px solid #c9d6ee; border-radius: 12px; overflow: hidden; background: #0b1f4d; }
.live-h { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; color: #fff; font-size: 13.5px; }
.live-h b { color: #5eead4; } .live-h span { opacity: .8; text-align: right; }
.live-b { background: #fff; max-height: 360px; overflow: auto; }
.live-b img { display: block; width: 100%; }
.live-b .scr { padding: 10px 12px; font-size: 14.5px; }
.live-b .scr ul { margin: 6px 0 0; padding-left: 18px; color: var(--navy2); }
button.stop { width: 100%; margin-top: 8px; color: #B91C1C; border-color: #f3c4c4; }

/* 가입 첫 단계: 예비창업자 / 사업자 (12/2) */
.hero.small { padding-top: 18px; } .hero.small img.logo { width: 96px; height: 96px; border-radius: 18px; }
.opt.big { padding: 18px 16px; } .opt.big b { display: block; font-size: 17px; } .opt.big small { display: block; font-weight: 400; color: var(--mute); margin-top: 4px; }

/* 기업용 지시창 (12/2) */
.cmdf { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.cmdf textarea { flex: 1; margin: 0; } .cmdf button { margin: 0; flex: none; width: 72px; }
.cmd { border: 1px solid #dfe6f3; border-radius: 12px; padding: 10px 12px; margin-top: 10px; background: #fff; }
.cmd .ct { cursor: pointer; word-break: keep-all; } .cmd.open { border-color: #9db8ea; background: #f7faff; }
.cmd .st.asking { background: #fff4d6; color: #92400e; } .cmd .st.done { background: #e7f6ef; color: #047857; } .cmd .st.failed, .cmd .st.stopped { background: #fde8e8; color: #b91c1c; }
.clog { max-height: 300px; overflow: auto; margin-top: 8px; padding: 8px; background: #fff; border: 1px solid #e6ecf7; border-radius: 10px; }
.lg { display: flex; gap: 8px; margin: 4px 0; font-size: 14.5px; } .lg i { font-style: normal; flex: none; width: 18px; text-align: center; }
.lg.step { color: var(--mute); font-size: 13.5px; } .lg.question { font-weight: 700; color: #92400e; } .lg.result { font-weight: 700; color: #047857; } .lg.user span { background: #eaf1ff; padding: 2px 8px; border-radius: 8px; }
.ask { margin-top: 8px; padding: 10px; border-radius: 10px; background: #fff8e6; border: 1px solid #f5d48a; }
.rf { display: flex; gap: 8px; margin-top: 8px; } .rf input { flex: 1; margin: 0; } .rf button { flex: none; }
.cres { margin-top: 8px; padding: 10px; background: #f0faf5; border-radius: 10px; white-space: pre-wrap; } .cres p { margin: 4px 0 0; font-size: 15px; }
ul.scr { font-size: 13.5px; color: var(--navy2); padding-left: 18px; }

/* 관리자 화면 (12/2) */
.adm { border: 1px solid #dfe6f3; border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: #fff; }
.adm.req { border-left: 4px solid var(--gold); } .adm.biz { border-left: 4px solid var(--blue); }
.top .ghost + .ghost { margin-left: 6px; }

/* 회사 정보 (12/2) */
details.pg { border: 1px solid #e6ecf7; border-radius: 12px; padding: 8px 12px; margin-top: 8px; background: #fff; }
details.pg summary small { color: var(--mute); font-weight: 400; margin-left: 6px; }
.fact { border-top: 1px solid #eef2f9; padding: 8px 0; } .fact:first-of-type { border-top: 0; }
.fact .fv { margin: 4px 0 0; cursor: pointer; word-break: keep-all; } .fact .fv.empty { color: #9aa8c3; }
.fact em.b { font-style: normal; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: #eef2f9; color: var(--mute); white-space: nowrap; }
.fact em.b.ok { background: #e7f6ef; color: #047857; } .fact em.b.ai { background: #fff4d6; color: #92400e; }
.ff { margin-top: 6px; } .ff .row.gap select, .ff .row.gap input { flex: 1; margin-top: 6px; }

/* 다가오는 일정 (12/2) */
ul.dls { list-style: none; padding: 0; margin: 8px 0; }
ul.dls li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eef2f9; }
ul.dls li span { flex: 1; } ul.dls li small { display: block; color: var(--mute); font-size: 13.5px; }
ul.dls .dd { flex: none; min-width: 44px; text-align: center; padding: 4px 6px; border-radius: 8px; background: #eef3fb; color: var(--blue); font-size: 14.5px; }
ul.dls li.soon .dd { background: #fff4d6; color: #92400e; } ul.dls li.late .dd { background: #fde8e8; color: #b91c1c; }
#dlf input { margin: 6px 0 0; } #dlf button { margin-top: 6px; flex: none; }

/* 업무량 막대·신청 (12/2 요금제 통일) */
.aiu { margin: 6px 0 4px; } .aiu .bar.warn i { background: var(--gold-d); }
#rqf textarea, #rqf input { margin-top: 8px; }
.adm.req .row.gap input { flex: 1; margin: 0; } .adm.req .row.gap button { flex: none; margin: 0; }

/* 상품 관리 (12/2) */
.adm.prod { border-left: 4px solid var(--navy); } #pf label, #pif label { flex: 1; } #pf .row.gap, #pif .row.gap { align-items: flex-end; }
.codes .code { font-family: monospace; font-size: 16px; letter-spacing: 1px; margin: 4px 0; }

/* 대표자가 쉽게 (12/2): 지시창을 맨 위에 */
.chips.ex { margin: 8px 0 0; } .chips.ex .chip { font-size: 14.5px; padding: 7px 11px; font-weight: 400; }
details.card.more summary { cursor: pointer; font-weight: 700; color: var(--navy2); } details.card.more .needs { margin-top: 10px; }

/* ── 화면 다듬기 (12/2): 휴대폰은 가볍게, PC(웹)는 왼쪽 메뉴 + 두 단 ── */
/* 제목 알약을 가볍게 */
.pill { background: #e8effc; color: var(--blue); font-size: 14.5px; padding: 4px 12px; margin: 0 0 10px; letter-spacing: .1px; }
.pill.gold { background: #fbf1da; color: var(--gold-d); }
.card { padding: 16px; margin: 10px 0; }
.top { position: sticky; top: 0; z-index: 30; }
.pcline { margin: 10px 0 0; }
/* 지시창: 입력칸을 넓게, 버튼은 아래 */
.cmdf { flex-direction: column; }
.cmdf textarea { min-height: 84px; resize: vertical; }
.cmdf button { width: 100%; padding: 12px; }
.chips.ex { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.ex::-webkit-scrollbar { display: none; }
.chips.ex .chip { white-space: nowrap; flex: none; }
.cols, .masonry { display: block; }

@media (min-width: 960px) {
  #app.wide { max-width: 1240px; padding: 0 20px 40px; }
  /* 머리띠는 화면 끝까지 */
  #app.wide .top { margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50% + 20px); padding-right: calc(50vw - 50% + 20px); }
  .top .co { font-size: 14.5px; }
  .shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
  .wrap.has-nav { padding: 6px 0 0; }
  /* 아래 탭 → 왼쪽 메뉴 */
  .bnav { position: sticky; top: 84px; flex-direction: column; gap: 4px; max-width: none; margin: 16px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
  .bnav button { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: 16px; }
  .bnav button i { width: 22px; text-align: center; font-size: 18px; }
  .bnav button:hover { background: var(--soft); }
  .bnav button.on { background: #e8effc; }
  .bnav .dot { top: 12px; left: auto; right: 12px; }
  /* 두 단: 왼쪽 일(넓게) · 오른쪽 일정·안내 */
  .cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .c-side .needs { grid-template-columns: 1fr 1fr; }

  /* 지시창: PC에서는 버튼을 옆에 */
  .cmdf { flex-direction: row; }
  .cmdf button { width: 96px; }
  .chips.ex { flex-wrap: wrap; overflow: visible; }
  /* 내 정보: 카드 두 줄 쌓기 */
  .masonry { column-count: 2; column-gap: 20px; }
  .masonry > .card { break-inside: avoid; margin: 10px 0 20px; display: inline-block; width: 100%; }
  .staff { grid-template-columns: repeat(3, 1fr); }
  .mini { grid-template-columns: repeat(3, 1fr); }
  .live-b { max-height: 520px; }
  .clog { max-height: 460px; }
}
.cmd .st, .job .st { white-space: nowrap; flex: none; }

/* ── 웹(PC)·앱(휴대폰) 다듬기 2차 (12/2) ── */
html, body { overflow-x: clip; } /* PC 머리띠 끝까지 늘릴 때 가로 스크롤 생기지 않게 */
.card.narrow { margin: 14px auto; } /* 입력 칸은 가운데 */
.intro { display: none; }
.top { min-height: 60px; }
/* 휴대폰: 위쪽은 가볍게 — 로그아웃은 [내 정보 → 내 계정]으로 */
@media (max-width: 959px) {
  .top .out { display: none; }
  .wrap.has-nav { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .bnav button.on i { transform: translateY(-1px); }
  .bnav button.on::before { content: ''; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); }
}
/* 관리 화면 */
.admh { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 4px; }
.admh h2 { font-size: 20px; margin: 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.kpi span { display: block; font-size: 13.5px; color: var(--mute); }
.kpi b { font-size: 20px; color: var(--ink); }

@media (min-width: 960px) {
  /* 로그인·가입: 왼쪽 소개 · 오른쪽 입력 */
  #app.authp { max-width: 1040px; padding-top: 6vh; }
  .auth { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: center; min-height: 80vh; }
  .auth .hero { text-align: left; padding: 40px; background: linear-gradient(150deg, var(--navy), #183a86); border-radius: 24px; color: #fff; }
  .auth .hero h1.brand { color: #fff; font-size: 38px; }
  .auth .hero p { color: rgba(255,255,255,.8); font-size: 16px; }
  .auth .hero p b { color: #fff; }
  .auth .hero .slogan { color: var(--gold-l); }
  .auth .hero .by { color: rgba(255,255,255,.6); }
  .auth .hero img.logo, .auth .hero.small img.logo { width: 96px; height: 96px; border-radius: 20px; }
  .auth .wrap { padding: 0; }
  .auth .card.narrow { max-width: none; margin: 0; padding: 26px; }
  .intro { display: grid; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; }
  .intro li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 16px; }
  .intro b { display: block; color: #fff; font-size: 16px; } .intro span { color: rgba(255,255,255,.75); font-size: 15px; }
  /* 진행 탭: 맡기기 칸을 두 줄로 */
  #af-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  #af-fields label.chk { grid-column: 1 / -1; }
  /* 관리 */
  .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .kpi { padding: 16px 18px; } .kpi b { font-size: 24px; }
  #pf .row.gap { gap: 16px; }
  /* 마우스 올리면 살짝 */
  .chip:hover, .ghost2:hover, .need:hover { background: var(--soft); }
  .primary:hover { background: #1a4aa8; }
}
.only-pc { display: none; }
@media (min-width: 960px) { .only-m { display: none; } .only-pc { display: inline; } }

/* 음성 지시 (12/2) */
.cmdf .ta { position: relative; flex: 1; display: flex; }
.cmdf .ta textarea { flex: 1; padding-right: 56px; }
.mic { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c7d3ea; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mic.on { background: #fde8e8; border-color: #f3a3a3; color: #b91c1c; animation: micp 1.2s ease-in-out infinite; }
.mic.sm { position: static; width: 40px; height: auto; border-radius: 10px; font-size: 17px; flex: none; }
@keyframes micp { 0%, 100% { box-shadow: 0 0 0 0 rgba(185,28,28,.35); } 50% { box-shadow: 0 0 0 8px rgba(185,28,28,0); } }
.cmdf .ta .mic { width: 44px; height: 44px; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
/* AI 결과 글 꾸밈 (12/2) */
.cres { white-space: normal; } .md p, .lg .mt0 { margin: 4px 0; } .md .mh, .lg .mh { font-weight: 800; color: var(--navy2); margin: 10px 0 2px; }
.md ul, .md ol, .lg ul, .lg ol { margin: 4px 0; padding-left: 20px; } .md li, .lg li { margin: 2px 0; }
.md code, .lg code { background: #eef2f9; padding: 0 4px; border-radius: 4px; font-size: .92em; }
.lg span { display: block; min-width: 0; }

/* 결과 한눈에 (12/2): 공고 카드 · 결과 파일 · 참고한 곳 */
.ncards { margin-top: 10px; display: grid; gap: 8px; }
.ncards > .label, .cfiles > .label, .links2 > .label { display: block; font-weight: 700; color: var(--navy2); margin: 4px 0 2px; }
.nc { border: 1px solid var(--line); border-left: 5px solid #94a3b8; border-radius: 12px; padding: 10px 12px; background: #fff; }
.nc.ok { border-left-color: #047857; } .nc.check { border-left-color: var(--gold); } .nc.no { border-left-color: #b91c1c; opacity: .75; } .nc.past { opacity: .55; }
.nc-h { display: flex; justify-content: space-between; align-items: center; }
.nc .dd { font-size: 14.5px; padding: 2px 10px; border-radius: 8px; background: #eef3fb; color: var(--blue); }
.nc .fit { font-size: 13.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #eef2f9; color: var(--mute); }
.nc .fit.ok { background: #e7f6ef; color: #047857; } .nc .fit.check { background: #fff4d6; color: #92400e; } .nc .fit.no { background: #fde8e8; color: #b91c1c; }
.nc-t { margin: 6px 0 0; font-weight: 800; color: var(--ink); word-break: keep-all; }
.nc-r { margin: 6px 0 0; font-size: 14.5px; color: var(--navy2); background: var(--soft); border-radius: 8px; padding: 6px 8px; }
.nc-b { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nc-b a.ghost2 { text-decoration: none; display: inline-block; }
.nc-b .primary.sm { width: auto; margin: 0; padding: 5px 12px; font-size: 14.5px; }
.cfiles { margin-top: 10px; } .fl { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; background: #fff; }
.fl span { flex: 1; min-width: 0; } .fl small { display: block; color: var(--mute); font-size: 12.5px; }
.links2 { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .links2 > .label { flex-basis: 100%; }
.lk { font-size: 14.5px; padding: 4px 10px; border-radius: 999px; background: #eef3fb; color: var(--blue); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md a, .lg a { color: var(--blue); word-break: break-all; }
.doc-ov { position: fixed; inset: 0; background: rgba(11,31,77,.45); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 12px; }
.doc { background: #fff; border-radius: 16px; width: min(860px, 100%); max-height: 92vh; display: flex; flex-direction: column; padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.doc-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .doc-h span { display: flex; gap: 6px; flex: none; }
.doc-b { overflow: auto; margin-top: 10px; padding: 4px 2px; border-top: 1px solid var(--line); } .doc-b pre { white-space: pre-wrap; font-size: 14.5px; }
@media (min-width: 960px) { .ncards { grid-template-columns: 1fr 1fr; } .ncards > .label { grid-column: 1 / -1; } }
/* AI가 보는 화면 (12/2) */
.cview { margin-top: 10px; border: 1px solid #c9d6ee; border-radius: 12px; overflow: hidden; background: var(--navy); }
.cv-h { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; color: #fff; font-size: 13.5px; } .cv-h b { color: #5eead4; } .cv-h span { opacity: .85; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-img { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: #fff; cursor: zoom-in; } .cv-img img { display: block; width: 100%; }
.cv-u { margin: 0; padding: 6px 12px; background: #fff; font-size: 13.5px; } .cv-u a { color: var(--blue); }
.frs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.fr { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; text-align: left; } .fr.keep { border: 2px solid var(--gold); }
.fr img { display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; object-position: top; } .fr span { display: block; font-size: 12px; padding: 3px 5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc.big { width: min(1280px, 100%); }
@media (min-width: 960px) { .frs { grid-template-columns: repeat(4, 1fr); } .cview { max-width: 100%; } }
.nsel { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--navy2); margin: 0 auto 0 0; cursor: pointer; } .nsel input { width: 18px; height: 18px; margin: 0; }
.nc-h { gap: 8px; } .nbatch { grid-column: 1 / -1; } .nbatch .primary { margin-top: 4px; }

/* 프로젝트 · 원클릭 · 기능 · 확인 목록 (12/2 밤) */
.projs { display: none; }
.projbar { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0 2px; padding-bottom: 4px; scrollbar-width: none; } .projbar::-webkit-scrollbar { display: none; }
.pj { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--navy2); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.pj.on { background: var(--blue); color: #fff; border-color: var(--blue); } .pj em { font-style: normal; font-size: 12.5px; opacity: .8; }
.pj em b { font-size: 12px; padding: 1px 6px; border-radius: 999px; } .pj em b.ask { background: #fff4d6; color: #92400e; } .pj em b.run { background: #e7f6ef; color: #047857; }
.pj.new { color: var(--blue); border-style: dashed; }
.ptag { display: inline-block; font-size: 12.5px; font-weight: 700; background: #eef3fb; color: var(--blue); padding: 1px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.qk { margin-top: 10px; } .qk-h { display: flex; justify-content: space-between; align-items: center; }
.lnk { background: none; border: 0; color: var(--blue); font-weight: 700; font-size: 14.5px; cursor: pointer; padding: 2px 0; font-family: inherit; }
.chip.qb { background: #fffaf0; border-color: #f0d9a8; color: #7a5310; font-weight: 700; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; } .fchip { font-size: 13.5px; padding: 4px 10px; border-radius: 999px; background: #e7f6ef; color: #047857; font-weight: 700; }
.feats { display: grid; gap: 8px; } .feat2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.feat2 b { display: block; color: var(--ink); } .feat2 small { color: var(--mute); font-size: 13.5px; } .feat2.on { border-color: #9fd8bf; background: #f4fbf7; } .feat2.soon { opacity: .75; }
.feat2 .primary.sm, .feat2 .ghost2.sm { width: auto; margin: 0; flex: none; padding: 6px 14px; }
.chk2 { margin-top: 10px; padding: 10px 12px; border: 1px solid #cfe9dc; background: #f4fbf7; border-radius: 12px; } .chk2 p { margin: 4px 0; font-size: 14.5px; } .chk2 p.bad { color: #92400e; } .chk2 small { display: block; color: var(--mute); margin-left: 22px; }
@media (min-width: 960px) {
  .projs { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .pj-h { font-size: 13.5px; color: var(--mute); margin: 0 4px 6px; font-weight: 700; }
  .projs .pj { display: flex; width: 100%; justify-content: space-between; border-radius: 10px; border: 0; background: none; padding: 8px 10px; margin: 1px 0; text-align: left; }
  .projs .pj span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .projs .pj.on { background: #e8effc; color: var(--blue); } .projs .pj:hover { background: var(--soft); }
  .projbar { display: none; }
  .feats { grid-template-columns: 1fr 1fr; }
}

/* 비서: 대화창 + 받은 업무 (12/2 설계서 v4) */
.chatc { display: flex; flex-direction: column; }
.chat { max-height: 52vh; min-height: 220px; overflow: auto; padding: 6px 2px; display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.bub.ai { align-self: flex-start; background: var(--soft); border: 1px solid var(--line); border-top-left-radius: 4px; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-top-right-radius: 4px; } .bub.me .md { white-space: pre-wrap; }
.bub .acts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .bub .acts span { font-size: 12.5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--navy2); }
#chatq { margin-top: 6px; }
.memo { display: flex; gap: 6px; margin: 4px 0 8px; } .memo input { flex: 1; margin: 0; } .memo button { flex: none; margin: 0; }
.ibf .lnk { font-size: 13.5px; color: var(--mute); } .ibf .lnk.on { color: var(--blue); }
.ic { border: 1px solid var(--line); border-left: 5px solid #94a3b8; border-radius: 12px; padding: 9px 12px; margin-top: 8px; background: #fff; }
.ic.now { border-left-color: #b91c1c; } .ic.today { border-left-color: var(--gold); } .ic.later { border-left-color: var(--blue); } .ic.open { box-shadow: 0 2px 10px rgba(15,43,103,.08); }
.ic-h { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--mute); }
.ic .u { font-size: 12.5px; padding: 1px 8px; border-radius: 999px; background: #eef2f9; } .ic .u.now { background: #fde8e8; color: #b91c1c; } .ic .u.today { background: #fff4d6; color: #92400e; }
.ic-t { margin: 4px 0 0; cursor: pointer; word-break: keep-all; } .ic-b { margin-top: 6px; }
.ic .raw { white-space: pre-wrap; font-size: 14.5px; background: var(--soft); padding: 8px; border-radius: 8px; max-height: 220px; overflow: auto; }
.draft { margin-top: 8px; } .draft textarea { margin: 4px 0 6px; font-size: 15px; } .draft .row.gap { flex-wrap: wrap; } .draft a.ghost2 { text-decoration: none; display: inline-block; }
.draft .primary.sm { width: auto; margin: 0; padding: 5px 12px; font-size: 14.5px; }
@media (min-width: 960px) { .chat { max-height: 60vh; } #inb { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; } }
/* 개인정보·보안 표시 (12/2) */
.ic .ext { font-style: normal; font-size: 12.5px; background: #eef2f9; color: var(--mute); padding: 0 6px; border-radius: 6px; }
.ic .warn { margin: 6px 0 0; font-size: 13.5px; color: #92400e; background: #fff4d6; border-radius: 8px; padding: 4px 8px; }
.bub .prop { flex-basis: 100%; display: flex; gap: 8px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #c9d6ee; border-radius: 10px; padding: 6px 8px; font-size: 13.5px; }
.bub .prop .primary.sm { width: auto; margin: 0; padding: 4px 12px; flex: none; } .bub .prop b.ok { color: #047857; font-size: 13.5px; flex: none; }
.wrap2 { flex-wrap: wrap; } #priv label { flex: 1; }

/* ═══════════ 디자인 2.0 — 업무용 비서 (12/2) ═══════════
   차분한 남색 + 따뜻한 흰 바탕, 금색은 포인트만, 프리텐다드, 얇은 선·부드러운 그림자 */
:root {
  --ink: #0e1a33; --text: #1f2a3d; --mute: #4f5869; --line: #e6e8ee; --soft: #f5f6f9; --bg: #f3f4f7; --card: #fff;
  --navy: #0d1b3e; --navy2: #172a57; --blue: #2148b5; --gold: #b8913a; --gold-l: #d8b35c; --gold-d: #9a7428;
  --r: 14px; --sh: 0 1px 2px rgba(14,26,51,.04), 0 6px 20px rgba(14,26,51,.05);
}
body { font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; background: var(--bg); color: var(--text); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
input, select, textarea, button { font-family: inherit; letter-spacing: inherit; }
/* 카드·제목 */
.card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px; }
.pill { background: none; color: var(--ink); font-size: 16px; font-weight: 700; padding: 0; margin: 0 0 12px; border-radius: 0; letter-spacing: -0.02em; }
.pill.gold { background: none; color: var(--gold-d); }
.sect { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.hint { color: var(--mute); } .sub { color: var(--mute); }
/* 버튼·입력 */
.primary { background: var(--navy); border-radius: 10px; font-weight: 600; letter-spacing: -0.01em; transition: background .15s; }
.primary:hover { background: #1b2f63; } .primary:active { background: #0a1530; }
.ghost2 { border: 1px solid var(--line); color: var(--ink); font-weight: 600; border-radius: 10px; background: #fff; }
.ghost2:hover { background: var(--soft); border-color: #d6dae3; }
input, select, textarea { border: 1px solid #dcdfe6; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy2); box-shadow: 0 0 0 3px rgba(23,42,87,.10); }
.chip { border: 1px solid var(--line); color: var(--ink); background: #fff; font-weight: 500; }
.chip.qb { background: #fff; border-color: #e7dcc3; color: var(--gold-d); font-weight: 600; }
.lnk { color: var(--navy2); }
/* 머리띠: 흰색·얇은 선 */
.top { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
.top .nm b { color: var(--ink); } .top .nm small { color: var(--mute); opacity: 1; font-style: normal; letter-spacing: .08em; font-size: 12px; }
.top .co { color: var(--mute); opacity: 1; }
.top .ghost { color: var(--ink); border-color: var(--line); background: #fff; border-radius: 8px; }
.top img { box-shadow: 0 0 0 1px var(--line); }
/* 아래 탭 (휴대폰) */
.bnav { border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.bnav button { color: #5f6878; font-weight: 600; font-size: 12.5px; }
.bnav button i { display: flex; } .bnav button.on { color: var(--navy); }
.bnav button.on::before { background: var(--gold); }
/* 비서 브리핑 머리 */
.brief { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: linear-gradient(135deg, #0d1b3e, #1a2f62); color: #fff; border-radius: var(--r); padding: 18px 20px; margin: 10px 0; box-shadow: var(--sh); }
.brief .hello { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.brief .date { margin: 4px 0 0; font-size: 14.5px; color: rgba(255,255,255,.7); }
.kpi3 { display: flex; gap: 6px; } .kpi3 > div { min-width: 58px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 7px 8px; }
.kpi3 b { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; } .kpi3 span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.kpi3 .now.has { background: rgba(220,80,80,.22); border-color: rgba(255,140,140,.4); } .kpi3 .today.has { background: rgba(216,179,92,.2); border-color: rgba(216,179,92,.45); }
@media (max-width: 520px) { .brief { flex-direction: column; align-items: flex-start; } .kpi3 { width: 100%; } .kpi3 > div { flex: 1; } }
/* 대화 */
.chat { gap: 10px; padding: 8px 2px 4px; }
.brow { display: flex; gap: 8px; align-items: flex-start; } .brow.me { justify-content: flex-end; }
.ava { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 3px; }
.bub { max-width: 82%; font-size: 15.5px; line-height: 1.6; box-shadow: none; }
.bub.ai { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; }
.bub.me { background: var(--navy); border-radius: 14px 4px 14px 14px; }
.bub .prop { border-color: #e7dcc3; background: #fffdf7; }
.chatc .cmdf { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
/* 받은 업무: 목록형 */
.ic { border: 1px solid var(--line); border-left: 0; border-radius: 12px; padding: 11px 12px 11px 16px; position: relative; box-shadow: none; transition: box-shadow .15s, border-color .15s; }
.ic::before { content: ''; position: absolute; left: 6px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #c3c8d3; }
.ic.now::before { background: #d14343; } .ic.today::before { background: var(--gold); } .ic.later::before { background: #7f8db0; }
.ic:hover { border-color: #d6dae3; } .ic.open { box-shadow: var(--sh); border-color: #d6dae3; }
.ic .u { font-weight: 600; } .ic-t { font-size: 15.5px; }
.ic-t b { color: var(--ink); }
/* 공고 카드·지시 카드 */
.nc { border-left-width: 0; box-shadow: none; position: relative; padding-left: 16px; }
.nc::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #c3c8d3; }
.nc.ok::before { background: #2f8f62; } .nc.check::before { background: var(--gold); } .nc.no::before { background: #c45050; }
.cmd { border-radius: 12px; border-color: var(--line); } .cmd.open { background: #fff; border-color: #d6dae3; box-shadow: var(--sh); }
.cres { background: #f7f9f8; border: 1px solid #e3ece7; }
.cview { border-color: var(--line); background: var(--navy); }
/* PC: 남색 사이드바 */
@media (min-width: 960px) {
  #app.wide { max-width: 1320px; }
  .bnav { background: var(--navy); border: 0; box-shadow: var(--sh); padding: 12px 10px; }
  .bnav button { color: #c9d1e3; font-size: 15.5px; font-weight: 500; padding: 10px 12px; }
  .bnav button:hover { background: rgba(255,255,255,.06); color: #fff; }
  .bnav button.on { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--gold-l); }
  .bnav button.on::before { display: none; }
  .projs { border-top-color: rgba(255,255,255,.12); }
  .pj-h { color: #8995b3; letter-spacing: .04em; }
  .projs .pj { color: #c6cde0; font-weight: 500; } .projs .pj:hover { background: rgba(255,255,255,.06); } .projs .pj.on { background: rgba(255,255,255,.1); color: #fff; }
  .projs .pj em { color: #8995b3; } .projs .pj.new { color: var(--gold-l); }
  .projs .pj em b.ask { background: rgba(216,179,92,.2); color: var(--gold-l); } .projs .pj em b.run { background: rgba(80,200,150,.18); color: #7fe0b5; }
  .brief { padding: 22px 26px; } .brief .hello { font-size: 22px; }
  .chat { max-height: 56vh; }
}
/* 로그인 화면도 같은 톤 */
.auth .hero { background: linear-gradient(150deg, #0d1b3e, #1a2f62); }
.auth .hero .slogan { color: var(--gold-l); }
.intro li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }

/* 보안 P1: 비상 정지 버튼 */
.ghost2.danger{color:#b42318;border-color:#f3b4ae}
.ghost2.danger:hover{background:#fef3f2}

/* 12/3 모바일 개선: 긴 글·주소 줄바꿈, 겹친 스크롤 없애기, 업무 결과 카드, 업무 찾기 */
.cmd, .cmd .md, .cres, .ask, .clog, .msg, .oc, .ic, .bub { overflow-wrap: anywhere; word-break: break-word; }
.md pre, .md code, .clog { white-space: pre-wrap; word-break: break-all; }
.md table { display: block; max-width: 100%; overflow-x: auto; }
.cmd img, .md img { max-width: 100%; height: auto; }
.oc { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid #d8e2f2; background: #f7faff; font-size: 15px; }
.oc > b { font-size: 16px; } .oc.done { border-color: #bfe3cf; background: #f3fbf6; } .oc.partial { border-color: #f1d9a6; background: #fffaf0; } .oc.failed { border-color: #f3c0bb; background: #fff6f5; }
.oc p { margin: 4px 0; } .oc-s { font-weight: 600; } .oc-h { margin-top: 8px !important; font-size: 13.5px; font-weight: 700; color: var(--mute); }
.oc-l { margin: 2px 0 0; padding-left: 18px; } .oc-l.no li { color: #9a3412; }
.oc-need { margin-top: 8px !important; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px dashed var(--gold); font-weight: 600; }
details.cres > summary { cursor: pointer; font-weight: 700; }
.st.partial { background: #fff3d6; color: #8a5a00; } .st.failed { background: #fde8e6; color: #9f1c13; } .st.stopped { background: #eef1f5; color: #4b5563; }
.cfil { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 4px; }
.cfil input { width: 100%; box-sizing: border-box; }
.cfst { display: flex; flex-wrap: wrap; gap: 6px; }
.cfb { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 14.5px; font-family: inherit; cursor: pointer; color: var(--mute); }
.cfb.on { background: #e8effc; border-color: #bcd0f3; color: var(--blue); font-weight: 700; }
@media (max-width: 759px) {
  .clog, .ic .raw, .live-b { max-height: none; overflow: visible; } /* 휴대폰: 안쪽 스크롤 대신 페이지 하나로 */
  .wrap.has-nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } /* 아래 메뉴가 버튼을 가리지 않게 */
}
/* 12/3: 일정 넣기 줄이 휴대폰에서 넘쳐 [넣기] 버튼이 잘리던 문제 */
form.row { flex-wrap: wrap; } form.row > input { min-width: 0; flex: 1 1 140px; }
@media (max-width: 759px) { #dlf > button { flex: 1 1 100%; } }
/* 업종별 AI 비서 설정 (12/3) */
.indset .stack { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.indset label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.indset label.row { flex-direction: row; align-items: center; }
.indset .wrap { flex-wrap: wrap; }
.indset input, .indset select { min-width: 0; max-width: 100%; }
.indset .row.between > span { min-width: 0; overflow-wrap: anywhere; }

/* ── 채팅 하나로 (12/3) ── */
.top-burger { display: none; background: none; border: 0; color: #fff; font-size: 22px; padding: 0 6px 0 0; cursor: pointer; }
@media (max-width: 959px) {
  .top-burger { display: block; }
  .bnav { display: none !important; }
  .wrap.has-nav { padding-bottom: 16px; }
}
.c2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.c2-main { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; height: calc(100dvh - 120px); min-height: 460px; }
.c2-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.c2-bar b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.c2-burger { background: none; border: 0; font-size: 20px; color: var(--ink); cursor: pointer; padding: 2px 6px; }
.c2-pc { font-size: 13.5px; padding: 4px 9px; border-radius: 20px; background: var(--soft); color: var(--mute); white-space: nowrap; }
.c2-pc.on { background: #e8f6ee; color: #1a7f45; } .c2-pc.off { background: #fdecec; color: #b91c1c; }
.c2-ind { font-size: 14.5px; color: var(--mute); padding: 6px 14px; background: var(--soft); }
.c2-list { flex: 1; overflow-y: auto; padding: 14px 12px 6px; display: flex; flex-direction: column; gap: 10px; background: #fbfcfe; }
.c2-biz { margin: 8px 12px 0; padding: 10px 12px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d28b; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.c2-biz.lock { background: #fdecec; border-color: #f0b3b3; }
.c2-biz span { color: #5b4a2a; }
.c2-biz[hidden] { display: none; }
.b2 { display: flex; } .b2.me { justify-content: flex-end; } .b2.cards { flex-direction: column; gap: 8px; }
.b2 .bb { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.b2.me .bb { background: var(--navy2); color: #fff; border-radius: 16px 16px 4px 16px; white-space: pre-wrap; }
.b2.ai .bb { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; }
.b2 .bb p { margin: 0 0 6px; } .b2 .bb p:last-child { margin-bottom: 0; }
.bb.typing i { animation: blink 1.2s infinite; font-style: normal; } .bb.typing i:nth-child(2) { animation-delay: .2s; } .bb.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .fchips span { font-size: 13.5px; background: rgba(255,255,255,.18); border-radius: 8px; padding: 2px 8px; }
.cc { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; font-size: 15px; color: var(--text); }
.cc.small { padding: 8px 12px; color: var(--mute); }
.cc.wf { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font: inherit; font-size: 15px; margin-top: 6px; }
.cc.wf em { color: var(--blue); font-style: normal; font-size: 14.5px; white-space: nowrap; }
.cc-h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; font-weight: 700; }
.cc-h span { min-width: 0; overflow-wrap: anywhere; }
.cc-steps { list-style: none; margin: 6px 0 0; padding: 0; color: var(--mute); font-size: 14.5px; }
.cc-ask { background: #fff7e8; border-radius: 10px; padding: 8px 10px; margin-top: 8px; } .cc-ask p { margin: 0 0 6px; overflow-wrap: anywhere; }
.cc-r { margin: 6px 0 0; color: var(--mute); } .cc-f { margin-top: 6px; } .lnk.danger { color: var(--err); }
.c2-chips { padding: 6px 10px 0; flex-wrap: nowrap; overflow-x: auto; }
.c2-chips .chip { white-space: nowrap; }
.c2-att { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 0; } .c2-att span { font-size: 14.5px; background: var(--soft); border-radius: 10px; padding: 4px 8px; }
.c2-att button { border: 0; background: none; cursor: pointer; color: var(--mute); }
.c2-in { display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 6px; }
.c2-in textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px; font: inherit; font-size: 16px; max-height: 140px; }
.c2-plus, .c2-mic, .c2-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 20px; cursor: pointer; }
.c2-plus { background: var(--soft); color: var(--ink); font-weight: 700; } .c2-mic { background: var(--navy2); color: #fff; font-size: 17px; } .c2-mic.on { background: #c0392b; }
.c2-send { background: var(--blue); color: #fff; font-size: 17px; }
#c2m:empty { display: none; } #c2m { margin: 0 12px 8px; }
.c2-certbtn { margin: 8px 0 4px; }
.c2-work { background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
.c2-wh { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.c2-wh b { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.c2-wb { padding: 12px 14px 18px; overflow-y: auto; font-size: 15px; }
.c2-wb .stack { display: flex; flex-direction: column; gap: 8px; } .c2-wb label { display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; color: var(--mute); }
.c2-wb input, .c2-wb select, .c2-wb textarea { font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; max-width: 100%; }
.c2-wb input.unclear { border-color: #e0a100; background: #fff8e6; }
.ck { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--text) !important; font-size: 15px !important; font-weight: 400 !important; padding: 5px 0; margin: 4px 0 !important; text-align: left; }
.ck input { width: 18px !important; height: 18px; flex: none; margin: 2px 0 0 !important; padding: 0; } .ck span { flex: 1; } .ck input:checked + span { color: var(--mute); text-decoration: line-through; }
.wf-pc { background: var(--soft); border-radius: 12px; padding: 10px; margin-top: 12px; } .wf-pc textarea { width: 100%; }
@media (min-width: 960px) {
  .c2.wopen { grid-template-columns: minmax(0, 1fr) 400px; }
  .c2-work { height: calc(100dvh - 120px); position: sticky; top: 90px; }
}
@media (max-width: 959px) {
  .c2-main { height: calc(100dvh - 76px); border-radius: 0; border-left: 0; border-right: 0; margin: 0 -14px; }
  .c2-work { position: fixed; left: 0; right: 0; bottom: 0; max-height: 82dvh; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.18); z-index: 40; }
}
/* 메뉴 서랍 */
.dr-ov { position: fixed; inset: 0; background: rgba(10,20,40,.38); z-index: 60; }
.dr { position: absolute; top: 0; bottom: 0; left: 0; width: min(310px, 86vw); background: #fff; padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.dr-new { background: var(--navy2); color: #fff; border: 0; border-radius: 12px; padding: 12px; font: inherit; font-weight: 700; cursor: pointer; margin-bottom: 6px; }
.dr-t { font-size: 13.5px; color: var(--mute); margin: 12px 4px 4px; }
.dr-it { text-align: left; background: none; border: 0; padding: 10px 8px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--text); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-it:hover, .dr-it.on { background: var(--soft); } .dr-it.on { font-weight: 700; color: var(--ink); }
.dr-stop { margin-top: auto; border: 1px solid #f0b4b4; color: var(--err); background: #fff; border-radius: 12px; padding: 11px; font: inherit; font-weight: 700; cursor: pointer; }
/* 첨부 시트 */
.sh-ov { position: fixed; inset: 0; background: rgba(10,20,40,.35); z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sh { background: #fff; width: 100%; max-width: 560px; border-radius: 18px 18px 0 0; padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); }
.sh-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 6px; }
.sh-g button { background: none; border: 0; font: inherit; font-size: 14.5px; color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-g i { display: flex; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); align-items: center; justify-content: center; font-style: normal; font-size: 24px; }
/* 통역 */
.ip { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; height: calc(100dvh - 120px); min-height: 460px; }
.ip-lang { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 8px; background: var(--soft); }
.ip-lang select { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 6px 10px; background: #fff; min-width: 0; max-width: 44%; }
.ip-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ip-empty { text-align: center; margin: auto; }
.ipl { display: flex; flex-direction: column; } .ipl.me { align-items: flex-end; } .ipl small { color: var(--mute); font-size: 12.5px; margin: 0 4px 2px; }
.ipl .bb { max-width: 88%; padding: 10px 13px; border-radius: 16px; overflow-wrap: anywhere; } .ipl .bb p { margin: 6px 0 0; font-size: 14.5px; opacity: .85; }
.ipl.me .bb { background: var(--navy2); color: #fff; } .ipl.me .lnk { color: #cfe0ff; } .ipl.other .bb { background: #fff; border: 1px solid var(--line); }
.ip-in { display: flex; gap: 8px; padding: 8px 10px 0; } .ip-in input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 18px; }
.ip-two { display: flex; gap: 8px; padding: 10px 10px calc(12px + env(safe-area-inset-bottom)); }
.ip-two button { flex: 1; border: 0; border-radius: 14px; padding: 14px 6px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ip-two small { font-weight: 400; font-size: 13.5px; } .ip-me { background: var(--navy2); color: #fff; } .ip-other { background: var(--soft); color: var(--ink); }
.ip-two button.on { background: #c0392b; color: #fff; }
#ipm:empty { display: none; } #ipm { margin: 0 12px 8px; }
@media (max-width: 959px) { .ip { height: calc(100dvh - 76px); border-radius: 0; border-left: 0; border-right: 0; margin: 0 -14px; } }

/* ── 공통 작업창 블록 6개 (문서·표·체크리스트·일정판·PC 화면·자료함) ── */
.c2-tools { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 5px 10px; font-size: 14.5px; color: var(--navy2); white-space: nowrap; cursor: pointer; }
@media (max-width: 380px) { .c2-tools span { display: none; } }
.wtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; min-height: 96px; }
.wt i { font-style: normal; font-size: 22px; } .wt b { color: var(--ink); font-size: 16px; } .wt small { color: var(--mute); font-size: 13.5px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wt:active, .wt:hover { border-color: #9cc3fb; background: #f6f9ff; }
.wback { display: inline-block; margin-bottom: 8px; }
.bb-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line); }
.bb-tools .lnk { font-size: 14.5px; }
.wf-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.wf-cal input { margin-top: 0; } .wf-cal input[name=t] { flex: 1; min-width: 0; } .wf-cal input[type=date] { width: 150px; flex: none; }
.row.wrap { flex-wrap: wrap; }
.doc-ed { width: 100%; min-height: 300px; font-size: 16px; line-height: 1.6; padding: 12px; border: 1px solid #c7d3ea; border-radius: 10px; resize: vertical; font-family: inherit; box-sizing: border-box; margin-bottom: 8px; }
.ai-fix { display: flex; gap: 8px; margin-top: 10px; align-items: center; } .ai-fix input { margin-top: 0; flex: 1; min-width: 0; }
.tbl-w { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.tbl-ed { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl-ed th { background: var(--soft); color: var(--navy2); padding: 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl-ed td { border-top: 1px solid var(--line); padding: 0; min-width: 90px; } .tbl-ed td + td, .tbl-ed th + th { border-left: 1px solid var(--line); }
.tbl-ed input { margin: 0; border: 0; border-radius: 0; padding: 8px; font-size: 15px; background: transparent; }
.cal-l { list-style: none; padding: 0; margin: 8px 0; }
.cal-l li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cal-l li em { font-style: normal; font-weight: 700; font-size: 14.5px; min-width: 52px; text-align: center; padding: 4px 6px; border-radius: 8px; background: var(--soft); color: var(--navy2); }
.cal-l li.hot em { background: #fdecec; color: #b91c1c; }
.cal-l li span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cal-l li small { color: var(--mute); font-size: 13.5px; }
.pc-view img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.cc-steps.all { max-height: none; }
.cc.wf small { display: block; color: var(--mute); font-size: 13.5px; font-weight: 400; }
.fgrp { padding: 6px 0; border-bottom: 1px dashed var(--line); } .fgrp > small { color: var(--mute); font-size: 13.5px; }
.ai-fix button, .wf-cal button { width: auto !important; flex: none; padding-left: 16px; padding-right: 16px; }
.wf-cal { flex-wrap: nowrap; } .wf-cal input[type=date] { width: 140px; }
.c2-wh b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.row.gap.wf-cal .primary { flex: none; } .wf-cal input[name=t] { flex: 1 !important; }
.wf-acts button { margin: 0 !important; min-height: 44px; }

/* ── 휴대폰 편의 (챗GPT·클로드·제미나이 앱 방식, 12/3) ── */
.c2-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.c2-ttl b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.c2-ttl small { font-size: 13.5px; color: var(--mute); display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.c2-ttl .c2-pc { background: none !important; padding: 0; font-size: 13.5px; } .c2-ttl .c2-pc::before { content: '●'; margin-right: 3px; font-size: 11px; vertical-align: 1px; }
.c2-ic { flex: none; background: none; border: 0; width: 40px; height: 40px; border-radius: 10px; font-size: 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); padding: 0; }
.c2-ic:active { background: var(--soft); }
.c2-ic.c2-tools span { display: none; }
@media (min-width: 960px) { .c2-ic.c2-tools { width: auto; padding: 0 12px; border: 1px solid var(--line); font-size: 16px; } .c2-ic.c2-tools span { display: inline; font-size: 14.5px; margin-left: 4px; color: var(--navy2); } }
/* AI 답은 말풍선 없이 넓게 + 아래에 복사·듣기·문서·표 */
.b2.ai .bb:not(.typing) { background: none; border: 0; padding: 2px 4px; max-width: 100%; font-size: 16.5px; line-height: 1.65; }
.bb-tools { border-top: 0; gap: 2px; margin: 4px 0 0 -6px; padding-top: 0; }
.mt-b { background: none; border: 0; color: var(--mute); padding: 7px 8px; border-radius: 8px; display: inline-flex; gap: 4px; align-items: center; cursor: pointer; font: inherit; font-size: 16px; }
.mt-b span { font-size: 13.5px; } .mt-b:active { background: var(--soft); }
/* 첫 화면 */
.c2-hero { margin: auto 0; text-align: center; padding: 24px 10px; }
.c2-hero h2 { font-size: 23px; margin: 0 0 8px; color: var(--ink); } .c2-hero p { color: var(--mute); margin: 0 0 12px; line-height: 1.6; }
.c2-hero .c2-certbtn { max-width: 340px; margin: 10px auto 6px; border-radius: 14px; padding: 15px; font-size: 16px; }
.hero-wf { text-align: left; max-width: 460px; margin: 6px auto 0; }
/* 입력창: 글이 없으면 🎤, 쓰면 ➤ (챗GPT처럼) */
.c2-in:not(.typed) .c2-mic ~ .c2-send { display: none; }
.c2-in.typed .c2-mic { display: none; }
.c2-in .c2-mic, .c2-in .c2-send { width: 44px; height: 44px; }
.c2-in textarea { background: var(--soft); border-color: transparent; padding: 11px 15px; }
.c2-in textarea:focus { background: #fff; border-color: #9cc3fb; outline: 0; }
.c2-chips .chip { padding: 9px 13px; font-size: 15px; border-radius: 18px; }
.c2-back { display: none; background: none; border: 0; font-size: 28px; line-height: 1; padding: 0 8px 2px 0; cursor: pointer; color: var(--ink); }
.dr-co { font-size: 14.5px; color: var(--mute); margin: 2px 4px 0; font-weight: 600; } .dr-co:empty { display: none; }
@media (max-width: 959px) {
  #app.chatmode .top { display: none; }
  #app.chatmode .wrap.has-nav { padding: 0; }
  #app.chatmode .c2-main, #app.chatmode .ip { height: 100dvh; min-height: 0; margin: 0; border: 0; border-radius: 0; }
  .c2-bar { padding: calc(6px + env(safe-area-inset-top)) 6px 6px; gap: 4px; }
  .c2-burger { width: 40px; height: 40px; font-size: 21px; }
  .c2-list { padding: 14px 14px 6px; background: #fff; }
  /* 작업창 = 전체 화면 (휴대폰에서 챗GPT 캔버스처럼), ‹ 로 대화에 돌아감 */
  .c2-work { top: 0; bottom: 0; max-height: none; height: 100dvh; border-radius: 0; border: 0; box-shadow: none; }
  .c2-wh { padding: calc(8px + env(safe-area-inset-top)) 12px 8px 8px; justify-content: flex-start; }
  .c2-wh b { flex: 1; font-size: 16px; }
  .c2-back { display: block; } #c2wx { display: none; }
  .c2-wb { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .wt { min-height: 104px; }
}
.c2-burger { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.c2-in .c2-mic, .c2-in .c2-send { display: inline-flex; align-items: center; justify-content: center; }
.c2-in .c2-send { background: var(--navy2); }
/* PC 카드 (대화 안, 짧게) */
.cmd3 { padding: 12px 14px; border-radius: 16px; }
.c3-h { display: flex; align-items: center; gap: 8px; }
.c3-t { flex: 1; min-width: 0; font-weight: 600; font-size: 15.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd3 .st { white-space: nowrap; flex: none; }
.c3-now { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.c3-q { margin: 10px 0 8px; font-size: 16px; color: var(--ink); line-height: 1.5; }
.c3-bs { display: flex; gap: 6px; }
.c3-b { flex: 1; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.c3-b.ok { background: var(--navy2); border-color: var(--navy2); color: #fff; }
.c3-b:disabled { opacity: .5; }
.c3-f { display: flex; gap: 14px; margin-top: 8px; } .c3-f .lnk { font-size: 14.5px; } .lnk.mute { color: var(--mute); }
/* 업무 분야 묶음 */
.wg { border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; background: #fff; }
.wg summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 13px 14px; cursor: pointer; font-size: 16px; }
.wg summary::-webkit-details-marker { display: none; }
.wg summary b { flex: 1; color: var(--ink); } .wg summary small { color: var(--mute); }
.wg summary::after { content: '›'; color: var(--mute); font-size: 18px; transition: transform .15s; } .wg[open] summary::after { transform: rotate(90deg); }
.wg .cc.wf { border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; padding: 12px 14px; }
.hero-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 460px; margin: 10px auto 0; }
.hg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; text-align: left; }
.hg b { font-size: 15.5px; color: var(--ink); } .hg small { font-size: 13.5px; color: var(--mute); }
.hg:active { background: var(--soft); }
/* AI 사용량 (토큰·퍼센트) */
.c2-use { border: 0; background: var(--soft); color: var(--navy2); border-radius: 10px; padding: 1px 7px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; flex: none; }
.c2-use.warn { background: #fdecec; color: #b91c1c; }
.mt-tok { font-size: 13px; color: #6b7487; margin-left: auto; align-self: center; padding-right: 4px; font-variant-numeric: tabular-nums; }
.bb-tools { align-items: center; }
.use-r { padding: 12px 0; border-bottom: 1px solid var(--line); } .use-r small { display: block; color: var(--mute); font-size: 14px; margin-top: 6px; }
.use-r .bar { margin-top: 8px; } .use-p { font-size: 18px; color: var(--navy2); } .use-p.warn { color: #b91c1c; }
/* 머리 둘째 줄: 이름이 길면 이름만 줄이고 PC 상태·사용 %는 항상 보이게 */
.c2-ttl small #c2ind { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c2-ttl small .c2-pc, .c2-ttl small .c2-use { flex: none; }

/* AI 팀 (12/4) */
.tm-l { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin: 0 0 8px; padding: 6px 10px; border: 1px solid #d6e4ff; background: #f3f7ff; border-radius: 10px; text-align: left; font: inherit; cursor: pointer; }
.tm-l .tm-b { font-size: 14.5px; font-weight: 600; color: #1f4fbf; }
.tm-l small { font-size: 13.5px; color: #5b6475; line-height: 1.4; }
.tm-t { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 6px 0 10px; }
.tm-t th, .tm-t td { border-bottom: 1px solid #eceef2; padding: 6px 4px; text-align: left; }
.tm-s { padding-left: 18px; font-size: 14.5px; } .tm-s li { margin: 4px 0; word-break: break-all; }
.tm-roles, .tm-on { padding-left: 18px; font-size: 15px; } .tm-roles li, .tm-on li { margin: 4px 0; }
.tm-c { margin: 10px 0; padding: 10px 12px; border: 1px solid #e3e6ec; border-radius: 12px; background: #fafbfc; }
.tm-c .ok, .tm-on .ok { color: #13804b; font-weight: 600; } .tm-c .mute, .tm-on .mute { color: #8a93a3; }
/* 비서 챙기기 (12/4) */
.dr-n{display:inline-block;min-width:20px;padding:0 6px;margin-left:6px;border-radius:10px;background:#e5484d;color:#fff;font-size:13.5px;line-height:20px;text-align:center}
.as-q{border:1px solid var(--line,#e3e7ef);border-radius:12px;padding:10px 12px;margin:8px 0}
.as-q p{margin:0 0 2px}.as-q small{display:block;color:var(--sub,#55607a);margin-bottom:8px}
.as-sw{display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:flex-start;padding:10px 0;margin:0;border-bottom:1px solid var(--line,#e3e7ef);cursor:pointer;font-weight:400}
.as-sw span{flex:1;min-width:0}
.as-sw input{width:22px!important;height:22px;margin:2px 0 0!important;flex:0 0 22px}
.as-sw small{display:block;color:var(--sub,#55607a)}
.as-call{background:#fff7e6;border-radius:12px;padding:10px 12px;margin:8px 0}
.c3-pc { font-size: 12.5px; font-weight: 600; color: var(--brand, #2563eb); background: #eef4ff; border-radius: 6px; padding: 1px 5px; margin-right: 2px; }
/* 12/5 대화 안에서 PC 일 결과 바로 보기 (챗GPT처럼) */
.cmd3 .c3-res { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink); word-break: break-word; }
.cmd3 .c3-res.fold { max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.cmd3 .c3-res table { display: block; overflow-x: auto; }
.cmd3 .c3-bad { margin: 8px 0 0; color: var(--err); font-weight: 600; }
.cmd3 .bb-tools { margin-top: 6px; }
.cmd3.flash { animation: c3flash 1.6s ease-out; }
@keyframes c3flash { from { box-shadow: 0 0 0 3px #f5c451; } to { box-shadow: 0 0 0 0 transparent; } }
/* 12/5 제미나이·챗GPT처럼: 깨끗한 첫 화면, 한 줄 안내, 서랍 정리 */
.c2-hero.clean h2 { font-size: 26px; margin-bottom: 10px; }
.c2-hero .c2-certln { margin-top: 8px; border-radius: 999px; font-size: 15px; padding: 8px 14px; }
.c2-biz.slim { flex-direction: row; align-items: center; padding: 6px 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line, #e6e8ee); border-radius: 0; margin: 0; font-size: 14.5px; }
.c2-biz.slim .lnk, .c2-biz.slim span { color: #8a6d1f; font-size: 14.5px; }
.vbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 14px; font-size: 14px; color: var(--mute); background: #f6f7fa; border-bottom: 1px solid var(--line, #e6e8ee); }
.vbar .lnk { font-size: 14px; } .vbar .msg { width: 100%; margin: 0; } .vbar .msg:empty { display: none; }
.dr-more > summary { list-style: none; } .dr-more > summary::-webkit-details-marker { display: none; }
.dr-more[open] > summary { color: var(--mute); }
.dr-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line, #e6e8ee); }
.dr-me { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 8px 4px; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.dr-me > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; } .dr-me b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dr-me small { color: var(--mute); font-size: 13.5px; }
.dr-av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy2); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14.5px; flex: none; }
.dr-me em { font-style: normal; opacity: .7; }
.dr-more > .dr-it, .dr-more > summary.dr-it { display: block; width: 100%; } .dr-more .dr-stop { margin-top: 8px; width: 100%; }
.dr-it.pj2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dr-it.pj2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-it.pj2 em { font-style: normal; font-size: 13.5px; color: var(--mute); flex: none; }
.dr-it.pj2 b.ask { color: #b26b00; } .dr-it.pj2 b.run { color: #2563eb; }
.c2-wb .cmd3 { margin-bottom: 10px; }

/* ───────── 12/5 편안한 디자인 (대표: 챗GPT·제미나이·클로드보다 더 편안하게) ─────────
   따뜻한 미색 바탕, 큰 글씨, AI 답은 말풍선 없이 글처럼, 내 말은 연한 회색 말풍선, 입력창은 둥근 알약 */
:root { --calm-bg: #f7f6f2; --calm-card: #ffffff; --calm-line: #e9e6df; --calm-soft: #efede7; --calm-text: #2a2a2e; --calm-mute: #5c5852; --calm-acc: #2f5d50; }
.c2-main { background: var(--calm-bg); border: 0; border-radius: 0; height: calc(100dvh - 60px); }
@media (max-width: 700px) { .c2-main { height: 100dvh; } }
.c2-bar { border-bottom: 0; background: var(--calm-bg); padding: 10px 10px 6px; }
.c2-bar b, #c2t { color: var(--calm-text); font-size: 17px; font-weight: 650; }
.c2-ttl small { display: flex; gap: 6px; align-items: center; }
.c2-pc { font-size: 14px; color: var(--calm-mute); background: none !important; padding: 0 !important; }
.c2-pc::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #b9b4ab; margin-right: 5px; vertical-align: 1px; }
.c2-pc.on::before { background: #3ba776; } .c2-pc.on { color: #2f7a57; }
.c2-burger, .c2-ic { color: var(--calm-text); }
.c2-list { background: var(--calm-bg); padding: 10px 16px 8px; gap: 14px; }
.b2 .bb { font-size: 16px; line-height: 1.7; }
.b2.me .bb { background: var(--calm-soft); color: var(--calm-text); border-radius: 20px; padding: 10px 15px; }
.b2.ai .bb:not(.typing) { color: var(--calm-text); font-size: 16px; line-height: 1.75; }
.c2-hero.clean { padding: 30px 18px; }
.c2-hero.clean h2 { color: var(--calm-text); font-size: 26px; font-weight: 650; letter-spacing: -.3px; }
.c2-hero.clean p { color: var(--calm-mute); font-size: 16.5px; }
.c2-chips { padding: 6px 14px 0; gap: 8px; }
.c2-chips .chip { background: var(--calm-card); border: 1px solid var(--calm-line); color: var(--calm-text); font-weight: 500; font-size: 15px; padding: 8px 14px; }
.c2-in { border-top: 0; background: var(--calm-bg); padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); margin: 0; }
.c2-in { position: relative; }
.c2-in textarea { background: var(--calm-card); border: 1px solid var(--calm-line); border-radius: 26px; padding: 13px 18px; box-shadow: 0 2px 10px rgba(40,35,25,.06); font-size: 16px; }
.c2-in .c2-plus { background: var(--calm-card); border: 1px solid var(--calm-line); color: var(--calm-text); }
.c2-in .c2-mic, .c2-in .c2-send { background: var(--calm-text); color: #fff; border-radius: 50%; }
/* PC 일 카드: 흰 카드 하나, 상태는 작은 글자 */
.cc, .cmd3 { background: var(--calm-card); border: 1px solid var(--calm-line); border-radius: 18px; padding: 13px 15px; box-shadow: 0 1px 3px rgba(40,35,25,.04); }
.cmd3 .c3-t { color: var(--calm-text); font-weight: 600; font-size: 16px; }
.cmd3 .st { background: none !important; color: var(--calm-mute) !important; font-weight: 500; font-size: 14px; padding: 0 !important; }
.cmd3 .st.done { color: #2f7a57 !important; } .cmd3 .st.asking { color: #b26b00 !important; font-weight: 700; } .cmd3 .st.failed { color: var(--err) !important; }
.cmd3 .st.running::before, .cmd3 .st.claimed::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; margin-right: 5px; animation: blink 1.2s infinite; }
.cmd3 .c3-now { color: var(--calm-mute); font-size: 15px; } .cmd3 .c3-now small { opacity: .8; }
.cmd3 .c3-q { background: #fff8ea; border-radius: 12px; padding: 10px 12px; font-size: 16.5px; }
.cmd3 .c3-res { font-size: 16.5px; line-height: 1.75; color: var(--calm-text); }
.c3-pc { background: var(--calm-soft) !important; color: var(--calm-mute) !important; }
/* 서랍: 연한 바탕, 찾기 칸, 테두리 없는 목록 */
.dr { background: #f3f1ec; padding-top: calc(14px + env(safe-area-inset-top)); }
.dr-q { width: 100%; border: 0; background: #e8e5de; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; margin-bottom: 8px; color: var(--calm-text); }
.dr-new { background: none; color: var(--calm-text); border: 0; text-align: left; padding: 10px 8px; font-size: 16.5px; font-weight: 600; margin: 0; }
.dr-it { color: var(--calm-text); font-size: 16.5px; }
.dr-it:hover, .dr-it.on { background: #e8e5de; }
.dr-t { color: var(--calm-mute); font-size: 14px; margin: 16px 8px 4px; }
.dr-setup { background: #fff; border: 1px solid var(--calm-line); display: flex; flex-direction: column; gap: 1px; margin: 4px 0; }
.dr-setup small { color: var(--calm-mute); font-size: 13.5px; }
.dr-foot { border-top: 1px solid var(--calm-line); display: flex; flex-direction: column; gap: 4px; }
.dr-av { background: var(--calm-acc); }
.dr-foot .c2-use { align-self: flex-start; background: none; border: 0; color: var(--calm-mute); font-size: 14px; padding: 2px 8px; cursor: pointer; }
/* 처음 한 번: 비서 자동 세팅 안내 */
.onb { position: fixed; inset: 0; z-index: 70; background: rgba(30,28,24,.35); display: flex; align-items: flex-end; justify-content: center; }
.onb-c { background: var(--calm-bg); width: 100%; max-width: 520px; border-radius: 24px 24px 0 0; padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); }
@media (min-width: 701px) { .onb { align-items: center; } .onb-c { border-radius: 24px; } }
.onb-k { color: var(--calm-acc); font-weight: 700; font-size: 14.5px; margin: 0 0 6px; }
.onb-c h2 { color: var(--calm-text); font-size: 23px; line-height: 1.4; margin: 0 0 14px; }
.onb-s { margin: 0 0 18px; padding-left: 20px; color: var(--calm-text); font-size: 16.5px; line-height: 1.9; }
.onb-go { width: 100%; border-radius: 14px; padding: 15px; font-size: 16px; background: var(--calm-text); border: 0; }
.onb-later { width: 100%; background: none; border: 0; color: var(--calm-mute); font: inherit; font-size: 16px; padding: 12px; cursor: pointer; }
.onb-h { color: var(--calm-mute); font-size: 14px; margin: 4px 0 0; text-align: center; }
.onb-pre { display: flex; flex-direction: column; gap: 4px; background: #f3f7f4; border: 1px solid #d7e6dc; border-radius: 12px; padding: 11px 13px; margin: 6px 0 12px; font-size: 15px; }
.onb-pre span { color: var(--mute); font-size: 15px; line-height: 1.55; }

/* ───────── 12/5 비즈니스 톤 (대표: 유아틱하지 않게, 업무용 느낌) ─────────
   흰 바탕·회색 선·진한 남색 포인트, 이모지 대신 선 아이콘, 모서리 작게, 글씨 단정하게 */
:root { --calm-bg: #ffffff; --calm-card: #ffffff; --calm-line: #e4e7ec; --calm-soft: #f2f4f7; --calm-text: #111827; --calm-mute: #6b7280; --calm-acc: #0f2b67; }
.c2-main, .c2-bar, .c2-list, .c2-in { background: #fff; }
.c2-bar { border-bottom: 1px solid var(--calm-line); padding: 10px 12px; }
.c2-bar b, #c2t { font-size: 16px; font-weight: 600; letter-spacing: -.1px; }
.c2-hero.clean h2 { font-size: 22px; font-weight: 600; letter-spacing: -.2px; }
.c2-hero.clean p { font-size: 15.5px; }
.b2 .bb, .b2.ai .bb:not(.typing) { font-size: 16.5px; line-height: 1.7; }
.b2.me .bb { background: var(--calm-soft); border-radius: 12px; }
.c2-chips .chip { border-radius: 8px; font-size: 15px; padding: 7px 12px; color: #374151; }
.c2-in textarea { border-radius: 12px; box-shadow: none; border-color: #d1d5db; padding: 12px 14px; }
.c2-in .c2-plus { border-radius: 10px; }
.c2-in .c2-mic, .c2-in .c2-send { background: var(--calm-acc); border-radius: 10px; }
.cc, .cmd3 { border-radius: 10px; box-shadow: none; border-color: var(--calm-line); }
.cmd3 .c3-t { font-size: 15.5px; }
.c3-pc { display: inline-block; font-size: 12.5px !important; font-weight: 600; letter-spacing: .2px; border: 1px solid var(--calm-line); background: #f9fafb !important; color: #4b5563 !important; border-radius: 4px; padding: 1px 5px; margin-right: 4px; vertical-align: 1px; }
.cmd3 .c3-q { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; }
.mt-b { font-size: 14px; color: var(--calm-mute); }
.dr { background: #f9fafb; border-right: 1px solid var(--calm-line); }
.dr .svi { flex: none; color: #4b5563; }
.dr-it { display: flex; align-items: center; gap: 10px; border-radius: 8px; padding: 9px 10px; font-size: 15.5px; color: #1f2937; }
.dr-it > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; flex-direction: column; }
.dr-it:hover, .dr-it.on { background: #eef0f3; }
.dr-q { background: #fff; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; padding: 9px 11px; }
.dr-new { font-weight: 600; }
.dr-setup { background: #fff; border: 1px solid var(--calm-line); flex-direction: row; }
.dr-setup small { font-weight: 400; }
.dr-t { font-size: 13px; font-weight: 600; letter-spacing: .4px; color: #6b7280; margin: 18px 10px 4px; }
.dr-it.pj2 { justify-content: flex-start; } .dr-it.pj2 em { margin-left: auto; }
.dr-it.th { display: block; }
.dr-more > summary.dr-it { display: flex; }
.dr-stop { border-radius: 8px; font-size: 15px; }
.dr-av { border-radius: 8px; background: var(--calm-acc); }
.dr-me .svi { color: #6b7280; }
.onb { background: rgba(17,24,39,.45); }
.onb-c { background: #fff; border-radius: 16px 16px 0 0; }
@media (min-width: 701px) { .onb-c { border-radius: 14px; } }
.onb-k { color: var(--calm-mute); font-size: 13.5px; letter-spacing: .4px; }
.onb-c h2 { font-size: 20px; font-weight: 600; }
.onb-s { font-size: 15.5px; line-height: 1.85; color: #374151; }
.onb-go { background: var(--calm-acc); border-radius: 10px; font-size: 16px; }
.onb-pre { background: #f9fafb; border-color: var(--calm-line); border-radius: 8px; }
.dr-foot2 { display: flex; justify-content: space-between; align-items: center; }
.dr-out { background: none; border: 0; color: var(--calm-mute); font: inherit; font-size: 14px; padding: 2px 8px; cursor: pointer; text-decoration: underline; }

/* 12/5 시작 화면: 범용 AI들처럼 이메일 하나로 계속하기 (비즈니스 톤) */
.authx { background: #fff; }
.ax { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; }
.ax-c { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.ax-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; margin: 0 auto 14px; border: 1px solid #e4e7ec; }
.ax-t { font-size: 24px; font-weight: 700; color: #111827; margin: 0; letter-spacing: -.3px; }
.ax-s { color: #6b7280; font-size: 16px; margin: 6px 0 28px; }
.ax-g { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; color: #111827; cursor: pointer; }
.ax-or { display: flex; align-items: center; gap: 10px; color: #6b7280; font-size: 14px; margin: 16px 0; }
.ax-or::before, .ax-or::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.ax-f { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ax-f input { width: 100%; padding: 13px 14px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; font-size: 16px; color: #111827; background: #fff; }
.ax-f input:focus { outline: none; border-color: #0f2b67; box-shadow: 0 0 0 3px rgba(15,43,103,.12); }
.ax-go { width: 100%; padding: 13px; border-radius: 10px; font-size: 16.5px; font-weight: 600; background: #0f2b67; border: 0; }
.ax-who { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; padding: 11px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; font-size: 15.5px; color: #111827; }
.ax-who a { font-size: 14.5px; color: #0f2b67; }
.ax-pw { position: relative; } .ax-pw input { padding-right: 64px; }
.ax-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #6b7280; font: inherit; font-size: 14.5px; cursor: pointer; padding: 6px; }
.ax-h { margin: 6px 2px 0; color: #6b7280; font-size: 14px; }
.ax-l { margin-top: 14px; font-size: 15px; color: #4b5563; }
.ax-by { margin-top: 36px; color: #6b7280; font-size: 13px; letter-spacing: .3px; }
.ax-k { text-align: left; }
.ax-step { color: #6b7280; font-size: 14px; letter-spacing: .4px; margin: 0 0 6px; }
.ax-q { font-size: 21px; font-weight: 700; color: #111827; margin: 0 0 18px; }
.ax-opt { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; padding: 15px 16px; margin-bottom: 10px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.ax-opt b { font-size: 16.5px; color: #111827; } .ax-opt small { font-size: 14.5px; color: #6b7280; }
.ax-opt:hover { border-color: #0f2b67; }
.ax-k .ax-l { text-align: center; }

/* 12/5 로그인 전 첫 화면 (범용 AI처럼 채팅 화면 그대로, 쓰려면 로그인) */
.gx { position: fixed; inset: 0; display: flex; flex-direction: column; background: #fff; color: #111827; }
.gx-top { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
.gx-ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; color: #111827; display: grid; place-items: center; cursor: pointer; }
.gx-login { border: 0; border-radius: 999px; background: #0f2b67; color: #fff; font: inherit; font-weight: 700; font-size: 16px; padding: 10px 20px; cursor: pointer; }
.gx-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.gx-mid h1 { font-size: 24px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.3px; } .gx-mid p { color: #6b7280; margin: 0; font-size: 15.5px; }
.gx-in { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px calc(12px + env(safe-area-inset-bottom)); padding: 8px; border: 1px solid #d1d5db; border-radius: 26px; background: #fff; box-shadow: 0 2px 10px rgba(15,23,42,.06); }
.gx-in textarea { flex: 1; border: 0; outline: 0; resize: none; font: inherit; font-size: 16px; padding: 10px 4px; max-height: 140px; background: transparent; color: #111827; }
.gx-plus { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f3f4f6; font-size: 22px; line-height: 1; color: #374151; cursor: pointer; flex: none; }
.gx-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #0f2b67; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.gx-ov { position: fixed; inset: 0; background: rgba(10,20,40,.38); z-index: 60; }
.gx-dr { position: absolute; top: 0; bottom: 0; left: 0; width: min(310px, 86vw); background: #fff; display: flex; flex-direction: column; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.gx-dr hr { border: 0; border-top: 1px solid #e5e7eb; margin: 8px 0; }
.gx-di { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 12px 6px; font: inherit; font-size: 16.5px; color: #374151; text-decoration: none; cursor: pointer; text-align: left; }
.gx-di b { color: #111827; }
.gx-dfoot { margin-top: auto; } .gx-dfoot p { color: #6b7280; font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.gx-join { width: 100%; border-radius: 999px; padding: 14px; font-size: 16.5px; }
.ax-x { position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; font-size: 16px; color: #374151; cursor: pointer; }

/* 로그인 시트 */
.as-ov { position: fixed; inset: 0; z-index: 80; background: rgba(10,20,40,.40); display: flex; align-items: flex-end; justify-content: center; }
.as { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); text-align: center; animation: asup .22s ease-out; }
@keyframes asup { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.as h2 { font-size: 21px; font-weight: 700; color: #111827; margin: 0 0 8px; letter-spacing: -.3px; }
.as-s { color: #6b7280; font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; }
.as-b { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 10px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; font: inherit; font-size: 16.5px; color: #111827; cursor: pointer; padding: 8px 18px; }
.as-b.as-main { background: #0f2b67; border-color: #0f2b67; color: #fff; }
.as-b img { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; background: #fff; }
.as-b span { display: flex; flex-direction: column; text-align: left; } .as-b small { font-size: 14.5px; opacity: .8; }
@media (min-width: 700px) { .as-ov { align-items: center; } .as { border-radius: 22px; } }

/* 12/5 첫 사용 설정 (회사 확인 → 업무 메일 연결) — 로그인 화면과 같은 흰 바탕·남색 */
.ob { min-height: 100dvh; display: flex; justify-content: center; background: #fff; padding: calc(16px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom)); }
.ob-c { width: 100%; max-width: 440px; display: flex; flex-direction: column; color: #111827; }
.ob-top { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 16px; }
.ob-top img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e4e7ec; object-fit: contain; }
.ob-step { margin-left: auto; font-size: 14px; color: #6b7280; border: 1px solid #e5e7eb; border-radius: 999px; padding: 3px 10px; }
.ob-h { font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.3px; line-height: 1.35; }
.ob-s { color: #4b5563; font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; }
.ob-big { width: 100%; border-radius: 12px; padding: 14px; font-size: 16.5px; margin-top: 6px; }
.ob-links { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 18px; font-size: 15px; }
.ob-links a { color: #374151; }
.ob-note { color: #6b7280; font-size: 14px; line-height: 1.55; margin: 16px 0 0; }
.ob-hint { color: #6b7280; font-size: 14px; line-height: 1.5; margin: 0; }
.ob-warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 10px; padding: 10px 12px; font-size: 15px; margin: 0 0 14px; }
.ob-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; border-radius: 10px; padding: 10px 12px; font-size: 15px; margin: 0 0 14px; }
.ob-f { display: flex; flex-direction: column; gap: 12px; }
.ob-f label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: #374151; }
.ob-f label small { font-weight: 400; color: #9a3412; }
.ob-f input, .ob-f select { width: 100%; padding: 12px 13px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; color: #111827; background: #fff; }
.ob-list { display: flex; flex-direction: column; gap: 10px; }
.ob-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid #d1d5db; border-radius: 12px; padding: 14px; font: inherit; color: #111827; cursor: pointer; }
.ob-opt:disabled { opacity: .55; cursor: default; }
.ob-opt > span { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ob-opt b { font-size: 16.5px; } .ob-opt small { color: #6b7280; font-size: 14px; line-height: 1.45; }
.ob-opt em { font-style: normal; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.ob-opt em.go { color: #fff; background: #0f2b67; border-radius: 999px; padding: 6px 14px; }
.ob-opt em.soon { color: #6b7280; }
.ob-pc { display: flex; flex-direction: column; gap: 6px; border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 12px; padding: 14px; margin: 0 0 14px; font-size: 15px; color: #1e3a8a; }
.ob-pc.ok { border-color: #e5e7eb; background: #f9fafb; color: #374151; }
.ob-pc b { font-size: 15.5px; } .ob-pc .ghost2 { align-self: flex-start; margin-top: 4px; }
.ob-pc .code { font-size: 26px; font-weight: 800; letter-spacing: 3px; margin: 6px 0 2px; color: #0f2b67; }
.ob-how { margin: 0 0 10px; padding-left: 20px; color: #374151; font-size: 15px; line-height: 1.6; }
.ob-ext { display: inline-block; margin: 0 0 16px; font-size: 15px; color: #0f2b67; font-weight: 600; }
.ob-st { display: flex; flex-direction: column; gap: 4px; border-radius: 12px; padding: 14px; margin: 0 0 12px; border: 1px solid #e5e7eb; font-size: 15px; }
.ob-st b { font-size: 16.5px; } .ob-st span { color: #4b5563; line-height: 1.5; }
.ob-st.run { flex-direction: row; align-items: center; gap: 12px; } .ob-st.run div { display: flex; flex-direction: column; gap: 3px; }
.ob-st.ok { border-color: #bbf7d0; background: #f0fdf4; } .ob-st.ok b { color: #166534; }
.ob-st.err { border-color: #fecaca; background: #fef2f2; } .ob-st.err b { color: #b91c1c; }
.ob-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #c7d2fe; border-top-color: #0f2b67; animation: obspin .8s linear infinite; flex: none; }
@keyframes obspin { to { transform: rotate(360deg); } }
.ob-cards { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ob-cards li { border: 1px solid #e5e7eb; border-left: 3px solid #0f2b67; border-radius: 10px; padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; }
.ob-cards b { font-size: 15.5px; } .ob-cards span { color: #6b7280; font-size: 14px; }
.ob-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* 12/5 설치 없이 받기(전달 주소)·폰으로 먼저 */
.ob-addr { display: flex; align-items: center; gap: 10px; border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.ob-addr code { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; color: #0f2b67; word-break: break-all; font-family: ui-monospace, Consolas, monospace; user-select: all; }
.ob-code { font-size: 26px; font-weight: 800; letter-spacing: 3px; margin: 4px 0; color: #166534; }
.ob-pts { margin: 0 0 16px; padding-left: 20px; color: #374151; font-size: 15px; line-height: 1.7; }
.ob-guide { display: flex; flex-direction: column; gap: 8px; margin: 0 0 6px; }
.ob-guide details { border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; background: #fff; }
.ob-guide summary { cursor: pointer; font-weight: 700; font-size: 15.5px; color: #111827; }
.ob-guide .ob-how { margin: 8px 0 6px; }

/* 로그인 없는 체험 채팅 (12/5) */
.gx-mid.gx-chat { justify-content: flex-end; align-items: stretch; text-align: left; padding: 0 12px; min-height: 0; }
.gx-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px 0; max-width: 760px; width: 100%; margin: 0 auto; }
.gx-b { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.55; word-break: break-word; }
.gx-u { align-self: flex-end; background: #eef2ff; color: #1e2761; border-bottom-right-radius: 6px; }
.gx-a { align-self: flex-start; background: #fff; color: #111827; padding-left: 2px; }
.gx-wait { color: #6b7280; }
.gx-sys { background: #f8fafc; border: 1px solid #e5e7eb; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.gx-cta { align-self: flex-start; }
.gx-note { text-align: center; color: #6b7280 !important; font-size: 13.5px !important; margin: 2px 0 6px !important; }
#gts { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 50; }

/* 우리 회사 진단 (12/5) */
.diag{margin-top:10px;padding-top:10px;border-top:1px solid var(--line,#e5e7eb)}
.diag .dg-main{margin:8px 0;padding:10px 12px;border-radius:12px;background:var(--soft,#f4f6fb)}
.diag .dg-main>span:first-child{display:block;font-size:13.5px;color:var(--muted,#6b7280)}
.diag .dg-main b{font-size:18px}
.diag .dg-h{margin:12px 0 4px;font-weight:700;font-size:15px}
.diag .dg-ev{margin:4px 0;padding-left:18px;font-size:14.5px;line-height:1.6}
.diag .dg-bar{display:flex;gap:2px;border-radius:8px;overflow:hidden;font-size:12.5px}
.diag .dg-bar span{padding:6px 4px;background:#dbe7ff;color:#1e3a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.diag .dg-bar span:nth-child(2){background:#fde68a;color:#78350f}.diag .dg-bar span:nth-child(3){background:#d1fae5;color:#065f46}.diag .dg-bar span:nth-child(4){background:#fce7f3;color:#831843}.diag .dg-bar span:nth-child(5){background:#e5e7eb;color:#374151}
.diag .dots{display:flex;gap:6px;margin:8px 0}.diag .dots i{width:8px;height:8px;border-radius:50%;background:#94a3b8;animation:dgb 1s infinite alternate}.diag .dots i:nth-child(2){animation-delay:.2s}.diag .dots i:nth-child(3){animation-delay:.4s}
@keyframes dgb{to{opacity:.2}}
.diag .pill.ok{background:#d1fae5;color:#065f46}.diag .pill.warn{background:#fee2e2;color:#991b1b}.diag .msg.warn{color:#b45309}
.diag .dg-opt{display:flex;gap:10px;align-items:flex-start;text-align:left;margin:6px 0;font-size:15px;line-height:1.5}.diag .dg-opt input{margin-top:4px;flex:none;width:18px;height:18px}
.diag .dg-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.diag .dg-btns .primary{grid-column:1/-1}
@media (min-width:900px){.diag .dg-btns{display:flex;flex-wrap:wrap}.diag .dg-btns .primary{grid-column:auto}}

/* ───────── 12/5 PC 화면 개편 (대표: 챗GPT·제미나이·클로드처럼, 휴대폰과 같은 느낌) ─────────
   왼쪽 = 늘 보이는 사이드바(휴대폰 서랍과 같은 내용), 가운데 = 대화(가운데 정렬 한 단), 오른쪽 = 작업창(열 때만)
   휴대폰(959px 이하)은 바꾸지 않음 */
.dr-brand { display: none; }
/* 서랍 항목이 많아도 눌려 찌그러지지 않게, '더 보기' 안 항목도 아이콘 옆에 글자 (휴대폰·PC 공통) */
.dr > * { flex-shrink: 0; }
.dr-more > .dr-it, .dr-more > summary.dr-it { display: flex; align-items: center; gap: 10px; }
#diag button, .indset .ghost2 { white-space: nowrap; }
@media (min-width: 960px) {
  :root { --sbw: 272px; --colw: 800px; }
  #app.pcs { max-width: none; margin: 0; padding: 0; min-height: 100dvh; background: var(--calm-bg); }
  /* 사이드바: 서랍을 고정해서 늘 보이게 */
  #app.pcs .dr-ov, #app.pcs .dr-ov[hidden] { display: block !important; position: fixed; inset: 0 auto 0 0; width: var(--sbw); background: none; z-index: 50; }
  #app.pcs .dr { position: absolute; inset: 0; width: 100%; padding: 12px 12px 12px; border-right: 1px solid var(--calm-line); gap: 1px; }
  #app.pcs.sbx .dr-ov, #app.pcs.sbx .dr-ov[hidden] { display: none !important; }
  .dr-brand { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; }
  .dr-brand img { width: 32px; height: 32px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--calm-line); }
  .dr-brand span { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
  .dr-brand b { font-size: 16px; color: var(--calm-text); } .dr-brand small { font-size: 12px; color: var(--calm-mute); letter-spacing: .5px; font-style: italic; }
  .dr-fold { background: none; border: 0; width: 36px; height: 36px; border-radius: 9px; color: var(--calm-mute); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .dr-fold:hover { background: #e8e5de; color: var(--calm-text); }
  #app.pcs .dr-it { font-size: 15.5px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
  #app.pcs .dr-it.th { display: block; width: 100%; }
  #app.pcs .dr-new { font-size: 16px; }
  #app.pcs .dr-q { font-size: 15px; padding: 8px 12px; }
  #app.pcs .dr-t { margin: 14px 10px 4px; }
  /* 본문 = 사이드바 오른쪽 전체 */
  #app.pcs > .top, #app.pcs > .vbar, #app.pcs > .shell { margin-left: var(--sbw); }
  #app.pcs.sbx > .top, #app.pcs.sbx > .vbar, #app.pcs.sbx > .shell { margin-left: 0; }
  #app.pcs .shell { display: block; }
  #app.pcs .bnav { display: none; }
  #app.pcs .wrap.has-nav { padding: 8px 32px 40px; max-width: 1240px; margin: 0 auto; }
  /* 머리줄: 남색 띠 대신 연한 한 줄 (대화 화면에서는 숨김) */
  #app.pcs .top { position: sticky; top: 0; margin-top: 0; padding: 10px 32px; min-height: 56px; background: var(--calm-bg); color: var(--calm-text); border-bottom: 1px solid var(--calm-line); box-shadow: none; }
  #app.pcs .top img, #app.pcs .top .nm { display: none; }
  #app.pcs .top .co { text-align: left; color: var(--calm-mute); font-size: 15px; opacity: 1; }
  #app.pcs .top .ghost { color: var(--calm-text); border-color: var(--calm-line); background: #fff; }
  #app.pcs .top-burger { display: none; color: var(--calm-text); font-size: 20px; }
  #app.pcs.sbx .top-burger { display: block; }
  #app.pcs .top .out { display: none; } /* 로그아웃은 사이드바 아래 */
  #app.pcs.chatmode > .top { display: none; }
  #app.pcs.chatmode .wrap.has-nav { padding: 0; max-width: none; }
  /* 대화: 화면 높이 꽉, 글은 가운데 한 단 (챗GPT처럼) */
  #app.pcs .c2 { gap: 0; }
  #app.pcs .c2-main, #app.pcs .c2-bar, #app.pcs .c2-list, #app.pcs .c2-in { background: var(--calm-bg); }
  #app.pcs .c2-main, #app.pcs.chatmode .ip { height: 100dvh; min-height: 0; margin: 0; border: 0; border-radius: 0; }
  #app.pcs .c2-bar { padding: 10px 16px; min-height: 56px; }
  #app.pcs:not(.sbx) .c2-burger { display: none; }
  #app.pcs .c2-list { padding: 18px max(24px, calc((100% - var(--colw)) / 2)) 10px; }
  #app.pcs .c2-chips, #app.pcs .c2-att, #app.pcs .c2-biz { padding-left: max(24px, calc((100% - var(--colw)) / 2)); padding-right: max(24px, calc((100% - var(--colw)) / 2)); }
  #app.pcs .c2-chips { flex-wrap: wrap; overflow: visible; justify-content: center; }
  #app.pcs .c2-in { width: 100%; max-width: calc(var(--colw) + 48px); margin: 0 auto; padding: 8px 24px 20px; box-sizing: border-box; }
  #app.pcs #c2m { max-width: var(--colw); margin: 0 auto 8px; }
  #app.pcs .b2 .bb { max-width: 78%; }
  #app.pcs .b2.ai .bb:not(.typing) { max-width: 100%; }
  #app.pcs .c2-hero { padding-top: 12vh; }
  #app.pcs .c2-hero.clean h2, #app.pcs .c2-hero h2 { font-size: 30px; }
  #app.pcs .hero-g { max-width: 620px; grid-template-columns: repeat(3, 1fr); }
  /* 작업창: 오른쪽 패널 (클로드 아티팩트처럼) */
  #app.pcs .c2.wopen { grid-template-columns: minmax(0, 1fr) min(46%, 620px); }
  #app.pcs .c2-work { position: sticky; top: 0; height: 100dvh; border: 0; border-left: 1px solid var(--calm-line); border-radius: 0; background: #fff; }
  #app.pcs .c2.wopen .c2-list { padding-left: 28px; padding-right: 28px; }
  #app.pcs .c2.wopen .c2-chips, #app.pcs .c2.wopen .c2-att, #app.pcs .c2.wopen .c2-biz { padding-left: 28px; padding-right: 28px; }
  #app.pcs .c2-wh { min-height: 56px; padding: 10px 16px; }
  /* 통역 */
  #app.pcs .ip-list, #app.pcs .ip-in, #app.pcs .ip-two { width: 100%; max-width: calc(var(--colw) + 48px); margin-left: auto; margin-right: auto; box-sizing: border-box; }
  /* 다른 화면(받은 업무·업무 목록 등): 카드 바탕을 같은 톤으로 */
  #app.pcs .card { border-color: var(--calm-line); }
}

/* ── 12/5 밤 AI BRIDGE CARE 고객센터 ── */
.cr-it{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:12px;padding:10px 12px;margin-top:8px;cursor:pointer}
.cr-it>span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.cr-it b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cr-it small{color:var(--mut,#6b7280)}
.cr-it .pill{white-space:nowrap}
.cr-new{font-style:normal;font-size:12.5px;color:#fff;background:#e0533d;border-radius:8px;padding:1px 6px;margin-left:4px}
.cr-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}
.cr-msgs{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.cr-m{max-width:88%;padding:8px 11px;border-radius:12px;background:#f3f4f6;line-height:1.5}
.cr-m small{display:block;color:var(--mut,#6b7280);margin-bottom:2px}
.cr-m.me{align-self:flex-end;background:#e8eefc}
.cr-m.care{align-self:flex-start;background:#fff7e6;border:1px solid #f3dfb3}
.cr-m.care.ai{background:#eefaf3;border-color:#c9ead6}
#crn select,#crn input,#crn textarea{width:100%}
/* 12/6 성장하는 AI 직원 */
.gr-ask{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed var(--line,#e5e7eb);font-size:14.5px;color:var(--mut,#6b7280)}
.gr-ask .gr-why{display:flex;gap:6px;width:100%}.gr-ask .gr-why[hidden]{display:none}.gr-ask .gr-why input{flex:1;min-width:0}
.gr-done{margin-top:8px;font-size:14.5px;color:#166534}
.gr-lv{padding:14px;border-radius:14px;background:linear-gradient(135deg,#ecfdf3,#f0f7ff);border:1px solid #cdebd9;margin-bottom:10px}
.gr-lv .bar{margin:8px 0 4px}
.gr-n{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px;text-align:center}
.gr-n span{background:#fff;border-radius:10px;padding:6px 2px;font-size:13.5px;color:var(--mut,#6b7280)}.gr-n b{display:block;font-size:18px;color:var(--ink,#111827)}
.gr-it{border:1px solid var(--line,#e5e7eb);border-radius:12px;padding:10px;margin:6px 0;background:#fff}
.gr-it.candidate{border-color:#f3dfb3;background:#fffbf0}.gr-it.off{opacity:.6}
.gr-it .gr-tx{margin:6px 0 2px;font-size:14.5px}.gr-it .row.gap{margin-top:6px}
/* 12/6 쉬운 PC 연결 */
.pc-steps{margin:10px 0;padding-left:20px;font-size:15px;line-height:1.6}.pc-steps li{margin:8px 0}
a.btn-dl{display:inline-block;width:auto;margin:6px 0 2px;padding:11px 18px;border-radius:10px;color:#fff;text-decoration:none;text-align:center}
.ob-pc a.btn-dl{display:block;margin:8px 0}
.pc-alt{margin:8px 0;font-size:14.5px}.pc-alt summary{cursor:pointer;color:var(--muted,#667)}

/* 12/6 각 화면 돌아가기 */
.pghead { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 2px; background: var(--calm-bg, #f3f5f9); border-bottom: 1px solid var(--line); }
.pghead b { font-size: 16px; color: var(--ink, #111827); }
.pgback { border: 1px solid var(--line); background: #fff; color: var(--navy, #0f2b67); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.pgback:hover { background: #e8effc; }
.ip-back { display: block; }
@media (max-width: 959px) { .top .top-burger { color: var(--navy, #0f2b67); } }

/* 12/6 먼저 묻는 비서: 오늘 할 일 보고 */
.bf-card { max-width: 560px; }
.bf-list { margin: 8px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.bf-it small { display: block; color: var(--mute, #6b7280); margin-top: 2px; }
.bf-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bf-u { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #eef2f8; color: #475569; }
.bf-u.u-now { background: #fde8e8; color: #b91c1c; } .bf-u.u-today { background: #fff4dc; color: #92400e; }
.bf-btn { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.bf-it.st-go, .bf-it.st-skip { opacity: .6; }
.bf-q { margin: 6px 0 2px; }
.bf-btn button { width: auto !important; flex: 0 0 auto; padding: 7px 18px; min-height: 0; font-size: 15px; border-radius: 10px; }
.bf-btn .lnk { padding: 7px 6px; }
.bf-ho { margin: 10px 0 6px; padding: 12px; border-radius: 12px; background: #fff8e8; border: 1px solid #f1dca6; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bf-ho small { color: #6b5a2e; line-height: 1.5; }
.bf-ho.run { background: #eef4ff; border-color: #cfdcf6; }
.bf-ho.run small { color: #3b4f7a; }

/* 12/6 대표 '최대한 심플하게': 오늘 할 일 카드 */
.bf-card { margin: 14px 4px 6px; padding: 14px 14px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 16px; background: #fff; max-width: 560px; }
.bf-top { display: flex; align-items: center; justify-content: space-between; }
.bf-top b { font-size: 16px; }
.bf-re { border: 0; background: none; font-size: 18px; color: #94a3b8; cursor: pointer; padding: 2px 6px; }
.bf-list { list-style: none; margin: 10px 0 4px; padding: 0; gap: 0; }
.bf-it { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #f1f3f7; }
.bf-it:first-child { border-top: 0; }
.bf-tx { flex: 1; min-width: 0; }
.bf-tx b { font-size: 16px; font-weight: 600; }
.bf-tx small { display: block; color: #5f6878; font-size: 14px; margin-top: 2px; }
.bf-now { font-style: normal; font-size: 12.5px; color: #b91c1c; background: #fde8e8; border-radius: 6px; padding: 1px 6px; margin-left: 4px; font-weight: 700; }
.bf-it .primary.sm { width: auto !important; flex: 0 0 auto; padding: 7px 14px; font-size: 15px; border-radius: 10px; min-height: 0; }
.bf-x { border: 0; background: none; color: #8a93a6; font-size: 15px; cursor: pointer; padding: 4px; }
.bf-st { color: #5f6878; font-size: 15px; padding: 0 8px; }
.bf-q { margin: 6px 0 0; font-size: 15px; color: #475569; }
.bf-ho { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 2px; padding: 10px 12px; border-radius: 12px; background: #f6f8fb; font-size: 15px; flex-direction: row; border: 0; }
.bf-ho small { color: #5f6878; margin-left: 4px; }
.bf-ho .ghost2.sm { width: auto !important; flex: 0 0 auto; padding: 6px 12px; font-size: 14.5px; }
.bf-ho.run { background: #eef4ff; color: #3b4f7a; }

/* 12/6 가입 흐름: PC 설치·휴대폰 QR */
.bf-ho .btn-a { text-decoration: none; display: inline-block; white-space: nowrap; }
.bf-ph { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f1f3f7; }
.bf-ph .lnk { font-size: 15px; }
.qr-ov { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex; align-items: center; justify-content: center; z-index: 200; }
.qr-box { background: #fff; border-radius: 18px; padding: 22px; width: 300px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.qr-img svg { width: 220px; height: 220px; }
.qr-box small { color: #6b7280; line-height: 1.5; }
.qr-box .primary.sm { width: auto !important; padding: 8px 20px; }
.ob.pg { max-width: 420px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 20px; }
.ob.pg img { border-radius: 14px; }

/* 12/6 대표: 글씨 보기 편하게 — 줄 간격·대화 글씨 */
body { line-height: 1.6; }
.b2 .bb, .b2.ai .bb:not(.typing) { font-size: 16.5px; line-height: 1.75; }
.bf-tx b { font-size: 16px; }
.dr-it { font-size: 16px; }
