:root{font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#172333;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}.container{max-width:1300px;margin:auto;padding:20px 26px 46px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dde5f0;padding-bottom:20px}.brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:800}.brand-mark{display:grid;place-items:center;color:white;background:#2864ef;border-radius:9px;width:36px;height:36px}.brand b{color:#2864ef}.privacy{font-size:12px;font-weight:600;color:#15795e;background:#e9f8f3;padding:9px 12px;border-radius:40px}.privacy-dot{display:inline-block;background:#21af80;width:8px;height:8px;border-radius:50%;margin-right:5px}.hero{padding:36px 0 26px}.eyebrow{font-size:11px;color:#2864ef;letter-spacing:2px;font-weight:800;margin:0 0 12px}h1{font-size:clamp(29px,4vw,48px);line-height:1.23;letter-spacing:-1.8px;margin:0;font-weight:850}h1 em{font-style:normal;color:#2864ef}.subtitle{font-size:15px;color:#65758b;line-height:1.8;max-width:690px}.layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,.9fr);align-items:start;gap:18px}.panel{background:white;border:1px solid #e0e7f0;border-radius:17px;box-shadow:0 6px 25px rgba(26,58,109,.05);overflow:hidden}.panel-head{padding:18px 20px;border-bottom:1px solid #edf1f6;display:flex;justify-content:space-between;align-items:center;gap:8px}.pulse{display:inline-block;width:9px;height:9px;background:#3594ff;border-radius:100%;margin-right:6px}.chip{background:#eef4fb;color:#5d6e85;font-size:11px;border-radius:20px;padding:6px 9px;font-weight:650}.stage-wrapper{min-height:360px;max-height:650px;background:#1d2939;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.stage-wrapper canvas{display:block;width:auto;height:auto;max-width:100%;max-height:650px;object-fit:contain}.empty-state{position:absolute;display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px;color:#e4edfa;padding:24px}.empty-state small{font-size:12px;color:#91a2b7}.document-icon{font-size:72px;color:#8ea5c2}.legend{display:flex;gap:15px;flex-wrap:wrap;padding:15px 18px;font-size:12px;color:#60728a;border-bottom:1px solid #edf1f6}.dot{width:10px;height:10px;display:inline-block;border-radius:3px;margin-right:4px}.todo{background:#f7bf2d}.done{background:#29b782}.other{background:#8fb1ed}.actions{display:flex;gap:8px;flex-wrap:wrap;padding:16px 18px}.button,button{appearance:none;border:0;border-radius:9px;padding:11px 14px;font-size:13px;font-weight:750;cursor:pointer;line-height:1.4;display:inline-flex;justify-content:center;align-items:center;text-align:center}.primary{color:#fff;background:#2864ef}.primary:hover{background:#1f55d0}.neutral{color:#34506d;background:#eff3f8}.neutral:hover{background:#e1eafa}.error{color:#a12531;background:#fff1f2;margin:0 18px 16px;padding:12px;border-radius:8px;font-size:12px}.sidebar .instruction{padding:30px 22px;background:linear-gradient(140deg,#f6f9ff,#eaf2ff)}.step-caption{font-weight:800;font-size:12px;color:#5677a9;margin:0 0 12px}.current{font-size:26px;line-height:1.4;font-weight:850;letter-spacing:-.7px;min-height:38px}.tip{font-size:13px;color:#566d8a;line-height:1.8}.step-actions{display:flex;gap:8px;padding:17px 20px}.step-actions button{flex:1}.switch-row{padding:0 20px 18px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650}.switch-row small{color:#8b98a9;font-weight:400}.fields-head{border-top:1px solid #ecf0f5;padding:21px 20px 10px;display:flex;justify-content:space-between;font-size:13px}.fields-head span{font-size:11px;color:#8a98aa}.field-list{padding:0 15px 18px;min-height:100px;max-height:360px;overflow:auto}.field-item{width:100%;padding:12px 10px;border-radius:9px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:10px;background:transparent;color:#324258;font-size:13px}.field-item:hover{background:#f4f7fb}.field-item.active{background:#fff8df;color:#765a00}.state{font-size:11px;color:#8090a1}.field-item.active .state{color:#8b6810}.notice{margin:0 15px 17px;padding:14px;background:#f7f9fc;border-radius:10px;font-size:12px;line-height:1.7;color:#697991}.notice b{color:#3b5068}.notice p{margin:5px 0 0}footer{padding:23px 3px 0;font-size:12px;line-height:1.75;color:#78889b}.muted{font-size:12px;color:#97a2b0}@media(max-width:900px){.layout{grid-template-columns:1fr}.hero{padding:26px 0 18px}}@media(max-width:500px){.container{padding:14px 12px 25px}.hero h1{letter-spacing:-1px}.actions button,.actions label{flex:1 0 42%}.stage-wrapper{min-height:280px}header{gap:6px}.privacy{font-size:10px}}
/* Continuous video with an independent transparent AR overlay. */
.stage-wrapper{display:block;min-height:0;max-height:none;width:100%;aspect-ratio:16/9;position:relative;background:#172331;overflow:hidden}
.stage-wrapper video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.stage-wrapper canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;max-width:none;pointer-events:auto;touch-action:manipulation}
.empty-state{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(22,35,51,.94);z-index:1}
.empty-state[hidden]{display:none}
.error[hidden]{display:none}
.connection{align-self:center;color:#65758b;font-size:12px;font-weight:600}
.pulse{background:#94a3b8}
.pulse.on{background:#23c77e;box-shadow:0 0 0 5px rgba(35,199,126,.15)}
@media(max-width:500px){.stage-wrapper{min-height:0}.actions{align-items:center}.connection{font-size:11px}}
