/* 2.93.0 새 판(오늘 · 일 · 사람 · 활동 · 더보기, js/v2). 색과 글꼴은 styles.css 의 변수만 쓴다(룩·다크 모드를 그대로 따름). */
.v2 { flex: 1 1 auto; min-width: 0; min-height: 0; overflow: auto; padding: 18px 24px 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.v2 :focus-visible, .v2-undo :focus-visible, .v2-chiefbar :focus-visible { outline: 2px solid var(--decide); outline-offset: 2px; }
.v2-head { display: flex; align-items: baseline; gap: 10px; padding: 0 2px 6px; min-width: 0; }
.v2-h1 { font-size: 22px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.v2-sub { color: var(--muted); font-size: 12.5px; }
.v2-grow { flex: 1 1 auto; }
.v2-keys { font-size: 12px; color: var(--muted); white-space: nowrap; }
.v2-sec { display: flex; align-items: center; gap: 8px; margin: 12px 2px 8px; min-width: 0; }
.v2-sec h2 { font-size: 15px; font-weight: 700; margin: 0; }
.v2-sec > span { color: var(--muted); font-size: 12px; }
.v2-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.v2-empty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px; color: var(--muted); font-size: 13px; }
.v2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 4px; }
.v2-col { min-width: 0; }
.v2-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; font-size: 11px; background: var(--confirm-bg); color: var(--confirm); vertical-align: 1px; }
.v2-tag.ext { background: var(--urgent-bg); color: var(--urgent); }
.v2-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; flex-shrink: 0; }
.v2-chief-av { background: var(--ink); color: var(--on-ink); font-weight: 800; }
.v2-banner { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }

/* ---- 오늘 */
.v2-chiefline { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; }
.v2-chiefline .avatar { margin-top: 1px; }
.v2-tidy { display: flex; gap: 10px; align-items: center; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; }
.v2-tidy-t { flex: 1 1 auto; font-size: 13px; min-width: 0; }
.v2-dcs { display: flex; flex-direction: column; gap: 8px; }
.v2-dc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-height: 1200px;
  transition: transform .2s ease-out, opacity .2s ease-out, max-height .2s ease-out, margin .2s ease-out; }
.v2-dc.focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.v2-dc.gone { transform: translateX(40px); opacity: 0; max-height: 0; margin-bottom: -8px; border-width: 0; }
/* 단추 열은 모든 카드에서 같은 x, 같은 높이(윗줄 높이 고정) — 연달아 답할 때 마우스를 옮기지 않게 */
.v2-dc-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 0 14px; height: 72px; box-sizing: border-box; cursor: pointer; }
.v2-dc-txt { min-width: 0; }
.v2-q { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-why { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-more1 { font-size: 12px; color: var(--decide); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-btns { display: grid; grid-template-columns: 112px 112px 70px; gap: 6px; justify-content: end; }
.v2-btns.ev { justify-content: start; margin-top: 10px; }
.v2-btns.ask { display: flex; flex-wrap: wrap; justify-content: flex-start; margin-top: 8px; }
.v2-b { height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; cursor: pointer; }
.v2-b .v2-bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-b kbd { font: inherit; font-size: 10px; opacity: .55; }
.v2-b.p { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.v2-b.p.armed { background: var(--urgent); border-color: var(--urgent); color: #fff; }
.v2-b:hover:not(:disabled) { border-color: var(--muted); }
.v2-b:disabled { opacity: .5; cursor: default; }
.v2-ev { border-top: 1px solid var(--line); padding: 12px 14px 14px 60px; background: var(--bg-2); font-size: 13px; }
.v2-ev-t { margin: 0 0 8px; line-height: 1.55; }
.v2-ev-file { border: 1px solid var(--file-line); background: var(--file-bg); color: var(--file-ink); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 12.5px; cursor: pointer; margin-bottom: 8px; }
.v2-ev-last { border-left: 2px solid var(--line-strong); padding-left: 10px; color: var(--ink-2); font-size: 12.5px; margin: 4px 0 8px; }
.v2-ev-link { font-size: 12.5px; }
.v2-say { display: flex; gap: 8px; align-items: flex-end; padding: 0 14px 12px 60px; }
.v2-say textarea { flex: 1 1 auto; min-width: 0; resize: vertical; min-height: 40px; }
.v2-moreln { align-self: flex-start; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; padding: 8px 4px; cursor: pointer; }
.v2-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.v2-row:first-child { border-top: 0; }
a.v2-row:hover, a.v2-dl:hover { background: var(--bg-2); text-decoration: none; }
.v2-row-m { min-width: 0; }
.v2-nm { font-weight: 700; font-size: 13px; }
.v2-st { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; min-width: 0; }
.v2-dn { font-size: 12px; color: var(--st-work); font-weight: 600; white-space: nowrap; }
.v2-dl { display: block; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 13px; color: inherit; text-decoration: none; }
.v2-dl:first-child { border-top: 0; }
.v2-t { color: var(--muted); font-size: 12px; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ---- 일 */
.v2-tasks { padding-bottom: 16px; }
.v2-work { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 360px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.v2-wl { border-right: 1px solid var(--line); overflow: auto; padding: 10px; background: var(--bg-2); min-height: 0; }
.v2-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.v2-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--nav-bg); border: 1px solid transparent; font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; text-decoration: none; }
.v2-chip .avatar { margin-left: -6px; }
.v2-chip em { font-style: normal; font-size: 11px; color: var(--muted); }
.v2-chip.on { background: var(--ink); color: var(--on-ink); }
.v2-chip.on em { color: inherit; opacity: .7; }
.v2-chip.ghost { background: transparent; border-color: var(--line-strong); }
.v2-chip-sep { width: 1px; height: 18px; background: var(--line-strong); margin: 0 2px; }
.v2-pj-wrap { position: relative; }
.v2-pj { position: absolute; top: 34px; left: 0; z-index: 20; min-width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.v2-pj-i { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: inherit; text-decoration: none; }
.v2-pj-i:hover { background: var(--bg-2); text-decoration: none; }
.v2-search { width: 100%; height: 36px; margin-bottom: 4px; box-sizing: border-box; }
.v2-lane { margin-top: 6px; }
.v2-lane-h { width: 100%; display: flex; gap: 6px; align-items: center; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 2px; cursor: pointer; }
.v2-lane-h.static { cursor: default; }
.v2-lane-n { margin-left: auto; font-variant-numeric: tabular-nums; }
.v2-lane-empty { font-size: 12px; color: var(--muted); padding: 2px 4px 8px; }
.v2-its { display: flex; flex-direction: column; gap: 6px; }
.v2-it { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; color: inherit; text-decoration: none; }
.v2-it:hover { text-decoration: none; border-color: var(--line-strong); }
.v2-it.on, .v2-it.sel { outline: 2px solid var(--ink); outline-offset: -2px; }
.v2-it-m { min-width: 0; }
.v2-tt { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-ln { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-need { color: var(--urgent); font-weight: 700; }
.v2-grp { margin-top: 4px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; font: inherit; font-size: 11px; padding: 1px 8px; color: var(--muted); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-wv { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.v2-wv-empty { justify-content: center; align-items: center; }
.v2-wvh { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.v2-wvh-m { min-width: 0; flex: 1 1 auto; }
.v2-wvh-t { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-back { display: none; font-size: 24px; line-height: 1; padding: 0 6px 0 0; color: var(--ink); text-decoration: none; }
.v2-seg { display: inline-flex; background: var(--nav-bg); border-radius: 999px; padding: 2px; flex-shrink: 0; }
.v2-seg button { border: 0; background: none; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.v2-seg button.on { background: var(--panel); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.v2-talk { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.v2-talk .thread { flex: 1 1 auto; }
.v2-under { margin: 10px 14px 0; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 8px 11px; font-size: 13px; }
.v2-under summary { cursor: pointer; }
.v2-under .txt { margin-top: 8px; }
.v2-asks { padding: 8px 14px 0; display: flex; flex-direction: column; gap: 8px; max-height: 38%; overflow: auto; flex-shrink: 0; }
.v2-ask { border: 1.5px solid var(--urgent); background: var(--panel); border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.v2-ask .v2-say { padding: 8px 0 0; }
.v2-wvb { flex: 1 1 auto; overflow: auto; padding: 12px 16px; min-height: 0; }
.v2-det { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--panel); }
.v2-det > summary { cursor: pointer; padding: 10px 12px; font-weight: 700; font-size: 13.5px; }
.v2-det-b { padding: 0 12px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow-x: auto; }
.v2-vd { border-top: 1px solid var(--line); padding: 6px 0; }
.v2-vd:first-child { border-top: 0; }

/* ---- 사람 */
.v2-people-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.v2-people.has-sel .v2-people-wrap { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); align-items: start; }
.v2-people.has-sel .v2-ppl { grid-template-columns: minmax(0, 1fr); }
.v2-ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.v2-pc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.v2-pc:hover { text-decoration: none; border-color: var(--line-strong); }
.v2-pc.on { outline: 2px solid var(--ink); outline-offset: -2px; }
.v2-pc.all { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.v2-pc.all .v2-st { color: inherit; opacity: .75; }
.v2-pc.hire { border-style: dashed; }
.v2-pc-h { display: flex; gap: 10px; align-items: center; min-width: 0; }
.v2-pc-m { min-width: 0; flex: 1 1 auto; }
.v2-pc-f { display: flex; gap: 8px; align-items: center; justify-content: space-between; min-width: 0; }
.v2-duty { font-size: 12px; color: var(--ink-2); background: var(--bg-2); border-radius: 8px; padding: 5px 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-all-av { background: var(--on-ink); color: var(--ink); font-size: 11px; }
.v2-hire-av { background: var(--nav-bg); color: var(--ink); font-size: 18px; }
.v2-pd { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-width: 0; }
.v2-pd-h { display: flex; gap: 10px; align-items: center; min-width: 0; }
.v2-pd-nm { font-size: 16px; }
.v2-pd-tabs { margin: 12px 0 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.v2-pd-b { min-width: 0; }
.v2-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.v2-field-l { font-weight: 700; font-size: 13px; }
.v2-field textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 56px; }
.v2-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 10px; }
.v2-allow-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.v2-allow-t th, .v2-allow-t td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: middle; }
.v2-allow-t th { color: var(--muted); font-weight: 600; }
.v2-lock { display: inline-flex; margin-left: 6px; color: var(--muted); vertical-align: -2px; }
.v2-lv { display: inline-flex; flex-wrap: wrap; background: var(--nav-bg); border-radius: 999px; padding: 2px; }
.v2-lv button { border: 0; background: none; border-radius: 999px; padding: 4px 9px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 28px; }
.v2-lv button.on { background: var(--panel); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.v2-lv.lock { opacity: .6; }
.v2-lv.lock button { cursor: not-allowed; }

/* ---- 활동 */
.v2-tl { padding: 6px 0; }
.v2-ti { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 13px; color: inherit; text-decoration: none; }
.v2-ti:first-child { border-top: 0; }
.v2-sch { grid-template-columns: 110px minmax(0, 1fr) auto; }
.v2-sch.paused { opacity: .6; }
.v2-when { font-size: 12px; color: var(--muted); }
.v2-sch-what { border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 0; cursor: pointer; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-pause-b { border: 1px solid var(--line-strong); background: var(--panel); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink); min-height: 30px; }
.v2-pause-b[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.v2-sch-new { padding: 8px 12px; border-top: 1px solid var(--line); }
.v2-stop { padding: 12px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.v2-stop-one { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-pick { height: 36px; }
.v2-adv { margin-top: 12px; }
.v2-adv summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 4px 2px; }
.v2-adv-b { display: flex; flex-direction: column; gap: 8px; padding: 8px 4px; font-size: 13px; }

/* ---- 더보기 */
.v2-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.v2-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; color: var(--ink); cursor: pointer; min-height: 64px; }
.v2-tile:hover { border-color: var(--line-strong); }
.v2-oldui { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; flex-wrap: wrap; }
.v2-more-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.v2-row-b { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 10px 14px; font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; }

/* ---- 되돌리기 띠(5초) */
.v2-undo { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--on-ink); border-radius: 999px;
  padding: 8px 10px 8px 16px; display: flex; gap: 12px; align-items: center; transition: opacity .18s, transform .18s; z-index: 1200; font-size: 13px; max-width: calc(100vw - 32px); box-sizing: border-box; }
.v2-undo.on { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.v2-undo-b { background: var(--on-ink); color: var(--ink); border: 0; border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 700; cursor: pointer; flex-shrink: 0; }

/* ---- 비서실장 칸(콘솔 창의 자리만 바꿈) */
.cs-now { margin: 0 14px 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.cs-now[hidden] { display: none; }
@media (min-width: 900px) {
  body.chief-docked #app { margin-right: 360px; }
  .cs-panel.cs-dock { display: flex; top: 0; right: 0; bottom: 0; width: 360px; max-width: none; border-radius: 0; border-width: 0 0 0 1px; box-shadow: none; z-index: 40; }
  .cs-panel.cs-dock .cs-hd .cs-ib[aria-label="닫기"] { display: none; }
  body.chief-docked .cs-fab, body.chief-docked .cs-prm { display: none !important; }
  .cs-panel.cs-slide { top: 12px; right: 12px; bottom: 12px; width: 380px; }
  .cs-panel.cs-slide.open { animation: v2-slide .18s ease-out; }
}
@keyframes v2-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- 폰 */
body.v2-ui .v2-sheet-bg { display: none; }
@media (max-width: 899px) {
  body.v2-ui .tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v2 { padding: 12px 16px calc(var(--tb-zone, 76px) + 64px); }
  .v2-keys { display: none; }
  .v2-two { grid-template-columns: minmax(0, 1fr); }
  .v2-dc-top { grid-template-columns: 30px minmax(0, 1fr); height: auto; padding: 10px 12px; align-items: start; row-gap: 10px; }
  .v2-q, .v2-why { white-space: normal; }
  .v2-dc-top .v2-btns, .v2-btns.ev { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .v2-btns .v2-b { height: 44px; font-size: 14px; }
  .v2-btns .v2-b.say, .v2-b kbd { display: none; }
  .v2-ev, .v2-say { padding-left: 12px; padding-right: 12px; }
  .v2-tidy { flex-wrap: wrap; }
  .v2-tidy-t { flex: 1 1 calc(100% - 40px); }
  .v2-tidy .v2-b { flex: 1; height: 44px; }
  .v2-work { grid-template-columns: minmax(0, 1fr); border: 0; background: none; border-radius: 0; overflow: visible; }
  .v2-wl { border: 0; padding: 0; background: none; overflow: visible; }
  .v2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .v2-chips::-webkit-scrollbar { display: none; }
  .v2-chip { flex-shrink: 0; }
  .v2-pj { position: fixed; top: auto; left: 16px; right: 16px; }
  .v2-tasks .v2-wv { display: none; }
  .v2-tasks.has-sel { padding: 0; }
  .v2-tasks.has-sel > .v2-head, .v2-tasks.has-sel .v2-wl { display: none; }
  .v2-tasks.has-sel .v2-work { height: 100%; }
  .v2-tasks.has-sel .v2-wv { display: flex; height: 100%; background: var(--panel); padding-bottom: calc(var(--tb-zone, 76px) + 4px); box-sizing: border-box; }
  body:has(#screen-tasks:not(.hidden) .v2-tasks.has-sel) .v2-chiefbar { display: none; }      /* 일 하나를 열면 그 담당에게 말하는 입력이 같은 자리에 있다 */
  .v2-wvh { flex-wrap: wrap; }
  .v2-wvh .v2-seg { order: 4; }
  .v2-back { display: inline-block; }
  .v2-people.has-sel .v2-people-wrap { grid-template-columns: minmax(0, 1fr); }
  .v2-people.has-sel .v2-people-list, .v2-people.has-sel > .v2-head { display: none; }
  .v2-ppl { grid-template-columns: minmax(0, 1fr); }
  .v2-sch { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-sch .v2-when { grid-column: 1 / -1; }
  .v2-lv button { min-height: 36px; }
  .v2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-undo { bottom: calc(var(--tb-zone, 76px) + 64px); }
  /* 비서실장: 탭 막대 바로 위 입력 막대(엄지 자리), 누르면 아래에서 반 높이 시트 */
  .v2-chiefbar { position: fixed; left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); bottom: calc(var(--tb-zone, 76px) + 6px); z-index: 29; display: flex; gap: 8px; align-items: center; }
  .v2-chiefbar-att { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: 18px; color: var(--ink); }
  .v2-chiefbar[hidden], body.kb-open .v2-chiefbar, body.v2-sheet-open .v2-chiefbar { display: none; }
  .v2-chiefbar-in { flex: 1 1 auto; min-width: 0; width: 100%; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 6px 20px rgba(0,0,0,.12); font: inherit; color: var(--muted); text-align: left; cursor: text; }
  body.v2-chief-sheet .cs-fab, body.v2-chief-sheet .qk-fab { display: none !important; }      /* 아래 비서실장 막대가 새 지시도 맡는다 */
  body.v2-ui .notif-count { display: none; }      /* 숫자는 오늘 탭 하나만 */
  .cs-panel.cs-sheet { height: 56dvh; top: auto; bottom: 0; }
  body.v2-ui.v2-sheet-open .v2-sheet-bg { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.28); z-index: 940; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-dc, .v2-undo, .cs-panel.cs-slide.open { transition: none; animation: none; }
  .v2-dc.gone { transform: none; }
}
/* 2.93.1 일 화면 맨 위 프로젝트 갈래(얼굴 칸 없이, 오른쪽 진행률) */
.v2-it.v2-pjrow { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.v2-it.v2-pjrow.add { grid-template-columns: 1fr; color: var(--muted); font-size: 13px; }

/* ---- 2.94.0 대기 31: 답 단추 글이 단추 밖으로 넘치지 않게. 단추 안 좌우 여백, 두 줄까지 줄바꿈·가운데 정렬.
   넓은 화면 카드 윗줄은 세로선(같은 x)을 지키려고 칸 너비는 그대로 두고 글만 두 줄로. 근거 아래·좁은 화면은
   둘 다 한 줄에 들어가면 나란히, 아니면 위아래로 꽉 차게 쌓는다(flex-wrap + 글 길이만큼의 기본 너비). */
.v2-b { height: auto; min-height: 34px; padding: 3px 14px; white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; box-sizing: border-box; }
.v2-b .v2-bl { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; min-width: 0; }
.v2-btns:not(.ev):not(.ask) .v2-b { height: 38px; padding: 2px 8px; line-height: 1.2; }      /* 넓은 화면 윗줄: 높이 고정(카드마다 같은 자리), 글은 두 줄까지 */
.v2-btns.ev { display: flex; flex-wrap: wrap; }
.v2-btns.ev .v2-b { flex: 0 1 auto; min-width: 112px; }
.v2-btns.ev .v2-b.say { min-width: 70px; }
.v2-btns.ask .v2-b { flex: 0 1 auto; }
@media (max-width: 899px) {
  .v2-dc-top .v2-btns, .v2-btns.ev { display: flex; flex-wrap: wrap; gap: 8px; }
  .v2-dc-top .v2-btns:not(.ev):not(.ask) .v2-b, .v2-btns.ev .v2-b { flex: 1 1 max-content; min-width: 0; height: auto; min-height: 44px; padding: 6px 14px; line-height: 1.25; }
  .v2-tidy .v2-b { height: auto; min-height: 44px; }
  .v2-btns.ask .v2-b { flex: 1 1 max-content; min-height: 40px; }
}

/* ---- 2.94.0 대기 37: 대화 위 '과정 보기 (n)' 한 줄과 과정 화면, 판단 설명 글(조용히 구분) */
.v2-proc-line { display: flex; align-items: center; gap: 6px; margin: 8px 14px 0; padding: 6px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
  color: var(--muted); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; flex-shrink: 0; }
.v2-proc-line:hover { color: var(--ink); border-color: var(--line-strong); }
.v2-proc-line .v2-caret { margin-left: auto; }
.v2-proc-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px 6px; flex-shrink: 0; }
.v2-proc-h .v2-sub { flex: 1 1 100%; font-size: 12px; }
.msg.is-explain .bubble { background: var(--bg-2); border-left: 3px solid var(--line-strong); }
/* 2.94.0 대기 32: 꺼낸 코드 블록(복사 아이콘은 .copy-btn), '자세히' 안 나머지 글은 보통 글꼴 */
.msg-codes { margin-top: 6px; max-width: 720px; }
.msg-codes pre { margin: 6px 0 0; white-space: pre-wrap; word-break: break-all; }
.msg-detail.plain .msg-detail-body { font-family: inherit; font-size: 13px; color: var(--ink-2, var(--ink)); }
/* 2.94.0 대기 16: 멈춘 까닭 한 줄(놀라지 않게, 옅은 글씨) */
.v2-stuck { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-stuck-ln { color: var(--muted); }
/* 2.94.0 대기 33·34: 일 머리의 완료·그만두기·다시 열기, 끝난 일 줄의 다시 열기 */
.v2-wvh-acts { display: flex; gap: 6px; flex-shrink: 0; }
.v2-dl.has-act { display: flex; align-items: center; gap: 8px; }
.v2-dl.has-act .v2-dl-a { flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.v2-dl.has-act .btn { flex-shrink: 0; }
.v2-tidy.close .v2-tidy-t a { display: inline-block; margin-top: 2px; }
/* 2.94.0 대기 35: 응답 속도 표 */
.v2-speed { margin-top: 18px; }
.v2-lat-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.v2-lat-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v2-lat { border-collapse: collapse; width: 100%; font-size: 13px; }
.v2-lat th, .v2-lat td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.v2-lat thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
.v2-lat td b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-lat td small { display: block; color: var(--muted); font-size: 11px; }
.v2-lat td.n { font-variant-numeric: tabular-nums; }
.v2-lat-note { margin-top: 8px; font-size: 12px; }
@media (max-width: 899px) {
  .v2-wvh-acts { order: 3; }
}
