:root{--ink:#0f3868;--muted:#7c8680;--green:#245e4c;--lime:#d9ee99;--line:#e3e7df;--paper:#f3f6fc;--white:#fff;--shadow:0 12px 40px #0f386810;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7b9b3c;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #a1c391;border-color:transparent}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}h1,h2,h3,p{margin-top:0}h2{font-size:16px;letter-spacing:-.3px}h3{font-size:19px}p{line-height:1.6}a{color:inherit;text-decoration:none}.topbar{height:88px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:38px;padding:0 36px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-symbol{background:var(--ink);color:var(--lime);width:43px;height:43px;border-radius:12px;font-size:30px;display:flex;align-items:center;justify-content:center;letter-spacing:-5px;padding-right:5px}.brand-symbol span{transform:translateY(5px)}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:3px;margin-top:2px}.local-badge{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:7px 11px;color:#6d776e}.local-badge>span,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#0098da;margin-right:6px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}#save-status{font-size:11px;color:#6a8267;max-width:190px}.button{border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:16px;white-space:nowrap}.primary{background:var(--ink);color:white}.primary span{color:var(--lime)}.secondary{border-color:#d5dfee;background:white;color:var(--ink)}.quiet{background:transparent;color:var(--ink)}main{max-width:1720px;margin:auto;padding:34px 36px 0}.project-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;margin-bottom:12px;color:#6f7b70}.eyebrow span{margin:0 10px;color:#a4aca0}.project-title{display:block;font-size:29px;font-weight:650;letter-spacing:-1px;width:min(760px,60vw);padding:0 0 5px;border:0;background:transparent;color:var(--ink);border-radius:3px}.project-description{color:var(--muted);font-size:12px;margin:5px 0 0}.project-actions{display:flex;gap:8px}.workspace-nav{display:flex;gap:28px;align-items:center;border-bottom:1px solid #d5dfee;height:46px;font-size:12px;margin-bottom:24px}.workspace-nav .active{height:100%;border-bottom:2px solid var(--green);display:flex;align-items:center;font-weight:650}.workspace-nav button{border:0;background:none;color:#727f74;font-size:12px}.nav-info{margin-left:auto;color:#91998d;font-size:10px}.count{font-size:10px;background:#edf0e8;border-radius:5px;padding:3px 6px;margin-left:5px;color:#6c7f61}.workspace{display:grid;grid-template-columns:238px minmax(350px,1fr) 315px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;min-height:600px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h2{margin:0;font-size:13px}.icon-button{border:0;background:transparent;color:#6d7d70;font-size:20px;border-radius:5px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center}.steps-panel{padding:22px 16px;display:flex;flex-direction:column;border-right:1px solid var(--line)}.small{font-size:11px}.subtle{color:var(--muted)}.steps-intro{margin-top:4px;margin-bottom:22px}.step-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;max-height:540px;overflow:auto}.step-card{border:1px solid transparent;background:white;border-radius:8px;display:flex;width:100%;text-align:left;align-items:center;padding:10px 8px;gap:9px;color:var(--ink)}.step-card.selected{border-color:#71b6df;background:#e9f3fc}.step-thumb{width:57px;height:42px;object-fit:cover;border:1px solid #dfe4dc;border-radius:4px;background:#f5f6f3}.step-number{font-size:10px;color:#809173;align-self:flex-start;padding-top:3px}.step-name{font-size:11px;font-weight:600;line-height:1.5;display:block;overflow-wrap:anywhere}.step-time{font-size:9px;color:#8e9888;display:block;margin-top:3px}.add-screenshots{background:transparent;border:1px dashed #c9d3c1;padding:13px 4px;border-radius:7px;font-size:10px;color:#416684;margin:20px 0}.sidebar-footer{margin-top:auto;display:flex;gap:9px;border-top:1px solid var(--line);padding-top:20px;font-size:10px;color:#87907e}.sidebar-footer p{margin:0}.sidebar-footer strong{font-weight:600;color:#6a7b60}.mini-icon{font-size:24px;color:#8d9f7e}.canvas-panel{background:#f7f9fd;padding:26px 26px 20px;min-width:0;display:flex;flex-direction:column}.canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.canvas-heading .eyebrow{font-size:8px;margin-bottom:8px}.canvas-heading h2{font-size:19px;margin:0;overflow-wrap:anywhere}.pill{border:1px solid var(--line);border-radius:5px;padding:5px;font-size:7px;letter-spacing:1px;color:#889180}.screenshot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#778971;margin-bottom:10px}.screenshot-toolbar>div{display:flex;gap:10px}.text-button{border:0;background:transparent;padding:0;color:#0f3868;font-size:10px;text-align:left}.image-stage{position:relative;user-select:none;touch-action:none;cursor:crosshair;line-height:0;border-radius:8px;overflow:hidden;box-shadow:0 5px 25px #0f386812;background:#f0f3ec}.image-stage img{display:block;width:100%;height:auto;pointer-events:none}.highlight{position:absolute;border:3px solid #83ad3a;background:#c1ed5722;box-shadow:0 0 0 2px #ffffffa0;pointer-events:none;border-radius:4px}.highlight span{position:absolute;top:-12px;left:-12px;border:2px solid white;border-radius:50%;background:#496e24;color:white;font-size:11px;width:23px;height:23px;line-height:19px;text-align:center}.canvas-hint{font-size:9px;color:#98a08f;text-align:center;margin:14px 0}.step-navigation{display:flex;align-items:center;justify-content:space-between;margin:3px 0 24px}.step-navigation .button{font-size:10px;padding:7px 0}.step-navigation>span{font-size:10px;color:#8f9888}.quality-card{display:flex;gap:12px;border-top:1px solid var(--line);padding-top:19px;margin-top:auto}.quality-card>span{background:#e3f1fc;color:#6b894b;width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.quality-card strong{font-size:11px;font-weight:600}.quality-card p{font-size:10px;color:#8c9684;margin:5px 0 0;max-width:470px}.editor-panel{padding:24px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column}.editor-panel>.subtle{font-size:10px;margin:8px 0 24px}.edit-icon{color:#819174}label{display:block;font-size:11px;font-weight:600;margin:0 0 8px}input:not([type=file]),textarea,select{color:var(--ink)}#step-form input,textarea,select{width:100%;border:1px solid #d5dfee;background:#fff;border-radius:6px;padding:11px;font-size:12px;line-height:1.6}textarea{resize:vertical;min-height:65px}#step-form input{margin-bottom:21px}#step-instruction{margin-bottom:20px}.optional{font-size:9px;font-weight:400;color:#9ba491;margin-left:5px}.label-row{display:flex;justify-content:space-between;align-items:center}.label-row label{margin-bottom:8px}#note-label{font-size:10px;background:#f7f8f4;padding:5px 8px;margin-bottom:6px;width:100px}#step-note{background:#f8faff}span[data-protected]{font-weight:400;font-size:8px;float:right;color:#81925e;padding-top:2px}.source-summary{border:1px solid #e5eadf;border-radius:7px;background:#f0f5fc;padding:12px;display:flex;gap:10px;margin-top:19px}.source-summary>span{font-size:23px;color:#8a9c77}.source-summary strong{font-size:10px}.source-summary p{font-size:9px;color:#8c9880;margin:4px 0}.editor-bottom{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between}.reorder{display:flex;gap:2px}.danger{color:#9d7369}.transcript-panel{margin-top:22px;border:1px solid var(--line);border-radius:12px;background:white;padding:26px}.transcript-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.transcript-header h2{font-size:20px}.transcript-header p.subtle{font-size:11px}.transcript-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:32px;margin-top:20px}.transcript-add{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:8px}.transcript-list{max-height:380px;overflow:auto}.transcript-item{padding:12px;background:#f3f7fc;border:1px solid var(--line);border-radius:6px;margin-bottom:10px}.transcript-item p{font-size:11px;white-space:pre-wrap;margin:6px 0}.transcript-item-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#819174}.transcript-item select{font-size:10px;padding:6px}.app-footer{padding:23px 36px;display:flex;align-items:center;gap:20px;color:#9da594;font-size:9px;max-width:1720px;margin:auto}.app-footer>span:first-child{letter-spacing:1.5px}.app-footer>span:nth-child(2){margin-left:auto}.footer-dot{padding:0 8px}.app-footer button{font-size:9px}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;max-width:850px;width:calc(100% - 36px);max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #152e3340}dialog::backdrop{background:#172e2866;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:27px;margin-bottom:10px}dialog>.subtle{font-size:12px}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0 15px}.export-card{position:relative;padding:24px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:flex-start}.export-card p{font-size:12px;color:#7f8b73;margin-bottom:25px}.export-card .button{margin-top:auto;width:100%;font-size:11px}.export-card h3{margin-bottom:8px}.featured{background:#e8f2fc;border-color:#bfd4e9}.recommended{font-size:7px;letter-spacing:1px;position:absolute;right:15px;top:15px;color:#71864c}.export-icon{font-size:28px;margin:8px 0 15px}.export-alternatives{display:flex;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:17px}.export-alternatives .button{font-size:10px}.export-help{font-size:11px;color:#7d8871;line-height:1.7;margin-top:20px}.export-help strong{font-weight:500;color:#8d6b40}summary{cursor:pointer;font-weight:600;padding:7px 0}.export-preview{font-size:11px;margin-top:12px}#document-preview{border:1px solid var(--line);padding:25px;margin-top:10px;max-height:400px;overflow:auto;color:#283b33;font-size:12px}#document-preview h1{font-size:23px}#document-preview h3{font-size:17px}#document-preview img{max-width:100%;height:auto}#export-status{font-size:12px;color:#0f3868;padding-top:15px}#player-dialog{max-width:1100px}#player-frame{width:100%;height:70vh;border:0;background:#f3f6fc;border-radius:9px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#0f3868;color:#fff;padding:13px 24px;border-radius:9px;box-shadow:0 5px 30px #0002;font-size:12px;max-width:90vw;z-index:1000}body.busy{cursor:progress}body.busy button{pointer-events:none}button[aria-pressed=true]{color:var(--green);font-weight:700}[hidden]{display:none!important}
@media(min-width:1500px){.workspace{grid-template-columns:260px minmax(350px,1fr) 350px}.canvas-panel{padding:30px 38px}.step-thumb{width:65px;height:47px}.step-name{font-size:12px}.editor-panel{padding:28px}.workspace{min-height:680px}}
@media(max-width:1150px){.topbar{padding:0 20px;gap:18px}.local-badge{display:none}main{padding:25px 20px 0}.workspace{grid-template-columns:185px minmax(280px,1fr) 275px}.steps-panel{padding:18px 10px}.step-thumb{width:40px;height:32px}.canvas-panel{padding:23px 18px}.editor-panel{padding:22px 17px}.project-title{font-size:25px}.screenshot-toolbar{flex-wrap:wrap;gap:9px}.project-actions{flex-direction:column}.step-name{font-size:10px}}
@media(max-width:900px){.workspace{grid-template-columns:190px minmax(0,1fr)}.editor-panel{grid-column:1/-1;border-top:1px solid var(--line);border-left:0}.workspace .canvas-panel{min-height:470px}.project-title{width:60vw;font-size:23px}.nav-info{display:none}.header-actions{gap:5px}#save-status{font-size:9px;max-width:110px}.transcript-layout{grid-template-columns:1fr}.app-footer{padding:20px}.header-actions .button{padding:9px}.transcript-header{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.topbar{padding:0 14px;height:74px}.brand{font-size:21px}.brand-symbol{width:34px;height:34px}.header-actions #backup{display:none}.header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:180px}#save-status{font-size:8px;max-width:none}.project-header{align-items:flex-start;flex-direction:column}.project-title{font-size:23px;width:100%}.project-header>div:first-child{width:100%}.project-actions{flex-direction:row}.workspace{grid-template-columns:1fr}.steps-panel{border-right:0;border-bottom:1px solid var(--line);padding:15px}.step-list{flex-direction:row;max-height:none;overflow-x:auto}.step-card{width:160px;min-height:65px}.steps-intro,.sidebar-footer{display:none}.panel-heading{margin-bottom:12px}.add-screenshots{margin-bottom:0}.canvas-panel{padding:20px 15px}.workspace .canvas-panel{min-height:390px}main{padding:24px 12px 0}.export-grid{grid-template-columns:1fr}dialog{padding:22px}.app-footer{flex-wrap:wrap;gap:12px}.app-footer>span:nth-child(2){margin-left:0}.transcript-panel{padding:18px}.transcript-add{align-items:flex-start;flex-direction:column}.workspace-nav{gap:20px}.app-footer .text-button{margin-left:auto}}

:root{--ink:#0f3868;--green:#0098da;--lime:#0098da;--muted:#64748b;--line:#d5dfee;--bg:#f3f6fc}body{color:#0f172a;background:#f3f6fc}.brand-symbol,.primary{background:#0f3868}.workspace-nav .active{border-color:#0098da}.brand small,.step-time,.subtle,.canvas-hint{color:#64748b}.primary:hover{background:#164c87}.featured{border-color:#bed6ef}.local-badge{color:#526b87}

.export-card #export-faq-title{display:block;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #bfd4e9;border-radius:6px;margin:8px 0}.export-card #export-filename{overflow-wrap:anywhere}.embed-template{padding:20px;border:1px solid #bfd4e9;border-radius:10px;background:#f3f8fe;color:#52657d}.embed-template h3{font-size:16px;color:#0f3868}.embed-template input{width:100%;padding:10px;border:1px solid #bfd4e9;border-radius:6px;margin-bottom:16px}#embed-code{font-family:Consolas,monospace;font-size:11px;margin-bottom:10px}

#faq-export-size{margin:12px 0;color:#0f3868;font-weight:600}#copy-faq-source{white-space:normal;text-align:center}#copy-fallback{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;font:12px/1.5 Consolas,monospace}


.embed-template select{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:10px;border:1px solid #bfd4e9;border-radius:6px;margin:6px 0 16px;background:#fff;color:#0f3868}.embed-template label{display:block}#embed-otobo-help{padding:0 0 8px}#embed-otobo-help a{color:#0f3868;text-decoration:underline}

/* Purpose-based export dialog. */
#export-dialog{max-width:880px;color:#0f3868}#export-dialog p{line-height:1.6}.export-title{margin:12px 0 20px}.export-title>div{display:flex;gap:8px}.export-title input{flex:1;min-width:0;padding:10px;border:1px solid #bfd4e9;border-radius:6px;background:#f7faff}.export-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:5px;background:#eef3f9;border-radius:10px;margin-bottom:20px}.export-tabs button{padding:12px 6px;border:0;border-radius:7px;background:transparent;color:#52657d;font-size:12px;font-weight:600;line-height:1.4}.export-tabs button[aria-selected=true]{background:#0f3868;color:#fff}.export-tabs button:focus-visible{outline:3px solid #0098da;outline-offset:1px}.export-panel{min-height:260px}.export-panel h3{font-size:20px;margin:8px 0}.export-panel h4{font-size:14px;margin:0 0 6px}.export-panel p{font-size:12px;color:#52657d;margin:8px 0 16px}.export-panel .small{font-size:11px}.export-panel .button{white-space:normal}.export-panel .export-filename{overflow-wrap:anywhere}.export-choice{border:1px solid #d5dfee;padding:18px;border-radius:9px;margin:14px 0}.export-steps{padding-left:22px;font-size:12px;line-height:1.8;color:#52657d}.export-help{color:#52657d}.export-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}.export-check{display:flex;align-items:center;gap:8px;margin:20px 0 12px;font-size:12px}.export-check input{width:17px;height:17px;accent-color:#0f3868}.faq-text-preview{border:1px solid #d5dfee;background:#fff;padding:16px;max-height:180px;overflow:auto;border-radius:8px;overflow-wrap:anywhere}#embed-thumbnail{display:block;max-width:320px;width:100%;height:auto;border:1px solid #bfd4e9;border-radius:8px;margin:12px 0}#export-status:empty{display:none}#export-status{position:sticky;bottom:-30px;background:#fff;border-top:1px solid #d5dfee;margin-top:20px;padding:14px 0 0;overflow-wrap:anywhere}#export-dialog .embed-template{margin:0}@media(max-width:580px){.export-tabs{grid-template-columns:1fr 1fr}.export-title>div{flex-wrap:wrap}.export-title input{width:100%;flex-basis:100%}.export-panel .button{max-width:100%}#export-status{bottom:-22px}}

.highlight{border:0;box-shadow:none;background:#9ac74640}.highlight span{border:0;background:transparent;color:#385722;text-shadow:0 0 2px #fff;top:0;left:0}

.image-stage[data-action="true"] .highlight,.image-stage[data-action="true"] .annotation-marker{background:#74b9ff55;color:#174d80}.image-stage[data-action="true"] .highlight span{color:#174d80}.image-stage[data-action="true"] .annotation-marker:hover,.image-stage[data-action="true"] .annotation-marker:focus-visible{background:#74b9ff99}.image-stage[data-action="true"] .annotation-marker.chosen{background:#74b9ff99}

.canvas-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.canvas-actions .button{padding:8px 12px;white-space:nowrap}
