/* Scoped gang sheet studio */
.np61-dtf [hidden],#gang62 [hidden]{display:none!important}.g62-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap}.g62-heading h1{margin:6px 0;font-size:clamp(29px,3.2vw,46px)}.g62-heading p{max-width:640px;font-size:14px}.g62-rate{font-size:13px;font-weight:800;color:#1555e8;padding:9px 12px;background:#eef4ff;border-radius:9px}.g62-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:5px;background:#eaf0f9;border-radius:13px}.g62-modes button,#gang62 button,.g62-proof button{font-family:inherit;cursor:pointer}.g62-modes button{border:0;border-radius:9px;background:transparent;text-align:left;padding:12px;color:#41516a;font-size:13px;font-weight:750}.g62-modes button[aria-pressed=true]{background:white;color:#1555e8;box-shadow:0 2px 8px #13284d14}.g62-modes small{display:block;font-weight:500;font-size:11px;margin-top:3px;color:#65768d}.g62{min-width:0;border:1px solid #dce5f2;border-radius:18px;background:#fff;overflow:hidden}.g62 *{box-sizing:border-box}.g62-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid #e1e8f1}.g62-toolbar strong{margin-right:auto;color:#14223a;font-size:14px}.g62-toolbar button,.g62-actions button,.g62-lengths button,.g62-secondary{border:1px solid #d5dfed;border-radius:8px;background:white;color:#23436e;padding:8px 10px;font-size:12px;font-weight:750}.g62-toolbar button:hover,.g62-actions button:hover,.g62-secondary:hover{background:#eaf1ff}.g62-grid{display:grid;grid-template-columns:minmax(0,210px) minmax(0,1fr) minmax(0,250px);min-width:0}.g62-left,.g62-right{min-width:0;padding:15px;display:flex;flex-direction:column;gap:12px}.g62-left{border-right:1px solid #e1e8f1}.g62-right{border-left:1px solid #e1e8f1}.g62 h2{font-size:15px;margin:0}.g62 h3{font-size:12px;margin:0;color:#52647d;letter-spacing:.07em;text-transform:uppercase}.g62 small,.g62 p{font-size:12px;line-height:1.45;color:#63748a;overflow-wrap:anywhere}.g62-drop{border:1px dashed #9fb9ec;border-radius:12px;background:#f2f6ff;text-align:center;padding:16px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;color:#1555e8;font-size:13px;font-weight:800}.g62-drop.dragover{background:#dce9ff}.g62-drop input{max-width:100%;font-size:11px;color:#53637b}.g62-library{display:grid;gap:6px;max-height:330px;overflow:auto;font-size:12px;color:#65768d}.g62-source{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;gap:7px;align-items:center;text-align:left;border:1px solid #e1e8f1;border-radius:9px;background:white;padding:6px;min-width:0;color:#27364b;font-size:11px}.g62-source img{width:38px;height:38px;object-fit:contain;background:#f0f3f8;border-radius:5px}.g62-source span{overflow-wrap:anywhere}.g62-source strong{color:#1555e8;font-size:18px}.g62-stage{background:#e8edf5;min-width:0;display:flex;flex-direction:column;align-items:stretch}.g62-stagebar{padding:10px 12px;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:11px;font-weight:750;color:#53637b;border-bottom:1px solid #d9e2ef}.g62-scroll{height:570px;overflow:auto;overscroll-behavior:contain;padding:18px 13px 26px;position:relative}.g62-ruler{max-width:570px;margin:0 auto 7px;display:flex;justify-content:space-between;color:#66768b;font-size:10px}.g62-sheet{position:relative;width:100%;max-width:570px;margin:auto;background-color:#fafafa;background-image:linear-gradient(45deg,#edf0f4 25%,transparent 25%),linear-gradient(-45deg,#edf0f4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf0f4 75%),linear-gradient(-45deg,transparent 75%,#edf0f4 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;box-shadow:0 4px 18px #172b4522;outline:1px solid #b6c5d8;isolation:isolate;min-height:0}.g62-sheet:before{content:'';position:absolute;inset:0;background-image:linear-gradient(to right,#788ba019 1px,transparent 1px);background-size:var(--g62-unit) 100%;pointer-events:none}.g62-empty{position:absolute;top:20px;left:10%;width:80%;text-align:center;background:#fffdfdce;border:1px dashed #afbdd1;padding:18px 10px;border-radius:9px;font-size:13px;color:#64748b}.g62-art{position:absolute;display:block;padding:0;border:0;background:transparent;touch-action:none;cursor:grab!important;overflow:visible;outline:1px solid #8598b465}.g62-art.selected{outline:2px solid #1555e8;z-index:2}.g62-art img{position:absolute;top:50%;left:50%;width:100%;height:100%;transform:translate(-50%,-50%);object-fit:fill;max-width:none!important;max-height:none!important;pointer-events:none}.g62-art:focus-visible{outline:3px solid #1555e8}.g62-right label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#52647d;min-width:0}.g62-right input:not([type=checkbox]),.g62-right textarea{width:100%;min-width:0;border:1px solid #cfdbea;background:white;border-radius:8px;padding:8px;font:inherit;color:#17233a;min-height:38px}.g62-right textarea{resize:vertical;min-height:54px}.g62-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.g62-right .g62-inline{display:flex;align-items:center;gap:5px;line-height:1.4}.g62-inline input{flex:none;accent-color:#1555e8}.g62-inspector{display:grid;gap:10px;border-top:1px solid #e1e8f1;padding-top:10px}.g62-name{font-size:12px;color:#17233a;font-weight:750;overflow-wrap:anywhere}.g62-actions,.g62-lengths{display:flex;flex-wrap:wrap;gap:5px}.g62-lengths button[aria-pressed=true]{background:#1555e8;border-color:#1555e8;color:white}.g62-dpi.invalid,.g62-checks.invalid{color:#a13e20!important}.g62-checks{font-size:12px;color:#375b54;background:#eef7f5;padding:9px;border-radius:8px}.g62-totalrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #e1e8f1}.g62-total{font-size:23px;font-weight:850;color:#1555e8}.g62-save{border:0;border-radius:10px;background:#1555e8;color:white;font-size:14px;font-weight:800;padding:13px 8px;width:100%}.g62 button:disabled{opacity:.45;cursor:not-allowed}.g62-status{font-size:12px;color:#304b71;min-height:1em;overflow-wrap:anywhere}.g62-proof{width:min(700px,94vw);max-height:90dvh;border:0;border-radius:14px;padding:12px;background:white;overflow:auto}.g62-proof::backdrop{background:#15244099}.g62-proof button{display:block;position:sticky;top:0;background:#1555e8;color:white;border:0;border-radius:8px;padding:10px;margin-bottom:8px}.g62-proof img{display:block;width:100%;height:auto}.g62-right input:focus-visible,.g62 button:focus-visible{outline:2px solid #1555e8;outline-offset:2px}
@media(max-width:1200px){.g62-grid{grid-template-columns:minmax(0,1fr) minmax(0,250px)}.g62-left{grid-column:1/-1;border-right:0;border-bottom:1px solid #e1e8f1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start}.g62-left h2{grid-column:1/-1}.g62-library{max-height:120px;grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.g62-left>small{grid-column:1/-1}}
@media(max-width:700px){.g62-grid{display:flex;flex-direction:column}.g62-left{display:grid;grid-template-columns:minmax(0,1fr);padding:12px}.g62-library{grid-template-columns:repeat(2,minmax(0,1fr))}.g62-scroll{height:clamp(230px,45dvh,390px);padding:12px 14px 20px}.g62-right{border-left:0;border-top:1px solid #e1e8f1;padding:12px}.g62-toolbar{padding:10px}.g62-toolbar strong{width:100%}.g62-modes button{padding:10px 8px;font-size:12px}.g62-modes small{font-size:10px}.g62-heading h1{font-size:28px}.g62-right input:not([type=checkbox]),.g62-right textarea{font-size:16px}.g62-stagebar{font-size:11px}}
/* Keep studio controls compact despite legacy global form styles. */
.g62-right label,.g62-left label{margin:0!important}.g62-right input,.g62-right textarea,.g62-drop input{margin:0!important}.g62-right{gap:9px}.g62-inspector{gap:7px}.g62-right .g62-inline{padding:0;margin:0!important}.g62-drop{position:relative;min-height:88px;justify-content:center}.g62-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.g62-drop:focus-within{outline:2px solid #1555e8;outline-offset:2px}.g62-left .g62-drop small{font-weight:500}.g62-toolbar{position:relative;z-index:1}.g62-stage{min-height:0}.g62-right h2{margin:2px 0 0}.g62-right input[type=checkbox]{width:16px;height:16px;min-height:0}.g62-scroll{scrollbar-width:thin}.g62-sheet{scroll-margin-top:110px}

.g78-upload-status{font-size:12px;line-height:1.5;color:#344f76;overflow-wrap:anywhere}.g78-upload-status:empty{display:none}.g78-source-wrap{min-width:0}.g78-source-wrap .g62-source{width:100%}.g78-remove{font-size:11px;margin:4px 0;border:0;background:transparent;color:#9c312e;cursor:pointer}.g62-save:disabled{cursor:wait}.g62-status{overflow-wrap:anywhere;white-space:pre-wrap}

/* V80 direct editing: controls live above, not over, the sheet. */
.g80-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;padding:4px 10px;background:#f7f9fc;border-bottom:1px solid #dbe4f0;color:#21364f;box-sizing:border-box}.g80-info{font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;min-width:0;white-space:nowrap}.g80-actions{display:flex;gap:5px;flex:none;align-items:center}.g80-actions button{width:38px;height:38px;min-height:38px;padding:0!important;margin:0!important;display:grid;place-items:center;border:1px solid #d8e2f1;border-radius:9px;background:#fff;color:#1555e8;font:700 20px/1 system-ui!important;cursor:pointer}.g80-actions .g80-remove{color:#b4232b;font-size:25px!important}.g80-actions button:hover{background:#eaf1ff}.g80-hint{display:block;padding:4px 10px;background:#f7f9fc;font-size:10px!important;line-height:1.4;color:#64748b!important}.g62-art .g80-handle{display:none;position:absolute;z-index:5;right:0;bottom:0;width:30px;height:30px;transform:translate(55%,55%);touch-action:none;cursor:nwse-resize;pointer-events:auto}.g62-art.selected:not(:disabled) .g80-handle{display:block}.g80-handle:after{content:'';position:absolute;left:50%;top:50%;width:11px;height:11px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:3px;background:#1555e8;box-shadow:0 0 0 1px #1555e8,0 2px 4px #18345d38}.g62-art.selected{outline:1.5px solid #1555e8!important;z-index:3}.g62-art:disabled{pointer-events:none}.g62-scroll{touch-action:pan-y}.g62-art,.g80-handle{touch-action:none!important}.g62-sheet{outline-offset:0}.g62-sheet:focus-visible{outline:2px solid #1555e8}.g80-actions button:focus-visible{outline:2px solid #1555e8;outline-offset:2px}@media(pointer:coarse){.g80-actions button{width:44px;height:44px;min-height:44px}.g80-tools{min-height:54px}.g62-art .g80-handle{width:36px;height:36px}.g80-handle:after{width:13px;height:13px}}@media(max-width:370px){.g80-tools{padding-inline:7px}.g80-info{font-size:11px}.g80-actions{gap:3px}}
