.gfv-3d{--bg:#fff;--surface:#f3f3f3;--line:#d4d4d4;--text:#222;--muted:#666;width:100%;max-width:none!important;font:14px/1.5 system-ui,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;overflow:hidden}.gfv-3d *{box-sizing:border-box}.gfv-3d.dark{--bg:#171717;--surface:#252525;--line:#494949;--text:#eee;--muted:#bbb}.gfv-3d header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;gap:16px;border-bottom:1px solid var(--line)}.gfv-3d header strong{font-size:19px}.gfv-3d small{display:block;color:var(--muted);font-size:12px}.gfv-3d button{font:inherit!important;line-height:1.3!important;padding:9px 12px!important;margin:0;border:1px solid var(--line)!important;border-radius:6px;background:var(--bg)!important;color:var(--text)!important;cursor:pointer;box-shadow:none;min-height:36px}.gfv-3d button:hover{background:var(--surface)!important}.gfv-3d button:disabled{opacity:.4;cursor:default}.gfv-3d .toolbar,.gfv-3d .viewbar,.gfv-3d .exportbar{display:flex;flex-wrap:wrap;gap:6px}.gfv-3d .workspace{display:grid;grid-template-columns:330px minmax(0,1fr);height:780px;max-height:calc(100dvh - 150px);min-height:540px}.gfv-3d aside{display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--line);background:var(--bg)}.gfv-3d nav{display:flex;padding:10px 8px;gap:4px;border-bottom:1px solid var(--line)}.gfv-3d nav button{font-size:12px!important;padding:7px 8px!important;flex:1}.gfv-3d nav [aria-selected=true]{background:var(--text)!important;color:var(--bg)!important}.gfv-3d .editor-fields{padding:4px 18px 22px;overflow:auto;flex:1}.gfv-3d [hidden]{display:none!important}.gfv-3d h2{font-size:16px;margin:18px 0 10px;color:var(--text)}.gfv-3d h3{font-size:14px;margin:16px 0 8px;color:var(--text)}.gfv-3d p{font-size:13px;margin:10px 0}.gfv-3d label{display:flex;flex-direction:column;gap:4px;font-size:12px;margin:10px 0;color:var(--text)}.gfv-3d input:not([type=checkbox]):not([type=range]):not([type=color]),.gfv-3d select{font:14px system-ui!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:5px!important;width:100%!important;min-width:0;background:var(--bg)!important;color:var(--text)!important;height:36px!important;line-height:normal!important;box-shadow:none!important}.gfv-3d input[type=file]{height:auto!important;font-size:11px!important;padding:6px!important}.gfv-3d .fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.gfv-3d input[type=checkbox]{appearance:auto!important;width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;padding:0!important;margin:0!important;position:static!important;transform:none!important;accent-color:#555}.gfv-3d input[type=checkbox]:before,.gfv-3d input[type=checkbox]:after{display:none!important}.gfv-3d .check{flex-direction:row;align-items:center;gap:8px}.gfv-3d .hint{color:var(--muted);font-size:12px}.gfv-3d .generate{border-top:1px solid var(--line);padding:12px 18px}.gfv-3d .primary{width:100%;background:var(--text)!important;color:var(--bg)!important;font-weight:600}.gfv-3d .save-status{font-size:11px;color:var(--muted);display:block;text-align:center;margin-top:5px}.gfv-3d main{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--surface)}.gfv-3d .viewbar{padding:10px;border-bottom:1px solid var(--line);align-items:center;background:var(--bg)}.gfv-3d .viewbar button{font-size:12px!important}.gfv-3d .viewbar label{margin:0 6px;flex-direction:row;align-items:center}.gfv-3d input[type=range]{width:90px}.gfv-3d .viewport{position:relative;flex:1;min-height:250px;overflow:hidden}.gfv-3d canvas{display:block;touch-action:none}.gfv-3d .empty{position:absolute;top:45%;width:100%;text-align:center;color:#555;pointer-events:none}.gfv-3d .status{font-size:12px;padding:9px 14px;background:var(--bg);border-top:1px solid var(--line)}.gfv-3d .warnings{max-height:125px;overflow:auto;padding:0 14px;background:var(--bg)}.gfv-3d .warnings p{padding-left:10px;border-left:2px solid #999;font-size:12px}.gfv-3d .exportbar{padding:12px;background:var(--bg);border-top:1px solid var(--line)}.gfv-3d .exportbar button{font-size:12px!important}.gfv-3d footer{display:flex;justify-content:space-between;gap:12px;padding:10px 18px;font-size:11px;border-top:1px solid var(--line);color:var(--muted);background:var(--bg)}.gfv-3d .color{flex-direction:row;justify-content:space-between;align-items:center}.gfv-3d input[type=color]{width:45px;height:28px;border:1px solid var(--line);padding:2px}.gfv-3d .piece{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.gfv-3d .piece label{flex-direction:row;align-items:center;gap:4px;margin:0}.gfv-3d .piece.selected button{border-color:var(--text)!important;font-weight:700}.gfv-3d:fullscreen,.gfv-3d.expanded{width:100vw!important;height:100dvh!important;border:0;border-radius:0;max-width:none!important}.gfv-3d:fullscreen .workspace,.gfv-3d.expanded .workspace{height:calc(100dvh - 118px);max-height:none}.gfv-3d.expanded{position:fixed;inset:0;z-index:999999}@media(min-width:1200px){body:has(.gfv-3d) .entry-content:has(.gfv-3d){max-width:none!important;width:100%!important}}@media(max-width:800px){.gfv-3d header{flex-direction:column;align-items:flex-start;padding:12px}.gfv-3d .workspace{grid-template-columns:280px minmax(0,1fr);max-height:none;height:750px}.gfv-3d footer span{display:none}}@media(max-width:600px){.gfv-3d .workspace{display:flex;flex-direction:column;height:auto;min-height:0}.gfv-3d aside{border-right:0;border-bottom:1px solid var(--line);height:420px;flex-shrink:0}.gfv-3d main{height:640px;flex-shrink:0}.gfv-3d:fullscreen{overflow:auto}.gfv-3d:fullscreen .workspace{height:auto}.gfv-3d .toolbar button{font-size:12px!important;padding:7px!important}.gfv-3d .viewport{min-height:300px}}

.gfv-3d .font-picker{border:1px solid var(--line);border-radius:6px;margin:8px 0 16px;background:var(--bg)}.gfv-3d .font-picker summary{padding:9px 10px;cursor:pointer;font-size:12px}.gfv-3d .font-current{display:block;font-size:30px;line-height:1.5;overflow-wrap:anywhere;margin-top:4px}.gfv-3d .font-grid{display:grid;grid-template-columns:1fr;gap:6px;padding:8px;max-height:330px;overflow:auto}.gfv-3d .font-grid button{text-align:left;min-width:0}.gfv-3d .font-label{display:block;font:11px system-ui;color:var(--muted)}.gfv-3d .font-sample{display:block;font-size:29px;line-height:1.65;overflow-wrap:anywhere}.gfv-3d .font-grid button[aria-pressed=true]{border:2px solid var(--text)!important;background:var(--surface)!important}.gfv-3d .generate .check{margin:0 0 9px;font-size:12px}

.gfv-3d [data-rattan-gap]{display:block;padding:8px;border:1px solid var(--line);border-radius:5px;font-size:13px;background:var(--surface)}

.gfv-3d .pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 16px}.gfv-3d .pattern-grid button{padding:5px!important;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px!important}.gfv-3d .pattern-grid svg{width:100%;height:60px;display:block;border-radius:3px}.gfv-3d .pattern-grid [aria-pressed=true]{border:2px solid var(--text)!important;background:var(--surface)!important}.gfv-3d .align-buttons{display:flex;gap:5px;margin:8px 0}.gfv-3d .align-buttons button{font-size:11px!important;flex:1;padding:7px!important}.gfv-3d .thin-status{background:var(--bg);color:var(--text);border-top:1px solid var(--line);padding:8px 14px;font-size:12px}.gfv-3d .thin-status:before{content:"";display:inline-block;width:9px;height:9px;background:#ff4136;border-radius:50%;margin-right:6px}

.gfv-3d .measure{min-width:0;margin:10px 0}.gfv-3d .measure label{margin:0 0 6px}.gfv-3d .measure input[data-range]{display:block;width:100%;height:22px;margin:0;padding:0;accent-color:#666;cursor:ew-resize}.gfv-3d .favorite-actions{display:flex;gap:6px;margin:8px 0}.gfv-3d .favorite-actions button{flex:1}

.gfv-3d .font-filters{padding:0 8px;display:grid;grid-template-columns:1fr;gap:0}.gfv-3d .font-filters label{margin:6px 0}.gfv-3d .font-empty{padding:0 10px}.gfv-3d .font-grid{max-height:300px}

.gfv-3d .text-block{border:1px solid var(--line);border-radius:7px;margin:10px 0;background:var(--bg)}.gfv-3d .text-block>summary{padding:10px;cursor:pointer;font-weight:600;font-size:13px}.gfv-3d .text-block>summary span{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px;overflow-wrap:anywhere}.gfv-3d .text-block-body{padding:0 10px 12px}.gfv-3d .text-block .fields{gap:0 8px}.gfv-3d .text-gizmo{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}.gfv-3d .text-gizmo svg{position:absolute;inset:0;pointer-events:none;overflow:visible}.gfv-3d .text-gizmo polygon,.gfv-3d .text-gizmo line{stroke:#222;stroke-width:1.2;stroke-dasharray:5 3;filter:drop-shadow(0 0 1px white)}.gfv-3d .text-gizmo button{position:absolute;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%);width:26px;height:26px;min-height:26px!important;padding:0!important;font-size:15px!important;line-height:24px!important;box-shadow:0 0 0 1px #fff;cursor:nwse-resize;background:var(--bg)!important;color:var(--text)!important}.gfv-3d .text-gizmo .handle-width{cursor:ew-resize}.gfv-3d .text-gizmo .handle-height{cursor:ns-resize}.gfv-3d .text-gizmo .handle-rotate{cursor:grab;border-radius:50%}

.gfv-3d nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gfv-3d nav button{min-width:0}
.gfv-3d .catalog-stage{position:absolute;inset:0;overflow:auto;padding:24px;background:var(--surface);z-index:3}.gfv-3d .catalog-heading,.gfv-3d .catalog-note{max-width:1120px;margin-left:auto;margin-right:auto}.gfv-3d .catalog-heading h2{font-size:24px;margin:0 0 5px;letter-spacing:-.4px}.gfv-3d .catalog-heading>p{margin:0 0 16px;color:var(--muted)}.gfv-3d .catalog-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.gfv-3d .catalog-filters button{display:flex;align-items:center;gap:9px;font-size:12px!important}.gfv-3d .catalog-filters span{font-size:10px;opacity:.7}.gfv-3d .catalog-filters [aria-pressed=true],.gfv-3d .catalog-detail-views [aria-pressed=true]{background:var(--text)!important;color:var(--bg)!important}
.gfv-3d .catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;max-width:1120px;margin:0 auto;align-items:stretch}.gfv-3d .catalog-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;background:var(--bg);display:flex;flex-direction:column;box-shadow:0 3px 10px #00000008}.gfv-3d .catalog-card.selected{outline:2px solid var(--text);outline-offset:-2px}.gfv-3d .catalog-card .catalog-image{position:relative;display:block;width:100%;border:0!important;border-radius:0;padding:0!important;background:#f1efec!important;overflow:hidden}.gfv-3d .catalog-card img{width:100%;height:auto;aspect-ratio:800/620;object-fit:contain;display:block;background:#f1efec;transition:transform .2s}.gfv-3d .catalog-image:hover img{transform:scale(1.035)}.gfv-3d .catalog-image>span{position:absolute;bottom:12px;left:12px;border-radius:14px;background:#ffffffeb;color:#222;font-size:10px;padding:5px 9px;box-shadow:0 1px 4px #0001}.gfv-3d .catalog-card-body{padding:16px;display:flex;flex-direction:column;flex:1}.gfv-3d .catalog-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.gfv-3d .catalog-tags span,.gfv-3d .catalog-detail-badge{font-size:10px;background:var(--surface);border-radius:4px;padding:3px 6px;color:var(--muted)}.gfv-3d .catalog-card-title{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.gfv-3d .catalog-card h3{font-size:17px;margin:0;line-height:1.25}.gfv-3d [data-catalog-active]{font-size:10px;border:1px solid var(--line);padding:2px 6px;border-radius:12px}.gfv-3d .catalog-card p{color:var(--muted);margin:8px 0 12px;flex:1;font-size:12px}.gfv-3d .catalog-card small{margin-bottom:12px;font-size:11px}.gfv-3d .catalog-card [data-catalog-use]{width:100%;font-weight:600}.gfv-3d .catalog-card [aria-pressed=true]{background:var(--text)!important;color:var(--bg)!important}.gfv-3d .catalog-note{margin-top:20px!important}.gfv-3d .catalog-current{border-left:3px solid var(--text);padding:8px 10px;background:var(--surface);font-weight:600}
.gfv-3d .catalog-detail{width:1120px;max-width:calc(100vw - 32px);max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--text);overflow:auto;box-shadow:0 16px 80px #0004}.gfv-3d .catalog-detail::backdrop{background:#0009}.gfv-3d .catalog-detail-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:1}.gfv-3d .catalog-detail h2{font-size:21px;margin:3px 0}.gfv-3d .catalog-detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:24px;padding:20px}.gfv-3d [data-catalog-detail-image]{display:block;width:100%;height:auto;aspect-ratio:800/620;object-fit:contain;background:#f1efec;border-radius:8px}.gfv-3d .catalog-detail-views{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.gfv-3d .catalog-detail-views button{font-size:12px!important}.gfv-3d .catalog-detail-info>p{font-size:13px}.gfv-3d .catalog-detail-info .primary{margin-top:16px}.gfv-3d .catalog-swatches{display:flex;flex-wrap:wrap;gap:8px 12px;margin:12px 0}.gfv-3d .catalog-swatches span{display:flex;align-items:center;gap:5px;font-size:11px}.gfv-3d .catalog-swatches i{display:inline-block;width:16px;height:16px;border:1px solid #999;border-radius:50%;flex-shrink:0}
.gfv-3d.catalog-mode .viewbar,.gfv-3d.catalog-mode .exportbar,.gfv-3d.catalog-mode .warnings,.gfv-3d.catalog-mode .thin-status,.gfv-3d.catalog-mode .generate{display:none!important}.gfv-3d.catalog-mode .viewport canvas,.gfv-3d.catalog-mode .viewport .text-gizmo,.gfv-3d.catalog-mode .viewport .empty{visibility:hidden}.gfv-3d.catalog-mode.catalog-busy .generate{display:block!important}
@media(max-width:1050px){.gfv-3d .catalog-stage{padding:18px}.gfv-3d .catalog-grid{gap:14px}}@media(max-width:700px){.gfv-3d .catalog-detail-layout{grid-template-columns:minmax(0,1fr);padding:14px;gap:8px}.gfv-3d .catalog-detail{max-width:calc(100vw - 20px);max-height:94dvh}.gfv-3d .catalog-detail-heading{padding:12px 14px}.gfv-3d .catalog-detail h2{font-size:18px}}@media(max-width:600px){.gfv-3d.catalog-mode aside{height:420px}.gfv-3d.catalog-mode main{height:800px}.gfv-3d .catalog-heading h2{font-size:21px}.gfv-3d .catalog-grid{grid-template-columns:minmax(0,1fr)}.gfv-3d .catalog-card{max-width:470px;width:100%;margin:auto}}
@media(prefers-reduced-motion:reduce){.gfv-3d .catalog-card img{transition:none}}

.gfv-3d .catalog-error{border-left:3px solid var(--text);padding:10px;background:var(--surface);font-weight:600}

.gfv-3d .hanger-gizmo{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}.gfv-3d .hanger-gizmo svg{position:absolute;inset:0;pointer-events:none;overflow:visible}.gfv-3d .hanger-gizmo line{stroke:#555;stroke-width:1;stroke-dasharray:5 4;filter:drop-shadow(0 0 1px white)}.gfv-3d .hanger-gizmo .hanger-spacing{stroke:#222;stroke-dasharray:3 3}.gfv-3d .hanger-gizmo button{position:absolute;transform:translate(-50%,-50%);width:29px;height:29px;min-height:29px!important;border-radius:50%;padding:0!important;font-size:13px!important;font-weight:700;pointer-events:auto;touch-action:none;cursor:move;background:var(--text)!important;color:var(--bg)!important;border:2px solid var(--bg)!important;box-shadow:0 0 0 1px var(--text)}.gfv-3d .hanger-gizmo button:focus-visible{outline:3px solid #999;outline-offset:3px}.gfv-3d .hang-readout{font-size:12px;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);overflow-wrap:anywhere}.gfv-3d.catalog-mode .viewport .hanger-gizmo{visibility:hidden}

.gfv-3d [data-hang-manual] input:disabled{opacity:.55}

.gfv-3d .text-options{border-top:1px solid var(--line);margin:8px 0 0}.gfv-3d .text-options>summary{padding:10px 0;cursor:pointer;font-size:12px;font-weight:600}.gfv-3d .text-options>summary span{display:inline;font-size:10px;margin-left:5px;font-weight:400;color:var(--muted)}.gfv-3d .text-options-body{padding:0 0 10px}.gfv-3d .text-source{border:1px solid var(--line);border-radius:5px;padding:8px;margin-top:10px}.gfv-3d .text-source summary{font-size:11px;cursor:pointer}.gfv-3d .text-panel-help{padding:9px;background:var(--surface);border-left:3px solid var(--text);margin:10px 0}.gfv-3d .text-panel-help button{font-size:11px!important;margin:3px 0;width:100%}.gfv-3d .custom-font-grid{padding:0 8px;display:grid;gap:6px;max-height:220px;overflow:auto}.gfv-3d .custom-font-grid button{display:block;min-width:0;text-align:left}.gfv-3d .custom-font-grid [aria-pressed=true]{border:2px solid var(--text)!important;background:var(--surface)!important}.gfv-3d .text-gizmo .handle-move{cursor:move;border-radius:50%}

.gfv-3d .font-current,.gfv-3d .font-sample{font-variant-ligatures:none;font-feature-settings:'liga' 0,'calt' 0,'clig' 0}
.gfv-3d .text-quick{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:10px;margin:10px 0}.gfv-3d .text-quick h3{margin:0 0 8px;font-size:12px}.gfv-3d .text-shortcuts{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.gfv-3d .text-shortcuts button{font-size:11px!important;flex:1}.gfv-3d .text-editing{padding:8px;border-left:3px solid var(--text);background:var(--surface);font-size:12px}.gfv-3d .text-selected{border-color:var(--text);box-shadow:inset 3px 0 var(--text)}.gfv-3d .text-reset{font-size:11px!important;margin-top:10px}.gfv-3d .mode-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0}.gfv-3d .mode-samples button{padding:5px!important;min-width:0;font-size:10px!important}.gfv-3d .mode-samples svg{display:block;width:100%;height:44px}.gfv-3d .mode-samples [aria-pressed=true]{outline:2px solid var(--text);outline-offset:-2px}.gfv-3d input[aria-invalid=true]{border:2px solid var(--text)!important;box-shadow:0 0 0 1px var(--text)}.gfv-3d :focus-visible{outline:2px solid var(--text);outline-offset:2px}
.gfv-3d .catalog-recovery{margin:10px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.gfv-3d .catalog-recovery button,.gfv-3d .catalog-load-warning button{display:block;width:100%;text-align:center}.gfv-3d .catalog-load-warning{border-left:3px solid var(--text);padding:10px;background:var(--surface);font-size:12px;margin:10px 0}
.gfv-3d .base-section{position:absolute;inset:0;z-index:4;padding:14px;background:var(--bg);color:var(--text);overflow:auto}.gfv-3d .base-section h3{margin:0 0 8px}.gfv-3d .base-section svg{display:block;width:100%;height:calc(100% - 80px);min-height:240px}
.gfv-3d .measure-preview{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}.gfv-3d .measure-preview p{position:absolute;top:6px;left:8px;right:8px;width:fit-content;max-width:calc(100% - 16px);margin:0;padding:6px 9px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:5px;font-size:11px}.gfv-3d .measure-preview svg{width:100%;height:100%;overflow:hidden}.gfv-3d .measure-preview line,.gfv-3d .measure-preview rect{stroke:#222;stroke-width:1;fill:none;filter:drop-shadow(0 0 1px white)}.gfv-3d .measure-preview .guide{stroke-dasharray:6 4;opacity:.7}.gfv-3d .measure-preview .selection{stroke-dasharray:3 3;stroke-width:1.5}.gfv-3d .measure-preview text{font:11px system-ui;fill:#111;stroke:#fff;stroke-width:3px;paint-order:stroke;stroke-linejoin:round}.gfv-3d .viewbar .check{width:auto;display:flex;align-items:center;gap:5px;font-size:11px;margin:0}.gfv-3d .assembly-check{border:1px solid var(--line);padding:8px;margin:10px 0;border-radius:6px}.gfv-3d .assembly-check summary{cursor:pointer;font-weight:600;margin-bottom:8px}.gfv-3d [data-assembly-report] button{font-size:10px!important;padding:5px!important;min-height:26px;margin:3px!important}
.gfv-3d .decor-add{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.gfv-3d .decor-add button{flex:1;font-size:11px!important}.gfv-3d [data-decor-fields]{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.gfv-3d [data-decor-count]{font-weight:600}
.gfv-3d .measure input[data-decor-range]{display:block;width:100%;height:22px;margin:0;padding:0;accent-color:#666;cursor:ew-resize}
.gfv-3d [data-shape-owner]{border:1px solid var(--line);padding:8px;margin:8px 0;min-width:0}.gfv-3d [data-shape-owner] legend{font-size:11px}.gfv-3d .measure-preview .cut-plane{stroke:#111;stroke-width:2;stroke-dasharray:8 3;filter:drop-shadow(0 0 2px white)}

/* GFV workspace: compact controls, stable preview and contextual editing. */
.gfv-3d .workspace-tools{padding:10px 14px;border-bottom:1px solid var(--line);background:var(--bg);flex:none;max-height:45%;overflow:auto}.gfv-3d .workspace-tools label{font-size:11px;margin:3px 0}.gfv-3d .menu-tools{display:flex;gap:10px;align-items:center}.gfv-3d .menu-tools>label{flex:1}.gfv-3d .context-controls>summary{cursor:pointer;font-weight:600;font-size:12px;padding:9px 0}.gfv-3d [data-context-title]{font-weight:400;color:var(--muted);display:block}.gfv-3d [data-context-fields]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gfv-3d [data-context-fields] label{min-width:0}.gfv-3d [data-context-fields] input,.gfv-3d [data-context-fields] select{width:100%;min-width:0}.gfv-3d [data-option-results]{max-height:190px;overflow:auto;display:grid;gap:4px;margin:6px 0}.gfv-3d [data-option-results] button{text-align:left;font-size:11px!important}.gfv-3d .control-group{border:0!important;margin:8px 0!important;padding:0!important}.gfv-3d .control-group>summary{background:var(--surface);border-radius:7px;padding:13px 12px!important;cursor:pointer;font-size:13px!important;font-weight:600;min-height:44px;list-style:none;display:flex;align-items:center;gap:8px}.gfv-3d .control-group>summary::before{content:'▸';font-size:14px}.gfv-3d .control-group[open]>summary::before{content:'▾'}.gfv-3d .control-group>summary small{margin-left:auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;color:var(--muted)}.gfv-3d .control-body,.gfv-3d .control-group>.text-options-body{padding:10px 4px!important}.gfv-3d.essential-controls [data-advanced]{display:none!important}.gfv-3d .fixed-history{display:flex;gap:6px;margin-bottom:6px}.gfv-3d .fixed-history button{flex:1}.gfv-3d .kc-name-row{display:flex;gap:6px;align-items:center}.gfv-3d .kc-name-row label{flex:1;min-width:0}.gfv-3d .kc-name-row button{min-width:32px}.gfv-3d [data-kc-samples]{max-height:280px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.gfv-3d [data-kc-samples] button{min-width:0}.gfv-3d [data-kc-samples] .font-sample{font-size:20px;overflow:hidden;display:block}.gfv-3d [data-pane=keychain]>.measure{margin-top:12px}.gfv-3d .keychain-catalog{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.gfv-3d .keychain-catalog h3{margin:0 0 5px}.gfv-3d .keychain-catalog p{font-size:12px;margin:0;color:var(--muted)}.gfv-3d .split-labels{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden}.gfv-3d .split-labels span{position:absolute;transform:translate(-50%,-50%);padding:3px 7px;border:1px solid var(--text);background:var(--bg);color:var(--text);border-radius:12px;font:600 11px system-ui;box-shadow:0 1px 5px #0003}.gfv-3d.split-preview-active .text-gizmo,.gfv-3d.split-preview-active .hanger-gizmo{display:none!important}.gfv-3d [data-split-report]{max-height:200px;overflow:auto}.gfv-3d.keychain-mode nav [data-tab=panel],.gfv-3d.keychain-mode nav [data-tab=mount]{display:none!important}.gfv-3d .keychain-catalog button{flex-shrink:0}.gfv-3d .workspace-tools [hidden],.gfv-3d [data-kc-samples][hidden]{display:none!important}
@media(max-width:600px){.gfv-3d .workspace-tools{max-height:40%;padding:8px}.gfv-3d .keychain-catalog{flex-direction:column;align-items:stretch}.gfv-3d .menu-tools{gap:5px}.gfv-3d .generate .fixed-history button{font-size:11px!important;padding:5px!important}.gfv-3d aside{min-height:480px}}

.gfv-3d .context-controls{padding:0 10px;margin:0 0 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.gfv-3d [data-context-title]{display:inline}.gfv-3d .menu-preferences{margin:4px 0}.gfv-3d .menu-preferences>summary{cursor:pointer;font-size:11px;padding:5px 0}.gfv-3d .workspace-tools{max-height:32%;}.gfv-3d .workspace-tools>label{margin:0 0 4px}.gfv-3d button.primary:hover:not(:disabled){background:var(--text)!important;color:var(--bg)!important;filter:brightness(.9)}.gfv-3d [data-context][hidden]{display:none!important}

.gfv-3d.split-preview-active .exportbar{display:none!important}

@media(max-width:600px){.gfv-3d aside{height:600px;min-height:600px}.gfv-3d nav{flex-wrap:nowrap!important;overflow-x:auto;flex-shrink:0;min-height:54px}.gfv-3d nav button{flex:0 0 auto;white-space:nowrap}.gfv-3d .workspace-tools{max-height:none;flex-shrink:0}.gfv-3d .editor-fields{min-height:160px}.gfv-3d.catalog-mode aside{height:600px}}

/* Product browsing does not change the active project. */
.gfv-3d .catalog-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 14px}.gfv-3d .catalog-products button{text-align:left;padding:14px 16px!important;font-size:16px!important;font-weight:650}.gfv-3d .catalog-products small{margin-top:5px;font-size:11px;font-weight:400;color:inherit;opacity:.8}.gfv-3d .catalog-products [aria-pressed=true]{background:var(--text)!important;color:var(--bg)!important;border-color:var(--text)!important}.gfv-3d .catalog-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:0 0 18px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.gfv-3d .catalog-resume>div{min-width:0}.gfv-3d .catalog-resume small{font-size:10px;text-transform:uppercase;letter-spacing:.05em}.gfv-3d .catalog-resume strong{display:block;font-size:14px;margin:4px 0}.gfv-3d .catalog-resume p{font-size:12px;margin:4px 0 0;color:var(--muted);overflow-wrap:anywhere}.gfv-3d .catalog-resume button{flex-shrink:0;font-weight:600}.gfv-3d [data-keychain-active]{font-size:10px;border:1px solid var(--line);padding:2px 6px;border-radius:12px}.gfv-3d.catalog-mode .workspace-tools{display:none!important}
@media(max-width:600px){.gfv-3d .catalog-products{gap:7px}.gfv-3d .catalog-products button{font-size:14px!important;padding:12px!important}.gfv-3d .catalog-resume{flex-direction:column;align-items:stretch;gap:10px}.gfv-3d .catalog-resume button{width:100%}}

.gfv-3d .symbol-gizmo{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden}.gfv-3d .symbol-gizmo svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.gfv-3d .symbol-gizmo polygon{stroke:var(--text);stroke-width:1.3;stroke-dasharray:5 3;filter:drop-shadow(0 0 1px white)}.gfv-3d .symbol-gizmo button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;width:29px;height:29px;min-height:29px!important;padding:0!important;font-size:16px!important;background:var(--bg)!important;color:var(--text)!important;border:1px solid var(--text)!important;box-shadow:0 0 0 1px var(--bg);cursor:nwse-resize}.gfv-3d .symbol-gizmo [data-symbol-handle=ne],.gfv-3d .symbol-gizmo [data-symbol-handle=sw]{cursor:nesw-resize}.gfv-3d.catalog-mode .symbol-gizmo,.gfv-3d.split-preview-active .symbol-gizmo{display:none!important}.gfv-3d .symbol-gizmo[hidden]{display:none!important}

/* Catalog landing page: regular document flow, no editor sidebar. */
.gfv-3d.catalog-mode{overflow:visible;scroll-margin-top:36px}.gfv-3d.catalog-mode>.workspace{display:block;height:auto!important;max-height:none!important;min-height:0}.gfv-3d.catalog-mode aside{display:none!important}.gfv-3d.catalog-mode main{display:block;height:auto!important;min-height:0;overflow:visible}.gfv-3d.catalog-mode .viewport{display:block;height:auto;min-height:0;overflow:visible}.gfv-3d.catalog-mode .catalog-stage{position:relative;inset:auto;width:100%;height:auto;max-height:none;overflow:visible;padding:16px 24px 24px}.gfv-3d.catalog-mode .viewport>canvas,.gfv-3d.catalog-mode .viewport>.empty,.gfv-3d.catalog-mode .measure-preview,.gfv-3d.catalog-mode .hanger-gizmo,.gfv-3d.catalog-mode .base-section{display:none!important}.gfv-3d.catalog-mode .status{display:none!important}.gfv-3d.catalog-mode>header{padding:8px 20px;justify-content:flex-end}.gfv-3d.catalog-mode>header>div:first-child,.gfv-3d.catalog-mode>header [data-action=undo],.gfv-3d.catalog-mode>header [data-action=redo]{display:none!important}.gfv-3d .catalog-home-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.gfv-3d .catalog-home-title h2{margin:0}.gfv-3d [data-home-continue]{font-size:12px!important;flex-shrink:0}.gfv-3d .home-project-options{margin:0 0 16px;font-size:12px}.gfv-3d .home-project-options>summary{cursor:pointer;color:var(--muted);padding:4px 0;max-width:fit-content}.gfv-3d [data-home-project-options]{max-width:640px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--bg);margin-top:6px}.gfv-3d .home-busy{display:none;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--bg);padding:10px 12px;margin-bottom:12px;border-radius:6px;font-size:12px}.gfv-3d.catalog-busy .home-busy{display:flex}.gfv-3d.catalog-mode:fullscreen,.gfv-3d.catalog-mode.expanded{overflow:auto!important}.gfv-3d.catalog-mode:fullscreen .workspace,.gfv-3d.catalog-mode.expanded .workspace{height:auto!important;max-height:none!important}.gfv-3d .viewbar [data-action=back-catalog]{font-weight:600}
@media(max-width:600px){.gfv-3d.catalog-mode .catalog-stage{padding:14px 12px}.gfv-3d.catalog-mode>header{padding:7px 12px}.gfv-3d .catalog-home-title{gap:8px;align-items:flex-start}.gfv-3d .catalog-home-title h2{font-size:20px}.gfv-3d [data-home-continue]{font-size:11px!important;padding:7px!important}.gfv-3d .home-busy{flex-wrap:wrap}}
.gfv-3d .home-project-options{max-width:1120px;margin:0 auto 16px}.gfv-3d .home-busy{max-width:1120px;margin:0 auto 12px}

/* Compact controls and GFV adaptive browser width, without requiring fullscreen. */
.gfv-3d .text-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:6px;grid-column:1/-1}.gfv-3d .text-shortcuts button{width:100%;min-width:0;min-height:40px;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;hyphens:none;writing-mode:horizontal-tb!important;font-size:12px!important;line-height:1.35!important;padding:9px!important}.gfv-3d .workspace{grid-template-columns:clamp(320px,27vw,390px) minmax(0,1fr)}.gfv-3d .catalog-heading,.gfv-3d .catalog-grid,.gfv-3d .home-project-options,.gfv-3d .home-busy{max-width:none}.gfv-3d .editor-fields{min-width:0}.gfv-3d:fullscreen,.gfv-3d.expanded{margin:0!important}.gfv-3d .control-group>summary{overflow-wrap:normal;word-break:normal}
@media(max-width:1000px) and (min-width:601px){.gfv-3d .workspace{grid-template-columns:300px minmax(0,1fr)}.gfv-3d .editor-fields{padding-inline:12px}.gfv-3d .text-block-body{padding-inline:8px}.gfv-3d .viewbar button,.gfv-3d .exportbar button{padding:8px!important}.gfv-3d .fields{column-gap:8px}}
@media(max-width:600px){.gfv-3d .text-shortcuts button{min-height:44px;font-size:13px!important}.gfv-3d input:not([type=checkbox]):not([type=range]):not([type=color]),.gfv-3d select{font-size:16px!important}.gfv-3d .control-group>summary{min-height:44px}.gfv-3d .editor-fields{min-height:180px}.gfv-3d .workspace{grid-template-columns:minmax(0,1fr)}}
.gfv-3d{box-sizing:border-box!important}

/* Thermoform tools remain separate from letter mounting and text controls. */
.gfv-3d.thermoform-mode nav [data-tab=text],.gfv-3d.thermoform-mode nav [data-tab=panel],.gfv-3d.thermoform-mode nav [data-tab=mount],.gfv-3d.thermoform-mode nav [data-tab=decor],.gfv-3d.thermoform-mode nav [data-tab=split]{display:none}
.gfv-3d .catalog-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.gfv-3d [data-thermoform-catalog] img{width:100%;height:240px;object-fit:contain}

.gfv-3d [data-tf-model][hidden]{display:none!important}.gfv-3d .reference-measures{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px}.gfv-3d .reference-measures dt{color:var(--muted)}.gfv-3d .reference-measures dd{margin:0}.gfv-3d .thermoform-experiments{grid-column:1/-1}.gfv-3d .thermoform-experiments>summary{padding:16px;cursor:pointer}.gfv-3d .thermoform-experiments>.catalog-grid{margin-top:16px}

.gfv-3d [data-tf-review-active] input[type="range"]{width:100%;min-width:0}.gfv-3d [data-tf-review-active] .check{display:flex;align-items:center;gap:8px}

/* Status, guidance and downloads beside the preview; native disclosure stays keyboard accessible. */
.gfv-3d main{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);min-height:0}
.gfv-3d main>.viewbar{grid-column:1/-1;grid-row:1}
.gfv-3d main>.viewport{grid-column:1;grid-row:2;min-width:0;min-height:0}
.gfv-3d .information-panel{grid-column:2;grid-row:2;width:44px;min-width:0;min-height:0;overflow:hidden;background:var(--bg);border-left:1px solid var(--line)}
.gfv-3d .information-panel[open]{width:280px}
.gfv-3d .information-panel>summary{cursor:pointer;padding:12px;min-height:44px;font-size:12px;font-weight:600;list-style:revert;overflow-wrap:normal}
.gfv-3d .information-panel:not([open])>summary{writing-mode:vertical-rl;min-height:220px}
.gfv-3d .information-body{height:calc(100% - 48px);overflow:auto;overscroll-behavior:contain;min-width:0;padding-bottom:10px}
.gfv-3d .information-body .status{border-top:0;overflow-wrap:anywhere}
.gfv-3d .information-body .warnings{max-height:none;overflow:visible}
.gfv-3d .information-body .exportbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.gfv-3d .information-body .exportbar button{width:100%;white-space:normal}
.gfv-3d.catalog-mode .information-panel{display:none!important}
@media(max-width:1100px){
.gfv-3d main{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(250px,1fr) auto}
.gfv-3d .information-panel,.gfv-3d .information-panel[open]{grid-column:1;grid-row:3;width:100%;max-height:260px;border-left:0;border-top:1px solid var(--line)}
.gfv-3d .information-panel:not([open])>summary{writing-mode:horizontal-tb;min-height:44px}
.gfv-3d .information-body{height:auto;max-height:205px}
.gfv-3d .information-body .exportbar{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
}
@media(max-width:600px){.gfv-3d:not(.catalog-mode) main{height:auto;grid-template-rows:auto 420px auto}.gfv-3d .information-panel>summary{min-height:44px}.gfv-3d .information-body .exportbar{grid-template-columns:minmax(0,1fr)}}

.gfv-3d .information-panel[open]{display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0}.gfv-3d .information-panel>summary{flex:0 0 auto}.gfv-3d .information-body{flex:1 1 0;height:0;min-height:0;overflow-y:scroll;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:var(--muted) var(--surface);padding-bottom:18px}.gfv-3d .information-body::-webkit-scrollbar{width:12px}.gfv-3d .information-body::-webkit-scrollbar-track{background:var(--surface)}.gfv-3d .information-body::-webkit-scrollbar-thumb{background:var(--muted);border:3px solid var(--surface);border-radius:8px}@media(max-width:1100px){.gfv-3d .information-panel[open]{height:260px;max-height:260px}.gfv-3d .information-body{max-height:none}}
/* Native details may wrap its content in an anonymous box; bound the scroll area explicitly. */
.gfv-3d .information-panel{position:relative}.gfv-3d .information-panel[open]{display:block}.gfv-3d .information-panel[open]>summary{height:48px;min-height:48px;overflow:auto}.gfv-3d .information-panel[open]>.information-body{position:absolute;inset:48px 0 0;display:block;height:auto;max-height:none;min-height:0;overflow-y:scroll}.gfv-3d .information-panel:not([open])>.information-body{display:none}

.gfv-3d [data-catalog-hidden="true"]{display:none!important}

.gfv-3d .catalog-admin-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.gfv-3d .catalog-admin-badges span{border:1px solid currentColor;border-radius:20px;padding:3px 9px;font-size:12px}.gfv-3d .catalog-admin-badges [data-status=featured]{color:#735212;background:#fff3ca}.gfv-3d .catalog-admin-badges [data-status=test]{color:#774817;background:#fff1df}.gfv-3d .catalog-admin-badges [data-status=approved]{color:#205b43;background:#e4f4ea}.gfv-3d .startup-controls{display:grid;gap:10px;margin:14px 0;padding:12px;border:1px solid var(--line,#bbb);border-radius:8px}.gfv-3d .startup-controls select{max-width:100%;width:100%}

/* v0.45: compact selection controls and readable category tabs. */
.gfv-3d nav button{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;flex:1 0 auto;min-width:max-content}.gfv-3d nav{display:flex;flex-wrap:wrap;gap:6px}.gfv-3d .selection-tools{position:absolute;top:42px;left:10px;right:10px;z-index:4;display:flex;flex-wrap:wrap;align-items:center;gap:5px;max-width:600px;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:6px;box-shadow:0 2px 6px #0002}.gfv-3d .selection-tools strong{font-size:12px;margin-inline:5px;flex:1 1 130px}.gfv-3d .selection-tools button{font-size:12px!important;padding:7px!important}.gfv-3d.catalog-mode .selection-tools,.gfv-3d .selection-tools[hidden]{display:none!important}.gfv-3d [data-model-availability]:empty{display:none}.gfv-3d [data-pane=thermoform]>.control-group{margin-block:10px}
.gfv-3d .export-summary{flex-basis:100%;width:100%;font-size:12px;margin-bottom:6px}.gfv-3d .export-summary summary{cursor:pointer;padding:6px}.gfv-3d .export-summary p{padding:6px;line-height:1.5;margin:0}

.gfv-3d .tfs-preview{width:100%;max-width:240px;aspect-ratio:1;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;margin-block:8px}.gfv-3d .tfs-preview:empty{display:none}.gfv-3d .tfs-preview svg{width:100%;height:100%;display:block}.gfv-3d [data-tfs-error]{color:#b3261e;font-weight:600}
/* v0.50: tools and real operation stages stay above the canvas. */
.gfv-3d .viewbar{align-content:start;gap:7px;flex-wrap:wrap}
.gfv-3d .viewbar .selection-tools{position:static;inset:auto;box-shadow:none;max-width:100%;margin:0;padding:4px 8px;flex-wrap:wrap}
.gfv-3d .operation-progress{display:flex;align-items:center;gap:8px;flex:1 1 360px;min-width:0;padding:5px 8px;border:1px solid var(--border,#ccc);border-radius:6px}
.gfv-3d .operation-progress[hidden]{display:none}.gfv-3d .operation-progress progress{width:90px;min-width:60px;accent-color:#228b72}.gfv-3d [data-operation-text]{font-size:12px;overflow-wrap:anywhere}.gfv-3d [data-operation-time]{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
.gfv-3d .point-measure{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}.gfv-3d .point-measure button[aria-pressed=true]{background:#226c5a;color:white}.gfv-3d .editor-help{width:min(760px,90vw);max-height:85vh;overflow:auto;color:inherit;background:var(--bg,#fff);border:1px solid #999;border-radius:10px;padding:20px}.gfv-3d .editor-help::backdrop{background:#0007}.gfv-3d .help-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.gfv-3d .editor-help nav{display:flex;flex-wrap:wrap;gap:6px}.gfv-3d .editor-help nav button[aria-pressed=true]{background:#226c5a;color:#fff}.gfv-3d .editor-help article{line-height:1.65}.gfv-3d .editor-help li{margin:9px 0}.gfv-3d .editor-help svg{max-width:100%;height:auto}.gfv-3d .fabrication-settings .actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:650px){.gfv-3d .operation-progress{flex-basis:100%}.gfv-3d .viewbar .selection-tools{width:100%}.gfv-3d .operation-progress progress{width:60px}}
.gfv-3d .editor-help nav{flex-wrap:wrap!important;overflow:visible;min-height:0}.gfv-3d .editor-help nav button{flex:1 1 auto;min-width:0;font-size:12px!important}.gfv-3d .control-group>button{margin:8px}
/* v0.51 catalog and SVG guide */
.gfv-3d .svg-help-lead{border-left:4px solid #29856e;padding:10px 12px;background:var(--surface)}.gfv-3d .svg-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.gfv-3d .svg-help-card{display:flex;flex-direction:column;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-top:3px solid #b14d42;border-radius:8px;background:var(--surface)}.gfv-3d .svg-help-card.accepted{border-top-color:#29856e}.gfv-3d .svg-help-card>svg{display:block;width:100%;height:140px;color:var(--text);object-fit:contain}.gfv-3d .svg-help-card figcaption{font-size:12px}.gfv-3d .svg-help-card figcaption p{margin:6px 0 0;line-height:1.6}.gfv-3d .svg-help-workflow{display:grid;grid-template-columns:1fr;gap:0}.gfv-3d .svg-inline-help{margin:12px 0;border:1px solid var(--line);padding:10px;border-radius:7px;max-width:100%;overflow-wrap:anywhere}.gfv-3d .svg-inline-help>summary{cursor:pointer;font-weight:600;padding:4px}.gfv-3d .svg-inline-help .svg-help-grid{grid-template-columns:1fr}.gfv-3d .editor-help [data-svg-help-open]{display:none}.gfv-3d .catalog-3d-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;align-items:center}.gfv-3d .catalog-3d-tools span{font-size:12px;color:var(--muted)}.gfv-3d .catalog-3d-host{width:100%;min-width:0;background:#eeece8;border-radius:8px;overflow:hidden}.gfv-3d .catalog-3d-host canvas{display:block;width:100%;touch-action:none}.gfv-3d .catalog-3d-host[hidden]{display:none}.gfv-3d [data-thermoform-catalog]>.catalog-card>.catalog-image{width:100%}.gfv-3d .nut-clearance{margin:10px 0;border-top:1px solid var(--line);padding-top:10px}.gfv-3d .tf-catalog-detail img{height:auto;object-fit:contain}
@media(max-width:600px){.gfv-3d .svg-help-grid{grid-template-columns:1fr}.gfv-3d .svg-help-card{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center}.gfv-3d .svg-help-card>svg{height:90px}.gfv-3d .svg-help-card figcaption{min-width:0}}
.gfv-3d .editor-help .help-heading{position:sticky;top:-20px;z-index:3;background:var(--bg);padding:10px 0}
.gfv-3d [data-tf-detail-image]{display:block;width:100%;height:auto;aspect-ratio:800/620;object-fit:contain;background:#f1efec;border-radius:8px}.gfv-3d .catalog-detail-layout>div{min-width:0}.gfv-3d .catalog-3d-tools span{overflow-wrap:anywhere;min-width:0}.gfv-3d .catalog-detail-heading>div{min-width:0}

.gfv-3d .nut-clearance{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:8px}.gfv-3d .nut-clearance h4{margin:0 0 10px}.gfv-3d .nut-clearance>label:not(.check){display:block}.gfv-3d .nut-clearance [data-nut-target]{display:block;max-width:130px;margin:6px 0 10px}.gfv-3d .nut-clearance>button{width:100%;white-space:normal;margin-bottom:10px}.gfv-3d .nut-clearance .check{display:flex;align-items:flex-start;gap:6px;margin:8px 0}.gfv-3d .nut-clearance [hidden]{display:none!important}.gfv-3d [data-nut-result][data-kind]{padding:9px;border-left:4px solid #218968;font-weight:600}.gfv-3d [data-nut-result][data-kind=near],.gfv-3d [data-nut-result][data-kind=potential]{border-color:#c78517}.gfv-3d [data-nut-result][data-kind=collision]{border-color:#d6322c}

.gfv-3d .stale-preview{position:absolute;left:12px;bottom:14px;z-index:6;max-width:calc(100% - 24px);margin:0;padding:10px 14px;border:2px solid #bd741d;border-radius:6px;background:#fff2cd;color:#513100;font-weight:600;pointer-events:none;box-sizing:border-box}
.gfv-3d .generation-feedback{padding:12px;overflow-wrap:anywhere}.gfv-3d .generation-feedback details{margin:10px 0}.gfv-3d .generation-feedback summary{cursor:pointer;font-weight:600}.gfv-3d .generation-feedback dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.gfv-3d .generation-feedback dd{margin:0}.gfv-3d [data-generation-error]{border-left:4px solid #c44;padding:10px;background:rgba(190,65,65,.10)}.gfv-3d .generation-feedback li{margin:8px 0}.gfv-3d .generation-feedback p{font-size:13px}

.gfv-3d .coordinate-axes{position:absolute;right:12px;bottom:12px;width:100px;height:100px;z-index:5;pointer-events:none;filter:drop-shadow(0 1px 1px #fff)}.gfv-3d .tf-menu-modes{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 0}.gfv-3d .tf-menu-modes small{flex-basis:100%}.gfv-3d .tf-menu-modes button[aria-pressed=true]{background:var(--text);color:var(--bg)}.gfv-3d .tf-basic [data-tf-advanced]{display:none!important}.gfv-3d .stale-preview{max-width:calc(100% - 130px)}@media(max-width:600px){.gfv-3d .coordinate-axes{width:76px;height:76px;right:6px;bottom:6px}.gfv-3d .stale-preview{max-width:calc(100% - 94px);font-size:12px;padding:6px}}

.gfv-3d .context-help-source{display:none!important}.gfv-3d .context-help-anchor{position:relative}.gfv-3d .context-help-anchor>label{padding-right:28px}.gfv-3d .context-help-trigger{position:absolute;right:0;top:0;width:24px!important;height:24px;min-height:24px;padding:0!important;border-radius:50%;font-weight:800!important;line-height:22px!important;font-size:15px!important;color:var(--text);background:var(--surface);z-index:1}.gfv-3d .context-help-popup{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 20px);max-height:65vh;overflow:auto;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:0;box-shadow:0 5px 24px #0005;z-index:10000;font:14px/1.5 system-ui,sans-serif}.gfv-3d .context-help-popup header{padding:10px 12px;gap:12px;font-size:14px;align-items:flex-start}.gfv-3d .context-help-popup header strong{font-size:14px}.gfv-3d .context-help-popup header button{padding:0 8px!important}.gfv-3d [data-context-help-text]{padding:0 12px 8px}.gfv-3d [data-context-help-text] p{margin:10px 0}.gfv-3d .parameter-changed{border-left:3px solid #c28517;padding-left:7px}.gfv-3d .group-reset{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin:0 0 10px}.gfv-3d .group-reset button{font-size:12px!important;padding:5px 7px!important}.gfv-3d .coordinate-axes{pointer-events:auto}.gfv-3d [data-axis-view]{cursor:pointer}.gfv-3d [data-axis-view]:focus{outline:2px solid #888}.gfv-3d .release-summary,.gfv-3d .comparison-tools{padding:12px;border-bottom:1px solid var(--line)}.gfv-3d .release-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;font-size:12px}.gfv-3d .release-summary dd{margin:0}.gfv-3d .comparison-tools button{font-size:12px!important;padding:6px 8px!important;margin:3px 2px}.gfv-3d .comparison-reference .measure-preview,.gfv-3d .comparison-reference .selection-tools,.gfv-3d .comparison-reference .point-measure{display:none!important}.gfv-3d .critical-focus{outline:3px solid #d33;outline-offset:3px}

.gfv-3d .comparison-banner{position:absolute;top:12px;left:12px;z-index:7;background:var(--bg);color:var(--text);border:2px solid #b78721;border-radius:6px;padding:8px;max-width:calc(100% - 24px);font-size:13px;margin:0}

.gfv-3d .context-help-popup header{flex-direction:row!important;justify-content:space-between}.gfv-3d :is(label,h3,h4,summary).context-help-anchor{padding-right:28px}.gfv-3d span.context-help-anchor{display:inline-block;padding-right:30px}

.gfv-3d .context-help-readout{display:block;font-size:12px;color:var(--muted);margin:4px 0 10px}

.gfv-3d .sector-review{border-bottom:1px solid var(--line);padding:10px!important}.gfv-3d .sector-steps,.gfv-3d .sector-modes{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0}.gfv-3d .sector-review button{font-size:12px!important;padding:6px 8px!important}.gfv-3d .sector-modes [aria-pressed=true]{background:var(--text);color:var(--bg)}.gfv-3d.sector-basic [data-review-advanced]{display:none!important}.gfv-3d .sector-report{padding:12px;border-bottom:1px solid var(--line)}.gfv-3d .sector-report p{font-size:12px;margin:7px 0;overflow-wrap:anywhere}.gfv-3d .catalog-search{max-width:540px;margin:12px 0}.gfv-3d .catalog-search-hidden{display:none!important}.gfv-3d .catalog-view-tools{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.gfv-3d .catalog-view-tools small{flex-basis:100%}

.gfv-3d .sector-review>summary{font-weight:600;cursor:pointer;margin-bottom:7px}

.gfv-3d nav [hidden],.gfv-3d [data-qr-catalog][hidden],.gfv-3d [data-qr-image][hidden]{display:none!important}.gfv-3d .qr-image{max-width:220px;margin:12px auto}.gfv-3d .qr-image svg{display:block;width:100%;background:white}.gfv-3d [name=qrContent]{width:100%;resize:vertical;box-sizing:border-box}.gfv-3d [data-qr-readout]{font-size:12px;line-height:1.5}.gfv-3d [data-qr-readout].error{color:#b42318}.gfv-3d .qr-catalog-art{border:12px solid #e9d59d;background:#fff;max-width:180px;text-align:center;padding:15px;margin:15px auto;color:#171717;box-shadow:0 10px 0 #39876c}.gfv-3d .qr-catalog-art span{display:block;font-size:100px;line-height:1}.gfv-3d .qr-catalog-art strong{font-size:13px;display:block}.gfv-3d .catalog-products{flex-wrap:wrap}

.gfv-3d .qr-catalog-art svg{width:100%;display:block}

.gfv-3d .variation-row{display:flex;flex-wrap:wrap;gap:5px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0}.gfv-3d .variation-row label{flex:1;min-width:120px;overflow-wrap:anywhere}.gfv-3d [data-queue-progress]{width:100%}.gfv-3d [data-queue-results]{max-height:180px;overflow:auto;font-size:12px;padding-left:20px}.gfv-3d [data-qr-kinds][hidden]{display:none!important}.gfv-3d .qr-image small{display:block;text-align:center;overflow-wrap:anywhere}.gfv-3d .qr-image>div{margin-bottom:10px}.gfv-3d [data-variation-list]{max-height:280px;overflow:auto}.gfv-3d [data-variation-list] button{font-size:11px!important}

.gfv-3d .qr-shape-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:6px 0 12px}.gfv-3d .qr-shape-presets button{display:flex;gap:8px;align-items:center;text-align:left;font-size:11px!important;padding:8px!important}.gfv-3d .qr-shape-presets svg{height:46px;width:35px;flex-shrink:0}.gfv-3d .qr-shape-presets [aria-pressed=true]{outline:2px solid var(--text)}.gfv-3d [data-qr-corner]{border:1px solid var(--line);padding:7px;margin:10px 0}.gfv-3d .qr-layout-preview{margin:12px 0}.gfv-3d .qr-layout-preview svg{display:block;width:100%;max-height:300px}.gfv-3d [data-qr-arch-only][hidden],.gfv-3d [data-qr-corners-only][hidden],.gfv-3d [data-qr-top-corners][hidden],.gfv-3d [data-qr-icon-fields][hidden],.gfv-3d [data-qr-custom-icon][hidden],.gfv-3d [data-qr-plate-brand][hidden],.gfv-3d [data-qr-legacy-brand][hidden]{display:none!important}

.gfv-vector-dialog{position:fixed;inset:0;z-index:2147483646;background:#0009;display:grid;place-items:center;padding:12px;color:#222;font:14px/1.5 system-ui}.gfv-vector-dialog>section{background:white;border-radius:12px;padding:20px;max-width:980px;width:100%;max-height:94vh;overflow:auto}.gfv-vector-dialog label{display:inline-flex;flex-direction:column;margin:6px;gap:4px}.gfv-vector-dialog input,.gfv-vector-dialog select,.gfv-vector-dialog button{font:inherit;padding:7px;border:1px solid #bbb;border-radius:5px;background:white;color:#222}.gfv-vector-dialog input[type=checkbox]{width:auto}.gfv-vector-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gfv-vector-columns figure{margin:0;min-width:0}.gfv-vector-columns figure>div{height:280px;overflow:auto;border:1px solid #ccc;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0/16px 16px}.gfv-vector-columns canvas,.gfv-vector-columns svg{display:block;width:100%;height:auto}.gfv-vector-actions{display:flex;gap:8px;flex-wrap:wrap}.gfv-vector-dialog [hidden]{display:none!important}@media(max-width:520px){.gfv-vector-dialog>section{padding:12px}.gfv-vector-columns{grid-template-columns:1fr}.gfv-vector-columns figure>div{height:180px}}

.gfv-3d .stale-preview{pointer-events:auto;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gfv-3d .stale-preview button{padding:5px 10px;white-space:nowrap}.gfv-3d.preview-stale .viewport>canvas{opacity:.65}

.gfv-3d .qr-selected-editor{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin:8px 0}.gfv-3d .qr-selected-editor strong{display:block}.gfv-3d [data-qr-quick-fields]{display:flex;gap:8px;flex-wrap:wrap}.gfv-3d [data-qr-quick-fields] label{flex:1;min-width:100px}.gfv-3d [data-qr-reset-group]{margin-top:10px}.gfv-color-preview{height:280px;display:grid;place-items:center;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0/16px 16px;border:1px solid #ccc;overflow:hidden}.gfv-color-preview svg{width:100%;height:100%}.gfv-vector-dialog [data-c-palette]{display:flex;flex-wrap:wrap;gap:10px}.gfv-vector-dialog [data-c-palette] label{max-width:150px}
.gfv-3d .editor-access{background:var(--bg);padding:10px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px;min-width:0}.gfv-3d .editor-access>label{font-weight:600}.gfv-3d .access-search{display:flex;gap:6px;min-width:0}.gfv-3d .access-search input{min-width:0;flex:1}.gfv-3d .access-areas{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}.gfv-3d .access-areas button{font-size:12px!important;padding:7px!important;text-align:left}.gfv-3d [data-access-results]{display:grid;gap:4px;max-height:260px;overflow:auto;margin-top:7px}.gfv-3d [data-access-results] button{text-align:left}.gfv-3d [data-access-elements-list]{display:grid;gap:4px;max-height:240px;overflow:auto;padding:7px 0}.gfv-3d [data-access-piece]{text-align:left;display:flex;gap:8px;align-items:center}.gfv-3d [data-access-piece] span{width:13px;height:13px;flex-shrink:0;border:1px solid var(--line);border-radius:50%}.gfv-3d [data-access-piece][aria-pressed=true]{outline:2px solid var(--text);outline-offset:-2px}.gfv-3d .access-focus{outline:2px solid #198a68;outline-offset:3px;border-radius:4px}.gfv-3d button:focus-visible,.gfv-3d input:focus-visible,.gfv-3d select:focus-visible,.gfv-3d summary:focus-visible{outline:3px solid #168fbb!important;outline-offset:2px}.gfv-3d.access-essential [data-advanced],.gfv-3d.access-essential [data-review-advanced]{display:none!important}.gfv-3d .access-mobile-switch{display:none}.gfv-3d [data-op-palette]{display:flex;flex-wrap:wrap;gap:5px}.gfv-3d [data-opener-catalog]>article>img{width:100%;height:210px;object-fit:contain;background:#ededed}
@media(max-width:600px){.gfv-3d:not(.catalog-mode) .access-mobile-switch{display:flex;gap:6px;padding:8px;background:var(--bg);border-bottom:1px solid var(--line)}.gfv-3d .access-mobile-switch button{flex:1;min-height:44px}.gfv-3d .access-mobile-switch [aria-pressed=true]{outline:2px solid var(--text);outline-offset:-2px}.gfv-3d:not(.catalog-mode)[data-mobile-surface=model] aside{display:none}.gfv-3d:not(.catalog-mode)[data-mobile-surface=settings] main{display:none}.gfv-3d:not(.catalog-mode) aside{height:min(78vh,760px);min-height:450px}.gfv-3d:not(.catalog-mode)[data-mobile-surface=model] main{height:75vh;min-height:460px;grid-template-rows:auto minmax(280px,1fr) auto}.gfv-3d .access-areas button{min-height:44px;font-size:13px!important}}
/* Two-step catalog and shared SVG picker. */
.gfv-3d .catalog-source{display:none!important}.gfv-3d .catalog-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}.gfv-3d .catalog-products button{text-align:left;padding:0!important;overflow:hidden;border-radius:12px;box-shadow:0 2px 8px #0001}.gfv-3d .catalog-products img{display:block;width:100%;height:170px;object-fit:cover;background:#eee}.gfv-3d .catalog-products strong{display:block;font-size:18px;padding:12px 16px 2px}.gfv-3d .catalog-products small{padding:2px 16px 14px}.gfv-3d .catalog-browse-tools{margin:12px 0 18px}.gfv-3d .catalog-breadcrumb{display:flex;align-items:center;gap:8px;border:0;padding:0;background:none;margin-bottom:12px}.gfv-3d .catalog-search-row{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.gfv-3d .catalog-search-row label{display:block;min-width:150px;flex:1;margin:0}.gfv-3d .catalog-search-row label:first-child{flex:2;min-width:220px}.gfv-3d .catalog-search-row input,.gfv-3d .catalog-search-row select{width:100%;margin-top:5px}.gfv-3d .catalog-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.gfv-3d .catalog-model-grid .catalog-card{min-width:0}.gfv-3d .catalog-cover{width:100%;height:220px!important;display:block;background:#eeece8}.gfv-3d .catalog-media-kind{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:12px;background:#fff;color:#222;font-size:11px}.gfv-3d .catalog-image{position:relative}.gfv-3d .catalog-more{margin:8px 0 6px;width:100%}.gfv-3d .unified-catalog-dialog>header{display:flex;justify-content:space-between;padding:12px;gap:12px}.gfv-3d [data-unified-image]{width:100%;height:340px;object-fit:contain;background:#eee}.gfv-3d .catalog-gallery-thumbs{display:flex;flex-wrap:wrap;gap:6px}.gfv-3d [data-unified-technical],.gfv-3d [data-unified-use]{display:block;margin-top:12px;width:100%}.gfv-3d [data-unified-use]{font-weight:bold}.gfv-3d .gallery-pick{margin:0 0 10px}.gfv-3d .gfv-svg-gallery{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;width:min(960px,95vw);max-height:90vh;overflow:auto;padding:18px}.gfv-3d .gfv-svg-gallery::backdrop{background:#0008}.gfv-3d .gfv-svg-gallery>header{padding:0 0 10px;display:flex;justify-content:space-between}.gfv-3d .gallery-tools{display:flex;gap:12px;flex-wrap:wrap}.gfv-3d .gallery-tools label{flex:1;min-width:180px}.gfv-3d .gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gfv-3d .gallery-grid article{border:1px solid var(--line);padding:10px;min-width:0;border-radius:8px;display:flex;flex-direction:column}.gfv-3d .gallery-grid img{width:100%;height:120px;object-fit:contain;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0/16px 16px}.gfv-3d .gallery-grid p{font-size:12px}.gfv-3d .gallery-grid button{margin-top:auto}
@media(max-width:1250px){.gfv-3d .catalog-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.gfv-3d .catalog-products,.gfv-3d .catalog-model-grid,.gfv-3d .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.gfv-3d .catalog-products,.gfv-3d .catalog-model-grid{grid-template-columns:minmax(0,1fr)}.gfv-3d .catalog-cover{height:250px!important}.gfv-3d .catalog-products img{height:160px}.gfv-3d .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gfv-3d .gallery-grid article{padding:7px}.gfv-3d .catalog-search-row label{min-width:130px}.gfv-3d [data-unified-image]{height:240px}}
.gfv-3d .catalog-breadcrumb button{width:auto;flex:0 0 auto}.gfv-3d .catalog-products img{object-fit:contain}
/* Composição e limpeza vetorial usam os mesmos controles no desktop e no celular. */
.gfv-3d [data-composition] [data-comp-elements]{display:grid;gap:6px}.gfv-3d [data-composition] [data-comp-elements]>.check{display:flex;align-items:center;gap:6px}.gfv-3d [data-composition] [data-comp-elements] button{width:auto;margin-left:auto}.gfv-3d [data-composition] fieldset{border:1px solid var(--line);border-radius:8px;padding:10px;margin:8px 0;min-width:0}.gfv-3d [data-composition] output{display:block}
.gfv-vector-editor{box-sizing:border-box;width:min(980px,96vw);max-height:94vh;overflow:auto;padding:20px;border:1px solid #aaa;border-radius:12px;color:#222;background:#fff;font:14px/1.5 system-ui}.gfv-vector-editor::backdrop{background:#0009}.gfv-vector-editor h2{font-size:21px;margin:0 0 10px}.gfv-vector-editor label{display:flex;align-items:center;gap:8px;margin:8px 0}.gfv-vector-editor input,.gfv-vector-editor button{font:inherit;border:1px solid #aaa;border-radius:5px;padding:8px;color:inherit;background:inherit}.gfv-vector-editor button{cursor:pointer;margin:4px}.gfv-vector-editor button:disabled{opacity:.45;cursor:wait}.gfv-vector-editor input[type=checkbox]{width:18px;height:18px}.vector-edit-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(150px,1fr);gap:16px}.vector-edit-layout>[data-ve-canvas]{position:relative;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0/16px 16px;min-height:240px}.vector-edit-layout [data-ve-canvas]>svg{display:block;width:100%;height:430px;cursor:crosshair}.vector-edit-layout [data-ve-list]{max-height:430px;overflow:auto}.vector-edit-original{position:absolute;inset:0;opacity:.4;pointer-events:none}.vector-edit-original>svg{width:100%;height:100%}.gfv-vector-editor output{display:block;min-height:1.5em;font-weight:bold}.gfv-vector-editor [data-ve-region]{cursor:pointer}.gfv-vector-editor [data-ve-status]{min-height:2em}
@media(max-width:600px){.vector-edit-layout{grid-template-columns:minmax(0,1fr)}.vector-edit-layout [data-ve-canvas]>svg{height:280px}.vector-edit-layout [data-ve-list]{max-height:150px}.gfv-vector-editor{padding:12px}}

body:has(.gfv-3d.dark) .gfv-vector-editor{background:#252525;color:#eee;border-color:#777}body:has(.gfv-3d.dark) .gfv-vector-editor input,body:has(.gfv-3d.dark) .gfv-vector-editor button{border-color:#888}

.gfv-3d .gfv-guide-focus{outline:3px solid #e7a42b;outline-offset:3px}.gfv-3d .guide-task{display:flex;align-items:center;gap:8px;width:100%;text-align:left;margin:6px 0}.gfv-3d .guide-task svg{flex:0 0 100px;width:100px;height:44px}

.gfv-3d.lettercraft-mode [data-pane=text]>:not([data-lettercraft]){display:none!important}.gfv-3d [data-lettercraft] .color{display:flex;justify-content:space-between;align-items:center}.gfv-3d [data-lettercraft] output{display:block;overflow-wrap:anywhere}
