
#hvsgRoot[hidden]{display:none!important}.hvsg-root{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1;height:100%;padding:16px 18px;background:#f5faff;color:#10233f;font-family:inherit}.hvsg-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.hvsg-kicker{color:#517fa7;font-size:11px;letter-spacing:.1em;font-weight:700}.hvsg-header h2{margin:2px 0;font-size:23px}.hvsg-header p{margin:2px 0;color:#51647c;font-size:13px}.hvsg-button{border:1px solid #d9e7f5;border-radius:11px;padding:10px 14px;min-height:38px;background:#fff;color:#17416c;font:600 13px inherit;cursor:pointer;box-shadow:0 2px 7px rgba(18,54,91,.04)}.hvsg-button:hover:not(:disabled){border-color:#65b2ff;background:#f0f8ff}.hvsg-button:disabled{opacity:.48;cursor:not-allowed}.hvsg-primary{background:#087ffc;color:white;border-color:#087ffc}.hvsg-primary:hover:not(:disabled){background:#0476d9;color:#fff}.hvsg-bar{display:flex;gap:9px;align-items:center;background:white;padding:11px;border:1px solid #e0eaf4;border-radius:16px;flex-wrap:wrap}.hvsg-bar #hvsgState{font-size:12px;color:#51647c;flex:1;min-width:130px}.hvsg-count{color:#2171bb;font-size:12px;font-weight:700}.hvsg-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:13px;min-height:0;flex:1}.hvsg-work,.hvsg-side{background:#fff;border:1px solid #d9e7f5;border-radius:17px;min-height:0;overflow:hidden;display:flex;flex-direction:column}.hvsg-workhead{padding:11px 14px;border-bottom:1px solid #e8f1fa;display:flex;justify-content:space-between;gap:8px;font-size:13px}.hvsg-workhead span{font-size:11px;color:#7890a6}.hvsg-preview{background:#eaf6ff;min-height:140px;flex:1;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}.hvsg-preview video{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;box-shadow:0 5px 16px #10233f16}.hvsg-preview video[hidden]{display:none}.hvsg-placeholder{display:grid;justify-items:center;text-align:center;gap:10px;color:#486481;max-width:310px}.hvsg-display-icon{font-size:48px;color:#087ffc}.hvsg-placeholder b{color:#173458}.hvsg-placeholder p{font-size:13px;line-height:1.5}.hvsg-capture-hint{padding:10px 14px;color:#677e95;font-size:12px}.hvsg-side-title{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid #e8f1fa}.hvsg-side-title h3{font-size:15px;margin:0}.hvsg-mini{border:0;background:transparent;color:#187deb;font-weight:700;cursor:pointer}.hvsg-shots{padding:10px;overflow-y:auto;flex:1;min-height:100px;display:grid;align-content:start;gap:8px}.hvsg-empty{padding:24px 10px;text-align:center;color:#8294a9;font-size:13px}.hvsg-shot{display:flex;gap:8px;align-items:center;border:1px solid #e5eef8;border-radius:11px;padding:7px;background:#fcfdff}.hvsg-shot img{width:76px;height:57px;object-fit:cover;border-radius:6px;background:#eaf6ff}.hvsg-shot-main{min-width:0;flex:1}.hvsg-shot-main b{font-size:12px;display:block}.hvsg-shot-main small{display:block;color:#8191a4;margin-top:3px}.hvsg-shot-actions{display:flex;gap:3px;margin-top:5px}.hvsg-shot-actions button{background:#eaf6ff;border:0;border-radius:6px;color:#087ffc;padding:5px 7px;font-size:11px;cursor:pointer}.hvsg-bottom{border-top:1px solid #e8f1fa;padding:10px;display:flex;flex-direction:column;gap:7px}.hvsg-bottom .hvsg-button{width:100%}@media(max-width:750px){.hvsg-root{padding:9px}.hvsg-grid{grid-template-columns:minmax(0,1fr);overflow-y:auto}.hvsg-work{min-height:340px}.hvsg-side{min-height:240px}.hvsg-preview{min-height:230px}.hvsg-header h2{font-size:19px}.hvsg-header p{font-size:11px}.hvsg-bar .hvsg-button{padding:8px}}
/* .74 visual workspace override: no permanent side rail, visual collection below live stage */
.hvsg-root{padding:10px 14px;gap:8px;min-height:0}.hvsg-header h2{font-size:22px;margin:0}.hvsg-header p{font-size:12px}.hvsg-version{font-size:10px;color:#0476d9;background:#eaf6ff;border-radius:7px;padding:4px 7px;vertical-align:middle}.hvsg-bar{padding:8px;gap:7px;border-radius:12px;flex-wrap:nowrap}.hvsg-bar .hvsg-button{padding:8px 11px;white-space:nowrap}.hvsg-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,1.12fr) minmax(160px,.88fr);gap:9px;min-height:0}.hvsg-work{border-radius:13px}.hvsg-preview{padding:8px}.hvsg-workhead{padding:7px 12px}.hvsg-capture-hint{padding:5px 12px;font-size:11px}.hvsg-side{border-radius:13px}.hvsg-side-title{padding:7px 12px}.hvsg-shots{display:flex;gap:10px;overflow:auto;padding:10px;align-items:stretch;min-height:125px}.hvsg-shot{flex:0 0 225px;max-width:225px;align-items:start;flex-direction:column;padding:7px}.hvsg-shot img{width:100%;height:78px;object-fit:contain;background:#eaf6ff}.hvsg-shot-main{width:100%}.hvsg-shot-actions button{font-size:11px}.hvsg-bottom{padding:7px 10px;flex-direction:row;justify-content:space-between}.hvsg-bottom .hvsg-button{width:auto;flex:1}.hvsg-viewtabs{display:flex;gap:5px}.hvsg-viewtabs button{background:#fff;border:1px solid #d9e7f5;border-radius:8px;padding:6px 12px;color:#456381;font-weight:650;cursor:pointer}.hvsg-viewtabs button.is-active{background:#eaf6ff;color:#0476d9;border-color:#65b2ff}.hvsg-book{flex:1;min-height:0;display:flex;flex-direction:column;gap:5px;overflow:hidden;padding:5px}.hvsg-book[hidden],.hvsg-shots[hidden]{display:none!important}.hvsg-book-stage{display:flex;justify-content:center;align-items:center;flex:1;min-height:0;overflow:auto;background:#f4faff;border-radius:10px}.hvsg-book-stage>img{max-width:100%;max-height:100%;object-fit:contain}.hvsg-book-nav{display:flex;justify-content:center;gap:15px;align-items:center}.hvsg-book-nav button{border:1px solid #d9e7f5;background:white;color:#0476d9;padding:5px 12px;border-radius:7px;cursor:pointer}.hvsg-stitch-preview{height:100%;overflow:auto;max-width:400px;background:#fff}.hvsg-stitch-preview img{display:block;width:100%}.hvsg-danger{color:#bc2f39}
.hvsg-editor[hidden]{display:none!important}.hvsg-editor{position:fixed;inset:0;z-index:100000;background:#f5faff;display:flex;flex-direction:column;color:#10233f;font-family:inherit}.hvsg-edit-head{height:58px;flex:none;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #d9e7f5;padding:9px 18px}.hvsg-edit-head b{font-size:18px}.hvsg-edit-head small{display:block;font-size:11px;color:#647890}.hvsg-edit-head>div:last-child{display:flex;gap:8px}.hvsg-edit-layout{display:grid;grid-template-columns:128px minmax(0,1fr) 246px;gap:10px;padding:10px;min-height:0;flex:1}.hvsg-tools,.hvsg-edit-settings{background:white;border:1px solid #d9e7f5;border-radius:13px;padding:10px;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:5px}.hvsg-tools strong{font-size:11px;color:#68819b;margin:3px}.hvsg-tools button,.hvsg-toolfoot button{border:1px solid transparent;background:white;display:flex;gap:9px;align-items:center;padding:9px;border-radius:9px;color:#294b70;cursor:pointer;font-weight:650;text-align:left}.hvsg-tools button.is-active{background:#eaf6ff;border-color:#98d0ff;color:#0476d9}.hvsg-toolfoot{margin-top:auto;border-top:1px solid #e6eef8;padding-top:7px}.hvsg-edit-stage{background:#eaf6ff;border:1px solid #d9e7f5;border-radius:13px;display:flex;flex-direction:column;min-width:0;min-height:0}.hvsg-edit-canvasbox{flex:1;min-height:0;min-width:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:10px}.hvsg-edit-canvasbox canvas{background:white;box-shadow:0 8px 24px #12365b1c;touch-action:none;max-width:none;flex:none}.hvsg-zoom{height:40px;flex:none;display:flex;justify-content:center;gap:10px;align-items:center;background:#fff;border-top:1px solid #e5eef8}.hvsg-zoom button{background:white;color:#0476d9;border:1px solid #d9e7f5;border-radius:8px;padding:5px 11px;cursor:pointer}.hvsg-zoom span{font-size:12px;min-width:50px;text-align:center}.hvsg-edit-settings h3{font-size:16px;margin:2px 0 10px}.hvsg-edit-settings label{font-size:12px;font-weight:650;color:#51647c;display:flex;flex-direction:column;gap:7px;margin-bottom:8px}.hvsg-edit-settings input[type=color]{height:36px;width:100%;border:1px solid #d9e7f5;border-radius:8px;background:white}.hvsg-edit-settings textarea{resize:vertical;min-height:64px;width:100%;border:1px solid #d9e7f5;border-radius:9px;padding:10px;font:inherit}.hvsg-edit-settings p,.hvsg-number-demo small{font-size:11px;color:#637a94;line-height:1.5}.hvsg-number-demo{border-radius:11px;background:#f3f9ff;padding:10px}.hvsg-number-demo b{font-size:12px}.hvsg-markers{display:flex;gap:9px;margin:10px 0}.hvsg-markers span{height:29px;width:29px;border-radius:50%;background:#0b8fff;color:#fff;border:2px solid white;box-shadow:0 0 0 1px #9cc7ef;display:grid;place-items:center;font-weight:800}.hvsg-edit-actions{display:grid;gap:7px;margin-top:auto}.hvsg-edit-actions .hvsg-button{width:100%}
@media(max-width:750px){.hvsg-root{overflow:auto}.hvsg-bar{flex-wrap:wrap}.hvsg-grid{display:flex;flex-direction:column;min-height:620px}.hvsg-work{min-height:260px}.hvsg-side{min-height:240px}.hvsg-shots{min-height:120px}.hvsg-edit-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(250px,1fr) auto;overflow:auto}.hvsg-tools{flex-direction:row;overflow-x:auto;min-height:64px}.hvsg-tools strong{display:none}.hvsg-tools button{white-space:nowrap}.hvsg-toolfoot{display:flex;margin:0;border:0;padding:0}.hvsg-edit-settings{max-height:210px;overflow:auto}.hvsg-edit-stage{min-height:280px}.hvsg-edit-head{height:auto;min-height:55px}}
/* Short desktop viewport: ensure controls remain reachable without overlapping imagery. */
@media (min-width:751px) and (max-height:700px){.hvsg-root{padding:7px 12px;gap:6px}.hvsg-header{min-height:40px}.hvsg-header p{display:none}.hvsg-bar{padding:5px}.hvsg-grid{grid-template-rows:minmax(155px,1fr) minmax(155px,.96fr);gap:6px}.hvsg-capture-hint{padding:3px 10px}.hvsg-shot img{height:64px}.hvsg-shots{padding:6px;min-height:100px}.hvsg-bottom{padding:5px}.hvsg-side-title{padding:5px 10px}.hvsg-edit-head{height:48px}.hvsg-edit-layout{padding:7px;gap:7px;grid-template-columns:125px minmax(0,1fr) 250px}.hvsg-tools,.hvsg-edit-settings{padding:7px}.hvsg-tools button{padding:6px 8px}.hvsg-edit-settings h3{margin:0 0 3px}.hvsg-edit-settings label{margin-bottom:3px;gap:3px}.hvsg-edit-settings textarea{min-height:43px}.hvsg-number-demo{padding:5px}.hvsg-number-demo .hvsg-markers{margin:4px 0}.hvsg-edit-settings p{margin:2px 0}.hvsg-edit-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #d9e7f5;padding-top:6px}.hvsg-edit-actions .hvsg-button{min-height:32px;padding:5px 8px}}

/* .75 full-viewport capture workspace: replaces both global side rails while active. */
#hvsgRoot:not([hidden]){position:fixed!important;inset:26px 0 0!important;z-index:9500!important;width:100vw!important;height:calc(100dvh - 26px)!important;max-width:none!important;overflow:hidden!important;display:flex!important;background:#f4f9ff!important;padding:12px 16px!important;gap:10px!important}
#hvsgRoot .hvsg-header{height:58px;flex-shrink:0;padding:3px 10px;background:#fff;border:1px solid #dfebf7;border-radius:15px;box-shadow:0 3px 14px #12365b09}
#hvsgRoot .hvsg-header h2{font-size:22px;line-height:1.1;margin:2px 0}
#hvsgRoot .hvsg-header p{display:block;font-size:12px;margin-top:2px}
#hvsgRoot .hvsg-bar{display:none!important}
#hvsgRoot .hvsg-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 316px!important;grid-template-rows:minmax(0,1fr)!important;gap:12px!important;min-height:0!important;flex:1!important;overflow:hidden}
#hvsgRoot .hvsg-workspace{min-height:0;min-width:0;display:grid;grid-template-rows:minmax(0,1.12fr) minmax(185px,.85fr);gap:10px}
#hvsgRoot .hvsg-work{min-height:0;border-radius:15px;box-shadow:0 4px 14px #12365b0a}
#hvsgRoot .hvsg-workhead{padding:10px 14px;font-size:14px}
#hvsgRoot .hvsg-preview{min-height:0;padding:12px;background:linear-gradient(150deg,#edf7ff,#e6f2ff)}
#hvsgRoot .hvsg-preview video{max-width:100%;max-height:100%;width:auto;height:auto}
#hvsgRoot .hvsg-capture-hint{padding:7px 12px;font-size:11px}
#hvsgRoot .hvsg-side{border-radius:15px;min-height:0;box-shadow:0 4px 14px #12365b0a}
#hvsgRoot .hvsg-shots{display:flex;align-items:stretch;overflow-x:auto;overflow-y:auto;min-height:0;padding:9px}
#hvsgRoot .hvsg-shot{flex:0 0 195px;max-width:195px}
#hvsgRoot .hvsg-shot img{height:84px}
#hvsgRoot .hvsg-bottom{display:none!important}
#hvsgRoot .hvsg-console{min-height:0;display:flex;flex-direction:column;gap:10px;padding:14px;background:#fff;border:1px solid #d9e7f5;border-radius:16px;box-shadow:0 4px 15px #12365b0d;overflow-y:auto;overscroll-behavior:contain}
#hvsgRoot .hvsg-console-head{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e8f1fa;padding-bottom:12px}
#hvsgRoot .hvsg-console-mark{width:40px;height:40px;border-radius:12px;background:#eaf6ff;color:#087ffc;display:grid;place-items:center;font-size:24px}
#hvsgRoot .hvsg-console-head strong{font-size:16px;display:block;color:#10233f}
#hvsgRoot .hvsg-console-head small{font-size:11px;color:#667f9c}
#hvsgRoot .hvsg-console-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#hvsgRoot .hvsg-console-actions .hvsg-button{width:100%;min-height:44px;padding:8px 5px;font-size:12px;border-radius:10px}
#hvsgRoot #hvsgSelect{grid-column:1/-1}
#hvsgRoot .hvsg-console-note{display:flex;align-items:center;gap:7px;background:#f0f8ff;border:1px solid #dceafa;padding:10px;border-radius:10px;color:#526b85;font-size:12px;line-height:1.35}
#hvsgRoot .hvsg-dot{width:7px;height:7px;flex:none;background:#21bd8a;border-radius:50%}
#hvsgRoot .hvsg-console-section{padding-top:10px;border-top:1px solid #e8f1fa}
#hvsgRoot .hvsg-console-section>strong{font-size:13px;color:#173458}
#hvsgRoot .hvsg-console-section p{font-size:11px;color:#69819a;margin:5px 0 10px;line-height:1.5}
#hvsgRoot #hvsgConsoleViews{display:flex;gap:5px;flex-wrap:wrap}
#hvsgRoot #hvsgConsoleViews button{flex:1;padding:8px 7px;white-space:nowrap;font-size:11px}
#hvsgRoot #hvsgConsoleExports{display:grid;gap:7px;margin-top:9px}
#hvsgRoot #hvsgConsoleExports .hvsg-button{width:100%;min-height:36px;font-size:12px}
#hvsgRoot .hvsg-console-footer{font-size:11px;color:#7d91a8;line-height:1.5;margin-top:auto}
@media(max-width:800px){#hvsgRoot:not([hidden]){padding:8px!important;overflow-y:auto!important}#hvsgRoot .hvsg-grid{display:flex!important;flex-direction:column!important;overflow:visible}#hvsgRoot .hvsg-workspace{min-height:540px}#hvsgRoot .hvsg-console{min-height:270px;overflow:visible}#hvsgRoot .hvsg-header{height:auto;min-height:55px}#hvsgRoot .hvsg-header h2{font-size:18px}#hvsgRoot .hvsg-header p{display:none}}
#hvsgRoot #hvsgConsoleViews button{background:#fff;border:1px solid #d9e7f5;border-radius:9px;color:#365f88;font-weight:650;cursor:pointer;min-height:35px}
#hvsgRoot #hvsgConsoleViews button.is-active{background:#eaf6ff;border-color:#7abcf6;color:#0476d9}
#hvsgRoot #hvsgConsoleViews button:hover{border-color:#0b8fff}
#hvsgRoot .hvsg-console-actions #hvsgEnd{grid-column:1/-1}

/* .76 screenshot editor: exact-viewport, no nested rails; keep existing tools and handlers. */
#hvsgEditor.hvsg-editor{height:100dvh;overflow:hidden;background:#f3f8fe}
#hvsgEditor .hvsg-edit-head{height:66px;min-height:66px;box-sizing:border-box;background:#fff;padding:9px 18px 9px 24px;border-bottom:1px solid #dbe9f7;box-shadow:0 2px 10px rgba(19,66,110,.035)}
#hvsgEditor .hvsg-edit-brand{display:flex;align-items:center;gap:12px;min-width:0}
#hvsgEditor .hvsg-edit-mark{width:42px;height:42px;display:grid;place-items:center;background:#e7f3ff;color:#087ffc;border-radius:13px;font-size:24px;flex:none}
#hvsgEditor .hvsg-edit-brand b{display:block;color:#112c52;font-size:17px;line-height:1.3;letter-spacing:-.3px}
#hvsgEditor .hvsg-edit-brand small{display:block;max-width:min(65vw,680px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;margin-top:3px;color:#6b839b}
#hvsgEditor .hvsg-edit-head-actions{display:flex;align-items:center;gap:8px}
#hvsgEditor .hvsg-edit-head-actions .hvsg-button{padding:8px 13px;min-height:36px;font-size:12px;border-radius:10px;box-shadow:none}
#hvsgEditor .hvsg-edit-close{background:#edf5ff;color:#225e9d;border-color:#d8e8f7}
#hvsgEditor .hvsg-edit-layout{min-height:0;height:calc(100dvh - 66px);overflow:hidden;box-sizing:border-box;grid-template-columns:112px minmax(0,1fr) 294px;gap:10px;padding:11px 13px}
#hvsgEditor .hvsg-tools,#hvsgEditor .hvsg-edit-settings{overflow:hidden;min-height:0;box-shadow:0 3px 13px rgba(18,54,91,.055);border:1px solid #dce9f6;border-radius:16px}
#hvsgEditor .hvsg-tools{padding:10px 7px;gap:2px}
#hvsgEditor .hvsg-tools strong{font-size:10px;letter-spacing:.09em;margin:0 7px 6px}
#hvsgEditor .hvsg-tools>button,#hvsgEditor .hvsg-toolfoot button{min-height:34px;padding:5px 8px;gap:9px;font-size:12px;line-height:1.15;border-radius:9px}
#hvsgEditor .hvsg-tools button:hover{background:#eef7ff}
#hvsgEditor .hvsg-tools button.is-active{background:#e5f3ff;border-color:#96cfff;color:#0476d9}
#hvsgEditor .hvsg-toolfoot{margin-top:auto;display:grid;grid-template-columns:1fr;gap:2px;padding-top:4px}
#hvsgEditor .hvsg-edit-settings{padding:13px 14px;gap:5px;display:flex;flex-direction:column}
#hvsgEditor .hvsg-edit-settings h3{font-size:15px;line-height:1.3;margin:0 0 5px;color:#173658;letter-spacing:-.2px}
#hvsgEditor .hvsg-edit-settings label{font-size:11px;gap:4px;margin:0;color:#59718c;line-height:1.25}
#hvsgEditor .hvsg-edit-settings input[type=color]{height:30px;width:100%;padding:2px;border-radius:9px}
#hvsgEditor .hvsg-edit-settings input[type=range]{height:18px;margin:3px 0;accent-color:#087ffc}
#hvsgEditor .hvsg-edit-settings textarea{min-height:45px;height:52px;max-height:52px;resize:none;padding:7px 9px;font-size:12px;line-height:1.3}
#hvsgEditor .hvsg-number-demo{padding:7px 9px;border:1px solid #e0edf9;border-radius:10px}
#hvsgEditor .hvsg-number-demo b{font-size:11px}
#hvsgEditor .hvsg-markers{margin:4px 0;gap:7px}
#hvsgEditor .hvsg-markers span{width:25px;height:25px;font-size:11px}
#hvsgEditor .hvsg-number-demo small{font-size:10px;line-height:1.25;display:block}
#hvsgEditor .hvsg-edit-settings p{font-size:10px;line-height:1.28;margin:1px 0;color:#6b829c}
#hvsgEditor .hvsg-edit-actions{position:static;margin-top:auto;padding-top:8px;border-top:1px solid #e6eff8;display:grid;gap:6px}
#hvsgEditor .hvsg-edit-actions .hvsg-button{padding:7px 8px;min-height:33px;border-radius:9px;font-size:12px}
#hvsgEditor .hvsg-edit-stage{border-radius:16px;border-color:#dce9f6;overflow:hidden;min-height:0}
#hvsgEditor .hvsg-edit-canvasbox{min-height:0}
#hvsgEditor .hvsg-zoom{height:37px}
@media(max-height:620px) and (min-width:751px){#hvsgEditor .hvsg-edit-settings{padding:8px 10px;gap:2px}#hvsgEditor .hvsg-edit-layout{padding:7px;gap:7px}#hvsgEditor .hvsg-number-demo small,#hvsgEditor .hvsg-edit-settings p{display:none}#hvsgEditor .hvsg-edit-actions .hvsg-button{min-height:29px;padding:4px}#hvsgEditor .hvsg-tools>button{min-height:28px}}
@media(max-width:750px){#hvsgEditor .hvsg-edit-head{height:56px;min-height:56px;padding:7px 10px}#hvsgEditor .hvsg-edit-layout{height:calc(100dvh - 56px);grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;overflow:auto;padding:7px}#hvsgEditor .hvsg-tools{overflow-x:auto;overflow-y:hidden;min-height:58px;flex-direction:row;flex-wrap:nowrap}#hvsgEditor .hvsg-tools>button{flex:none}#hvsgEditor .hvsg-toolfoot{display:flex;flex:none}#hvsgEditor .hvsg-edit-stage{min-height:260px}#hvsgEditor .hvsg-edit-settings{overflow:visible}#hvsgEditor .hvsg-edit-brand small{max-width:165px}}
