@font-face{font-family:ui-latin;src:url(/fonts/Montserrat-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:ui-latin;src:url(/fonts/Montserrat-SemiBold.ttf) format("truetype");font-weight:600;font-display:swap}@font-face{font-family:ui-latin;src:url(/fonts/Montserrat-Bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:ui-latin;src:url(/fonts/Montserrat-Black.ttf) format("truetype");font-weight:900;font-display:swap}@font-face{font-family:noto-sans-kr-fb;src:url(/fonts/NotoSansKR-Regular.otf) format("opentype");font-weight:400}@font-face{font-family:noto-sans-kr-fb;src:url(/fonts/NotoSansKR-Medium.otf) format("opentype");font-weight:500}@font-face{font-family:noto-sans-kr-fb;src:url(/fonts/NotoSansKR-Bold.otf) format("opentype");font-weight:700}@font-face{font-family:noto-sans-kr-fb;src:url(/fonts/NotoSansKR-Black.otf) format("opentype");font-weight:900}@font-face{font-family:noto-serif-kr-fb;src:url(/fonts/NotoSerifKR-Regular.otf) format("opentype");font-weight:400}@font-face{font-family:noto-serif-kr-fb;src:url(/fonts/NotoSerifKR-Bold.otf) format("opentype");font-weight:700}:root{--blue: #4988fc;--blue-dark: #2f6ee0;--blue-soft: #eef3ff;--ink: #393939;--ink-soft: #6b7280;--line: #e6e8ef;--canvas: #f5f6fa;--ui: "ui-latin", "noto-sans-kr-fb", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif}*{box-sizing:border-box;margin:0;padding:0}[hidden]{display:none!important}html,body{height:100%}body{font-family:var(--ui);background:#fff;color:var(--ink);display:flex;flex-direction:column;overflow:hidden;-webkit-font-smoothing:antialiased}#toolbar{background:#fff;color:var(--ink);z-index:50;flex:0 0 auto;border-bottom:1px solid var(--line)}.tb-row{display:flex;align-items:center}.tb-row-main{height:84px;padding:0 24px;gap:24px}.tb-row-tools{height:72px;padding:0 24px;gap:4px;border-top:1px solid var(--line)}.brand{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;letter-spacing:-.01em;font-family:inherit;border:none;background:none;padding:0;cursor:pointer;border-radius:8px}.brand:hover .brand-name{color:var(--blue)}.brand-mark{background:var(--blue);color:#fff;font-weight:900;font-size:16px;padding:5px 9px;border-radius:9px;line-height:1}.brand-name{color:var(--ink)}.brand-dot{color:var(--blue);padding:0 2px}.tb-zoom{display:flex;align-items:center;gap:10px}.zoom-step{border:none;background:none;color:var(--ink);font-size:22px;line-height:1;width:28px;height:28px;border-radius:8px;cursor:pointer;font-family:inherit}.zoom-step:hover{background:var(--blue-soft);color:var(--blue)}.zoom-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;height:44px;padding:0 6px 0 12px;gap:2px}.zoom-field:focus-within{border-color:var(--blue)}#zoom-input{width:52px;border:none;outline:none;font-family:inherit;font-size:16px;font-weight:500;color:var(--ink);background:none}.zoom-spin{display:flex;flex-direction:column}.zoom-spin button{border:none;background:none;cursor:pointer;color:#9aa0ac;font-size:7px;line-height:8px;padding:0 2px;font-family:inherit}.zoom-spin button:hover{color:var(--blue)}.tb-right{margin-left:auto;display:flex;align-items:center;gap:14px}.file-name{font-size:14px;color:var(--ink-soft);max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn{font-family:inherit;cursor:pointer;border-radius:16px;font-size:18px;font-weight:700;padding:16px 32px;border:1px solid transparent;transition:background .15s,color .15s}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover:not(:disabled){background:var(--blue-dark);border-color:var(--blue-dark)}.btn.ghost{background:#fff;border-color:var(--line);color:var(--ink);font-size:15px;padding:12px 22px;border-radius:14px}.btn.ghost:hover:not(:disabled){background:var(--blue-soft);border-color:var(--blue);color:var(--blue)}.btn:disabled{opacity:.45;cursor:default}.btn.big{font-size:24px;padding:16px 48px;border-radius:20px;display:inline-flex;align-items:center;gap:10px}.btn-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:72px;height:60px;padding:0 10px;border:none;background:none;border-radius:12px;color:var(--ink);font-family:inherit;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap}.tool svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tool:hover:not(:disabled){background:var(--blue-soft);color:var(--blue)}.tool:disabled{color:#c3c7d1;cursor:default}.tool.active{background:var(--blue-soft);color:var(--blue)}#btn-ocr.busy{color:var(--blue);cursor:progress}.tb-sep{width:1px;height:36px;background:var(--line);margin:0 10px;flex:0 0 auto}.tb-spacer{flex:1 1 auto}.edit-count{font-size:13px;color:var(--ink-soft);white-space:nowrap}.style-group{display:flex;align-items:center;gap:14px}.style-group.disabled{opacity:.45}.style-group.disabled *{cursor:default}.style-field{display:flex;flex-direction:column;gap:3px}.style-cap{font-size:11px;color:var(--ink-soft);font-weight:500;padding-left:2px}#font-select{height:36px;border:1px solid var(--line);border-radius:10px;padding:0 8px;font-family:inherit;font-size:13px;color:var(--ink);background:#fff;max-width:210px;cursor:pointer}#font-select:hover,#font-select:focus{border-color:var(--blue);outline:none}.size-box,.toggle-box{display:flex;align-items:center;height:36px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.size-box:focus-within{border-color:var(--blue)}.size-step,.toggle{border:none;background:none;font-family:inherit;font-size:15px;color:var(--ink);width:30px;height:100%;cursor:pointer;line-height:1}.size-step:hover,.toggle:hover{background:var(--blue-soft);color:var(--blue)}#size-input{width:46px;border:none;outline:none;text-align:center;font-family:inherit;font-size:13px;font-weight:600;color:var(--ink);background:none}.toggle{width:34px;font-size:14px;border-left:1px solid var(--line)}.toggle:first-child{border-left:none}.toggle.wide{width:auto;padding:0 10px;font-size:12px}.toggle.on{background:var(--blue);color:#fff}.toggle.on:hover{background:var(--blue-dark);color:#fff}#workspace{flex:1 1 auto;overflow:auto;position:relative;background:var(--canvas)}#drop-zone{min-height:100%;display:flex;align-items:center;justify-content:center;background:#fff}.dz-hero{display:flex;align-items:center;justify-content:space-between;gap:60px;width:100%;max-width:1216px;padding:40px 60px}.dz-left{width:460px;flex:0 0 auto}.dz-left h1{font-size:56px;font-weight:900;line-height:1.16;color:var(--ink);letter-spacing:-.02em}.dz-sub{font-size:28px;font-weight:600;color:var(--ink);margin-top:14px}.dz-checklist{list-style:none;display:flex;flex-direction:column;gap:24px;margin-top:36px}.dz-checklist li{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:500;color:var(--ink)}.dz-check{flex:0 0 auto;width:24px;height:24px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dz-right{position:relative;width:480px;height:480px;flex:0 0 auto;display:flex;align-items:center;justify-content:center}.dz-triangle{position:absolute;top:6px;left:-4px;width:127px;height:143px;fill:var(--blue);z-index:0}.dz-card{position:relative;z-index:1;width:404px;height:430px;margin-left:64px;padding:18px;background:#fff;border-radius:30px;box-shadow:0 18px 50px #4988fc29}.dz-dashed{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:2px dashed #a9c2fd;border-radius:20px}.dz-file-wrap{position:relative;display:flex;align-items:center;justify-content:center}.dz-file{width:118px;height:136px;fill:#fff;stroke:var(--blue);stroke-width:7;stroke-linejoin:round}.dz-file-badge{position:absolute;top:58%;background:#e5482f;color:#fff;font-size:20px;font-weight:700;letter-spacing:.02em;padding:3px 10px;border-radius:5px;line-height:1.3}.dz-drop-text{font-size:18px;font-weight:600;color:var(--ink);text-align:center;margin-top:4px}.dz-or{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border:1px solid var(--line);border-radius:50%;font-size:18px;color:var(--ink)}@media(max-width:1080px){.dz-hero{flex-direction:column;gap:40px;padding:32px 24px}.dz-left{width:auto;max-width:560px;text-align:center}.dz-left h1{font-size:40px}.dz-sub{font-size:22px}.dz-checklist li{justify-content:center;font-size:17px}.dz-right{width:100%;max-width:440px;height:440px}.dz-card{margin-left:40px;width:min(360px,100%)}.dz-triangle{left:10px}}#pages{display:flex;flex-direction:column;align-items:center;gap:24px;padding:28px 12px 80px}.page-wrap{position:relative;background:#fff;box-shadow:0 2px 16px #14182824;border-radius:2px;flex:0 0 auto}.page-wrap canvas{display:block}.page-overlay{position:absolute;inset:0;overflow:hidden}.run-box{position:absolute;cursor:text;border-radius:2px}.run-box:hover{outline:2px solid rgba(73,136,252,.65);background:#4988fc14}.run-box.edited:hover{outline-color:#34a853cc}.run-box.from-image{outline:1px dashed rgba(255,140,0,.55)}.run-box.from-image:hover{outline:2px solid rgba(255,140,0,.85);background:#ff8c0014}.run-patch{position:absolute;pointer-events:none}.run-text{position:absolute;white-space:pre;pointer-events:none;line-height:1;transform-origin:0 0}.run-editor{position:absolute;white-space:pre;line-height:1;outline:2px solid var(--blue);outline-offset:1px;background:#ffffff03;min-width:8px;z-index:10;border-radius:1px;transform-origin:0 0;caret-color:var(--blue)}.edit-mini-bar{position:absolute;display:flex;gap:4px;background:#fff;padding:5px;border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 20px #14182829;z-index:20}.edit-mini-bar button{border:none;background:none;color:var(--ink);font-size:12px;font-weight:500;padding:6px 10px;border-radius:8px;cursor:pointer;font-family:inherit;white-space:nowrap}.edit-mini-bar button:hover{background:var(--blue-soft);color:var(--blue)}.edit-mini-bar button.danger:hover{background:#fdecea;color:#c5321b}#status-bar{position:fixed;left:50%;bottom:24px;transform:translate(-50%);background:#1f2430;color:#fff;padding:12px 24px;border-radius:14px;font-size:14px;font-weight:500;box-shadow:0 8px 24px #14182847;z-index:100;max-width:80vw}#status-bar.error{background:#b3261e}#drag-overlay{position:fixed;inset:0;background:#4988fc26;border:3px dashed var(--blue);z-index:200;display:flex;align-items:center;justify-content:center}#drag-overlay span{font-size:22px;font-weight:700;color:var(--blue-dark);background:#fff;padding:14px 30px;border-radius:16px;box-shadow:0 8px 28px #14182833}
