/* 누리 콜노트 목업 공통 모양 — 색·글꼴·간격을 한곳에서만 정한다 (가이드 11장 기본값 + 언슬롭 기준) */
:root {
  --bg: #EDF0EE;        /* 바탕 */
  --card: #FFFFFF;      /* 카드 */
  --raised: #F4F6F5;    /* 눌린 줄·입력 칸 */
  --text: #17201D;      /* 글자 */
  --sec: #55625D;       /* 보조 글자 */
  --muted: #64706B;     /* 시각·건수 같은 작은 글 */
  --line: rgba(23, 32, 29, .10);
  --accent: #1D5C86;    /* 업무·주요 버튼 */
  --accent-bg: #E6EEF4;
  --warn: #9A5508;      /* 약속·주의·미확인 */
  --warn-bg: #FBEFD9;
  --ok: #25613A;        /* 개인·완료 */
  --ok-bg: #E4F1E8;
  --bad: #A63A32;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px; line-height: 20px; -webkit-font-smoothing: antialiased;
}
.mono { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.sec { color: var(--sec); } .muted { color: var(--muted); font-size: 12px; line-height: 16px; }
.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.i.in { color: var(--accent); } .i.miss { color: var(--bad); } .i.done { color: var(--ok); }
h1 { font-size: 28px; line-height: 32px; font-weight: 500; }
h2 { font-size: 18px; line-height: 24px; font-weight: 500; }
h3 { font-size: 15px; line-height: 20px; font-weight: 500; }

/* 꼬리표 — 색은 뜻이 있을 때만 */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; background: var(--raised); color: var(--sec); white-space: nowrap; }
.tag.biz { background: var(--accent-bg); color: var(--accent); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }

/* 이 제품만의 표시 — 통화에서 확인 안 된 값은 전표의 빈칸처럼 점선 칸으로 둔다 */
.slot { display: inline-block; min-width: 72px; padding: 0 8px; border-bottom: 1.5px dashed var(--warn); color: var(--warn); background: var(--warn-bg); border-radius: 4px 4px 0 0; }
mark { background: var(--warn-bg); color: inherit; padding: 2px 0; box-shadow: 0 -1.5px 0 var(--warn) inset; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color 140ms var(--ease), transform 140ms var(--ease); }
.btn:hover { background: var(--raised); } .btn:active { transform: scale(.98); }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.pri:hover { background: #184E72; }
.btn.pri .i, .btn.pri:hover .i { color: #fff; }
.btn.off { background: var(--raised); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn.sm { height: 36px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.btn.wide { width: 100%; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }

/* 값 이름 — 값 두 줄 표 */
.kv { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; }
.kv dt { color: var(--muted); font-size: 13px; } .kv dd { min-width: 0; }

/* ---------- 휴대폰 틀 ---------- */
.page { max-width: 1600px; margin: 0 auto; padding: 32px; }
.page > header { margin-bottom: 32px; } .page > header p { color: var(--sec); margin-top: 8px; max-width: 640px; }
.group-title { margin: 48px 0 16px; }
.phones { display: grid; grid-template-columns: repeat(auto-fill, 360px); gap: 40px 32px; }
.phones figure > figcaption { margin-bottom: 12px; } .phones figcaption b { font-weight: 500; display: block; }
.phone { width: 360px; height: 740px; background: var(--bg); border: 1px solid rgba(23,32,29,.18); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.phone .sb { height: 32px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--sec); flex: none; }
.phone .bar { height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.phone .body { flex: 1; overflow: hidden; padding: 4px 16px 16px; }
.phone .card .btn { padding: 0 12px; }
.phone .foot { padding: 12px 16px 16px; background: var(--card); border-top: 1px solid var(--line); flex: none; }
.tabbar { height: 60px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-top: 1px solid var(--line); flex: none; }
.tabbar div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
.tabbar .on { color: var(--accent); font-weight: 500; } .tabbar .on .i { color: var(--accent); }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.list > .item { display: flex; gap: 12px; padding: 12px 16px; min-height: 64px; align-items: flex-start; }
.list > .item + .item { border-top: 1px solid var(--line); }
.list .item .i { margin-top: 2px; }
.label { font-size: 13px; color: var(--muted); margin: 20px 0 8px; }
.label:first-child { margin-top: 4px; }
.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dim { position: absolute; inset: 0; background: #1B2421; color: #DDE3E0; display: flex; flex-direction: column; align-items: center; padding-top: 72px; }
.dim .who { font-size: 28px; line-height: 36px; margin-top: 8px; color: #fff; }
.sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--card); color: var(--text); border-radius: 20px; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.sheet hr, .card hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; }
.box { width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 6px; flex: none; }
.sw { width: 44px; height: 24px; border-radius: 12px; background: #C9D0CC; position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 10px; background: #fff; }
.sw.on { background: var(--accent); } .sw.on::after { left: 22px; }
.ts { color: var(--accent); font-size: 12px; width: 36px; flex: none; padding-top: 2px; }
.line { display: flex; gap: 8px; padding: 8px 0; }
.who-me { color: var(--muted); font-size: 12px; width: 28px; flex: none; padding-top: 2px; }

/* ---------- 웹 틀 ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--card); border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; }
.brand { font-size: 17px; font-weight: 600; padding: 0 12px 20px; }
.brand small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.nav .sect { font-size: 12px; color: var(--muted); padding: 0 12px; margin: 24px 0 8px; }
.nav .sect:first-child { margin-top: 0; }
.nav a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 8px; color: var(--sec); text-decoration: none; margin-bottom: 2px; cursor: pointer; transition: background-color 140ms var(--ease); }
.nav a:hover { background: var(--raised); }
.nav a.on { background: var(--raised); color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.nav a.on .i { color: var(--accent); }
.nav a .n { margin-left: auto; font-size: 12px; color: var(--muted); }
.side .made { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 18px; color: var(--muted); }
.main { padding: 32px; max-width: 1352px; }
.main > section { display: none; } .main > section.on { display: block; }
.head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.head p { color: var(--sec); margin-top: 4px; }
.head .tools { margin-left: auto; display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stat .num { font-size: 30px; line-height: 36px; font-weight: 500; margin: 8px 0 4px; }
.cols { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 400; font-size: 12px; color: var(--muted); height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { height: 48px; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--raised); }
td.r, th.r { text-align: right; }
.tbl { padding: 4px; }
.input { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 0 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); min-width: 240px; }
.steps { display: flex; gap: 4px; }
.steps i { width: 20px; height: 6px; border-radius: 3px; background: #D5DBD8; }
.steps i.d { background: var(--ok); } .steps i.w { background: var(--warn); }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 200px; padding-top: 16px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: #CBD3CF; border-radius: 4px 4px 0 0; position: relative; }
.bars div.now { background: var(--accent); }
.bars span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.axis { display: flex; gap: 12px; margin-top: 8px; } .axis span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.share { height: 6px; border-radius: 3px; background: var(--raised); margin-top: 6px; } .share i { display: block; height: 6px; border-radius: 3px; background: #9FB0A9; }
