:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#243248;background:#f4f6f9;line-height:1.55}
*{box-sizing:border-box}body{margin:0}main{max-width:850px;margin:auto;padding:24px 16px 64px}header{padding:8px 4px 16px}h1{margin:4px 0 12px;font-size:1.8rem}h2{font-size:1.12rem;margin:0 0 12px}.eyebrow{font-size:.75rem;letter-spacing:.1em;font-weight:700;color:#536c91}.panel{background:white;border:1px solid #dce3ee;border-radius:14px;padding:20px;margin:14px 0;box-shadow:0 1px 2px #0000000a}label{display:block;font-size:.92rem;font-weight:600;margin:12px 0 6px}.small{font-size:.86rem;color:#67758a}textarea,input:not([type=checkbox]),select{border:1px solid #b7c5d8;border-radius:8px;padding:10px;width:100%;font:inherit;min-width:0}textarea{resize:vertical}.checkbox{font-weight:400;display:flex;align-items:center;gap:9px}.checkbox input{width:16px;height:16px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.toolbar label{margin:0}.toolbar select{width:auto}button{font:inherit;font-size:.88rem;background:#edf2f9;color:#213758;border:1px solid #c2cfdf;padding:9px 12px;border-radius:9px;cursor:pointer}button:hover{filter:brightness(.97)}button:focus-visible{outline:3px solid #82aee2}.primary{color:white;background:#245c99;border-color:#245c99}.colors{display:flex;gap:5px}.color-button{width:27px;height:27px;border-radius:50%;padding:0;border:2px solid #fff;outline:1px solid #b4becc}.color-button.selected{outline:3px solid #245c99}#drawCanvas{display:block;width:100%;aspect-ratio:3/2;height:auto;background:repeating-linear-gradient(0deg,#fff,#fff 24px,#f7f9fc 25px);border:1px solid #cbd5e1;border-radius:10px;touch-action:none;cursor:crosshair}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.thumb{width:100%;border:1px solid #cbd5e1;border-radius:7px;background:#fff}.status{background:#eef4fb;border-radius:9px;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.status.warning{background:#fff3dc;color:#684100}.status.error{background:#ffebe8;color:#9b2525}.recovery{border:1px dashed #aab9d0;padding:14px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere}footer{color:#68768a;font-size:.82rem;padding:22px 5px}@media(max-width:620px){.two-cols{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(2,1fr)}.panel{padding:14px}}
