.photo-appearance-layer,.shay-presentation-documents{border-top:1px solid #294652;padding:10px 0;color:#d9e7ed}
.photo-appearance-layer summary,.shay-presentation-documents summary{cursor:pointer;font-weight:650;min-height:30px;line-height:30px}
.photo-appearance-layer label{display:flex;gap:8px;align-items:center;min-height:40px;font-size:12px}
.photo-appearance-layer input{min-width:20px;min-height:20px;accent-color:#8adac8}
.photo-appearance-layer p,.shay-presentation-documents p{font-size:11px;line-height:1.5;color:#b7ccd4;margin:7px 0}
.photo-appearance-badge{position:absolute;top:10px;left:12px;z-index:8;max-width:210px;padding:4px 8px;border:1px solid #708873;background:#10251ee8;border-radius:6px;color:#d1ebd6;font-size:10px;pointer-events:none}
.photo-appearance-badge[hidden],.photo-appearance-layer[hidden],.shay-presentation-documents[hidden]{display:none!important}
.shay-presentation-documents nav{display:flex;gap:8px;flex-wrap:wrap}
.shay-presentation-documents a{display:inline-flex;align-items:center;min-height:40px;padding:7px 10px;border:1px solid #477887;border-radius:6px;color:#b9efff;text-decoration:none;font-size:12px}
.shay-presentation-documents a:focus-visible,.photo-appearance-layer summary:focus-visible{outline:2px solid #8be0ff;outline-offset:3px}
@media(max-width:600px){.photo-appearance-badge{top:6px;left:8px;max-width:175px;font-size:9px}.photo-appearance-layer label{min-height:44px}.shay-presentation-documents a{min-height:44px}}

/* Keep the material disclosure below the studio identity and frame controls.
   Reserve the next row only while this disclosure is actually shown. */
.model-first #workspace-frame.studio-workspace #photo-appearance-badge{top:128px;left:16px;max-width:min(210px,calc(100% - 32px));box-sizing:border-box;line-height:1.2;overflow-wrap:anywhere}
.model-first #workspace-frame.studio-workspace:has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:160px}
@media(min-width:761px){.model-first #workspace-frame.studio-workspace.layers-is-open #photo-appearance-badge{left:334px;max-width:calc(100% - 350px)}}
@media(max-width:760px){
 .model-first #workspace-frame.studio-workspace #photo-appearance-badge{top:100px;left:12px;max-width:calc(100% - 24px);padding:2px 6px;font-size:9px}
 .model-first #workspace-frame.studio-workspace:has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:126px}
 .model-first #workspace-frame.studio-workspace:is(.suite-tools-open,.cad-library-open)>#viewer-main>#photo-appearance-badge{top:6px}
 .model-first #workspace-frame.studio-workspace:is(.suite-tools-open,.cad-library-open,.region-is-open):has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:34px}
 .model-first #workspace-frame.studio-workspace.compact-viewport.layers-is-open #photo-appearance-badge{top:58px}
}
@media(max-height:520px) and (min-width:761px){
 .model-first #workspace-frame.studio-workspace #photo-appearance-badge{top:112px;left:12px}
 .model-first #workspace-frame.studio-workspace.layers-is-open #photo-appearance-badge{left:334px}
 .model-first #workspace-frame.studio-workspace:has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:144px}
}

/* CAD's existing draft badge has its own row before the photo disclosure. */
.model-first #workspace-frame.studio-workspace:has(.layer-warning:not([hidden])) #photo-appearance-badge{top:148px}
.model-first #workspace-frame.studio-workspace:has(.layer-warning:not([hidden])):has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:180px}
@media(max-width:760px){
 .model-first #workspace-frame.studio-workspace:has(.layer-warning:not([hidden])) #photo-appearance-badge{top:146px}
 .model-first #workspace-frame.studio-workspace:has(.layer-warning:not([hidden])):has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:174px}
 .model-first #workspace-frame.studio-workspace.layers-is-open:has(.layer-warning:not([hidden])) #photo-appearance-badge{top:132px}
 .model-first #workspace-frame.studio-workspace.layers-is-open:has(.layer-warning:not([hidden])):has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:62px}
 .model-first #workspace-frame.studio-workspace:is(.suite-tools-open,.cad-library-open):has(.layer-warning:not([hidden])) #photo-appearance-badge{top:6px}
 .model-first #workspace-frame.studio-workspace:is(.suite-tools-open,.cad-library-open,.region-is-open):has(.layer-warning:not([hidden])):has(#photo-appearance-badge:not([hidden])) .inspection-canvas-legend{top:34px}
 .model-first #workspace-frame.studio-workspace.region-is-open:has(.layer-warning:not([hidden])) #photo-appearance-badge{top:100px}
 .model-first #workspace-frame.studio-workspace.compact-viewport.layers-is-open:has(.layer-warning:not([hidden])) #photo-appearance-badge{top:87px}
}
