/* CETHA / Item Studio: shared logo, locally bundled Wanted Sans, blue accent and panel tokens. */
@font-face{font-family:'Wanted Sans';src:url('/brand/wanted.woff2') format('woff2');font-weight:400 1000;font-style:normal;font-display:swap}
:root{--ink:#1d2430;--quiet:#657080;--line:#e3e6eb;--accent:#2858df;--focus-blue:#315de3;--soft:#fafbfc;--paper:#fff;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-width:360px;background:#f5f6f8;color:var(--ink);font-family:'Studio Sans','Wanted Sans','Noto Sans KR',Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:6px;padding:10px 13px;font-weight:500;white-space:nowrap}button:hover:not(:disabled){border-color:#a4afbf;background:#f5f7fb}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #4978eb;outline-offset:3px}.primary{background:#2558df;border-color:#2558df;color:white}.primary:hover:not(:disabled){background:#204ec8;border-color:#204ec8;color:#fff}.quiet{border-color:transparent;background:transparent;color:#7b8798}.quiet:hover:not(:disabled){background:#f1f5fc;border-color:transparent;color:#315caa}input,textarea{width:100%;padding:11px;border:1px solid #dfe4ec;background:#fff;border-radius:6px;line-height:1.6}input[readonly]{background:#fafbfc;color:#758093}a{color:#315de3;text-decoration:none}.studio-header{height:64px;display:flex;align-items:center;gap:28px;padding:0 28px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);flex-shrink:0}.brand img{display:block;width:34px;height:34px;object-fit:contain}.brand b{font-size:17px;letter-spacing:-.45px;font-weight:600;white-space:nowrap}.header-description{padding-left:26px;border-left:1px solid var(--line);color:#758093;font-size:13px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.header-actions button{font-size:13px;padding:9px 16px}#connection{font-size:12px;color:#8994a4}main{max-width:1280px;margin:auto;padding:38px 40px 0;min-height:calc(100dvh - 64px);display:flex;flex-direction:column}.workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:6px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-bottom:1px solid #edf0f4;min-height:61px}.panel-heading h2{font-size:15px;font-weight:500;margin:0;letter-spacing:-.3px}.panel-heading button{padding:5px 0;font-size:12px}.state{font-size:12px;color:#8a95a4}.source-panel{padding-bottom:22px}.dropzone{margin:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px dashed #c9d2df;border-radius:6px;background:#fafbfc;padding:28px 14px;cursor:pointer;text-align:center}.dropzone:hover,.dropzone.over{border-color:#8faddd;background:#f5f8fe}.dropzone svg{color:#8b9bb4;margin-bottom:2px}.dropzone strong{font-size:14px;font-weight:500;color:#56647a}.dropzone>span{font-size:12px;color:#8a95a4}.editor-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 22px 10px;font-size:13px;color:#667386}#fileInfo{font-size:11px;color:#97a1b0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:55%}textarea{display:block;width:calc(100% - 44px);margin:0 22px;height:235px;min-height:140px;resize:vertical;line-height:1.8;font:12px/1.8 ui-monospace,SFMono-Regular,monospace;background:#fff;tab-size:2}textarea::placeholder{font-family:'Wanted Sans',sans-serif;color:#a1a9b5;font-size:13px}.source-bottom{display:flex;align-items:center;gap:10px;margin:20px 22px 0}.source-bottom>span{font-size:12px;color:#8b96a6;margin-right:auto}.source-bottom button{min-height:38px;padding:9px 18px;font-size:13px}.result-body{padding:25px 22px 20px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:2px 0 22px;border-bottom:1px solid #edf0f4}.stats span{display:block;font-size:12px;color:#8590a1;margin-bottom:12px}.stats strong{font-size:25px;line-height:1.4;font-weight:500;letter-spacing:-.8px}#saved{color:#2858df}.status-area{margin:22px 0 19px;min-height:67px}#status{font-size:13px;color:#728096;line-height:1.8;margin:0 0 12px}progress{appearance:none;width:100%;height:3px;border:0;border-radius:3px;overflow:hidden;background:#edf0f5}progress::-webkit-progress-bar{background:#edf0f5}progress::-webkit-progress-value{background:#587cc8}progress::-moz-progress-bar{background:#587cc8}.asset-summary{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#758093;margin-top:10px}.asset-summary b{font-size:14px;font-weight:500;color:#4e5c70}.small{font-size:12px;color:#8a95a4;line-height:1.8}#transfer{margin:12px 0 24px;min-height:43px}.actions{display:flex;gap:8px}.actions button{flex:1;font-size:13px;padding:11px 8px}.publish-button{display:block;width:100%;margin-top:10px;font-size:13px;padding:12px}.publish-hint{font-size:12px;color:#8b97a8;text-align:center;line-height:1.8;margin:12px 0 0}details{font-size:13px}#report{border-top:1px solid #edf0f4;padding:18px 22px}summary{cursor:pointer;color:#758093;font-size:12px}#errorCount{margin-left:7px;color:#96a0ae}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px;margin:16px 0}td,th{text-align:left;padding:10px 6px;border-bottom:1px solid #edf0f4;font-weight:400;white-space:nowrap}th{color:#929baa}#errors p{padding:11px 13px;background:#fff5f2;font-size:12px;color:#ae5a52;line-height:1.8;border-radius:6px}#downloadReport{font-size:12px;padding:7px 0}#published{background:#f1f5fd;border:1px solid #d6e3fb;border-radius:6px;padding:14px;margin-top:18px}#published label{display:block;font-size:12px;color:#667386;margin-bottom:10px}#published input{font-size:11px;padding:9px;margin-bottom:10px}#published a{font-size:12px}.preview-panel{margin-top:24px}.preview-panel>p{margin:14px 22px}.preview-panel iframe{display:block;width:calc(100% - 44px);height:720px;border:1px solid #e0e5ed;background:#fff;margin:0 22px 22px}footer{display:flex;justify-content:space-between;gap:20px;color:#9ba4b2;font-size:11px;border-top:1px solid #e3e6eb;margin-top:auto;padding:24px 0 22px}main>footer{margin-top:42px}dialog{padding:0;width:560px;max-width:calc(100vw - 32px);max-height:90dvh;border:1px solid #dfe4ec;border-radius:6px;background:#fff;color:var(--ink);box-shadow:0 12px 54px #24374d24}dialog::backdrop{background:#1d243052}.modal-heading{padding:20px 24px;border-bottom:1px solid #e5e8ee;display:flex;align-items:center;justify-content:space-between}.modal-heading h2{font-size:20px;font-weight:500;margin:0;letter-spacing:-.5px}.modal-heading button{font-size:16px;padding:3px 5px}.modal-section{padding:24px;border-bottom:1px solid #edf0f4}.modal-section h3{font-size:14px;font-weight:500;margin:0 0 14px}.modal-section p{margin:0 0 18px}.modal-section p:last-child{margin:12px 0 0}.modal-section label{font-size:12px;color:#667386;display:block;margin:16px 0 8px}.modal-section input{font-size:13px;padding:11px}.modal-actions{display:flex;align-items:center;gap:8px;margin-top:14px}.modal-actions>span{margin-right:auto;font-size:12px;color:#8b97a8;line-height:1.8}.modal-actions button{font-size:12px}.modal-details{padding:20px 24px}.modal-details ul{margin:16px 0 0;padding-left:17px}.modal-details li{font-size:12px;color:#7b8798;line-height:1.9;margin-bottom:8px}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:1000px){main{padding:30px 24px 0}.workspace{gap:18px}.source-bottom{flex-wrap:wrap}.source-bottom>span{width:100%;margin-bottom:5px}.source-bottom .primary{margin-left:auto}.stats{gap:8px}.stats strong{font-size:22px}}@media(max-width:759px){.studio-header{padding:0 20px;gap:16px}.brand{gap:8px}.brand img{width:29px;height:29px}.brand b{font-size:15px}.header-description{display:none}.header-actions{gap:12px}#connection{font-size:11px}.header-actions button{font-size:12px;padding:8px 12px}main{padding:26px 20px 0}.workspace{grid-template-columns:1fr}.source-bottom{flex-wrap:nowrap}.source-bottom>span{width:auto;max-width:55%;line-height:1.8}.panel-heading{padding-left:18px;padding-right:18px}.dropzone{margin:18px;padding:25px 12px}.editor-label{margin-left:18px;margin-right:18px}textarea{width:calc(100% - 36px);margin:0 18px;height:190px}.source-bottom{margin-left:18px;margin-right:18px}.result-body{padding:24px 18px 20px}.stats strong{font-size:25px}.preview-panel iframe{width:calc(100% - 36px);margin:0 18px 18px;height:540px}footer{font-size:10px}.modal-section,.modal-heading{padding:20px}.modal-details{padding:18px 20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* One continuous white workspace, with a divider between the two tasks. */
body { background: var(--paper); min-width: 0; }
.workspace { gap: 0; }
.panel { border: 0; border-radius: 0; background: transparent; }
.source-panel { padding-right: 28px; }
.result-panel { padding-left: 28px; border-left: 1px solid var(--line); }
.workspace .panel-heading { padding: 0 0 16px; min-height: 43px; }
.workspace .panel-heading h2 { font-size: 17px; font-weight: 600; }
.dropzone, .source-bottom { margin-left: 0; margin-right: 0; }
.editor-label { margin-left: 0; margin-right: 0; }
textarea { width: 100%; margin-left: 0; margin-right: 0; }
.result-body, #report { padding-left: 0; padding-right: 0; }
.preview-panel { border-top: 1px solid var(--line); }
@media (max-width: 759px) {
  .source-panel { padding-right: 0; padding-bottom: 24px; }
  .result-panel { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

.conversion-frame{position:fixed;left:-10000px;top:0;width:430px;height:900px;border:0;pointer-events:none}
