.mobile-settings-toolbar{display:none}
body .editor-help,body .editor-extras{margin:16px 0 0;padding:12px 0;border:0;border-top:1px solid #e3eaea;border-radius:0;background:transparent;font-size:13px}
body .editor-help summary,body .editor-extras>summary{cursor:pointer;color:#526e74;font-size:13px;font-weight:500}
body .editor-file-hint{font-size:11px;color:#60777a;margin:5px 0 12px}
body .controls-scroll .editor-help p{font-size:12px;line-height:1.5}
body .controls-scroll .editor-help .photo-examples{margin:12px 0}
body .controls-heading{padding:14px 22px}
body .controls-heading h1,body .controls-heading h2{font-size:18px;margin:0}
body .preview>#lighting-status,body .workspace .model-meta,body .workspace .rotate-hint,body .workspace .preview-pill{display:none}
body .controls-scroll .end-colours{border:0;padding:0}
body .controls-scroll .end-colours legend,body .controls-scroll .end-colours>p{display:none}
body .controls-scroll .editor-extras .draft-tools{margin-top:10px}
body .controls-scroll [role=alert]:empty{display:none}
/* Keep view controls outside the rendered model, including on desktop. */
.preview-stage{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:8px;flex:1;min-height:0;min-width:0}
body.bauble-studio .preview-stage #viewer,body.studio-page .preview-stage #canvas{height:100%;min-height:0;min-width:0}
body.bauble-studio .preview-stage .view-actions,body.studio-page .preview-stage .view-buttons{position:static;transform:none;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:5px;margin:0;padding:5px;max-width:none;white-space:normal;border-radius:12px;background:#fff;box-shadow:none;overflow:auto}
body .preview-stage .view-actions button,body .preview-stage .view-buttons button{min-height:44px;padding:8px 5px;font-size:12px;border-radius:7px;background:#edf3f3;color:#173f46}
body .preview-stage .view-buttons button.selected{background:#173f46;color:#fff}
body.bauble-studio .preview-stage .light-switch{flex-direction:column;justify-content:center;gap:2px;font-size:11px;margin:0;text-align:center;min-height:44px}
@media(max-width:760px){
  .preview-stage{grid-template-columns:minmax(0,1fr) 76px;gap:4px}
  body.studio-page .preview-stage{grid-template-columns:minmax(0,1fr) 88px}
  body.bauble-studio .preview-stage .view-actions,body.studio-page .preview-stage .view-buttons{padding:3px;gap:3px;justify-content:stretch}
  body .preview-stage .view-actions button,body .preview-stage .view-buttons button{min-height:32px;padding:5px 3px;font-size:11px;line-height:1.2}
  body.studio-page .preview-stage .view-buttons{display:grid;grid-template-columns:1fr 1fr;align-content:start}
  body.studio-page .preview-stage #explode{grid-column:1/-1}
  body.bauble-studio .preview-stage .light-switch{font-size:10px;min-height:40px}
  body.studio-page,body.bauble-studio{height:100dvh;min-height:0;overflow:hidden;padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}
  body.studio-page>main.studio-layout,body.bauble-studio>main{flex:1;min-height:0;height:auto;grid-template-rows:minmax(0,44%) minmax(0,1fr)}
  body.studio-page .workspace,body.bauble-studio .preview{padding:6px 10px;overflow:hidden}
  body.studio-page .workspace #canvas,body.bauble-studio .preview #viewer{min-height:0;flex:1}
  body.studio-page .view-top,body.bauble-studio .preview h1{margin:0 0 4px}
  body.bauble-studio .preview h1{font-size:14px}
  body.bauble-studio #lighting-status{display:none}
  body.bauble-studio #status{font-size:11px;margin:4px 0 0}
  body.studio-page .model-meta{padding:3px 0;font-size:10px}
  .mobile-settings-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 14px;background:#e8f0ee;flex:none;font-size:14px}
  .mobile-settings-toolbar button{background:white;color:#173f46;border:1px solid #bdcece;border-radius:7px;padding:8px 10px;min-height:40px;font-size:12px}
  .mobile-settings-toolbar strong{margin-right:auto;font-size:13px}
  .mobile-settings-toolbar button:disabled{cursor:default;opacity:.45}
  body .design-tabs{padding:0 8px}
  body .design-tabs button{min-height:46px;padding:10px 4px;font-size:14px}
  body .controls-scroll{flex:1;padding:0 16px 24px;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch}
  body .controls-scroll .design-journey{display:none}
  body .controls-scroll>[role=tabpanel]{padding-top:4px}
  body .controls-scroll input:not([type=range]):not([type=checkbox]),body .controls-scroll select,body .controls-scroll textarea{font-size:16px}
  body .controls-scroll .draft-tools{margin-top:24px;border-top:1px solid #dce5e5;padding-top:12px}
  body .mobile-purchase{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;margin:0;padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #dce5e5;border-radius:0;background:#fff;box-shadow:0 -3px 16px #173f460b}
  body .mobile-purchase>p,body .mobile-purchase .eyebrow,body .mobile-purchase .price span{display:none}
  body .mobile-purchase strong,body .mobile-purchase .price{font-size:16px;margin:0}
  body .mobile-purchase #review{min-height:44px;padding:10px 14px;font-size:13px}
  body .mobile-purchase #review-status{font-size:10px;line-height:1.2;margin:2px 0 0;max-width:210px}
  body.preview-expanded>main.studio-layout,body.preview-expanded.bauble-studio>main{grid-template-rows:minmax(0,66%) minmax(0,1fr)}
  body.preview-collapsed>main.studio-layout,body.preview-collapsed.bauble-studio>main{grid-template-rows:0 minmax(0,1fr)}
  body.preview-collapsed .workspace,body.preview-collapsed .preview{visibility:hidden;padding:0}
}
/* Clear actions and comfortable touch targets without explanatory paragraphs. */
body .controls-scroll input[type=file]::file-selector-button{font:inherit;font-weight:650;padding:12px 16px;border:0;border-radius:9px;background:#173d43;color:#fff;cursor:pointer;margin-right:10px;min-height:44px}
body .controls-scroll label{line-height:1.35}
body .controls-scroll input[type=range]{min-height:44px}
body .controls-scroll .position button{min-height:44px}
body .preview-stage .light-switch small{font-size:9px;font-weight:400;color:#526e74;line-height:1.2}
body .editor-help>summary,body .editor-extras>summary{min-height:44px;padding:12px 0}
body .editor-help,body .editor-extras{padding:0;margin-top:10px}
body .controls-scroll .editor-extras .product-reviews{margin-top:16px}

.order-edit-panel{padding:12px 0;border-bottom:1px solid #c9d8d4}.order-edit-panel h2{font-size:17px}.order-edit-panel p{font-size:12px;line-height:1.5}.order-edit-panel textarea{width:100%;font:inherit;font-size:14px;border:1px solid #bdcece;border-radius:8px;padding:8px}.order-edit-panel button{display:block;margin:10px 0;background:#173d43;color:white;border:0;padding:12px;border-radius:8px;min-height:44px}.order-edit-panel a{font-size:13px;color:#173d43}
