:root{font-family:system-ui,-apple-system,"Malgun Gothic",sans-serif;color:#292523;background:#f7f5f0;line-height:1.6}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1100px;margin:auto;padding:24px}header{border-bottom:3px solid #a92b34}h1{margin:12px 0 0;font-size:28px}h2{font-size:21px;margin:0 0 14px}h3{font-size:17px}a{color:#982c35}section{background:white;border:1px solid #e2ded7;border-radius:12px;padding:24px;margin:20px 0}input,select,textarea,button{font:inherit}input:not([type=checkbox]),select,textarea{width:100%;padding:10px;border:1px solid #bdb6ac;border-radius:6px;background:white;color:#222}textarea{min-height:80px}label{display:block;margin:12px 0}button{padding:10px 16px;border:1px solid #a92b34;border-radius:6px;background:#a92b34;color:white;cursor:pointer;margin:4px}button:disabled{opacity:.55;cursor:wait}button.secondary{background:white;color:#93232f}button.danger{background:white;color:#a02b32;border-color:#c8b7b7}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.check{display:flex;gap:10px;align-items:flex-start}.check input{margin-top:7px;flex:0 0 auto}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f3ee;padding:18px;border-radius:6px}#status{white-space:pre-wrap;overflow-wrap:anywhere}#status.error,.warning{color:#8a2830}#status.success{color:#116a3a}#list button{display:block;width:100%;text-align:left;background:#fff;color:#222;border:1px solid #d7d0c6;margin:8px 0}.item{padding:18px;border:1px solid #ddd6cc;margin:16px 0;border-radius:8px}.item .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.muted{font-size:14px;color:#645c54}.ea{font-weight:700;color:#992d34}.warning:empty{display:none}[hidden]{display:none!important}footer{font-size:13px;color:#6b625b}@media(max-width:650px){header,main,footer{padding:16px}section{padding:16px}.fields,.item .fields{grid-template-columns:1fr}.row{align-items:flex-start}h1{font-size:24px}}

.order-row{border:1px solid #d7d0c6;border-radius:8px;padding:12px;margin:12px 0}.order-row>.check{font-weight:700;color:#942730}.order-row input[type=checkbox]{width:20px;height:20px;accent-color:#a92b34}#assignment-info{padding:12px;background:#f5f3ee;border-radius:6px}

#stock-table{overflow:auto}#stock-table table{border-collapse:collapse;width:100%;font-size:13px}#stock-table td,#stock-table th{padding:8px;border-bottom:1px solid #ddd;text-align:left}details>summary{cursor:pointer;font-weight:700;margin:15px 0}#order-stock-panel{border-left:4px solid #a92b34;padding-left:15px}

.table-scroll{overflow-x:auto;max-height:420px}#edi-documents table{min-width:760px;width:100%;border-collapse:collapse}#edi-documents th,#edi-documents td{padding:10px;text-align:left;border-bottom:1px solid #ddd}#edi-documents th{position:sticky;top:0;background:#f4e9eb}#edi-change-panel{padding:18px;border:2px solid #a92b34;border-radius:8px;margin:18px 0}.edi-source{background:#fff6e9;padding:12px;border-radius:6px}
#bulk-destinations table,#bulk-map table,#bulk-refs table{min-width:880px;width:100%;border-collapse:collapse}#bulk-destinations th,#bulk-map th,#bulk-refs th{position:sticky;top:0;background:#f4e9eb;text-align:left;z-index:1}#bulk-destinations td,#bulk-destinations th,#bulk-map td,#bulk-map th,#bulk-refs td,#bulk-refs th{padding:10px;border-bottom:1px solid #ded7ce;vertical-align:top}#bulk-destinations select{min-width:170px}#bulk-destinations input{min-width:180px}#bulk-map select{min-width:170px}#bulk-map input[type=number]{min-width:80px}#bulk-map input[type=text]{min-width:170px}

.admin-menu{margin:28px 0 8px;border-top:2px solid #ddd;padding-top:12px}.admin-menu>summary{cursor:pointer;font-weight:600;color:#555;padding:8px 0}
.pick-hint{background:#fff7e0;border:1px solid #f0d58a;border-radius:10px;padding:14px 16px;font-size:15px}

/* v32: 색깔 보드 카드 안에 펼쳐 쓸 때 */
html.embed header,html.embed footer,html.embed .quick-link,html.embed #pick-hint,html.embed #workspace>*:not(#detail){display:none!important}
html.embed body{margin:0;padding:0;background:#fff}
html.embed main{margin:0;padding:6px 12px 16px;max-width:none}
