:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#16263e;background:#edf2f7;font-synthesis:none;--navy:#183c67;--muted:#64758a;--line:#dce4ee;--focus:#4386cc}*{box-sizing:border-box}body{margin:0;padding:0 16px;min-width:280px}button,input{font:inherit}button{cursor:pointer;min-height:44px;border-radius:10px;transition:background .15s}button:disabled{opacity:.48;cursor:default}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1160px;margin:auto;padding:24px 0 max(20px,env(safe-area-inset-bottom))}.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--navy);color:#fff;font-size:25px;font-weight:650}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:750;color:var(--muted)}h1{font-size:16px;line-height:1.3;margin:3px 0 0;font-weight:650}h2{font-size:27px;line-height:1.2;letter-spacing:-.025em;margin:14px 0}p{line-height:1.55}.status{font-size:12px;background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:999px;white-space:nowrap;color:#52637a}.status.live{color:#246549;background:#e9f5ed;border-color:#c6e3cf}.welcome{max-width:590px;margin:55px auto 0;padding:38px;border-radius:23px;background:#fff;border:1px solid var(--line);text-align:center;box-shadow:0 12px 45px #142b4510}.welcome-symbol{display:grid;place-items:center;margin:0 auto 22px;width:60px;height:60px;font-size:34px;border-radius:18px;color:var(--navy);background:#edf4fb}.welcome p:not(.eyebrow){color:#52657c}.welcome .button{margin:14px 0 8px;min-width:190px}.welcome .small{max-width:390px;margin:12px auto 0}.button{border:0;padding:12px 18px;font-size:14px;font-weight:650;line-height:20px}.primary{color:#fff;background:var(--navy)}.primary:hover:not(:disabled){background:#234c7a}.secondary{color:var(--navy);background:#e8eff7}.secondary:hover:not(:disabled){background:#dbe7f5}.muted{color:var(--muted)}.small{font-size:12px}.viewer{background:#fff;border-radius:18px;border:1px solid var(--line);overflow:hidden;box-shadow:0 12px 45px #142b450a}.pagebar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 17px;border-bottom:1px solid var(--line)}.page-details{display:flex;gap:9px;align-items:center;min-width:0;font-size:13px;font-weight:600}.page-details span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-dot{width:7px;height:7px;background:#49806a;border-radius:50%;flex:none}.view-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 0}.segmented{display:flex;background:#edf2f7;border-radius:10px;padding:3px;gap:2px}.segmented button{border:0;color:#64758a;padding:8px 12px;min-height:44px;background:transparent;border-radius:8px;font-size:12px;font-weight:600}.segmented button[aria-pressed=true]{color:var(--navy);background:#fff;box-shadow:0 1px 5px #152d4c13}.zoom{display:flex;gap:2px}.zoom button{background:#fff;border:1px solid var(--line);min-width:40px;padding:6px 10px;min-height:44px;color:var(--navy);font-size:17px}.zoom #zoom-fit{font-size:11px;min-width:52px}.mode-hint{color:var(--muted);font-size:12px;margin:9px 15px 10px;min-height:19px}.stage{position:relative;overflow:auto;max-height:68vh;min-height:220px;background:#dce4ed;overscroll-behavior:contain;scrollbar-width:thin;isolation:isolate}.stage #screen{display:block;max-width:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:none;cursor:crosshair}.stage.pan #screen{cursor:grab}.stage.pan.dragging #screen{cursor:grabbing}.stage.scroll #screen{cursor:ns-resize}.loading{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:10px;color:#52657c;font-size:13px;background:#e8eef5}.spinner{width:18px;height:18px;border:2px solid #b9cbdc;border-top-color:var(--navy);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.input-panel{padding:13px 15px 9px;border-top:1px solid var(--line)}.text-form{display:flex;gap:8px}.text-form input{width:100%;min-width:0;border:1px solid #cdd8e6;border-radius:10px;padding:11px 13px;color:#16263e;background:#fff;font-size:16px;min-height:44px}.text-form input::placeholder{color:#8090a3;font-size:13px}.bottom-controls{margin-top:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.keys{display:flex;gap:5px}.keys button{background:#f7f9fb;color:#52657c;padding:7px 12px;border:1px solid var(--line);font-size:12px}.input-panel p{margin:10px 1px 0}.notice{max-width:760px;margin:17px auto 0;padding:13px 17px;border:1px solid #e5d7b3;background:#fff8e8;color:#785d28;border-radius:11px;font-size:13px}.finished{margin-top:55px}.finished .welcome-symbol{color:#246549;background:#e9f5ed}footer{text-align:center;font-size:11px;color:#8291a3;margin-top:23px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){body{padding:0 10px}.shell{padding-top:max(16px,env(safe-area-inset-top))}.topbar{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:15px}.brand-mark{width:38px;height:38px;border-radius:11px;font-size:22px}.brand{gap:9px}h1{font-size:14px}.status{font-size:11px;padding:7px 10px}.welcome{margin-top:25px;padding:28px 22px;border-radius:18px}h2{font-size:24px}.welcome p{font-size:14px}.viewer{border-radius:14px}.pagebar{padding:11px 12px}.view-toolbar{gap:6px;padding:9px 8px 0}.segmented{gap:0;padding:2px}.segmented button{font-size:11px;padding:7px 8px;min-height:44px}.zoom{gap:1px}.zoom button{min-width:32px;padding:6px;min-height:44px}.zoom #zoom-fit{min-width:43px;font-size:10px}.mode-hint{font-size:11px;margin:8px 11px;min-height:34px;line-height:1.5}.stage{min-height:180px;max-height:58vh}.input-panel{padding:10px}.bottom-controls{flex-wrap:wrap;gap:10px}.keys{width:100%;gap:6px}.keys button{flex:1;min-height:44px}.bottom-controls>.button{width:100%}.text-form .button{padding:10px 13px}.input-panel .small{font-size:11px}footer{margin-top:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation:none}}
