/* v61: approved 880px registration / 35:65 picture-text layout. Peter only. */
html body.gc-drawer-ui-peter #updateBackdrop.gc-reg-dialog{--gc-du-width:880px!important}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .rich-editor.gc-registration-editor{display:grid!important;grid-template-columns:minmax(0,35fr) minmax(0,65fr)!important;gap:24px!important;align-items:start!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;min-width:0!important;box-shadow:none!important;outline:0!important}
.gc-registration-editor>section{min-width:0}
.gc-registration-editor .gc-reg-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;height:32px;margin:0 0 8px;font:600 14px/22px var(--font-sans);color:#262626}
.gc-registration-editor small{font:400 12px/20px var(--font-sans);color:#595959}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor button{display:inline-flex;align-items:center;justify-content:center}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-drop{display:flex!important;flex-direction:column;width:100%;height:112px!important;padding:12px!important;border:1px dashed #d9d9d9!important;background:#fafafa!important;gap:6px!important}
.gc-reg-drop svg{width:24px;height:24px;flex:none;color:#1677ff}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-drop:is(:hover,.dragging){border-color:#4096ff!important;background:#f5faff!important;color:#262626!important}
.gc-reg-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:340px;overflow:auto;padding:2px;margin-top:12px;scrollbar-width:thin}
.gc-reg-photo{min-width:0;border:1px solid #d9d9d9;border-radius:6px;overflow:hidden;background:#fff}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-photo-open{position:relative;display:block!important;width:100%;height:112px!important;min-height:0!important;border:0!important;border-radius:0!important;padding:0!important;background:#fafafa!important;overflow:hidden}
.gc-reg-photo-open img{display:block;width:100%;height:100%;object-fit:contain}
.gc-reg-photo-open:hover img{opacity:.85}
.gc-reg-number{position:absolute;left:6px;top:6px;font:400 12px/20px var(--font-sans);padding:0 6px;background:#0009;color:#fff;border-radius:4px}
.gc-reg-photo-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;border-top:1px solid #f0f0f0;padding:4px 6px}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-remove{width:24px!important;min-width:24px!important;height:28px!important;min-height:28px!important;padding:0!important;border-color:transparent!important;background:transparent!important;color:#595959!important}
.gc-reg-status{display:block;margin-top:8px;overflow-wrap:anywhere}
.gc-reg-toolbar{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:8px;padding:8px;background:#fafafa;border:1px solid #d9d9d9;border-bottom-color:#f0f0f0;border-radius:6px 6px 0 0}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-tool{min-width:32px!important;height:32px!important;min-height:32px!important;padding:0 6px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#262626!important;font:400 14px/22px var(--font-sans)!important}
.gc-reg-toolbar button[data-command=bold]{font-weight:600!important}
.gc-reg-toolbar button[data-command=italic]{font-style:italic!important}
.gc-reg-toolbar button[data-command=underline]{text-decoration:underline}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-tool:hover{background:#f0f0f0!important}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-tool[aria-pressed=true],html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-color[aria-expanded=true]{background:#e6f4ff!important;color:#0958d9!important}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-tool:disabled{color:#bfbfbf!important;background:transparent!important}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-size{width:80px!important;flex:none;padding:0 8px!important;height:32px!important;min-height:32px!important;border:0!important;background:transparent!important}
.gc-reg-color{gap:5px!important}
.gc-reg-tool-group{display:flex;align-items:center;gap:4px;flex:none;max-width:100%}
.gc-reg-tool-group:not(:last-child){padding-right:8px;border-right:1px solid #e8e8e8}
.gc-reg-color>span{font-size:16px;line-height:22px;border-bottom:3px solid var(--selected-color,#262626);padding-inline:2px}
.gc-reg-color>svg{width:10px;height:10px;flex:none}
.gc-reg-host{height:448px;max-height:54dvh;overflow:auto;border:1px solid #d9d9d9;border-top:0;border-radius:0 0 6px 6px;background:#fff;scrollbar-width:thin}
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-content{min-height:100%!important;max-height:none!important;height:auto!important;overflow:visible!important;padding:16px!important;margin:0!important;outline:0!important;font:400 14px/24px var(--font-sans)!important;color:#262626!important;overflow-wrap:anywhere;box-sizing:border-box}
.gc-reg-content p{margin:0 0 16px}
.gc-reg-content>:last-child{margin-bottom:0}
.gc-reg-content table{width:100%;border-collapse:collapse;table-layout:fixed}
.gc-reg-content :is(td,th){border:1px solid #d9d9d9;padding:6px;vertical-align:top}
.gc-reg-content :is(td,th)>p:last-child{margin-bottom:0}
.gc-reg-content :is(ol,ul){padding-left:24px}
.gc-reg-content li p{margin-bottom:4px}
.gc-reg-content img{max-width:100%}
.gc-reg-html-content{position:relative;contain:layout style;isolation:isolate}
.gc-reg-html-content pre{max-width:100%;overflow:auto;white-space:pre-wrap}
/* Keep original image positions for lossless collection; photos are operated
   only in the related-photo pane, not duplicated as buttons in the text. */
.gc-reg-html-content .gc-reg-inline-photo{display:none!important}
.gc-reg-host:focus-within{border-color:#1677ff;box-shadow:0 0 0 2px #e6f4ff}
/* Embedded style fields stay compact; version registration retains its 448px workspace. */
html body.gc-drawer-ui-peter #newStyleBackdrop.gc-du-approved .gc-reg-host{height:240px;max-height:none}
html body.gc-drawer-ui-peter #updateBackdrop.gc-du-approved:has(#ei-sku) .gc-reg-host{height:280px;max-height:46dvh}
.gc-reg-legacy-note{font:400 12px/20px var(--font-sans);color:#ad6800;margin-bottom:8px}
.gc-reg-colors{box-sizing:border-box;position:fixed;z-index:22010;width:244px;padding:12px;background:#fff;color:#262626;border:1px solid #d9d9d9;border-radius:8px;box-shadow:0 6px 16px #0000001f;font:400 14px/22px var(--font-sans)}
.gc-reg-color-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.gc-reg-color-head small{font-size:12px;color:#595959}
.gc-reg-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gc-reg-swatches button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:40px;min-width:0;padding:4px;border:1px solid transparent;border-radius:6px;background:transparent;cursor:pointer}
.gc-reg-swatches button>span{display:flex;align-items:center;justify-content:center;width:100%;height:28px;border-radius:4px;background:var(--swatch);color:#fff;font:400 16px/22px var(--font-sans)}
.gc-reg-swatches button[aria-pressed=false]>span{font-size:0}
.gc-reg-swatches button:hover{border-color:#d9d9d9;background:#f5f5f5}
.gc-reg-swatches button[aria-pressed=true]{border-color:#1677ff;background:#e6f4ff}
.gc-reg-colors .gc-reg-color-default{display:block;width:100%;min-height:36px;margin-top:12px;padding:10px 0 0;border:0;border-top:1px solid #f0f0f0;border-radius:0;background:transparent;color:#595959;text-align:left;font:400 14px/22px var(--font-sans);cursor:pointer}
.gc-reg-colors .gc-reg-color-default:hover{color:#1677ff}
.gc-reg-colors button:focus-visible{outline:2px solid #91caff;outline-offset:2px}
@media(max-width:900px){
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-tool,html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .gc-registration-editor .gc-reg-toolbar .gc-reg-size{height:44px!important;min-height:44px!important;min-width:44px!important}
.gc-reg-swatches button{height:44px}.gc-reg-colors .gc-reg-color-default{min-height:44px}
}
@media(max-width:620px){
html body.gc-drawer-ui-peter :is(#newStyleBackdrop,#updateBackdrop).gc-du-approved .rich-editor.gc-registration-editor{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
.gc-reg-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:230px}.gc-reg-host{height:360px;max-height:none}
}
