/* 진단 앱 화면.
   `--navy` 는 켠 틀의 `meta.app.accent` 로 덮인다(app.js) — 앱 다섯이 같은
   화면을 쓰지만 고객에게는 자기 앱이어야 한다(D-70). 여기 적힌 값은 틀을 아직
   읽기 전 한순간에만 보이는 색이다. */

:root {
  --navy: #10314f;
  --blue: #1668b3;
  --line: #dde5ee;
  --ink: #16202c;
  --sub: #5b6b7d;
  --bg: #f4f7fa;
  --card: #fff;
  --l1: #dc3545; --l2: #fd7e14; --l3: #f0ad00; --l4: #28a745; --l5: #0d9488;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ------------------------------------------------------------------ 머리 */

.top {
  display: flex; align-items: center; gap: 28px;
  height: 56px; padding: 0 22px;
  background: var(--navy); color: #fff;
  position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 11px; }
.mark {
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 5px 9px; border-radius: 6px;
}
.who { display: flex; flex-direction: column; line-height: 1.25; }
.who b { font-size: 14px; font-weight: 700; }
.who i { font-style: normal; font-size: 11px; opacity: .62; }
.tabs { display: flex; gap: 4px; }
.tabs a {
  padding: 7px 13px; border-radius: 7px; font-size: 13px;
  color: rgba(255,255,255,.72);
}
.tabs a:hover { background: rgba(255,255,255,.1); color: #fff; }
.tabs a.on { background: rgba(255,255,255,.17); color: #fff; font-weight: 600; }

main { max-width: 1180px; margin: 0 auto; padding: 26px 22px 80px; }

/* ------------------------------------------------------------- 공통 조각 */

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 18px; flex-wrap: wrap;
}
.page-head h1 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.page-head p { margin: 5px 0 0; color: var(--sub); font-size: 13px; }

.btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 15px; border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: .12s;
}
.btn:hover { border-color: #b9c7d8; background: #fbfdff; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: #1258a0; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--sub); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.sm { padding: 5px 11px; font-size: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.card + .card { margin-top: 14px; }
.card > h2 {
  margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px;
}
.card > h2 small { font-weight: 500; color: var(--sub); font-size: 12px; }

.empty {
  text-align: center; padding: 60px 20px; color: var(--sub);
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fff;
}
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }

.chip {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; background: #eef3f9; color: var(--navy);
}
.muted { color: var(--sub); }
.tiny { font-size: 12px; }

table.grid { width: 100%; border-collapse: collapse; font-size: 13px; }
table.grid th, table.grid td {
  border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left;
  vertical-align: top;
}
table.grid th { background: #f7fafd; color: var(--navy); font-size: 12px; font-weight: 700; }
table.grid tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------- 진단건 목록 */

.list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: block; transition: .12s;
}
.item:hover { border-color: var(--blue); box-shadow: 0 3px 14px rgba(16,49,79,.08); }
.item h3 { margin: 0 0 4px; font-size: 15px; }
.item .req { color: var(--sub); font-size: 12.5px; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bar { height: 4px; background: #eef2f7; border-radius: 4px; overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; background: var(--blue); }

/* ------------------------------------------------------------ 진단건 상세 */

.detail { display: grid; grid-template-columns: 208px 1fr; gap: 20px; align-items: start; }
.side { position: sticky; top: 78px; }
.side .step {
  display: block; width: 100%; text-align: left; border: 1px solid transparent;
  background: transparent; border-radius: 8px; padding: 10px 12px; margin-bottom: 3px;
  color: var(--sub); font-size: 13px;
}
.side .step:hover { background: #eaf1f8; }
.side .step.on { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 700; }
.side .step b { display: block; font-size: 10.5px; color: var(--blue); letter-spacing: .04em; }
.side .step.done::after { content: "✓"; float: right; color: var(--l4); font-weight: 700; }

.head-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 14px;
}
.head-bar h1 { margin: 0 0 3px; font-size: 18px; }
.head-bar .req { margin: 0 0 12px; color: var(--sub); font-size: 13px; }

/* 판정 배너 — 이 앱이 답하는 질문의 답이 여기 한 줄로 나온다 */
.verdict {
  display: flex; gap: 16px; align-items: center;
  border-radius: var(--radius); padding: 14px 18px; color: #fff; margin-bottom: 14px;
}
.verdict .idx { font-size: 30px; font-weight: 800; line-height: 1; }
.verdict .idx small { font-size: 13px; font-weight: 600; opacity: .8; }
.verdict b { font-size: 15px; display: block; }
.verdict span { font-size: 12.5px; opacity: .92; }

/* ------------------------------------------------------------ 영역 카드 */

.areas { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.area {
  border: 1px solid var(--line); border-radius: 9px; padding: 13px; background: #fff;
  border-left-width: 4px;
}
.area .t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.area .t b { font-size: 13.5px; }
.area .lv { font-size: 12px; font-weight: 800; }
.area .w { font-size: 11px; color: var(--sub); margin-top: 2px; }
.area .note { font-size: 12.5px; color: #3d4c5c; margin-top: 8px; }
.area.core { box-shadow: inset 0 0 0 1px rgba(22,104,179,.14); }
.area .core-tag { font-size: 10px; color: var(--blue); font-weight: 800; }

/* 레이더 */
.radar { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.radar svg { flex: none; }
.legend { font-size: 12px; color: var(--sub); }
.legend div { margin-bottom: 3px; }

/* 우선순위 */
.prio { display: grid; gap: 8px; }
.prio .p { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.prio .n { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.prio .next { font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.prio .score { font-size: 12px; color: var(--blue); font-weight: 700; white-space: nowrap; }

/* 로드맵 */
.road { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.road .ph { border: 1px solid var(--line); border-radius: 9px; padding: 13px; background: #fff; }
.road .ph b { color: var(--blue); font-size: 12px; }
.road .ph h4 { margin: 2px 0 8px; font-size: 14px; }
.road .ph li { font-size: 12.5px; color: #3d4c5c; margin-bottom: 5px; }
.road .ph ul { margin: 0; padding-left: 16px; }

/* 정합성 표 */
.fit td.ok { color: var(--l4); font-weight: 700; white-space: nowrap; }
.fit td.no { color: var(--l1); font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------------- 자료 수집 */

.groups { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.group { border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 14px; }
.group h4 { margin: 0 0 2px; font-size: 13.5px; }
.group .src { font-size: 11px; color: var(--sub); margin-bottom: 9px; }
.group .sum { font-size: 12.5px; color: #3d4c5c; margin-bottom: 9px; }
.group dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 12.5px; }
.group dt { color: var(--sub); white-space: nowrap; }
.group dd { margin: 0; }
.group dd i { font-style: normal; color: #9aa8b6; font-size: 11px; }

.gaps li { margin-bottom: 9px; font-size: 13px; }
.gaps b { display: block; }
.gaps span { color: var(--sub); font-size: 12.5px; }

/* --------------------------------------------------------------- 설계서 */

.doc-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.toc { position: sticky; top: 78px; font-size: 12.5px; }
.toc a { display: block; padding: 5px 9px; border-radius: 6px; color: var(--sub); }
.toc a:hover { background: #eaf1f8; }
.toc a.done { color: var(--ink); }
.toc a.pending { opacity: .45; }
.paper {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 40px; font-size: 14px; line-height: 1.85;
}
/* 목차로 뛴 자리가 56px 짜리 sticky 머리 밑에 깔리지 않게 한다. */
.paper h2 { font-size: 17px; color: var(--navy); margin: 34px 0 12px;
  padding-bottom: 7px; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.paper h2:first-child { margin-top: 0; }
.paper h3 { font-size: 14.5px; color: var(--blue); margin: 20px 0 6px; }
.paper p { margin: 0 0 10px; }
.paper ul { margin: 0 0 12px; padding-left: 20px; }
.paper li { margin-bottom: 4px; }
.paper p.flag { border-left: 3px solid var(--blue); background: #f5f9fd;
  padding: 9px 13px; border-radius: 0 6px 6px 0; }
.paper p.flag.리스크 { border-color: var(--l1); background: #fdf5f6; }
.paper p.flag.권고 { border-color: var(--l5); background: #f1fbfa; }
.paper p.flag b { font-size: 11px; display: block; color: var(--blue); }
.paper p.flag.리스크 b { color: var(--l1); }
.paper p.flag.권고 b { color: var(--l5); }

/* ---------------------------------------------------------------- 설문 */

.survey-area { margin-bottom: 26px; }
.survey-area > h3 {
  margin: 0 0 4px; font-size: 15px; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.survey-area > p { margin: 0 0 12px; color: var(--sub); font-size: 12.5px; }
.q { border: 1px solid var(--line); border-radius: 9px; padding: 14px; background: #fff;
  margin-bottom: 9px; }
.q > b { font-size: 13.5px; display: block; margin-bottom: 3px; }
.q > .ex { font-size: 11.5px; color: #9aa8b6; margin-bottom: 9px; }
.opts { display: grid; gap: 4px; }
.opts label {
  display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px;
  padding: 6px 9px; border-radius: 7px; cursor: pointer; border: 1px solid transparent;
}
.opts label:hover { background: #f5f9fd; }
.opts input:checked + span { font-weight: 700; color: var(--blue); }
.opts .lv { font-size: 10.5px; color: #9aa8b6; width: 14px; flex: none; }

/* ------------------------------------------------------------ 모달·토스트 */

.veil {
  position: fixed; inset: 0; background: rgba(14,26,40,.44); z-index: 60;
  display: grid; place-items: center; padding: 20px;
}
.modal {
  background: #fff; border-radius: 12px; padding: 24px; width: min(520px, 100%);
  box-shadow: 0 22px 60px rgba(10,24,40,.3);
}
.modal h2 { margin: 0 0 4px; font-size: 17px; }
.modal p.lead { margin: 0 0 18px; color: var(--sub); font-size: 13px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 13px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,179,.12);
}
.field .hint { font-size: 11.5px; color: var(--sub); margin-top: 4px; }
.modal .row { justify-content: flex-end; margin-top: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 22px);
  background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 9px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: .2s; z-index: 80;
  max-width: 560px;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #a3242f; }

/* 단계가 도는 동안 */
.busy { display: inline-flex; align-items: center; gap: 7px; }
.spin {
  width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.btn:not(.primary) .spin { border-color: rgba(22,104,179,.3); border-top-color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

.stage-hint {
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fff;
  padding: 26px; text-align: center;
}
.stage-hint b { display: block; font-size: 15px; margin-bottom: 5px; }
.stage-hint p { margin: 0 0 16px; color: var(--sub); font-size: 13px; }

@media (max-width: 880px) {
  .detail, .doc-wrap { grid-template-columns: 1fr; }
  .side, .toc { position: static; }
  .paper { padding: 22px; }
}

/* 틀이 여러 개일 때만 보이는 줄. 하나뿐인 설치에서는 그리지 않는다. */
.fw-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 10px; margin: 0 0 18px; }
.fw-card { background: #fff; border: 1px solid var(--line); border-radius: 10px;
           padding: 11px 13px; }
.fw-card b { display: block; font-size: 12px; letter-spacing: .06em; }
.fw-card span { display: block; font-size: 13px; font-weight: 600; margin: 2px 0 4px; }
.fw-card i { font-style: normal; font-size: 11px; color: var(--muted); }
.chip.sm { font-size: 10px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

/* ==================================================================== 심의
   같은 이미지가 심의 앱으로 뜰 때만 쓰는 것들(D-70). 진단 쪽 클래스와 이름이
   겹치지 않게 두었다 — 한 벌의 CSS 라 겹치면 진단 화면이 조용히 어긋난다. */

/* 심의 쪽 탭은 해시 링크다. 탭마다 부르는 경로가 달라서 화면 안에서 갈아 끼우지
   않고 주소를 바꾼다 — 그래야 원장 화면을 그대로 다시 열 수 있다. */
.side a.step { display: block; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
       color: #7b8b9c; }

.badge {
  display: inline-block; font-size: 10px; font-weight: 800; padding: 1px 6px;
  border-radius: 5px; background: #e8eefb; color: #3a4d92; margin-left: 6px;
  vertical-align: 1px;
}
.badge.warn { background: #fdf0e2; color: #a55a06; }
.warn-text { color: #a55a06; }
.warn-card { border-color: #f0d5b0; background: #fffdf8; }

/* -------------------------------------------------------------- 판단점 */

/* 이 카드가 화면에서 가장 큰 것이어야 한다. 갈림길에 서 있다는 사실이 목록
   어딘가의 배지로 밀리면 심의가 그 자리에서 조용히 멈춘다. */
.cp {
  border: 2px solid var(--navy); border-radius: var(--radius); background: #fff;
  padding: 18px; margin-bottom: 14px;
  box-shadow: 0 6px 24px rgba(16, 49, 79, .1);
}
.cp-head { display: flex; align-items: center; justify-content: space-between;
           gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cp-head b { font-size: 17px; margin-left: 8px; }
.cp-head .badge { background: var(--navy); color: #fff; margin: 0; }
.cp-head .tiny { color: var(--sub); }

.cp-brief { display: grid; gap: 6px 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            background: #f7fafd; border-radius: 8px; padding: 11px 13px; font-size: 12.5px; }
.cp-brief i { font-style: normal; color: var(--sub); margin-right: 7px; }

.cp-rule { margin-top: 11px; border-left: 3px solid var(--blue); background: #f5f9fd;
           padding: 9px 13px; border-radius: 0 6px 6px 0; font-size: 12.5px; }
.cp-rule.many { border-color: #d9873a; background: #fffaf3; }
.cp-rule .tiny { color: var(--sub); margin-top: 4px; }

.cp-opts { display: grid; gap: 8px; margin-top: 14px; }
.cp-opt { display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
          border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; }
.cp-opt:hover { border-color: #b9c7d8; background: #fbfdff; }
.cp-opt b { font-size: 13.5px; }
.cp-opt .con { font-size: 12.5px; color: #3d4c5c; margin-top: 3px; }
.cp-opt .why { font-size: 12px; color: #a3242f; margin-top: 3px; }
.cp-opt.hit { border-color: var(--blue); background: #f5f9fd; }
/* 못 고르는 것도 지운다. 안 보이면 그런 선택지가 있었다는 것조차 안 남는다. */
.cp-opt.off { opacity: .5; cursor: not-allowed; background: #fafbfc; }
.cp-opt.off:hover { border-color: var(--line); }

.cp-form .field { margin-top: 12px; }
.cp-form textarea { resize: vertical; }
.who-input { width: 190px; padding: 8px 11px; border: 1px solid var(--line);
             border-radius: 8px; font: inherit; font-size: 13px; }

/* ---------------------------------------------------------------- 흐름 */

.flow { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.job { border: 1px solid var(--line); border-radius: 9px; padding: 13px; background: #fff;
       display: flex; flex-direction: column; gap: 6px; }
.job .t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.job .t b { font-size: 13.5px; }
.job .meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11px; }
.job p { margin: 0; font-size: 12.5px; color: #3d4c5c; }
.job button { align-self: flex-start; margin-top: 2px; }
.job.stale { border-color: #e8c79a; background: #fffdf8; }
.job.off { background: #fafbfc; border-style: dashed; color: var(--sub); }
.job.off .t b { color: var(--sub); font-weight: 600; }
.job .unblock { font-size: 12px; color: var(--blue); }

/* ---------------------------------------------------------------- 원장 */

/* 출처가 강할수록 진하다. 등급을 글자로만 적으면 스무 행짜리 원장에서 어디가
   가정으로 채워졌는지 한눈에 안 보인다(D-88). */
.kind { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 7px;
        border-radius: 5px; white-space: nowrap; }
.kind.k5 { background: #10314f; color: #fff; }
.kind.k4 { background: #3f6f9e; color: #fff; }
.kind.k3 { background: #8fb0cd; color: #10314f; }
.kind.k2 { background: #d3e0ec; color: #3d5468; }
.kind.k1 { background: #f0f3f6; color: #8b98a5; }

table.grid.led td { font-size: 12.5px; }
table.grid.led tr.clashed { background: #fffaf3; }
table.grid.led tr.clashed td:first-child { box-shadow: inset 3px 0 0 #d9873a; }

.vlist { margin: 0; padding-left: 16px; }
.vlist li { margin-bottom: 2px; }
.vmap i { font-style: normal; color: var(--sub); }

.clash { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.clash:last-of-type { border-bottom: 0; }

.ev-grid { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* ------------------------------------------------------------ 자료요청 */

.reqs { display: grid; gap: 9px; }
.req-row { display: grid; grid-template-columns: 46px 1fr 120px; gap: 12px;
           align-items: center; border: 1px solid var(--line); border-radius: 9px;
           padding: 11px 13px; }
.req-row.got { background: #f4fbf7; border-color: #bfe3ce; }
.req-row .p { font-size: 13px; font-weight: 800; color: var(--blue); text-align: center; }
.req-row .why { font-size: 12.5px; color: #3d4c5c; margin-top: 2px; }
.req-state { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px;
             font: inherit; font-size: 12px; background: #fff; }

/* ---------------------------------------------------------------- 결론 */

.band { padding: 6px 4px 2px; }
.band .rail { position: relative; height: 12px; margin: 34px 0 6px; }
.band .fill { position: absolute; inset: 0; border-radius: 7px;
              background: linear-gradient(90deg, #cfe0f0, #6d9dc9, #cfe0f0); }
.band .tick { position: absolute; top: -30px; transform: translateX(-50%); text-align: center; }
.band .tick i { display: block; width: 2px; height: 40px; margin: 0 auto;
                background: var(--navy); }
.band .tick span { font-size: 11.5px; font-weight: 700; white-space: nowrap;
                   color: var(--navy); }
.band .tick.pre i { background: #a55a06; }
.band .tick.pre span { color: #a55a06; }
.band .ends { display: flex; justify-content: space-between; font-size: 12px;
              color: var(--sub); }

.deal { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.deal .cell { border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; }
.deal .cell i { font-style: normal; display: block; font-size: 11.5px; color: var(--sub); }
.deal .cell b { font-size: 19px; letter-spacing: -.01em; }
.deal .cell span { font-size: 11px; color: var(--sub); margin-left: 4px; }

.checks { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 52px 1fr; gap: 11px; align-items: center;
         border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.check > b { font-size: 11.5px; font-weight: 800; text-align: center; }
.check.ok > b { color: var(--l4); }
.check.warn { border-color: #e8c79a; background: #fffdf8; }
.check.warn > b { color: #a55a06; }
.check.bad { border-color: #eabfc4; background: #fdf7f8; }
.check.bad > b { color: var(--l1); }

/* ------------------------------------------------------------ 결정 이력 */

.dec { display: grid; gap: 10px; }
.dec-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px;
           border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; }
/* 루브릭과 다르게 정한 것은 눈에 띄어야 한다. 이 화면이 파는 것이 그것이다. */
.dec-row.over { border-color: #e8c79a; background: #fffdf8; }
.dec-row .when { font-size: 11.5px; color: var(--sub); }
.dec-row .when b { display: block; font-size: 12px; color: var(--ink); }
.dec-row .when i { font-style: normal; }
.dec-row .why { font-size: 13px; color: #3d4c5c; margin-top: 5px; }

.notes { font-size: 12.5px; color: var(--sub); padding-left: 20px; }
.notes b { color: var(--ink); }
