/* .77 — Main Screen Grabber polish ONLY. Editor styles and handlers unchanged. */
@media (min-width:801px){
#hvsgRoot:not([hidden]){padding:9px 13px!important;gap:9px!important;background:#f4f8fd!important;box-sizing:border-box!important}
#hvsgRoot .hvsg-header{height:68px;min-height:68px;box-sizing:border-box;flex:none;padding:9px 18px;border:1px solid #dce8f5;border-radius:17px;box-shadow:0 3px 13px rgba(18,54,91,.055);display:flex;align-items:center}
#hvsgRoot .hvsg-header>div{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:24px 18px;column-gap:12px;align-items:center;min-width:0}
#hvsgRoot .hvsg-kicker{grid-column:2;grid-row:2;letter-spacing:0;text-transform:none;font-size:12px;font-weight:500;color:#7289a7}
#hvsgRoot .hvsg-kicker::before{content:'Visual capture and annotation workspace';font-size:12px}
#hvsgRoot .hvsg-kicker{font-size:0}
#hvsgRoot .hvsg-header h2{grid-column:2;grid-row:1;font-size:20px;letter-spacing:-.35px;font-weight:750;line-height:1.1;white-space:nowrap;margin:0;color:#112a4a}
#hvsgRoot .hvsg-header>div::before{content:'▣';grid-row:1/3;grid-column:1;width:42px;height:42px;background:#e6f3ff;display:grid;place-items:center;border-radius:13px;color:#087ffc;font-size:23px;font-weight:700}
#hvsgRoot .hvsg-header p{display:none!important}
#hvsgRoot .hvsg-version{display:inline-flex;font-size:10px;letter-spacing:0;color:#2673be;background:#eaf6ff;padding:3px 7px;border-radius:7px;vertical-align:middle}
#hvsgRoot #hvsgBack{white-space:nowrap;min-height:36px;padding:8px 12px;font-size:12px;background:#fff;box-shadow:none}
#hvsgRoot .hvsg-grid{grid-template-columns:minmax(0,1fr) 322px!important;gap:11px!important}
#hvsgRoot .hvsg-workspace{gap:9px;grid-template-rows:minmax(0,1.12fr) minmax(165px,.84fr)}
#hvsgRoot .hvsg-console{box-sizing:border-box;overflow:hidden!important;gap:7px;padding:11px 12px;border-radius:16px}
#hvsgRoot .hvsg-console-head{gap:9px;padding:0 0 8px}
#hvsgRoot .hvsg-console-mark{height:35px;width:35px;border-radius:10px;font-size:20px}
#hvsgRoot .hvsg-console-head strong{font-size:14px}
#hvsgRoot .hvsg-console-head small{font-size:10px}
#hvsgRoot .hvsg-console-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#hvsgRoot .hvsg-console-actions #hvsgSelect{grid-column:auto}
#hvsgRoot .hvsg-console-actions #hvsgEnd{grid-column:auto}
#hvsgRoot .hvsg-console-actions .hvsg-button{font:650 11px/1.1 inherit;min-height:34px!important;padding:7px 5px!important;border-radius:9px}
#hvsgRoot .hvsg-console-note{padding:7px 8px;min-height:26px;box-sizing:border-box;font-size:11px}
#hvsgRoot .hvsg-console-section{padding-top:7px}
#hvsgRoot .hvsg-console-section>strong{font-size:12px}
#hvsgRoot .hvsg-console-section p{display:none}
#hvsgRoot #hvsgConsoleViews{margin-top:6px;gap:4px;flex-wrap:nowrap}
#hvsgRoot #hvsgConsoleViews button{min-height:31px;padding:5px 2px;font-size:10px;white-space:nowrap}
#hvsgRoot #hvsgConsoleExports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
#hvsgRoot #hvsgConsoleExports .hvsg-button{width:100%;min-height:33px;padding:6px 4px;font-size:10.5px;line-height:1.15;white-space:normal;box-shadow:none}
#hvsgRoot #hvsgConsoleExports #hvsgClear{grid-column:auto}
#hvsgRoot .hvsg-console-footer{font-size:10px;line-height:1.25;padding:6px 0 0;margin-top:auto;border-top:1px solid #e8f1fa}
#hvsgRoot .hvsg-workhead{padding:8px 12px}
#hvsgRoot .hvsg-side-title{padding:7px 11px}
#hvsgRoot .hvsg-capture-hint{padding:4px 10px}
#hvsgRoot .hvsg-shots{overflow-y:hidden;overflow-x:auto}
}
@media (min-width:801px) and (max-height:670px){
#hvsgRoot:not([hidden]){padding:6px 11px!important;gap:6px!important}
#hvsgRoot .hvsg-header{height:59px;min-height:59px;padding:6px 14px}
#hvsgRoot .hvsg-console{gap:5px;padding:8px 10px}
#hvsgRoot .hvsg-console-head{padding-bottom:5px}
#hvsgRoot .hvsg-console-actions .hvsg-button{min-height:31px!important}
#hvsgRoot .hvsg-console-note{padding:5px}
#hvsgRoot .hvsg-console-section{padding-top:5px}
#hvsgRoot #hvsgConsoleExports .hvsg-button{min-height:29px;padding:4px 3px}
#hvsgRoot .hvsg-console-footer{padding-top:3px}
}
