:root { --bg:#f5f6f8; --card:#fff; --ink:#1d2433; --mute:#6b7385; --line:#dde1e8; --accent:#2f6fed; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:"Malgun Gothic",system-ui,sans-serif; line-height:1.5; }
.tool-head, main { max-width:1000px; margin:0 auto; padding:0 16px; }
.tool-head { padding-top:24px; }
.tool-head h1 { margin:0 0 4px; font-size:24px; }
.tool-head p { margin:0 0 16px; color:var(--mute); }
.panel, .card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:16px; }
.row { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-bottom:8px; }
label { display:flex; gap:6px; align-items:center; font-weight:600; }
.cartons { display:flex; flex-wrap:wrap; gap:12px; margin:8px 0 12px; }
.carton { margin:0; }
.carton svg { width:260px; max-width:100%; height:auto; background:#fafbfc; border:1px solid var(--line); border-radius:6px; display:block; }
input[type=number] { text-align:right; width:100px; padding:8px; border:1px solid var(--line); border-radius:6px; font-size:16px; }
select { padding:8px; border:1px solid var(--line); border-radius:6px; font-size:16px; }
.chk { font-weight:400; }
.msg { margin:4px 0 0; color:#c0392b; min-height:1.4em; }
.card h2 { margin:0 0 4px; font-size:18px; }
.cardhead { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.share button, .onlynote button { padding:6px 12px; font-size:14px; color:var(--accent); background:#fff; border:1px solid var(--accent); border-radius:6px; cursor:pointer; margin-left:6px; }
.share button:hover, .onlynote button:hover { background:#eef3ff; }
.onlynote { background:#eef3ff; border:1px solid #cfdcfb; border-radius:8px; padding:10px 14px; margin:0 0 16px; font-size:14px; }
.count { font-size:34px; font-weight:700; color:var(--accent); }
.count small { font-size:16px; color:var(--ink); font-weight:400; }
.dims { color:var(--mute); font-size:14px; margin-bottom:8px; }
.ors { font-size:14px; margin:0 0 10px; padding-left:18px; }
.views { display:grid; grid-template-columns:1fr; gap:10px; }
.view figcaption { font-size:13px; color:var(--mute); margin-bottom:2px; }
.view svg { width:100%; height:auto; background:#fafbfc; border:1px solid var(--line); border-radius:6px; display:block; }
button#go { padding:10px 28px; font-size:17px; font-weight:700; color:#fff; background:var(--accent); border:0; border-radius:8px; cursor:pointer; }
button#go:hover { filter:brightness(.92); }
.main { font-size:15px; margin:4px 0 8px; padding-left:18px; }
.main .sum { list-style:none; margin-left:-18px; font-weight:700; border-top:1px solid var(--line); margin-top:4px; padding-top:2px; }
.hint { color:var(--mute); text-align:center; padding:24px 0; }
.persp .view svg { max-height:560px; }
.view.small { max-width:360px; }
.note { font-size:13px; color:var(--mute); }
