/* 시험 페이지 전용 — 본 프로그램 부품 상자 밖(폴더째 지움) */ :root { --bg: #f6f7f9; --panel: #fff; --line: #d5d9e0; --text: #1d232b; --muted: #6b7380; --accent: #2f6fde; --bad: #d23b3b; --ok: #1f8a4c; --chip: #eef2f8; color-scheme: light dark; } @media (prefers-color-scheme: dark) { :root { --bg: #15181d; --panel: #1e2228; --line: #343a44; --text: #e3e7ec; --muted: #9aa3ae; --accent: #6c9ef0; --bad: #ff6b6b; --ok: #4cc27f; --chip: #2a3039; } } * { box-sizing: border-box; } body { margin: 0; font: 13px/1.45 "Malgun Gothic", system-ui, sans-serif; background: var(--bg); color: var(--text); display: flex; flex-direction: column; height: 100vh; } header, footer { padding: 6px 10px; background: var(--panel); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } footer { border-top: 1px solid var(--line); border-bottom: 0; } h1 { font-size: 15px; margin: 0 8px 0 0; } .hint, #msg, #pasteMsg, .note, i { color: var(--muted); font-size: 12px; } main { flex: 1; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; min-height: 0; } #edit, #outWrap { overflow: auto; padding: 8px; } #edit { border-right: 1px solid var(--line); } button, select, input, textarea { font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; } button { cursor: pointer; background: var(--chip); } button:hover { border-color: var(--accent); } input.wide { width: 260px; } input.num { width: 80px; text-align: right; } input.s { width: 50px; } input.s2 { width: 90px; } input.full, input.title { width: 100%; } input.title { flex: 1; font-weight: 600; } input.v { width: 60px; } input.u { width: 50px; } input.name { width: 60px; } input.expr { width: 220px; font-family: Consolas, monospace; } .dochead, .row, .ih, .lh, .ops, .frow, .fhead { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 2px 0; } .item { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 6px; margin: 6px 0; } .line { border-left: 3px solid var(--accent); background: var(--bg); padding: 4px 6px; margin: 4px 0 4px 8px; border-radius: 3px; } .line.k-text { border-left-color: var(--muted); } .line.k-formula { border-left-color: #a46bd8; } .line.k-rate { border-left-color: #d8973b; } .grip { cursor: grab; padding: 0 4px; user-select: none; } .kind { font-weight: 600; } .lh button { margin-left: auto; } .op { display: inline-flex; gap: 2px; padding: 1px 3px; background: var(--chip); border-radius: 4px; } .tpl { font-weight: 600; color: #a46bd8; } .val { min-width: 50px; font-family: Consolas, monospace; } .src { background: var(--ok); color: #fff; border-radius: 3px; padding: 0 4px; font-size: 11px; } .empty { color: var(--muted); padding: 4px 8px; } .bad, input.bad { color: var(--bad); border-color: var(--bad); } .ok { color: var(--ok); } table.out { border-collapse: collapse; width: 100%; background: var(--panel); } .out th, .out td { border: 1px solid var(--line); padding: 2px 6px; vertical-align: middle; } .out th { background: var(--chip); } .out td.h { min-width: 380px; } .out td.n { text-align: right; font-family: Consolas, monospace; width: 90px; } .out tr.head td, .out tr.item td.h { font-weight: 600; } .out tr.item td.h { padding-top: 6px; } .out tr.subsum td, .out tr.total td { background: var(--chip); } .gap { display: inline-block; width: 18px; } .fr { white-space: nowrap; display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 2px; } .fr > span:first-child { border-bottom: 1px solid currentColor; padding: 0 3px; } .fr > span:last-child { padding: 0 3px; } #tot { display: flex; gap: 6px; } .box { border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; display: flex; gap: 8px; align-items: baseline; } .box b { font-size: 15px; } .box.sum { border-color: var(--accent); } details { width: 100%; } textarea { width: 100%; font-family: Consolas, monospace; } dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; } dialog table { border-collapse: collapse; margin: 6px 0; } dialog th, dialog td { border: 1px solid var(--line); padding: 2px 6px; }