/* 메디브릿지 화면 스타일 (10-31 가독성 개편)
   기준: 폰 세로 390px 먼저, PC 960px까지 가운데 정렬
   글꼴: Pretendard Variable (앱에 내장, 베트남어 성조 글자 포함)
   글자: 환자 화면 본문 17px, 의사 화면 본문 16px, 어떤 글자도 14px 미만 금지(인쇄 제외)
   한국어는 기울임을 쓰지 않는다(가짜 기울임이 되어 읽기 어려움). 원문은 왼쪽 선 + 옅은 배경으로 구분
   한국어는 단어 단위로 줄바꿈(word-break: keep-all)
   색 대비: 모든 글자 WCAG AA(4.5:1) 이상. 배지는 흰 글자 기준 4.5:1 이상인 진한 색
   분위기(10-31): 예전 시연 영상처럼 따뜻한 흰 바탕 + 흰 카드, 포인트는 초록 하나.
   고른 보기는 연한 민트, 이동 버튼은 검정, 핵심 버튼은 초록, 보조 버튼은 연회색 */
:root {
  --bg: #FAFAF9; --card: #FFFFFF; --card-line: #F0F0EE; --text: #111827; --text-2: #374151; --muted: #4B5563; --line: #E7E5E4; --line-2: #D6D3D1;
  --accent: #047857; --accent-dark: #065F46; --accent-soft: #ECFDF5; --brand: #10B981;
  --ink: #18181B; --sub-bg: #F4F4F5; --sub-text: #27272A; --field: #F4F4F5;
  --tag-bg: #EFF6FF; --tag-text: #1D4ED8; --sos-red: #C8102E;
  --sure: #047857; --ambig: #B45309; --confirmed: #1D4ED8; --nodict: #4B5563;
  --pain: #DC2626; --spread: #F97316; --outline: #64748B; --body-fill: #F1F5F9; --fu-bg: #FFFBEB; --fu-line: #D97706;
  --danger: #B91C1C; --danger-bg: #FEF2F2;
  --radius: 20px; --radius-sm: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Noto Sans KR", "Noto Sans", "Noto Sans Thai", sans-serif;
  font-size: 17px; line-height: 1.6; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { max-width: 960px; margin: 0 auto; padding: 8px 16px 40px; }
.hidden { display: none !important; }
h2 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
h3 { margin: 0; }
p { margin: 0; }
.label { display: block; font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.hint { color: var(--muted); font-size: 15px; line-height: 1.55; margin: -6px 0 14px; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid #059669; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 머리줄 ---- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--card-line); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(16,185,129,.25); }
.app-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.tagline { font-size: 14px; color: var(--muted); }
.sos-btn { margin-left: auto; flex: none; font-weight: 800; font-size: 15px; letter-spacing: .04em; padding: 0 14px; min-height: 40px; border-radius: 999px; border: 2px solid var(--pain); background: #fff; color: var(--danger); cursor: pointer; }
.steps { flex: none; display: flex; align-items: center; gap: 4px; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.step.is-active { background: var(--accent); color: #fff; }
.bar { width: 12px; height: 3px; background: var(--line); border-radius: 2px; }
.banner { max-width: 928px; margin: 10px 16px 0; padding: 10px 14px; border-radius: 10px; background: #FEF3C7; color: #78350F; font-size: 14px; line-height: 1.5; }
.banner.soft { background: #E0E7FF; color: #312E81; }

/* ---- 카드·입력 ---- */
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 22px 20px; margin-top: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label > span { display: block; font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; min-height: 52px; border: 1.5px solid transparent; border-radius: var(--radius-sm); background: var(--field); color: var(--text); }
input::placeholder, textarea::placeholder { color: #6B7280; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px #D1FAE5; background: #fff; }
textarea { resize: vertical; line-height: 1.55; }
.field { margin-top: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 16px; padding: 10px 16px; min-height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.chip.is-on { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { font-size: 16px; font-weight: 600; padding: 10px 16px; min-height: 48px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.seg button.dot-pain::before, .seg button.dot-spread::before { content: "●"; margin-right: 6px; }
.seg button.dot-pain::before { color: var(--pain); } .seg button.dot-spread::before { color: var(--spread); }
.seg button.dot-pain.is-on { background: #FEF2F2; border-color: var(--pain); box-shadow: inset 0 0 0 1px var(--pain); color: #991B1B; }
.seg button.dot-spread.is-on { background: #FFF7ED; border-color: var(--spread); box-shadow: inset 0 0 0 1px var(--spread); color: #9A3412; }

/* ---- 화면 1: 한 화면에 질문 하나 ---- */
#screen1 { max-width: 560px; margin: 0 auto; }
.intro { text-align: center; margin: 14px 0 4px; }
.intro h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.3; }
.intro p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.wiz-top { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; min-height: 44px; }
.wiz-back { font: inherit; font-size: 16px; font-weight: 600; color: var(--sub-text); background: none; border: none; padding: 8px 4px; min-height: 44px; cursor: pointer; }
.wiz-back.invisible { visibility: hidden; }
.wiz-count { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.wiz-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .25s ease; }
.wiz-step { animation: wizIn .22s ease both; }
.wiz-step.from-left { animation-name: wizInBack; }
@keyframes wizIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes wizInBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wiz-step { animation: none; } .wiz-bar span { transition: none; } }
.wiz-step h2 { font-size: 24px; line-height: 1.35; margin-bottom: 18px; }
.wiz-step h2:focus { outline: none; }
.wiz-step .hint { margin-top: -8px; }
.opt-list { display: grid; gap: 10px; }
.opt-list.two { grid-template-columns: 1fr 1fr; }
.opt { font: inherit; font-size: 18px; font-weight: 600; text-align: left; min-height: 60px; padding: 12px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: background .12s, border-color .12s, box-shadow .12s; }
.opt-list.two .opt { text-align: center; padding: 12px 8px; }
/* 고른 보기: 꽉 찬 색 대신 연한 민트 + 초록 테두리(2px) + 진한 초록 글씨 */
.opt.is-on, .sev-btn.is-on, .seg button.is-on { background: var(--accent-soft); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--accent-dark); font-weight: 700; }
.opt.is-on::after { content: "✓"; margin-left: 8px; font-weight: 800; }
.sev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sev-btn { font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 8px 4px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.sev-btn .face { font-size: 26px; line-height: 1.2; }
.sev-btn b { font-size: 20px; }
@media (hover: hover) { .opt:hover, .sev-btn:hover, .seg button:hover { border-color: var(--brand); } }
.wiz-actions { display: flex; gap: 10px; margin-top: 20px; position: sticky; bottom: 0; padding: 12px 0 14px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 30%); }
.wiz-actions .ghost { flex: 0 0 38%; }
.wiz-actions button { flex: 1; }
.other-lang { display: flex; gap: 10px; margin-top: 12px; }
.other-lang input { flex: 1; }

/* ---- 바디맵 ---- */
.bm-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.bm-wrap { display: flex; justify-content: center; }
#bodymap { width: 230px; max-width: 100%; height: auto; cursor: crosshair; }
#bodymapDoc, #bodymapDocBack { width: 150px; height: auto; }
.doc-maps { display: flex; justify-content: center; gap: 4px; }
.doc-right.two #bodymapDoc, .doc-right.two #bodymapDocBack { width: 92px; }
.body-outline { fill: var(--body-fill); stroke: var(--outline); stroke-width: 2.5; stroke-linejoin: round; }
.body-ear { fill: none; stroke: var(--outline); stroke-width: 2; }
.body-mark { fill: none; stroke: #CBD5E1; stroke-width: 1.5; stroke-linecap: round; pointer-events: none; }
.dot { r: 8; stroke: #fff; stroke-width: 2.5; }
.dot.pain { fill: var(--pain); }
.dot.spread { fill: var(--spread); }
.bm-label { font-size: 14px; font-weight: 600; fill: var(--muted); }
.bm-lr { font-size: 15px; font-weight: 700; fill: #334155; }
.lr-note { margin: 0 0 8px; text-align: center; font-size: 15px; color: var(--text-2); }

/* ---- 버튼 ---- */
.actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.actions.between { justify-content: space-between; }
button.primary { font-size: 17px; font-weight: 700; padding: 12px 24px; min-height: 52px; border-radius: var(--radius-sm); border: none; background: var(--accent); color: #fff; cursor: pointer; }
button.primary:hover { background: var(--accent-dark); }
/* 이동 버튼([다음])은 검정 + 오른쪽 › */
button.primary.next { background: var(--ink); }
button.primary.next:hover { background: #3F3F46; }
button.primary.next::after { content: "›"; display: inline-block; margin-left: 8px; font-size: 22px; line-height: 0; vertical-align: -1px; }
button.primary:disabled { opacity: .5; cursor: default; }
button.ghost { font-size: 16px; font-weight: 600; padding: 10px 18px; min-height: 48px; border-radius: var(--radius-sm); border: none; background: var(--sub-bg); color: var(--sub-text); cursor: pointer; }
button.ghost:hover { background: #E4E4E7; }
.input-wrap { position: relative; }
.input-wrap textarea { display: block; min-height: 150px; padding-bottom: 60px; }
/* 마이크: 입력창 오른쪽 아래의 작은 흰 둥근 네모 */
.mic { font-size: 16px; position: absolute; right: 10px; bottom: 10px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--sub-text); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mic.is-on { background: var(--pain); color: #fff; border-color: var(--pain); }
.examples { margin-top: 18px; }
.examples .chip { font-size: 15px; text-align: left; border-radius: 12px; }
.status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark); font-size: 16px; }
.status.error { background: var(--danger-bg); color: #7F1D1D; }

/* ---- 화면 2: 표현 카드 ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.xcard { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 14px; }
.xcard .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.xcard .label { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 2px; letter-spacing: .02em; }
.original { font-size: 18px; font-weight: 600; line-height: 1.5; padding: 2px 0 2px 12px; border-left: 4px solid var(--line-2); color: var(--text); }
.literal { font-size: 16px; color: var(--text-2); }
.quality { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); }
.basis { font-size: 15px; line-height: 1.6; color: var(--text-2); background: var(--bg); border: 1px solid var(--card-line); border-radius: var(--radius-sm); padding: 10px 12px; }
.badge { flex: none; font-size: 14px; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.sure { background: var(--sure); }
.badge.ambiguous { background: var(--ambig); }
.badge.confirmed { background: var(--confirmed); }
.badge.not_in_dict { background: var(--nodict); }
.followup { border: 2px solid var(--fu-line); background: var(--fu-bg); border-radius: 12px; padding: 14px; }
.followup .q { font-weight: 700; font-size: 17px; margin-bottom: 10px; color: #78350F; }
.followup .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.followup .opts button { font-size: 17px; font-weight: 600; min-height: 52px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--fu-line); background: #fff; color: var(--text); cursor: pointer; flex: 1 1 auto; }
.followup .opts button.is-on { background: var(--confirmed); border-color: var(--confirmed); color: #fff; }
.nodict-msg { color: var(--text-2); font-size: 16px; background: #F3F4F6; border-radius: 10px; padding: 10px 12px; }
.confirm-box { border: 2px solid var(--line); }
.confirm { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; cursor: pointer; }
.confirm input { flex: none; width: 28px; height: 28px; min-height: 0; accent-color: var(--accent); }
.confirm-box .hint { margin: 8px 0 0; }

/* ---- 화면 3: 의사용 한 장 ---- */
.doc-sheet { font-size: 16px; }
.doc-head h2 { position: relative; font-size: 21px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
/* 제목 앞 심전도 아이콘(연한 민트 네모 안) */
.doc-head h2::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px #A7F3D0; }
.doc-head h2::after { content: ""; position: absolute; left: 5px; top: 5px; width: 20px; height: 20px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.meta-grid { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 15px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--card-line); border-radius: var(--radius-sm); }
.meta-grid .mk { color: var(--muted); font-weight: 600; }
.meta-grid .mv { color: var(--text); }
.meta-grid .mv.strong { font-weight: 700; color: var(--danger); }
.meta-grid .mstatus { grid-column: 1 / -1; margin-top: 4px; }
.chip.ok, .chip.pending { display: inline-block; min-height: 0; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; cursor: default; }
.chip.ok { background: #DBEAFE; color: #1E3A8A; border: none; }
.chip.pending { background: #FEF3C7; color: #78350F; border: none; }
/* 섹션 제목: 작고 굵은 회색 + 자간(영어는 대문자) + 앞에 작은 선 아이콘 */
.sec-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #52525B; margin: 0 0 8px; letter-spacing: .06em; text-transform: uppercase; }
.sec-title::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='12' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 10h6M9 14h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='12' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 10h6M9 14h6'/%3E%3C/svg%3E") center / contain no-repeat; }
#negLabel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
#tagsLabel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8L3 12Z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8L3 12Z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E"); }
#checkLabel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.7M12 17h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.7M12 17h.01'/%3E%3C/svg%3E"); }

.first-look { margin-top: 16px; border: 2px solid var(--danger); border-left-width: 8px; border-radius: 12px; padding: 14px; background: var(--danger-bg); }
.fl-head b { display: block; font-size: 17px; color: #7F1D1D; }
.fl-head span { display: block; font-size: 14px; color: #7F1D1D; margin-top: 2px; }
.first-look ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.first-look li { background: #fff; border-radius: 8px; padding: 10px 12px; border: 1px solid #FECACA; }
.fl-topic { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.first-look .topic { font-weight: 800; font-size: 16px; color: #7F1D1D; }
.first-look .src { font-size: 14px; color: var(--muted); }
.first-look .conflict { font-size: 14px; color: #78350F; font-weight: 700; background: #FEF3C7; padding: 1px 8px; border-radius: 6px; }
.fl-quote { margin-top: 4px; }

.hpi { margin-top: 16px; border: 1px solid var(--card-line); border-radius: 14px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.hpi p { font-size: 16px; line-height: 1.7; color: var(--text); }

.doc-body { display: grid; grid-template-columns: 1fr 190px; gap: 18px; margin-top: 18px; }
.doc-right { text-align: center; }
.body-selection, .body-location-row td { white-space: pre-line; }
.legend { font-size: 14px; color: var(--muted); margin-top: 6px; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.legend .dot-pain { color: var(--pain); } .legend .dot-spread { color: var(--spread); }

.opqrst { width: 100%; border-collapse: collapse; font-size: 16px; }
.opqrst th, .opqrst td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.opqrst th { width: 30%; background: var(--bg); font-weight: 700; color: var(--text); font-size: 15px; }
.opqrst .ltr { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; margin-right: 8px; vertical-align: 1px; }
.opqrst .empty { color: var(--muted); }
.opqrst .empty::before { content: "— "; }
.q-line { padding: 10px 0; border-top: 1px dashed var(--line-2); }
.q-line:first-child { padding-top: 0; border-top: none; }
.q-line:last-child { padding-bottom: 0; }
.q-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.q-head b { font-size: 17px; font-weight: 800; }
.q-en { font-size: 14px; color: var(--muted); margin-top: 1px; }
.q-quote { margin-top: 6px; }
.mark { font-size: 14px; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: #DBEAFE; color: #1E3A8A; }
.mark.amb { background: #FEF3C7; color: #78350F; }
.mark.nodict { background: #E5E7EB; color: #1F2937; }

/* 환자 말 인용: 의사 언어 번역(크게) + 원문(작게) */
.tr-q { display: block; font-size: 16px; font-weight: 600; color: var(--text); padding-left: 10px; border-left: 3px solid #6EE7B7; }
.orig-q { display: block; font-size: 14px; color: var(--muted); padding-left: 13px; margin-top: 2px; }
.orig-q.nt { color: #78350F; }

.neg-block, .tags-block, .check-block { margin-top: 20px; }
.neg-block ul, .check-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.neg-block li { display: grid; gap: 4px; }
.neg-block .kind { font-size: 14px; color: var(--text-2); }
.neg-block .kind.lead { justify-self: start; font-weight: 700; background: #F3F4F6; padding: 1px 8px; border-radius: 6px; }
.check-block li { font-size: 16px; padding-left: 0; }
.check-block li b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; margin-right: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--tag-bg); color: var(--tag-text); letter-spacing: .02em; }

.ai-memo { margin-top: 20px; border: 1.5px dashed #9CA3AF; border-radius: 12px; padding: 12px 14px; font-size: 15px; color: var(--text-2); background: #FAFAFA; }
.ai-memo summary { cursor: pointer; color: var(--text-2); font-weight: 700; font-size: 15px; min-height: 28px; }
.ai-memo .memo-item { border-top: 1px dashed var(--line-2); padding: 10px 0; }
.ai-memo .memo-item:first-of-type { border-top: none; }
.ai-memo .memo-k { font-size: 14px; color: var(--muted); font-weight: 600; display: block; margin-top: 6px; }
.doc-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 의사 설명 → 쉬운 말 */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.explain p { white-space: pre-line; }
.explain .big { font-size: 19px; line-height: 1.65; font-weight: 600; }
#readAloudBtn { margin-top: 12px; }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px; }

/* ---- SOS 시트 ---- */
.sos-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.6); display: flex; align-items: flex-end; justify-content: center; z-index: 50; }
.sos-sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 14px 14px 24px; }
/* 맨 위 빨간 띠: 흰 글씨 제목 + 한 줄 설명 */
.sos-band { background: var(--sos-red); color: #fff; border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 6px 16px rgba(200,16,46,.25); }
.sos-top { display: flex; align-items: center; gap: 10px; }
.sos-top h2 { margin: 0; color: #fff; font-size: 21px; flex: 1; }
.sos-band-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.sos-band p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #fff; }
.sos-close { flex: none; font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 0 14px; border-radius: 10px; border: none; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; }
#sosOtherLang { margin: 12px 0 0; }
.sos-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.sos-card { display: flex; gap: 14px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--card-line); border-radius: 16px; padding: 14px 14px; cursor: pointer; min-height: 80px; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.05); font: inherit; }
.sos-card:active, .sos-card.is-on { border-color: var(--pain); background: var(--danger-bg); }
.sos-card .ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #FEE2E2; display: grid; place-items: center; font-size: 26px; }
.sos-card .txt { flex: 1; min-width: 0; }
.sos-card .spk { flex: none; width: 22px; height: 22px; background: #A1A1AA; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4Z'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4Z'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.sos-card.is-on .spk { background: var(--danger); }
.sos-card .mine { font-size: 20px; font-weight: 800; display: block; line-height: 1.4; }
.sos-card .theirs { font-size: 16px; color: var(--muted); display: block; margin-top: 2px; }
.sos-card .extra { font-size: 15px; font-weight: 700; color: var(--danger); display: block; margin-top: 4px; }

/* ---- 폰 (768px 이하) ---- */
@media screen and (max-width: 768px) {
  main { padding: 4px 12px 40px; }
  .card { padding: 20px 16px; }
  .grid2, .explain { grid-template-columns: 1fr; }
  .tagline { display: none; }
  .cards { grid-template-columns: 1fr; }
  .actions.between button { flex: 1; }
  .seg button { flex: 1 1 auto; }
  #bodymap { width: 210px; }
  /* 의사 화면: 바디맵은 작게 옆으로, OPQRST는 표 대신 위아래로 쌓기 */
  .doc-body { grid-template-columns: 1fr; gap: 16px; }
  .doc-right { order: -1; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--bg); border: 1px solid var(--card-line); border-radius: 14px; padding: 10px; }
  #bodymapDoc, #bodymapDocBack { width: 112px; }
  .doc-right.two #bodymapDoc, .doc-right.two #bodymapDocBack { width: 96px; }
  .legend { align-items: flex-start; }
  .opqrst, .opqrst tbody, .opqrst tr, .opqrst th, .opqrst td { display: block; width: 100%; }
  .opqrst { border: none; }
  .opqrst tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
  .opqrst th { border: none; border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .opqrst td { border: none; padding: 10px 12px 12px; }
  .meta-grid { grid-template-columns: minmax(7em, 42%) 1fr; }
  .opqrst tr.is-empty { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .opqrst tr.is-empty th { width: auto; border-bottom: none; background: none; }
  .opqrst tr.is-empty td { width: auto; padding: 8px 12px; text-align: right; font-size: 15px; }
  .bm-controls { display: grid; grid-template-columns: 1fr auto; }
  .bm-controls #bmMode { grid-column: 1 / -1; order: 3; }
  .bm-controls .seg button { flex: 1; }
}
@media (min-width: 769px) { .sos-overlay { align-items: center; } .sos-sheet { border-radius: 18px; } }
@media (min-width: 961px) { .banner { margin: 10px auto 0; } }

/* Home and the optional care journey */
.screen h1:focus, .screen h2:focus { outline: none; }
.home-btn { margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; min-width: 48px; min-height: 42px; font-size: 15px; color: var(--text-2); cursor: pointer; }
.sos-btn { margin-left: 0; }
.at-home .top { background: var(--bg); border-color: transparent; }
.at-home .tagline { display: none; }
.at-home #practiceBanner { font-size: 14px; }
.home-screen { max-width: 560px; min-height: calc(100svh - 155px); margin: auto; display: flex; flex-direction: column; }
.home-language { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.home-language select { width: auto; min-height: 40px; padding: 6px 28px 6px 10px; font-size: 15px; background: white; border: 1px solid var(--line); }
.home-content { text-align: center; margin: auto 0; padding: 38px 0; }
.home-mark { display: inline-grid; place-items: center; width: 78px; height: 78px; background: #E8F4EE; color: var(--accent); border-radius: 26px; margin-bottom: 24px; }
.home-mark svg { width: 44px; height: 44px; }
.home-content h1 { white-space: pre-line; font-size: clamp(29px, 5vw, 38px); letter-spacing: -.04em; line-height: 1.35; font-weight: 800; margin: 0 0 14px; }
.home-content > p { color: var(--muted); font-size: 16px; }
.home-content .start-care { width: 100%; min-height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; margin: 34px 0 12px; border-radius: 20px; font-size: 21px; text-align: left; box-shadow: 0 6px 16px #04785718; }
.start-care > span:last-child { font-size: 28px; padding-left: 12px; }
.home-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-shortcut { background: #fff; border: 1px solid var(--line); min-height: 78px; border-radius: 16px; cursor: pointer; font-size: 16px; color: var(--text-2); padding: 14px 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.home-shortcut > span:first-child { color: var(--accent); font-size: 24px; }
.home-shortcut:hover { border-color: var(--accent); background: var(--accent-soft); }
.home-footnote { font-size: 14px; color: var(--muted); text-align: center; padding: 18px 0; }
.text-button { font-size: 15px; color: var(--muted); background: transparent; border: 0; padding: 12px; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.danger { color: var(--danger); }
.narrow-screen { max-width: 620px; margin: auto; }
.page-heading { margin: 30px 0 22px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.page-heading h1 { font-size: 28px; margin: 6px 0 10px; line-height: 1.35; }
.page-heading p { color: var(--muted); font-size: 16px; }
.empty-state { text-align: center; border: 1px dashed var(--line-2); border-radius: 20px; padding: 46px 20px; color: var(--muted); }
.empty-state > span { display: block; font-size: 40px; color: var(--accent); margin-bottom: 14px; }
.empty-state p { font-size: 15px; }
.history-card h2 { font-size: 19px; margin: 8px 0 14px; }
.history-date { font-size: 14px; color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-size: 15px; line-height: 1.6; }
.department-note { margin: 12px 0; }
.department-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.department-filters .chip { padding: 8px 14px; }
.hospital-search > .primary { width: 100%; }
.hospital-search .hint { margin: 12px 0 20px; }
.hospital-search label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.area-search { display: flex; gap: 8px; }
.area-search input { min-width: 0; }
.area-search button { flex: none; }
.hospital-meta, .hospital-hours { color: var(--accent); font-size: 14px; margin-bottom: 4px; }
.hospital-card h2 { margin-bottom: 6px; }
.hospital-card > p { font-size: 15px; }
.maps-link { display: inline-block; font-size: 15px; color: var(--accent-dark); margin-top: 14px; padding: 8px 0; text-underline-offset: 3px; }
.maps-attribution { font-family: Arial, sans-serif; font-size: 16px; font-weight: 400; white-space: nowrap; letter-spacing: normal; color: #1f1f1f; padding: 16px 0; }
.provider-attribution { display: block; font-size: 14px; color: var(--muted); }
.hospital-note { margin-top: 18px; }
.hospital-next { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.hospital-next .primary { flex: 1 1 220px; }
.record-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0 12px; }
.record-toolbar span { font-size: 15px; color: var(--accent); }
.save-note { margin: 0 0 18px; }
.explain { display: block; }
.explain > div { padding: 16px 0; }
.explanation-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.explanation-card { border: 1px solid #CDE5D9; border-radius: 16px; background: #fff; padding: 18px; }
.explanation-kind { display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.explanation-card p { font-size: 20px; line-height: 1.65; white-space: pre-wrap; }
.explanation-card details { margin-top: 16px; font-size: 14px; color: var(--muted); }
.explanation-card summary { cursor: pointer; }
.explanation-card blockquote { margin: 10px 0 0; border-left: 3px solid var(--line-2); padding: 0 0 0 12px; white-space: pre-wrap; }
@media (max-width: 520px) {
  .top { flex-wrap: wrap; }
  .top .tagline { display: none; }
  .steps { width: 100%; justify-content: center; padding: 3px 0; }
  .home-content { padding: 32px 0 18px; }
  .home-content .start-care { font-size: 20px; padding: 20px; }
  .home-shortcut { font-size: 15px; flex-direction: column; gap: 0; }
  .explanation-cards { grid-template-columns: 1fr; }
  .hospital-next .ghost { flex: 1 1 100%; }
}

/* Consultation: translate, confirm understanding, and finish. */
.hospital-skip-box { position: sticky; top: 68px; z-index: 10; padding: 8px 0 14px; background: var(--bg); }
.hospital-skip-box .primary { width: 100%; padding: 18px 14px; min-height: 64px; font-size: 18px; }
.hospital-search .department-filters { margin: 12px 0 18px; }
.hospital-search .location-search { width: 100%; min-height: 52px; border: 1px solid var(--line-2); background: white; }
.hospital-search #manualArea { margin-top: 14px; color: var(--muted); font-size: 15px; }
#manualArea summary { min-height: 40px; padding: 8px 0; cursor: pointer; }
#manualArea .area-search { margin: 10px 0; }
.hospital-search .location-privacy { margin: 16px 0 0; font-size: 14px; }
.hospital-next .ghost { width: 100%; }
.consult-tabs { display: flex; gap: 4px; padding: 5px; background: #EDEEEB; border-radius: 14px; margin-top: 20px; }
.consult-tabs button { flex: 1; border: 0; padding: 14px 10px; font-size: 17px; font-weight: 650; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.consult-tabs button.is-on { background: #fff; color: var(--accent-dark); box-shadow: 0 1px 3px #00000010; }
.translation-direction { color: var(--accent-dark); font-size: 17px; font-weight: 650; margin: -3px 0 18px; }
.doctor-voice { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; }
#doctorMicBtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
#doctorMicBtn.is-recording { background: #FEF2F2; border-color: var(--danger); color: var(--danger); }
#doctorMicLanguage { font-size: 15px; color: var(--muted); }
#doctorSpeechHint { margin: 0 0 14px; font-size: 14px; }
.speech-preview { padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--text-2); margin: 12px 0; font-size: 18px; white-space: pre-wrap; }
#translationPanel { scroll-margin-top: 120px; }
#patientPanel { scroll-margin-top: 120px; }
#patientPanel #doctorOriginal { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; }
#doctorOriginal summary { cursor: pointer; min-height: 40px; padding: 8px 0; color: var(--muted); }
#doctorSaidText { white-space: pre-wrap; padding: 12px 0; }
#translationPanel .actions { flex-wrap: wrap; }
#cancelTranslation { width: 100%; }
#translationModeNotice { margin: 14px 0; background: #FFFBEB; color: #78350F; }
#translationPanel .actions { justify-content: stretch; }
#explainBtn { width: 100%; }
#explainBtn.show-patient { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 24px; }
#explainBtn .patient-language-label { font-size: 15px; font-weight: 500; }
.card-feedback { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.card-feedback button { border: 1px solid var(--line-2); color: var(--text-2); border-radius: 10px; font-size: 15px; background: #fff; min-height: 46px; padding: 8px 12px; cursor: pointer; flex: 1 1 auto; }
.card-feedback button[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-soft); border-color: var(--accent); }
.explanation-card.is-understood { border-color: var(--accent); }
.explanation-card .feedback-status { color: var(--accent-dark); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.feedback-status:empty { display: none; }
.complete-visit { display: flex; justify-content: center; border-top: 1px solid var(--line); padding: 24px 0 0; margin-top: 24px; }
.complete-visit button { min-width: 220px; }
.care-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; background: #fff; color: var(--text); box-shadow: 0 20px 60px #00000030; }
.care-dialog::backdrop { background: #11182780; }
.care-dialog h2 { line-height: 1.5; font-size: 23px; }
.care-dialog p { margin: 12px 0; }
.care-dialog .doctor-request { font-size: 26px; font-weight: 650; line-height: 1.5; }
.care-dialog blockquote { margin: 20px 0; padding: 16px; border-left: 4px solid var(--accent); background: var(--accent-soft); white-space: pre-wrap; font-size: 20px; }
#feedbackDialog > button { width: 100%; margin-top: 10px; }
.completion-icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--accent-soft); color: var(--accent); font-size: 28px; border-radius: 50%; margin-bottom: 18px; }
.completion-save { display: flex; align-items: flex-start; gap: 10px; border-radius: 12px; padding: 14px; margin: 20px 0; background: var(--bg); }
.completion-save input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--accent); }
.completion-save span { margin: 0; font-weight: 500; }
.dialog-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (max-width: 520px) {
  .consult-tabs button { font-size: 15px; padding: 13px 7px; }
  .complete-visit button { width: 100%; }
  .care-dialog { padding: 24px 20px; }
}

/* ---- 인쇄: 의사용 한 장만, A4 한 장 ---- */
@media print {
  @page { size: A4; margin: 10mm; }
  #summaryPanel { display: block !important; }
  .care-dialog { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .neg-block li { display: block; }
  .neg-block .tr-q, .neg-block .orig-q, .fl-quote .tr-q, .fl-quote .orig-q { display: inline; border: none; padding-left: 4px; }
  .fl-topic, .fl-quote { display: inline; }
  .check-block ul { display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .check-block li b { width: 15px; height: 15px; font-size: 10px; }
  .q-en { display: inline; margin-left: 6px; } .q-head { display: inline-flex; }
  body { background: #fff; font-size: 12px; line-height: 1.4; }
  .top, .banner, .foot, .no-print, #screenHome, #screenHistory, #screenHospitals, #screen1, #screen2, .sos-overlay, .sos-btn, .first-look .src { display: none !important; }
  main { max-width: none; padding: 0; }
  .card { box-shadow: none; margin: 0; padding: 0; }
  .doc-head h2 { font-size: 16px; margin-bottom: 6px; }
  .meta-grid { grid-template-columns: max-content 1fr max-content 1fr; font-size: 11.5px; padding: 6px 8px; gap: 2px 10px; }
  .meta-grid .mstatus { grid-column: auto / span 2; margin: 0; }
  .chip.ok, .chip.pending { font-size: 11px; padding: 1px 6px; }
  .first-look { margin-top: 8px; padding: 6px 10px; background: #fff; border-width: 1.5px; border-left-width: 5px; }
  .fl-head b { font-size: 13px; display: inline; } .fl-head span { font-size: 10.5px; display: inline; margin-left: 6px; }
  .first-look ul { margin-top: 4px; gap: 3px; } .first-look li { padding: 3px 8px; border: none; } .first-look .topic { font-size: 12px; }
  .hpi { margin-top: 8px; padding: 6px 10px; } .hpi p { font-size: 12px; line-height: 1.5; }
  .sec-title { font-size: 11.5px; margin-bottom: 3px; }
  .sec-title::before { width: 11px; height: 11px; }
  .doc-head h2::before, .doc-head h2::after { display: none; }
  .first-look .conflict { font-size: 10.5px; padding: 0 5px; }
  .card { border: none; }
  .doc-body { grid-template-columns: 1fr 130px; gap: 10px; margin-top: 8px; }
  #bodymapDoc, #bodymapDocBack { width: 120px; }
  .doc-right.two #bodymapDoc, .doc-right.two #bodymapDocBack { width: 64px; }
  .legend { font-size: 10.5px; }
  .opqrst { font-size: 12px; } .opqrst th, .opqrst td { padding: 4px 7px; } .opqrst th { font-size: 12px; }
  .opqrst .ltr { width: 16px; height: 16px; font-size: 10.5px; margin-right: 4px; }
  .q-line { padding: 4px 0; } .q-head b { font-size: 12.5px; } .q-en, .mark { font-size: 10.5px; } .q-quote { margin-top: 2px; }
  .tr-q { font-size: 12px; padding-left: 6px; } .orig-q { font-size: 10.5px; padding-left: 9px; }
  .neg-block, .tags-block, .check-block { margin-top: 8px; }
  .neg-block ul, .check-block ul { gap: 2px; } .neg-block li { gap: 0; } .neg-block .kind, .check-block li, .tag { font-size: 11px; }
  .tag { padding: 1px 6px; }
  .doc-foot { margin-top: 8px; padding-top: 4px; font-size: 10.5px; }
}
