/* The established studio layout and colours remain in the child theme style.css. */
.gwd-flight-studio [hidden]{display:none!important}
.gwd-flight-studio .gwd-fe-server-status,.gwd-flight-studio .gwd-fe-server-notice{font-size:.85rem;line-height:1.5;color:var(--theme-palette-color-7);margin:.75rem 0 0}
.gwd-flight-studio .gwd-fe-server-status{min-height:1.5em}
.gwd-flight-studio .gwd-fe-actions-row{flex-wrap:wrap}
.gwd-flight-studio .gwd-fe-actions-row a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.gwd-flight-studio .gwd-fe-btn:disabled{opacity:.5;cursor:default}
.gwd-flight-studio[aria-busy=true] .gwd-fe-canvas{opacity:.7}
.gwd-flight-studio .gwd-fe-grid{grid-template-columns:minmax(0,1fr) 380px}
.gwd-flight-studio .gwd-fe-canvas-pane,.gwd-flight-studio .gwd-fe-controls-pane,.gwd-flight-studio .gwd-fe-canvas-wrap,.gwd-flight-studio .gwd-fe-legend{min-width:0}
.gwd-flight-studio .gwd-fe-legend{flex-wrap:wrap}
.gwd-flight-studio .gwd-fe-legend-item{min-width:0;max-width:100%}
.gwd-flight-studio .gwd-fe-legend-item span{overflow-wrap:anywhere}
.gwd-flight-studio .gwd-fe-actions-row{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:980px){.gwd-flight-studio .gwd-fe-grid{grid-template-columns:minmax(0,1fr)}.gwd-flight-studio .gwd-fe-block-header{flex-wrap:wrap;gap:.35rem}}

/* A single contextual selector; the original studio controls retain their layout. */
.gwd-fe-instance-editor { padding: 16px; background: var(--gwd-color-tdl-bg); border-radius: var(--gwd-radius-sm); }
.gwd-fe-instance-editor label { display: block; font-size: 14px; font-weight: 600; color: var(--theme-palette-color-8); margin-bottom: 8px; }
.gwd-fe-instance-editor p { font-size: 13px; line-height: 1.5; color: var(--theme-palette-color-7); margin: 8px 0 0; }
.gwd-fe-instance-editor select { width: 100%; font: inherit; font-size: 16px; min-height: 44px; background: var(--theme-palette-color-5); color: var(--theme-palette-color-8); border: 1px solid var(--theme-palette-color-6); border-radius: var(--gwd-radius-sm); }
.gwd-fe-instance-editor :focus-visible { outline: 2px solid var(--theme-palette-color-1); outline-offset: 3px; }
.gwd-fe-plastic-row[hidden], .gwd-fe-instance-editor[hidden] { display: none !important; }
.gwd-fe-plastic-row[data-instance-plastic] { width: 100%; font: inherit; color: var(--theme-palette-color-8); background: var(--theme-palette-color-5); text-align: left; min-height: 44px; }
.gwd-fe-plastic-row[data-instance-plastic][aria-pressed=true] { border-color: var(--theme-palette-color-1); }
.gwd-flight-studio .gwd-fe-share { font-size: 14px; margin: 16px 0 0; }
.gwd-flight-studio .gwd-fe-share a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }

/* Shared DiscFinder navigation links on canonical profiles use the Blocksy theme palette. */
#gwd-disc-page .gwd-disc-tab-link { color: var(--theme-palette-color-8); min-height: 44px; display: inline-flex; align-items: center; }
#gwd-disc-page .gwd-disc-tab-link:hover { color: var(--theme-palette-color-1); }
#gwd-disc-page .gwd-disc-tab-link:focus-visible { outline: 3px solid var(--theme-palette-color-1); outline-offset: 2px; }
