:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#17213b;background:#fff;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:72px;border-bottom:1px solid #e4e8f0;display:flex;align-items:center;gap:36px;padding:0 30px}header strong{font-size:22px}header b{color:#1456ef;font-size:28px;margin-right:8px}header span{margin-left:auto;color:#758096;font-size:13px}.shell{display:flex;min-height:calc(100vh - 72px)}nav{width:218px;flex-shrink:0;background:#14264e;padding:28px 12px;position:relative}nav button{width:100%;text-align:left;background:transparent;border:0;color:#e6ecfa;margin-bottom:12px;padding:16px;font-size:16px}nav button.active{background:#1456ef}nav small{position:absolute;bottom:28px;color:#9baac6;left:24px;font-size:12px}main{padding:36px;flex:1;min-width:0}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}h1{font-size:28px;margin:0 0 10px;letter-spacing:-.6px}h2{font-size:20px}p{line-height:1.7}.heading p,.muted{color:#788297;font-size:13px;margin:0}.filters{display:flex;gap:12px;margin-bottom:24px}.filters input{width:280px}button,input,select{font:inherit;border:1px solid #d7ddea;border-radius:5px;background:white;padding:10px 13px;color:inherit}button{cursor:pointer;transition:background .15s}button:hover{background:#f0f4ff}button.primary{background:#1456ef;color:white;border-color:#1456ef}button.primary:hover{background:#0e44c2}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8eb1ff;outline-offset:2px}.table{border:1px solid #dfe4ee;border-radius:6px;overflow:hidden;min-height:540px}table{border-collapse:collapse;width:100%;text-align:left}th{background:#f1f4fa;color:#515e77;padding:17px;font-weight:600;font-size:13px}td{padding:18px 17px;border-bottom:1px solid #edf0f5;font-size:13px}td button{padding:6px 10px}.empty{text-align:center;padding:100px 20px}.emptyIcon{font-size:48px;color:#a6b2c8;border:2px solid #dfe5ef;width:90px;height:76px;border-radius:10px;margin:auto}.empty p{color:#788297;margin:14px 0 24px}.empty h2{margin-top:25px}.status{color:#42648e;background:#edf3fc;padding:5px 8px;border-radius:4px;font-size:12px}#notice:not(:empty){background:#fff8e8;border:1px solid #eadaad;color:#775924;padding:14px 18px;margin-bottom:24px;border-radius:5px}dialog{border:1px solid #dfe4ee;border-radius:10px;padding:28px;max-width:850px;width:90vw;box-shadow:0 20px 70px #10204030}dialog::backdrop{background:#14264e66}dialog h2{margin-top:0}label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:16px 0}label input,label select{width:100%}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e4e8f0;padding-top:20px;margin-top:24px}progress{width:100%;height:8px}.editorGrid{display:grid;grid-template-columns:minmax(180px,1fr) 280px;gap:24px}.editorGrid label{margin:12px 0}#canvasWrap{background:repeating-conic-gradient(#e2e5ea 0% 25%,white 0% 50%) 50%/20px 20px;display:flex;align-items:center;justify-content:center;padding:12px;border:1px solid #e2e6ed;border-radius:5px}canvas{max-width:100%;max-height:570px;object-fit:contain;touch-action:none}video{width:100%;max-height:180px}.check{flex-direction:row;align-items:center}.check input{width:auto}.listRow{padding:22px 12px;border-bottom:1px solid #e4e8f0;display:flex;align-items:center;justify-content:space-between;gap:20px}.listRow p{margin:6px 0;color:#758096;font-size:13px}[hidden]{display:none!important}@media(max-width:850px){header{padding:0 16px;gap:16px}header span{display:none}header strong{font-size:17px}header b{font-size:22px}nav{width:150px}nav button{font-size:13px;padding:13px 8px}nav small{display:none}main{padding:24px 18px}.heading{gap:15px}.heading p{display:none}.table{overflow:auto}table{min-width:660px}.filters{flex-wrap:wrap}.filters input{width:100%}}@media(max-width:560px){header{height:62px}.shell{display:block}nav{width:100%;display:flex;padding:8px;gap:5px}nav button{margin:0;text-align:center;padding:10px 4px;font-size:12px}h1{font-size:23px}.editorGrid{grid-template-columns:1fr}.heading{margin-bottom:20px}dialog{padding:20px}#canvasWrap{max-height:350px}canvas{max-height:320px}.grid{gap:0 10px}}
#editor{max-height:calc(100vh - 40px);overflow:auto}#templateForm>label{display:inline-flex;width:calc(50% - 10px);margin:8px 0 14px}#templateForm>label:first-of-type{margin-right:16px}#templateForm>.grid{grid-template-columns:repeat(3,1fr)}#editor canvas{max-height:440px}#editor #canvasWrap{padding:12px}#coords label{margin:8px 0}#editor footer{position:sticky;bottom:-28px;background:white;padding:16px 0;margin-top:16px}@media(max-width:560px){#templateForm>label{width:100%;margin:8px 0}#templateForm>.grid{grid-template-columns:1fr}#editor canvas{max-height:320px}}
