.workspace{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr)}.preview{background:#23313b;align-self:start}#drawing svg{width:100%;height:auto;display:block;border-radius:8px;background:#192630}.legend{color:#8ad8d1}.legend span{color:#f0a487}.legend i{color:#d8c682;font-style:normal}#magnify,textarea{width:100%}textarea{background:#14171d;color:#e5ecf2;padding:.65rem;border:1px solid #53606b;border-radius:6px;font: .9rem/1.4 ui-monospace,monospace}.pair,.actions{display:flex;gap:.5rem;flex-wrap:wrap}.pair label{flex:1;min-width:100px}.actions{margin:1rem 0}.controls button{margin-top:.8rem}.controls a{color:#a2c9d6}#tables{overflow:auto}table{border-collapse:collapse;font-size:.87rem;width:100%;margin:.7rem 0}th,td{padding:.4rem;text-align:right;border-bottom:1px solid #46545c}th:first-child,td:first-child{text-align:left}#status,#pick{color:#dbcca5}.preview summary{cursor:pointer}@media(max-width:680px){.workspace{grid-template-columns:minmax(0,1fr)}}
.legend b{font-weight:400}.legend .lt{color:#8ad8d1}.legend .lc{color:#f0a487;margin-left:.5em}.legend .ld{color:#d8c682;margin-left:.5em}.legend span{color:inherit}.legend{color:#e8ecef}
.preview h2,.preview label,.preview summary{color:#eef2f4}.preview th{color:#c9d3d9}.preview td{color:#e8ecef}.hint{font-size:.88rem;color:var(--text-3)}.controls label>span{display:block}
/* 밝은 테마: 진한 판 대신 밝은 판(그림은 자기 어두운 바탕 그대로), 글자와 범례는 진하게 */
:root[data-theme="light"] .preview{background:var(--surface)}
:root[data-theme="light"] .preview h2,:root[data-theme="light"] .preview label,:root[data-theme="light"] .preview summary,:root[data-theme="light"] .legend,:root[data-theme="light"] .preview td{color:#1d2328}
:root[data-theme="light"] .preview th{color:#4b5561}:root[data-theme="light"] th,:root[data-theme="light"] td{border-bottom-color:#d6dbe0}
:root[data-theme="light"] .legend .lt{color:#1f8a82}:root[data-theme="light"] .legend .lc{color:#c35a33}:root[data-theme="light"] .legend .ld{color:#9a7d12}
:root[data-theme="light"] #status,:root[data-theme="light"] #pick{color:#6b5413}
:root[data-theme="light"] textarea{background:#fff;color:#18181b;border-color:#d4d4d8}
:root[data-theme="light"] .controls a{color:#1f6b86}
