/* 내 사건함 — 의뢰인 포털. 색은 직원 웹(style.css)·옛 사건 안내(view.html)와 같은 토큰, 글래스 카드 */
:root {
  --bg: #f4f4f1; --panel: rgba(255,255,255,.8); --card: #ffffff; --raise: #ffffff;
  --line: rgba(20,20,30,.08); --line-strong: rgba(20,20,30,.15);
  --text: #17181c; --sub: #5f6168; --faint: #8e9098;
  --accent: #2f3b8f; --accent-2: #5b67c9; --accent-soft: rgba(47,59,143,.09); --accent-text: #ffffff;
  --red: #c23b3b; --red-soft: rgba(194,59,59,.1); --amber: #a86a12; --amber-soft: rgba(196,140,30,.14);
  --green: #2e7d55; --green-soft: rgba(46,125,85,.11); --blue: #3b6fd0; --purple: #7a4fc0;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(20,20,40,.06);
  --shadow-lg: 0 24px 80px rgba(10,10,30,.22);
  --r: 18px; --fs: 1;
  --top-h: 56px; --dock-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316; --panel: rgba(30,31,36,.8); --card: #1d1e23; --raise: #24252b;
    --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.15);
    --text: #ececef; --sub: #a3a5ad; --faint: #7a7c85;
    --accent: #8c9aff; --accent-2: #6f7de8; --accent-soft: rgba(140,154,255,.14); --accent-text: #10122a;
    --red: #ff7b7b; --red-soft: rgba(255,123,123,.13); --amber: #e8b04f; --amber-soft: rgba(232,176,79,.15);
    --green: #6fd0a0; --green-soft: rgba(111,208,160,.13); --blue: #7fb0ff; --purple: #b893f2;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121316; --panel: rgba(30,31,36,.8); --card: #1d1e23; --raise: #24252b;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.15);
  --text: #ececef; --sub: #a3a5ad; --faint: #7a7c85;
  --accent: #8c9aff; --accent-2: #6f7de8; --accent-soft: rgba(140,154,255,.14); --accent-text: #10122a;
  --red: #ff7b7b; --red-soft: rgba(255,123,123,.13); --amber: #e8b04f; --amber-soft: rgba(232,176,79,.15);
  --green: #6fd0a0; --green-soft: rgba(111,208,160,.13); --blue: #7fb0ff; --purple: #b893f2;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { font-size: calc(16px * var(--fs)); -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--text); letter-spacing: -0.01em;
  background: var(--bg);
  background-image: radial-gradient(1100px 560px at 0% -12%, var(--accent-soft), transparent 62%), radial-gradient(900px 520px at 110% 110%, var(--accent-soft), transparent 60%);
  background-attachment: fixed; min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
html:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; letter-spacing: 0; }
html:lang(ja) :is(.hero-hi, .ri-t, .sh-p, .au-p, .cc-p) { word-break: normal; overflow-wrap: anywhere; }
/* 한국어는 화면 전체를 낱말 단위로 줄바꿈 ('바/로 열립니다'·'가상지방법/원'처럼 낱말 가운데서 끊기지 않게 — 70대·가++ 글자에서 특히) */
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: var(--accent); text-decoration: none; }
[hidden] { display: none !important; }
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grow { flex: 1; }
.faint { color: var(--faint); }
.c { text-align: center; }
.pad { padding: 14px 18px 18px; }
.pad0 { padding: 0 18px 16px; }
.nojs { padding: 24px; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot .brand-mark { width: 44px; height: 44px; border-radius: 13px; animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; transform: scale(.94); } }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

/* ── 뼈대 ── */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 680; font-size: 1rem; min-width: 0; }
.brand-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 9px; background: url(/portal/icon-192.png) center / cover, linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(47,59,143,.22); }
#top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px;
  height: calc(var(--top-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 74%, transparent); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 0; background: transparent; color: var(--sub); font-size: .82rem; font-weight: 650; cursor: pointer; }
.tbtn:hover { background: var(--line); color: var(--text); }
.tbtn .ic { width: 1.35rem; height: 1.35rem; }
/* 홈 밖 화면의 '‹ 뒤로' (portal.js) */
.tback { color: var(--accent); padding: 0 8px 0 2px; margin-left: -6px; font-weight: 600; }
.tback[hidden] { display: none; }
.tback:not([hidden]) + .brand .brand-t { display: none; }
@media (min-width: 900px) { .tback:not([hidden]) + .brand .brand-t { display: inline; } }
.plus-top { display: none; }
#side { display: none; }
main#view { padding: 14px max(16px, env(safe-area-inset-left)) calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-right)); max-width: 680px; margin: 0 auto; outline: none; transition: opacity .15s; }
main#view.loading { opacity: .55; }
#dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 0 max(6px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(6px, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-top: 1px solid var(--line);
}
.dk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--dock-h); border: 0; background: none; color: var(--sub); font-size: .72rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.dk .ic { width: 1.55rem; height: 1.55rem; }
.dk.on { color: var(--accent); }
.dk.on .ic { stroke-width: 2.1; }
.dk-plus { position: relative; }
.dk-c { width: 54px; height: 54px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 22px rgba(47,59,143,.38), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .12s; }
.dk-c .ic { width: 1.7rem; height: 1.7rem; stroke-width: 2.3; color: #fff; }
.dk-plus:active .dk-c { transform: scale(.94); }
.dk-plus .dk-l { margin-top: 1px; }
.pvband { position: sticky; top: 0; z-index: 40; background: var(--amber); color: #fff; text-align: center; font-size: .82rem; font-weight: 650; padding: 5px 12px; }
#netband { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--top-h) + env(safe-area-inset-top) + 8px); z-index: 45; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #2a2b31; color: #fff; font-size: .85rem; box-shadow: var(--shadow-lg); }

/* ── 넓은 화면: 왼쪽 띠 + 가운데 두 기둥 (본문 묶음은 남은 자리의 가운데 — 아주 넓은 화면에서 왼쪽으로 쏠리지 않게) ── */
@media (min-width: 1000px) {
  body.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 100vh; }
  body.app #app { display: contents; }
  #top { grid-column: 1 / -1; padding-left: 22px; padding-right: 22px; }
  .plus-top { display: inline-flex; height: 40px; padding: 0 16px 0 12px; margin-right: 6px; border-radius: 12px; color: var(--accent-text); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 14px rgba(47,59,143,.25); font-size: .9rem; }
  .plus-top:hover { color: var(--accent-text); filter: brightness(1.06); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
  #side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); height: calc(100vh - var(--top-h)); overflow: auto; padding: 18px 12px 18px 14px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); }
  .sd { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--sub); font-size: .95rem; font-weight: 600; text-align: left; cursor: pointer; text-decoration: none; min-width: 0; }
  .sd span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sd:hover { background: var(--line); color: var(--text); }
  .sd.on { background: var(--accent-soft); color: var(--accent); }
  .sd-case { font-size: .9rem; font-weight: 560; padding: 8px 12px; }
  .sd-h { font-size: .74rem; font-weight: 700; color: var(--faint); padding: 14px 12px 4px; letter-spacing: .02em; }
  .sd-gap { height: 10px; }
  .sd-call { color: var(--accent); }
  #dock { display: none; }
  main#view { max-width: 1240px; width: 100%; padding: 26px 36px 60px; margin: 0 auto; }
  .home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .sum-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .sum-grid > .todo-sec, .sum-grid > .kask-done, .sum-grid > .kask { grid-column: 1 / -1; }
  .me-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .dgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
  .hero-hi { font-size: 2rem !important; }
  .case-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .case-head > * { grid-column: 1; }
  .case-head > .ch-top { grid-column: 1 / -1; }
  .sum-grid > .wide, .sum-grid > .fold[data-k="info"] { grid-column: 1 / -1; }
  .sum-grid > .wide .stage { max-width: none; }
  .case-head .ch-law { grid-column: 2; grid-row: 2 / span 3; align-self: start; min-width: 260px; }
  .case-head .plus-case { grid-column: 2; width: auto; }
  .talk .thread { max-height: none; }
}

/* ── 카드·글자 ── */
.card { background: var(--panel); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); margin: 0 0 14px; }
.sec-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 15px 18px 6px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; }
.sec-h.out { padding: 4px 4px 10px; }
.sec-h .n { font-size: .82rem; font-weight: 600; color: var(--faint); }
.sec-h .more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: .86rem; font-weight: 650; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.sec-h .more .ic { width: 1rem; height: 1rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot.amber { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.pg-h { font-size: 1.6rem; font-weight: 760; letter-spacing: -.03em; margin: 6px 4px 14px; }
.empty { color: var(--faint); font-size: .93rem; padding: 10px 18px 18px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; font-size: .75rem; font-weight: 650; background: var(--line); color: var(--sub); white-space: nowrap; }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 750; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.newdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-left: 6px; vertical-align: 2px; flex: none; }
.t > .newdot:first-child { margin: 0 7px 0 0; }
.cs { color: var(--faint); }
.ok { color: var(--green); } .warn { color: var(--amber); }
.blink { animation: blink 1.8s ease-out; }
@keyframes blink { from { box-shadow: 0 0 0 3px var(--accent); } to { box-shadow: 0 0 0 3px transparent; } }

/* 단추 — 폰에서 누르기 쉽게 크게 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-weight: 650; font-size: .96rem; cursor: pointer; text-decoration: none; transition: transform .07s, background .12s, filter .12s; white-space: nowrap; }
.btn:hover { background: color-mix(in srgb, var(--card) 92%, var(--text)); }
.btn:active { transform: scale(.98); }
.btn.pri { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-text); box-shadow: 0 6px 18px rgba(47,59,143,.22); }
.btn.pri:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--sub); }
.btn.ghost:hover { background: var(--line); color: var(--text); }
.btn.danger, .btn.ghost.danger { color: var(--red); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: .84rem; border-radius: 10px; }
.btn.big { min-height: 54px; font-size: 1.04rem; border-radius: 16px; }
.btn.block { display: flex; width: 100%; white-space: normal; text-align: center; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn .num { font-variant-numeric: tabular-nums; opacity: .92; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns.two > * { flex: 1 1 140px; }
.btns.pad { padding: 4px 18px 18px; }
.linkbtn { border: 0; background: none; color: var(--accent); font-weight: 650; cursor: pointer; padding: 4px 2px; font-size: .9rem; }
.linkbtn.danger { color: var(--red); }
.round { width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--accent); cursor: pointer; }
.round .ic { width: 1.3rem; height: 1.3rem; }
.round.pri { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 0; color: #fff; }
.round.pri .ic { stroke-width: 2.4; }
.f { width: 100%; min-height: 46px; padding: 10px 13px; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--card); outline: none; font-size: 1rem; transition: border-color .12s, box-shadow .12s; }
.f:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.f { resize: vertical; }
.sel { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.fl { display: block; margin: 12px 0 0; } .fl > span { display: block; font-size: .84rem; font-weight: 650; color: var(--sub); margin: 0 0 5px 2px; }

/* ── 홈 ── */
.hero { padding: 10px 4px 16px; }
.hero-hi { margin: 0; font-size: 1.62rem; font-weight: 780; letter-spacing: -.035em; line-height: 1.25; }
.hero-sum { margin: 6px 0 0; font-size: 1.02rem; font-weight: 600; color: var(--accent); }
.hero-sum.calm { color: var(--green); }
.rows { padding: 2px 6px 8px; }
.row-i { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: var(--text); text-decoration: none; min-width: 0; }
a.row-i:hover, button.row-i:hover { background: var(--accent-soft); }
.row-i + .row-i { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.rico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); font-size: 1.25rem; color: var(--accent); }
.case-ico .ic { width: 1.4rem; height: 1.4rem; }
.ri-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ri-k { font-size: .78rem; font-weight: 650; color: var(--sub); }
.ri-t { font-size: 1rem; font-weight: 650; line-height: 1.38; }
.ri-t.one, .ri-m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-m { font-size: .84rem; color: var(--sub); display: flex; align-items: center; gap: 4px; }
.ri-m .ic { width: 1rem; height: 1rem; }
.ri-m.due, .due { color: var(--amber); font-weight: 650; }
.ri-at { font-size: .78rem; color: var(--faint); white-space: nowrap; align-self: flex-start; padding-top: 2px; display: flex; align-items: center; }
.news-i.is-new .ri-t { font-weight: 720; }
.go-pill { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 7px 8px 7px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.go-pill .ic { width: 1rem; height: 1rem; stroke-width: 2.3; }
.chev { width: 1.1rem; height: 1.1rem; color: var(--faint); flex: none; }
.kthumb { flex: none; width: 52px; height: 66px; border-radius: 9px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.kthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kthumb.noimg::after { content: '📄'; font-size: 1.5rem; }
.kthumb.sm { width: 42px; height: 54px; border-radius: 8px; }
.case-i.shut { opacity: .7; }
.calm-card { text-align: center; padding: 28px 18px 22px; }
.calm-card p { color: var(--sub); margin: 8px 0 16px; }
.calm-ill { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.calm-ill .ic { width: 1.8rem; height: 1.8rem; stroke-width: 2.2; }
details.card > summary { list-style: none; cursor: pointer; padding-bottom: 14px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary .chev { margin-left: auto; transition: transform .18s; }
details[open].card > summary .chev { transform: rotate(180deg); }
.one-case .oc-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 8px; color: var(--text); }
.oc-t { font-size: 1.2rem; font-weight: 740; letter-spacing: -.02em; line-height: 1.3; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 14px 16px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: .86rem; font-weight: 700; text-align: center; }
.tile .ic { width: 1.5rem; height: 1.5rem; }
.tile .badge { position: absolute; top: 6px; right: 8px; }

/* 단계 줄 */
.stage { display: flex; gap: 4px; padding: 10px 18px 4px; }
.st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.st i { display: block; height: 6px; border-radius: 3px; background: var(--line-strong); }
.st.past i { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.st.now i { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 3px var(--accent-soft); }
.st b { font-size: .72rem; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st.now b { color: var(--accent); font-weight: 760; }
@media (max-width: 560px) { .st:not(.now) b { visibility: hidden; } .st.now b { overflow: visible; } .st:last-child.now b { direction: rtl; } }
.stage-hint { margin: 4px 18px 14px; font-size: .9rem; color: var(--sub); }

/* 다음 일정 */
.dday { margin-left: auto; padding: 3px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.nx { display: flex; gap: 14px; padding: 8px 18px 10px; }
.nx-date { width: 64px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 7px 0 8px; border-radius: 15px; background: linear-gradient(160deg, var(--accent), var(--accent-2)); color: #fff; line-height: 1.15; box-shadow: 0 6px 16px rgba(47,59,143,.22); align-self: flex-start; }
.nx-date .m, .nx-date .w { font-size: .72rem; font-weight: 650; opacity: .9; }
.nx-date .d { font-size: 1.7rem; font-weight: 780; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nx-b { min-width: 0; flex: 1; }
.nx-when { font-size: 1.06rem; font-weight: 720; letter-spacing: -.015em; }
.nx-local { font-size: .86rem; color: var(--sub); margin-top: 1px; }
.nx-t { margin-top: 4px; font-weight: 600; }
.nx-t .nx-o { font-weight: 400; font-size: .86em; color: var(--faint); }
.nx-p { font-size: .9rem; color: var(--sub); }
.attend { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 11px; border-radius: 10px; font-size: .88rem; font-weight: 700; }
.ri-m.attend { margin-top: 2px; padding: 0; background: none !important; }
.at-need { background: var(--amber-soft); color: var(--amber); }
.at-no { background: var(--green-soft); color: var(--green); }
.at-tbd { background: var(--line); color: var(--sub); }
.next-card .btns { padding: 4px 18px 16px; }
.offchip { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-top: 8px; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--line-strong); background: transparent; text-align: left; cursor: copy; max-width: 100%; }
.offchip span { font-size: .7rem; font-weight: 700; color: var(--faint); }
.offchip b { font-size: .86rem; font-weight: 600; color: var(--sub); overflow-wrap: anywhere; }
.orig-inline { display: block; font-size: .8rem; color: var(--faint); margin-top: 2px; }

/* 띠 */
.band { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; margin: 0 0 12px; border-radius: 15px; background: var(--accent-soft); color: var(--text); font-size: .92rem; border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.band > .ic { color: var(--accent); }
.band .bt { flex: 1; min-width: 0; }
.band.warn { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 25%, transparent); } .band.warn > .ic { color: var(--amber); }
.band.soft { background: var(--line); border-color: transparent; }
.band .bx { border: 0; background: none; color: var(--faint); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; flex: none; }
@media (max-width: 600px) {
  .band { position: relative; flex-wrap: wrap; row-gap: 8px; padding-right: 12px; }
  .band .bt { flex: 1 1 calc(100% - 40px); }
  .band:has(.bx) .bt { padding-right: 30px; }
  .band .bx { position: absolute; top: 6px; right: 6px; }
  .band .btn { margin-left: 34px; flex: 0 0 auto; }
  .band .btn + .btn { margin-left: 0; }
}
.todo-i .ri-m { display: block; white-space: normal; }
.band.floating { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom)); z-index: 35; width: min(560px, calc(100% - 24px)); box-shadow: var(--shadow-lg); background: color-mix(in srgb, var(--card) 92%, var(--amber)); }

/* ── 사건 화면 ── */
.case-head { padding: 12px 18px 16px; }
.ch-top { display: flex; align-items: center; gap: 6px; margin: 0 -8px 2px; }
.ch-k { font-size: .8rem; font-weight: 650; color: var(--faint); padding-left: 8px; }
.switch { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 11px; border: 0; background: var(--line); color: var(--sub); font-size: .84rem; font-weight: 650; cursor: pointer; }
.switch .ic { width: 1rem; height: 1rem; }
.ch-t { margin: 4px 0 4px; font-size: 1.5rem; font-weight: 780; letter-spacing: -.03em; line-height: 1.25; }
.ch-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; color: var(--sub); font-size: .92rem; }
.ch-law { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 12px; border-radius: 15px; background: var(--line); }
.ch-ln { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ch-n { font-weight: 700; } .ch-n .lt { font-weight: 550; color: var(--sub); font-size: .88rem; white-space: nowrap; }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.big { width: 56px; height: 56px; } .avatar.big .ic { width: 1.8rem; height: 1.8rem; }
.ch-tog { display: flex; gap: 6px; align-items: center; margin: 10px 0 0; font-size: .88rem; color: var(--sub); }
.plus-case { margin-top: 14px; }
.tabs { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--sub); font-weight: 680; font-size: .93rem; cursor: pointer; }
.tab.on { background: var(--text); color: var(--bg); border-color: transparent; }
.tab .badge { height: 18px; min-width: 18px; font-size: .68rem; }
@media (min-width: 1000px) { .tabs { margin: 0 0 16px; padding: 8px 0; top: calc(var(--top-h)); } }

/* 확인 요청 미리보기 (편의 27: 첫 쪽 그림 + 쪽수·질문 수 + 꽉 찬 단추) */
.ask-pre { display: flex; gap: 16px; padding: 16px; align-items: stretch; }
.ap-thumb { width: 104px; height: 140px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.ap-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ap-t { margin: 2px 0 0; font-size: 1.1rem; font-weight: 740; letter-spacing: -.02em; line-height: 1.3; }
.ap-m { margin: 0; color: var(--sub); font-size: .9rem; }
.ap-b .btn { margin-top: auto; }
@media (max-width: 420px) { .ask-pre { flex-direction: column; } .ap-thumb { width: 100%; height: 170px; } }
.mini-thread { padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.mini-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border: 0; text-align: left; padding: 9px 13px; border-radius: 14px; background: var(--bg); cursor: pointer; max-width: 92%; }
.mini-msg.mine { align-self: flex-end; background: var(--accent-soft); align-items: flex-end; }
.mm-w { font-size: .76rem; color: var(--faint); }
.mm-b { font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice { background: color-mix(in srgb, var(--accent-soft) 70%, var(--panel)); }
.notice .nb { padding: 0 18px 16px; font-size: .98rem; }
.kv { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 8px 14px; margin: 0; padding: 6px 18px 16px; font-size: .95rem; }
.kv dt { color: var(--sub); font-weight: 600; } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* 진행 시간표 */
.timeline { padding: 8px 18px 18px; }
.tl-month { margin: 14px 0 6px; font-size: .8rem; font-weight: 750; color: var(--faint); letter-spacing: .02em; }
.tl-month:first-child { margin-top: 4px; }
.tl-i { position: relative; padding: 4px 0 14px 22px; border-left: 2px solid var(--line); margin-left: 5px; }
.tl-i > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.tl-i > summary::-webkit-details-marker { display: none; }
.tl-i > summary .chev { margin-left: auto; transition: transform .18s; }
.tl-i[open] > summary .chev { transform: rotate(180deg); }
.tl-dot { position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--accent); }
.tl-dot.rep { border-color: var(--purple); } .tl-dot.doc { border-color: var(--blue); } .tl-dot.ok { border-color: var(--green); background: var(--green); }
.tl-d { display: block; font-size: .78rem; color: var(--faint); font-weight: 650; }
.tl-k { font-weight: 700; font-size: .9rem; }
.tl-b { margin-top: 2px; }
.rep-b { margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.term { margin-top: 8px; padding: 8px 11px; border-radius: 11px; background: var(--bg); font-size: .86rem; color: var(--sub); }
.term b { color: var(--text); }
.term-k { display: block; font-size: .72rem; font-weight: 750; color: var(--faint); margin-bottom: 2px; }

/* 문서 묶음 — 썸네일 카드 */
.docgrp { padding-bottom: 8px; }
.dgrid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 6px 14px 10px; }
.line.doc.kc { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); }
.line.doc.kc .dthumb { flex: 0 0 68px; height: 88px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.line.doc.kc .dthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.line.doc.kc .dthumb.noimg::after { content: '📄'; font-size: 1.7rem; }
.line.doc.kc .grow { min-width: 0; }
.line.doc.kc .t { font-weight: 680; overflow-wrap: anywhere; line-height: 1.35; }
.line.doc.kc .d { font-size: .82rem; color: var(--sub); margin-top: 2px; }
.line.doc.kc .dbtn { display: flex; gap: 14px; margin-top: 8px; }
.line.doc.kc a.open { font-weight: 700; font-size: .9rem; }
.line.doc.kc a.open.ghost { color: var(--sub); }
.line.doc.kc.locked { opacity: .7; }
.kdoc { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.desc { margin-top: 6px; font-size: .88rem; color: var(--sub); padding: 6px 9px; background: var(--bg); border-radius: 9px; }

/* 대화 */
.talk { display: flex; flex-direction: column; }
.talk-top { display: flex; align-items: center; gap: 6px; padding: 8px 10px 0 18px; font-size: .8rem; }
.thread { display: flex; flex-direction: column; gap: 10px; padding: 10px 14px 14px; }
.tday { text-align: center; margin: 8px 0 2px; } .tday span { font-size: .74rem; font-weight: 650; color: var(--faint); background: var(--line); padding: 3px 10px; border-radius: 999px; }
.newline { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: .76rem; font-weight: 700; } .newline::before, .newline::after { content: ''; flex: 1; height: 1px; background: color-mix(in srgb, var(--red) 40%, transparent); }
.msg { max-width: 86%; align-self: flex-start; }
.msg.mine { align-self: flex-end; }
.msg .mw { font-size: .76rem; color: var(--faint); margin: 0 6px 3px; display: flex; align-items: center; }
.msg.mine .mw { justify-content: flex-end; }
.msg .mb { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 14px; overflow-wrap: anywhere; font-size: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.msg.mine .mb { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--card)), color-mix(in srgb, var(--accent-2) 12%, var(--card))); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.mfoot { font-size: .74rem; margin: 3px 8px 0; text-align: right; color: var(--faint); min-height: 1em; }
.msg:not(.mine) .mfoot { text-align: left; }
.att { display: block; max-width: 260px; margin: 0 0 6px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; }
.att img, .att video { display: block; width: 100%; max-height: 220px; object-fit: cover; background: #fff; }
.att.aud { border: 0; background: none; } .att audio { width: 240px; max-width: 100%; }
.att .an { font-size: .8rem; padding: 6px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-req { align-self: stretch; }
.composer { position: sticky; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 10px 12px 12px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 0 0 var(--r) var(--r); }
@media (min-width: 1000px) { .composer { bottom: 0; } }
.cbox { display: flex; align-items: flex-end; gap: 8px; }
.cta { flex: 1; min-height: 46px; max-height: 220px; padding: 11px 14px; border-radius: 23px; border: 1px solid var(--line-strong); background: var(--bg); resize: none; outline: none; font-size: 1rem; line-height: 1.45; }
.cta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.c-st { font-size: .76rem; color: var(--faint); margin: 5px 4px 0; min-height: 1em; }
.kbd-hint { display: none; } @media (hover: hover) and (pointer: fine) { .kbd-hint { display: inline; } }
.aud { display: flex; gap: 6px; margin-bottom: 8px; }
.seg { position: relative; flex: 1; } .seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 7px 8px; border-radius: 11px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 650; color: var(--sub); cursor: pointer; }
.seg input:checked + span { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }

/* 비용 */
.amt { color: var(--text); font-variant-numeric: tabular-nums; }
.big-amt { margin: 0; padding: 0 18px 16px; font-size: 1.6rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.bank { display: flex; flex-direction: column; gap: 2px; }
.bank-r { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.bk-k { width: 110px; flex: none; color: var(--sub); font-size: .86rem; font-weight: 650; }
.bk-v { flex: 1; min-width: 0; font-weight: 650; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* 번역 (결정 3) */
.tx, .byc { white-space: normal; }
.txb { white-space: pre-wrap; }
.trtag { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: .68rem; font-weight: 700; color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); vertical-align: 1px; }
.txbtn { display: inline-flex; margin-left: 8px; padding: 1px 0; border: 0; background: none; color: var(--accent); font-size: .8rem; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.tx.pend .txbtn { margin-left: 0; color: var(--sub); }
.orig { display: block; margin-top: 7px; padding: 7px 11px; border-left: 3px solid var(--line-strong); color: var(--sub); font-size: .9rem; white-space: pre-wrap; background: color-mix(in srgb, var(--bg) 60%, transparent); border-radius: 0 9px 9px 0; }

/* ── 기록 ── */
.feed-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 4px; }
.feed-head .pg-h { margin-bottom: 8px; }
.segs { display: inline-flex; padding: 3px; border-radius: 13px; background: var(--line); gap: 2px; }
.segb { padding: 8px 15px; border-radius: 10px; color: var(--sub); font-weight: 680; font-size: .9rem; border: 0; background: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
.segb.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.feed-tools { padding: 12px 14px 10px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-strong); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search .f { border: 0; background: none; box-shadow: none; padding-left: 0; }
.search kbd { display: none; font: inherit; font-size: .72rem; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 6px; }
@media (hover: hover) and (pointer: fine) { .search kbd { display: inline; } }
.fchips, .months { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 2px; }
.fchips::-webkit-scrollbar, .months::-webkit-scrollbar { display: none; }
.fchip, .mchip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--sub); font-size: .86rem; font-weight: 650; cursor: pointer; }
.fchip.on { background: var(--text); color: var(--bg); border-color: transparent; }
.mchip { height: 30px; font-size: .78rem; border-style: dashed; }
.frow { padding-top: 8px; }
.feed { padding: 4px 6px 8px; }
.fmonth { margin: 12px 12px 2px; font-size: .8rem; font-weight: 760; color: var(--faint); scroll-margin-top: 80px; }
.fday { margin: 10px 12px 2px; font-size: .84rem; font-weight: 700; color: var(--sub); }
.frow-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; color: var(--text); }
.frow-i:hover { background: var(--accent-soft); }
.fic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--line); font-size: 1.05rem; }
.fb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fmeta { font-size: .76rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft { font-weight: 650; overflow-wrap: anywhere; }
.ft.clamp { font-weight: 560; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fsnip { font-size: .88rem; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: color-mix(in srgb, #ffd23f 55%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.feed-more { margin: 0 0 14px; }

/* ── 내 정보 ── */
.me-who { display: flex; align-items: center; gap: 14px; }
.me-n { font-size: 1.25rem; font-weight: 760; }
.set-row { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); }
.set-row.col { flex-direction: column; align-items: stretch; gap: 8px; }
.sr-k { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 650; }
.sr-k .ic { color: var(--accent); }
.sr-d { font-size: .82rem; color: var(--sub); }
.segs.fs { align-self: flex-start; }
.segs.fs .segb { min-width: 64px; }
.fs0 { font-size: .9rem; } .fs1 { font-size: 1.05rem; } .fs2 { font-size: 1.2rem; }
.sw-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); cursor: pointer; }
.sw-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sw-t { font-weight: 650; } .sw-d { font-size: .82rem; color: var(--sub); }
.sw { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; flex: none; border-radius: 15px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .18s; margin: 0; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.sw:checked { background: var(--green); } .sw:checked::after { transform: translateX(20px); }
.dev-i .btn { flex: none; }
.row-i.small { padding: 8px 12px; }
.paircode { display: flex; justify-content: center; gap: 8px; margin: 16px 0 6px; }
.paircode span { width: 44px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.8rem; font-weight: 780; font-variant-numeric: tabular-nums; }

/* ── 판 (아래에서 올라옴 · PC 는 가운데) ── */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10,10,20,.36); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.sheet { position: relative; width: 100%; max-width: 640px; max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--card); border-radius: 24px 24px 0 0; padding: 8px max(20px, env(safe-area-inset-left)) calc(22px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1); outline: none; }
.sheet.drag { transition: none; }
.sheet-wrap.on .sheet-bg { opacity: 1; }
.sheet-wrap.on .sheet { transform: translateY(0); }
.sheet-grab { width: 100%; height: 22px; display: flex; justify-content: center; align-items: center; cursor: grab; touch-action: none; }
.sheet-grab::before { content: ''; width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.sheet-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--line); color: var(--sub); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.sheet-x .ic { width: 1.1rem; height: 1.1rem; }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 24px; max-height: 86vh; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .22s, opacity .18s; padding-bottom: 24px; }
  .sheet-wrap.on .sheet { transform: none; opacity: 1; }
  .sheet-wrap.small .sheet { max-width: 460px; }
  .sheet-grab { visibility: hidden; height: 14px; }
  .sheet-wrap.wide { justify-content: flex-end; align-items: stretch; }
  .sheet-wrap.wide .sheet { max-width: 620px; max-height: none; height: 100%; border-radius: 24px 0 0 24px; transform: translateX(40px); }
  .sheet-wrap.wide.on .sheet { transform: none; }
}
.sh-h { display: flex; align-items: center; gap: 8px; margin: 4px 44px 6px 0; font-size: 1.2rem; font-weight: 760; letter-spacing: -.02em; }
.sh-h.c { justify-content: center; margin-right: 0; }
.sh-p { margin: 0 0 14px; color: var(--sub); }
.sh-p.sm { font-size: .9rem; } .sh-p.pre { white-space: pre-wrap; }
.sheet .btn.block + .btn.block { margin-top: 8px; }
.picklist { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.pk { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 14px; border: 0; background: none; text-align: left; font-weight: 650; cursor: pointer; color: var(--text); }
.pk:hover, .pk.on { background: var(--accent-soft); }
.pk > .ic:first-child { color: var(--accent); }
.pk span { flex: 1; min-width: 0; }
.langs { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.langbtn { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); font-size: 1.05rem; font-weight: 650; cursor: pointer; }
.langbtn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.ask-box .btns { margin-top: 18px; } .ask-box .btns > * { flex: 1; }
.callsh .btn { margin-top: 8px; }
.call-hours { margin: -2px 0 12px; color: var(--sub); font-size: .9rem; }
.call-st { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-weight: 650; font-size: .93rem; }
.call-st.on { background: var(--green-soft); color: var(--green); }
.call-local { margin: 0 0 6px 2px; font-size: .84rem; color: var(--sub); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.big-ic { width: 64px; height: 64px; margin: 6px auto 10px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.big-ic .ic { width: 2rem; height: 2rem; }
.big-ic.ok { background: var(--green-soft); color: var(--green); }

/* 설치 안내 */
.inst-ic { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.15); }
.inst-ic img { width: 100%; height: 100%; display: block; }
.isteps { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 10px; }
.ist { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 15px; background: var(--bg); }
.ist-pic { width: 120px; flex: none; }
.ist-pic svg { display: block; width: 100%; height: auto; }
.ist-pic .ph { fill: var(--card); stroke: var(--line-strong); stroke-width: 1.5; }
.ist-pic .bar { fill: var(--line); } .ist-pic .row { fill: var(--line); } .ist-pic .row2 { fill: var(--line); }
.ist-pic .hl circle, .ist-pic .hl rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.ist-pic .hl .ring { fill: none; stroke-dasharray: 4 3; }
.ist-pic .hlr { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.ist-pic .sym { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ist-pic .sym2 { fill: none; stroke: var(--accent); stroke-width: 1.6; } .ist-pic .sym3 { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.ist-pic .appi { fill: var(--accent); }
.ist-t { font-size: .95rem; font-weight: 600; } .ist-t b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .78rem; margin-right: 8px; }

/* ── 들어오기 (뼈대 없는 한 장) ── */
.bare { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.bare-top { display: flex; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left)); }
.bare-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px calc(30px + env(safe-area-inset-bottom)); }
.auth-card { width: 100%; max-width: 440px; padding: 26px 22px 24px; border-radius: 26px; background: var(--panel); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border: 1px solid var(--line); box-shadow: var(--shadow); }
.au-k { margin: 0 0 6px; font-size: .86rem; font-weight: 650; color: var(--accent); }
.au-h { margin: 0 0 8px; font-size: 1.45rem; font-weight: 780; letter-spacing: -.03em; line-height: 1.3; }
.au-p { margin: 0 0 18px; color: var(--sub); }
.au-p.sm { margin: 14px 0 8px; font-size: .9rem; }
.au-err { min-height: 1.4em; margin: 10px 0 6px; color: var(--red); font-weight: 650; font-size: .92rem; }
.au-note { margin: 10px 0 0; text-align: center; font-size: .82rem; color: var(--faint); }
.au-links { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 8px; align-items: stretch; }
.au-links .linkbtn { align-self: center; color: var(--sub); }
.pins { display: flex; justify-content: center; gap: 10px; }
.pin { width: 58px; height: 68px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--card); text-align: center; font-size: 1.9rem; font-weight: 750; font-variant-numeric: tabular-nums; outline: none; caret-color: var(--accent); transition: border-color .12s, box-shadow .12s, transform .1s; }
.pins[data-n="6"] .pin { width: 46px; height: 60px; font-size: 1.6rem; border-radius: 13px; }
.pin:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transform: translateY(-1px); }
@media (max-width: 360px) { .pins { gap: 6px; } .pins[data-n="6"] .pin { width: 40px; } .pin { width: 52px; } }
.keep { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.keep > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--sub); font-size: .86rem; font-weight: 600; }
.keep > summary::-webkit-details-marker { display: none; }
.keep > summary .ic { width: 1rem; height: 1rem; }
.keep-o { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
/* 숫자 칸 위에 둘 때 (숫자를 다 넣으면 저절로 확인되므로 먼저 고르게) — 숫자 칸 이름처럼 보이지 않게 작은 알약 모양 */
.keep:has(+ .pins) { border-top: 0; padding-top: 0; margin: 12px 0 18px; }
.keep:has(+ .pins) > summary { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-size: .92rem; }
.radio input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.welcome .wl-mark { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(47,59,143,.25); }
.welcome .wl-mark img { width: 100%; height: 100%; display: block; }
.wl-pts { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wl-pts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 15px; background: var(--bg); font-size: .95rem; }
.wl-pts .ic { color: var(--accent); margin-top: 2px; }
.wl-priv { margin: 0 0 14px; font-size: .82rem; color: var(--faint); text-align: center; }
.home-pic { width: 150px; margin: 0 auto 16px; }
.hp-screen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px; border-radius: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, var(--card)), color-mix(in srgb, var(--accent-2) 10%, var(--card))); border: 1px solid var(--line); }
.hp-screen > span { aspect-ratio: 1; border-radius: 13px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.hp-screen .hp-app { position: relative; background: none; }
.hp-screen .hp-app img { width: 100%; height: 100%; border-radius: 13px; display: block; box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--accent); }
.hp-screen .hp-app i { position: absolute; right: -10px; bottom: -14px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 2px 6px rgba(0,0,0,.25); animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.75); opacity: .6; } }
.center-card { text-align: center; padding: 30px 22px 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cc-h { margin: 0; font-size: 1.3rem; font-weight: 760; letter-spacing: -.02em; }
.cc-p { margin: 0 0 8px; color: var(--sub); }
.empty-card { text-align: center; }

/* 알림 */
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--dock-h) + 20px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: min(92vw, 480px); }
@media (min-width: 1000px) { #toasts { bottom: 28px; } body.app #toasts, body.app #netband { left: calc(50% + 124px); } }   /* 본문 묶음의 가운데 축 (왼쪽 띠 248px 의 절반만큼) */
.toast { padding: 11px 18px; border-radius: 16px; background: #23242a; color: #fff; font-size: .93rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; text-align: center; }
.toast.on { opacity: 1; transform: none; }
.toast.err { background: #8a2b2b; }

/* ── 공용 부품 (client-kit): 녹음기 ── */
.kit-rec { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); font-weight: 650; cursor: pointer; }
.kit-recon, .kit-recd { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 14px; background: var(--red-soft); }
.kit-recd { background: var(--bg); }
.kit-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); animation: breathe 1s infinite; }
.kit-recs { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--red); }
.kit-recd .kit-recs { color: var(--sub); }
.kit-recmax { flex: 1; font-size: .78rem; color: var(--faint); }
.kit-stop { min-height: 38px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.kit-recd audio { flex: 1; min-width: 0; height: 36px; }
.kit-mini { min-height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); font-size: .82rem; font-weight: 650; cursor: pointer; }
.kit-recerr { padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: .88rem; }

/* ── 공용 부품 (client-kit): 확인 요청 카드 — 옛 view.html 모양을 .kask 안에서 그대로 ── */
.kask { margin: 0 0 14px; }
/* 흐림 유리(backdrop-filter)는 안의 position:fixed(.pdfv.fs 전체 화면·의견 칸)를 카드에 가둔다 — 확인 요청 카드만 흐림 없이 */
.kask .card { padding: 16px; margin: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.kask .card h2 { font-size: 1.05rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.kask .card h2 .n { font-size: .84rem; color: var(--sub); font-weight: 500; }
.kask .sub { color: var(--sub); }
.kask .d { font-size: .82rem; color: var(--sub); }
.kask .t { font-size: .97rem; overflow-wrap: anywhere; }
.kask .line { padding: 10px 0; border-top: 1px solid var(--line); } .kask .line:first-of-type { border-top: 0; padding-top: 0; }
.kask .row { display: flex; gap: 8px; align-items: baseline; } .kask .row .grow { flex: 1; min-width: 0; }
.kask .term { font-size: .86rem; color: var(--sub); background: var(--bg); border-radius: 10px; padding: 8px 10px; margin-top: 6px; }
.kask .term b { color: var(--text); font-weight: 650; }
.kask a.open { color: var(--accent); font-weight: 650; font-size: .9rem; }
.kask .up { display: block; width: 100%; text-align: center; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-text); font-size: 1rem; font-weight: 700; border: 0; margin-top: 4px; cursor: pointer; }
.kask .up.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line-strong); margin-top: 8px; }
.kask .up:disabled { opacity: .55; }
/* 넓은 화면: 상담 예약 카드의 [내 달력에 넣기] [예약 취소]가 화면 폭 전체로 늘어나 무겁지 않게 나란히 */
@media (min-width: 1000px) { .kask #bkCard .up { display: inline-block; width: auto; min-width: 220px; padding: 11px 22px; margin: 10px 8px 0 0; } }
.kask textarea { width: 100%; font: inherit; }
/* 부품의 인라인 15px 보다 우선: 아이폰은 16px 보다 작은 칸에 초점이 가면 화면을 확대함 · 글자 크기(가+)도 따라감 */
.kask textarea { font-size: max(16px, 1rem) !important; }
.kask .pdfv { position: relative; background: #e9e9e6; border-radius: 14px; overflow: hidden; }
.kask .pdfbar { display: flex; gap: 6px; align-items: center; padding: 8px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.kask .pdfbar button { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: .88rem; cursor: pointer; }
.kask .pdfbar .hint { font-size: .78rem; color: var(--sub); flex: 1; min-width: 140px; }
.kask .pdfbar .fsx { display: none; }
.kask .pdfv .pages { max-height: 72vh; overflow: auto; padding: 8px; -webkit-overflow-scrolling: touch; -webkit-user-select: none; user-select: none; }
.kask .pdfv .pg { position: relative; background: #fff; margin: 0 auto 10px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.kask .pdfv .pg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kask .pdfv .pgn { position: absolute; right: 6px; bottom: 4px; font-size: 11px; color: #888; }
.kask .pdfv .ln { position: absolute; border-radius: 3px; cursor: text; container-type: size; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.kask .pdfv .ln i { position: absolute; top: 0; height: 100%; font-style: normal; font-size: 82cqh; line-height: 100cqh; color: transparent; -webkit-text-fill-color: transparent; white-space: pre; overflow: hidden; -webkit-user-select: none; user-select: none; }
.kask .pdfv .pages ::selection, .kask .pdfv .pages::selection { background: rgba(255,255,255,.01); }
.kask .pdfv .ln b.hl { position: absolute; top: 0; height: 100%; background: rgba(255,196,0,.45); border-radius: 2px; pointer-events: none; }
.kask .pdfv .ln i:active { background: rgba(47,59,143,.12); }
.kask .pdfv .ln.on { background: rgba(255,196,0,.38); outline: 1px solid rgba(200,150,0,.6); }
.kask .pdfv .ln b.mkh { position: absolute; top: 0; height: 100%; background: rgba(47,59,143,.13); border-bottom: 2px solid #2f3b8f; border-radius: 2px; pointer-events: none; }
.kask .pdfv .ln b.mkh[data-n]::before { content: attr(data-n); position: absolute; left: -16px; top: 0; font-size: 11px; font-weight: 700; color: #fff; background: #2f3b8f; border-radius: 8px; padding: 0 4px; line-height: 15px; }
.kask .docv .docf { display: block; width: 100%; height: 72vh; border: 0; background: #f4f4f1; }
.kask .att { display: inline-block; vertical-align: top; width: 160px; margin: 6px 6px 0 0; }
.kask .att img, .kask .att video { height: 120px; object-fit: contain; }
.kask .matts { margin-top: 6px; }
.kask .qst { display: inline-block; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-right: 6px; vertical-align: 1px; color: var(--amber); background: var(--amber-soft); }
.kask .qst.ok { color: var(--green); background: var(--green-soft); }
.kask .miss { font-size: .88rem; color: var(--amber); font-weight: 600; margin: 4px 0 6px; } .kask .miss:empty { display: none; }
.kask .reply { margin-top: 8px; padding: 7px 10px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.kask .reply .rb { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; }
.kask .newchip { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }
.kask .foldbar { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; color: var(--text); font: inherit; font-size: .97rem; padding: 0; text-align: left; cursor: pointer; }
.kask .foldbar .fok { color: var(--green); font-weight: 800; }
.kask .foldbar .fname { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kask .foldbar .n { white-space: nowrap; }
.kask .foldbar .chev { margin-left: auto; font-size: .82rem; color: var(--accent); white-space: nowrap; width: auto; height: auto; }
.kask .foldbar .rchip { font-size: .72rem; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; flex: none; }
@media (max-width: 520px) { .kask .foldbar.hasrep .n { display: none; } }
.kask .card[data-ask].fold { padding: 13px 16px !important; }
.kask .card[data-ask].fold > :not(h2) { display: none !important; }
.kask .card[data-ask].fold > h2 { margin: 0; }
.kask-done .kask { margin-bottom: 8px; }
@media (min-width: 1000px) {
  .kask .card[data-ask].fold { display: block !important; }
}

/* 직원 미리보기: 쓰기 칸 숨김 */
body.is-preview .kask .ask-new, body.is-preview .kask .ask-del, body.is-preview .kask .ask-ansq, body.is-preview .kask .confirm-box { display: none !important; }

/* ── 인쇄용 보기 (요청 한 건·대화) ── */
#printhead { display: none; }
@media print {
  :root { --bg: #fff; --panel: #fff; --card: #fff; --text: #000; --sub: #333; --line: #ccc; }
  body { background: #fff !important; }
  #top, #side, #dock, #netband, #toasts, .tabs, .composer, .talk-top, .plus-case, .band, .btn, .round, .tbtn, .sheet-wrap, .kit-rec, .txbtn, .pvband { display: none !important; }
  body.app { display: block; }
  main#view { max-width: none; padding: 0; }
  #printhead { display: block; font-size: 11pt; color: #444; border-bottom: 1px solid #999; padding-bottom: 6pt; margin-bottom: 10pt; }
  .card { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid #ccc; break-inside: avoid; }
  .msg { max-width: 100%; break-inside: avoid; }
  .orig[hidden] { display: block !important; }
  a { color: #000; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* 개인정보 처리방침 링크 (내 정보 맨 아래 · 환영 [자세히]) */
.privlink { text-align: center; margin: 14px 0 4px; font-size: .82rem; }
.privlink a { color: var(--faint); text-decoration: none; }
.privlink a:hover { text-decoration: underline; }

/* 질문에 답을 보낸 뒤 그 자리 '보냄 ✓' (4초) */
.okmark { color: var(--green) !important; font-weight: 700; }

/* i18n-client.js 문서 이름 표기 (엄격한 CSP 라 여기로) */
.lb-o{font-weight:400;opacity:.62;font-size:.86em}.lb-ob{display:block;font-weight:400;font-size:12.5px;line-height:1.4;opacity:.6;margin-top:2px;letter-spacing:0}.lb-d{font-weight:400;opacity:.75}

/* 고객번호로 들어오기 (2026-11-20) */
.auth-card.cust .au-h { margin-bottom: 18px; }
.cu-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.cu-f > span { font-size: .92rem; font-weight: 650; color: var(--sub); }
.cu-f input { font: inherit; font-size: 1.35rem; letter-spacing: .08em; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 100%; box-sizing: border-box; font-variant-numeric: tabular-nums; }
.cu-f input:focus { outline: 2px solid var(--accent, #3b6ef5); outline-offset: 1px; border-color: transparent; }
.cu-keep { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 16px; font-size: .95rem; cursor: pointer; }
.cu-keep input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.cu-keep small { color: var(--faint); font-size: .85rem; }
.cu-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 16px 0 10px; }
.cu-more .linkbtn { color: var(--sub); font-size: .88rem; }

/* 넓은 화면 사건 3단: 왼쪽 사건 목록 · 본문 · 오른쪽 '해 주실 일' 단 (1100px 이상, 시안 2026-11-20) */
.case-aside { display: none; }
@media (min-width: 1100px) {
  .case-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
  .case-aside { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--top-h) + 18px); }
  .as-box { padding: 16px 16px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
  .as-box.todo { border-color: color-mix(in srgb, var(--amber, #b7791f) 45%, var(--line)); background: color-mix(in srgb, var(--amber, #b7791f) 6%, var(--card)); }
  .as-box h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .9rem; font-weight: 700; }
  .as-box h3 .n { margin-left: 2px; color: var(--faint); font-weight: 650; }
  .as-it { display: flex; flex-direction: column; gap: 1px; padding: 5px 0; }
  .as-it b { font-weight: 650; font-size: .93rem; }
  .as-due { font-size: .82rem; color: var(--amber, #b7791f); font-weight: 600; }
  .as-big { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
  .as-box .btn.sm { margin-top: 8px; }
  .as-box .sm { font-size: .86rem; } .as-box .xs { font-size: .78rem; margin: 8px 0 0; }
}
/* 사건 목록: 이름 아래 법원·사건번호 (한 분이 여러 사건을 맡을 때 구분) */
.sd-cb { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sd-cb > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-cb small { font-size: .74rem; font-weight: 500; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picklist .sd-cb { flex: 1; text-align: left; }
/* 문서 보며 의견·답을 쓰는 동안(아래 쓰기 칸이 열림) 휴대폰 아래 메뉴를 숨김 — 반투명 쓰기 칸 뒤로 메뉴가 비쳐 겹쳐 보이던 것 (역할극 2026-11-20) */
body.app:has(.ask-new.is-sheet) #dock { visibility: hidden; }
