/* Management workspace only. --paper is the studio's dark text token. */
#dash.studio-shell .spw-row { min-width:0; padding:18px !important; border-radius:14px !important; background:#fff; color:var(--paper); }
#dash.studio-shell .spw-row .studio-product-head { gap:10px; margin:0; }
#dash.studio-shell .spw-row .studio-product-head h2 { flex:1 1 220px; margin:0; min-width:0; font-size:16px; line-height:1.5; }
#dash.studio-shell .spw-actions { display:flex; flex:0 0 auto; align-items:center; flex-wrap:wrap; gap:7px; margin-left:auto; }
#dash.studio-shell :is(.spw-toggle,.spw-members,.spw-tab) { min-height:38px; border:1px solid var(--line); border-radius:8px; padding:8px 12px; background:#fff; color:var(--paper); font:inherit; font-size:12px; font-weight:600; line-height:1.4; cursor:pointer; word-break:keep-all; }
#dash.studio-shell .spw-toggle { min-width:82px; background:var(--paper); color:#fff; border-color:var(--paper); }
#dash.studio-shell .spw-members { background:#f7f8f8; }
#dash.studio-shell :is(.spw-toggle,.spw-members,.spw-tab):focus-visible { outline:2px solid var(--paper); outline-offset:3px; }
#dash.studio-shell :is(.spw-toggle,.spw-members,.spw-tab):disabled { cursor:wait; opacity:.55; }
#dash.studio-shell .spw-members-note { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
#dash.studio-shell .spw-members-note:empty { display:none; }
#dash.studio-shell .spw-body { min-width:0; margin-top:18px; border-top:1px solid var(--line); }
#dash.studio-shell .spw-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:14px 0; }
#dash.studio-shell .spw-tab { border-color:transparent; background:#f5f7f7; color:#5d696c; }
#dash.studio-shell .spw-tab[aria-selected="true"] { border-color:var(--paper); background:#fff; color:var(--paper); }
#dash.studio-shell .spw-panel { min-width:0; padding:18px; border:1px solid var(--line); border-radius:10px; background:#fcfdfd; overflow-wrap:anywhere; }
#dash.studio-shell .spw-panel > div { min-width:0; margin-bottom:0 !important; padding-bottom:0 !important; border-bottom:0 !important; }
#dash.studio-shell .spw-panel :is(.mp-grid,.mp-f,.studio-price-group,.studio-price-field) { min-width:0; max-width:100%; }
#dash.studio-shell .spw-panel :is(input,select,textarea,[contenteditable]) { box-sizing:border-box; max-width:100%; color:var(--paper); }
#dash.studio-shell .spw-panel :is(.pc-current-images,.pc-detail-images) img { max-width:100% !important; }
#dash.studio-shell .spw-panel .pc-edit { min-width:0; }
#dash.studio-shell .spw-panel .spt-checklist { margin:0; }
#dash.studio-shell .spw-panel .studio-product-settings > summary { color:var(--paper); }
/* Explicit hidden wins even against existing display:flex pricing/editor rules. */
#dash.studio-shell .spw-row [hidden] { display:none !important; }
@media (max-width:600px) {
  #dash.studio-shell .spw-row { padding:13px !important; }
  #dash.studio-shell .spw-row .studio-product-head h2 { flex-basis:100%; }
  #dash.studio-shell .spw-actions { flex-basis:100%; margin:4px 0 0; }
  #dash.studio-shell .spw-actions > button { flex:1 1 100px; }
  #dash.studio-shell .spw-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  #dash.studio-shell .spw-tab { min-width:0; padding:10px 5px; }
  #dash.studio-shell .spw-panel { padding:12px; }
  #dash.studio-shell .spw-panel .mp-grid { grid-template-columns:minmax(0,1fr); }
  #dash.studio-shell .spw-panel .studio-price-group { flex-wrap:wrap; width:100%; gap:8px; }
  #dash.studio-shell .spw-panel .studio-price-field { flex:1 1 120px; }
  #dash.studio-shell .spw-panel .pc-price { width:100% !important; min-width:0; }
  #dash.studio-shell .spw-panel :is(.pc-img,.pc-detail-upload) { width:100%; font-size:11px; }
  #dash.studio-shell .spw-panel .spt-checklist-item { align-items:flex-start; flex-wrap:wrap; }
}
