:root{color-scheme:dark;--bg:#0b141e;--panel:#111f2d;--line:#263a4a;--muted:#95aaba;--text:#e5edf4;--accent:#6bd8ca;--amber:#efc47d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 system-ui,sans-serif}header{display:flex;align-items:center;gap:30px;padding:21px 30px;border-bottom:1px solid var(--line);background:#101d29}header small{display:block;color:var(--muted)}.brand{font-size:30px;font-weight:800;display:flex;align-items:center;gap:10px;color:var(--accent);text-decoration:none}.brand span{font-size:11px;letter-spacing:2px;color:var(--text)}header nav{margin-left:auto;display:flex;gap:23px}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}main{max-width:1900px;margin:auto;padding:24px 30px}#message{padding:12px 16px;border-left:3px solid var(--accent);background:#152934;margin-bottom:20px;overflow-wrap:anywhere}#message.error{border-color:#ef8a8a;background:#381f29}.toolbar,.scene-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.toolbar label:first-child{flex:2;min-width:260px}.toolbar label{flex:1;min-width:150px}label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);letter-spacing:.5px}select,button,input{font:inherit;color:var(--text)}select{width:100%;padding:10px 30px 10px 10px;border:1px solid var(--line);border-radius:5px;background:#152534;text-overflow:ellipsis;min-width:0}button,.file-label{border:1px solid #355262;border-radius:5px;background:#193242;padding:10px 15px;cursor:pointer;color:var(--text)}button:hover,.file-label:hover{border-color:var(--accent)}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0}.stat{border:1px solid var(--line);border-radius:6px;padding:14px 16px;background:var(--panel)}.stat b{display:block;font:600 21px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}.stat span{font-size:11px;color:var(--muted)}.scene-toolbar{padding:12px 0 16px}.scene-toolbar label:first-child{min-width:240px}.scene-toolbar label:nth-child(2){min-width:150px}.check{flex-direction:row;align-items:center;padding:10px}.views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.viewer{min-width:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#0b1825}.view-head{display:flex;flex-direction:column;gap:4px;padding:13px 16px;border-bottom:1px solid var(--line)}.view-head b{font-size:11px;letter-spacing:1.8px}.view-head small{color:var(--muted);font-size:11px}.viewer canvas{display:block;width:100%;height:360px;touch-action:none}.viewer p{padding:8px 14px;margin:0;font-size:11px;min-height:45px;color:var(--muted)}.notice,.node-info{padding:14px 16px;background:#162833;border:1px solid var(--line);border-radius:6px;margin:14px 0;color:#c0d3df}.node-info{font:12px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:28px 0 0;overflow:auto}.tabs button{white-space:nowrap;border:0;background:none;color:var(--muted);border-bottom:2px solid transparent;border-radius:0}.tabs button.active{color:var(--accent);border-color:var(--accent)}.tab{display:none;padding:24px 0}.tab.active{display:block}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent)}h1{font-size:24px;font-weight:500;letter-spacing:-.5px;margin:4px 0}h2{font-size:15px;font-weight:500;margin:0 0 16px}.badge{padding:7px 12px;background:#3a3122;color:var(--amber);border:1px solid #665439;border-radius:5px;font-size:11px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.card{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:20px}.card p{color:var(--muted);font-size:12px}.card canvas{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#091521;image-rendering:pixelated}.inline{display:flex;gap:12px;margin-bottom:14px}.inline label{flex:1}.file-controls{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.file-label{font-size:12px;letter-spacing:0}.file-label input{display:block;width:220px;font-size:10px}details{margin-top:15px;color:var(--muted);font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:var(--muted);font-weight:500;background:#152737;white-space:nowrap}td,th{border-bottom:1px solid var(--line);padding:10px 13px}tr.selected td{background:#234550}tbody tr[data-row]{cursor:pointer}tbody tr[data-row]:hover{background:#193543}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px}#plot-grid img{width:100%;border-radius:3px}footer{border-top:1px solid var(--line);padding:22px 30px;color:var(--muted);font-size:11px}@media(min-width:1600px){.viewer canvas{height:440px}}@media(max-width:1100px){header{gap:16px;flex-wrap:wrap}header nav{margin-left:0}.stats{grid-template-columns:repeat(3,1fr)}.views{grid-template-columns:1fr 1fr}.viewer:last-child{grid-column:1/-1}.two-col{grid-template-columns:1fr}}@media(max-width:650px){main{padding:16px}header{padding:16px}.brand{font-size:24px}header nav{gap:15px;font-size:12px}.views{grid-template-columns:1fr}.viewer canvas{height:320px}.stats{grid-template-columns:repeat(2,1fr)}.section-heading{align-items:start;flex-direction:column}.toolbar label{flex-basis:100%}}
@font-face{font-family:NanumGothic;src:url('vendor/fonts/NanumGothic-Regular.ttf') format('truetype');font-display:swap}
body{font-family:system-ui,NanumGothic,sans-serif}
.file-matching .views,.file-matching #overlay-note,.file-matching #node-info{display:none}
#files{min-width:0}#files .section-heading>div{min-width:0;max-width:100%}#file-preview-title{overflow-wrap:anywhere}#files .manual-actions>span{overflow-wrap:anywhere}
.file-path{font-family:ui-monospace,NanumGothic,monospace!important}
.file-match-table{max-height:520px}.file-match-table thead{position:sticky;top:0;z-index:2}.file-match-table .file-path{max-height:48px;overflow:auto}.file-preview-grid .viewer:last-child{grid-column:auto}
.file-matching .scene-toolbar>label,.file-matching #fit,.file-matching #scan-front{display:none}
.file-match-table table{min-width:1700px;table-layout:fixed}.file-match-table th:first-child{width:55px}.file-match-table th:nth-child(2){width:190px}.file-match-table th:nth-child(4){width:330px}.file-match-table th:last-child{width:50px}.file-match-table td{vertical-align:top;padding:10px}.file-match-table select{width:100%}.file-match-table textarea{width:100%}.file-path{display:block;font:10px/1.5 ui-monospace,monospace;color:var(--muted);overflow-wrap:anywhere;margin:8px 0}.file-match-table .badge{display:inline-block;font-size:10px;padding:3px 6px}.drop-target{background:#205044!important;outline:2px solid var(--accent);outline-offset:-3px}.scan-file-choice summary{cursor:pointer;font-size:11px;color:var(--accent);padding:10px 0}.scan-file-choice label{flex-direction:row;font-size:10px;letter-spacing:0;align-items:center;overflow-wrap:anywhere;margin:5px 0}.scan-file-choice input{flex-shrink:0}.file-pool{max-height:220px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.file-chip{display:flex;gap:10px;border:1px solid var(--line);padding:9px;border-radius:5px;cursor:grab;min-width:0}.file-chip b{font-size:10px;color:var(--accent)}.file-chip span{font-size:11px;overflow-wrap:anywhere}.file-chip small{display:block;color:var(--muted);font-size:9px}.file-preview-grid{display:grid;grid-template-columns:1fr 1fr .65fr;gap:12px}.file-preview-grid .viewer{min-width:0}.file-preview-grid canvas{height:460px;max-height:none}.file-preview-grid img{display:block;width:100%;height:460px;object-fit:contain;background:#101010}.file-preview-grid img[hidden]{display:none}.file-preview-grid small{overflow-wrap:anywhere}.file-preview-grid .view-head{min-height:105px}.file-preview-grid select{font-size:11px}.file-source-table{max-height:360px}.file-source-table table{white-space:nowrap}#file-search{padding:10px;background:#0c1925;border:1px solid var(--line);border-radius:5px}#file-match-status{color:var(--accent)}#file-match-count{color:var(--muted);font-size:12px}#files>p code{overflow-wrap:anywhere}@media(max-width:1100px){.file-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.file-preview-grid{grid-template-columns:1fr 1fr}.file-preview-grid>.viewer:last-child{grid-column:1/-1}.file-preview-grid img{height:380px}}@media(max-width:650px){.file-pool,.file-preview-grid{grid-template-columns:1fr}.file-preview-grid canvas{height:350px}.file-preview-grid .view-head{min-height:0}}
p,.notice{overflow-wrap:anywhere}
.manual-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:14px 0}.manual-actions label{min-width:160px;flex:1}.manual-controls h2{margin-bottom:0}.manual-transform{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}.manual-transform label{width:90px}.manual-transform b{align-self:center;font-size:11px;color:var(--muted)}input[type=number],input[type=text],textarea{background:#0c1925;border:1px solid #355262;border-radius:4px;color:var(--text);padding:8px;min-width:0}textarea{font:13px/1.5 system-ui,NanumGothic,sans-serif;resize:vertical}.manual-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}#manual-rows{min-width:1540px}#manual-rows input[type=number],#landmark-table input[type=number]{width:90px}#manual-rows input[type=text]{width:130px}#manual-rows td,#landmark-table td{padding:7px}.manual-editing main{max-width:2200px}.manual-editing .views{grid-template-columns:1fr 1fr 1.5fr}.manual-editing .viewer canvas{height:480px}#manual-image{max-height:none;height:auto;object-fit:fill;touch-action:none;cursor:crosshair}.error-text{color:#ffaaaa!important}#manual-status{font-size:13px;color:var(--accent)}#manual-save-path{font-family:ui-monospace,monospace}button:disabled{opacity:.5;cursor:wait}@media(max-width:1100px){.manual-editing .views{grid-template-columns:1fr 1fr}.manual-editing .viewer:last-child{grid-column:1/-1}}@media(max-width:650px){.manual-editing .views{grid-template-columns:1fr}.manual-column-grid{grid-template-columns:1fr 1fr}.manual-editing .viewer canvas{height:350px}}
