/* Create hub, variant D (docs/explore/hub_projects_first_2026-10-30.md, section 10; boards: canvas "Create hub").
   Scope: the hub screen of the shared data panel, and only while the server marks it data-hub-layout='workspace'
   (SP_CREATE_HUB_LAYOUT; 0 restores the earlier look). Icons are CSS masks and thumbnails are CSS backgrounds, both drawn
   from utils/chart_thumbnails.py, so the hub needs no network and no icon font. The ICONS and THUMBS blocks are generated
   by scripts/generate_hub_css.py; edit the rest by hand. */

/* ICONS BEGIN */
:root {
  --ico-plus: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E");
  --ico-chevron: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 6l6 6-6 6%22/%3E%3C/svg%3E");
  --ico-chevron-down: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 9l6 6 6-6%22/%3E%3C/svg%3E");
  --ico-lock: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%229%22 rx=%222%22/%3E%3Cpath d=%22M8 11V8a4 4 0 0 1 8 0v3%22/%3E%3C/svg%3E");
  --ico-search: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22M20 20l-3.5-3.5%22/%3E%3C/svg%3E");
  --ico-back: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 6l-6 6 6 6%22/%3E%3C/svg%3E");
  --ico-library: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20V10M12 20V4M19 20v-7%22/%3E%3C/svg%3E");
  --ico-upload: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 16V4M7 9l5-5 5 5M4 20h16%22/%3E%3C/svg%3E");
  --ico-search-muted: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23A3A19B%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22M20 20l-3.5-3.5%22/%3E%3C/svg%3E");
}
/* ICONS END */
/* THUMBS BEGIN */
.sp-hub-thumb[data-glyph='line'][data-variant='0'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Cpolyline points=%228,70 40,58 72,60 104,36 150,20%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpolyline points=%228,76 40,66 72,52 104,50 150,40%22 fill=%22none%22 stroke=%22%237C8CA8%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='line'][data-variant='1'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Cpolyline points=%228,70 40,50 72,56 104,30 150,24%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='line'][data-variant='2'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Cpolyline points=%228,60 40,52 72,40 104,44 150,22%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpolyline points=%228,78 40,70 72,62 104,56 150,50%22 fill=%22none%22 stroke=%22%237C8CA8%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='line'][data-variant='3'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Cpolyline points=%228,64 40,48 72,52 104,34 150,30%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='line'][data-variant='4'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Cpolyline points=%228,72 40,60 72,44 104,48 150,26%22 fill=%22none%22 stroke=%22%23FF6B2C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpolyline points=%228,80 40,74 72,66 104,60 150,54%22 fill=%22none%22 stroke=%22%237C8CA8%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='bars'][data-variant='0'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%22120%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%221%22/%3E%3Crect x=%2210%22 y=%2227%22 width=%22100%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.75%22/%3E%3Crect x=%2210%22 y=%2242%22 width=%2284%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.55%22/%3E%3Crect x=%2210%22 y=%2257%22 width=%2264%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.4%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='bars'][data-variant='1'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%22136%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%221%22/%3E%3Crect x=%2210%22 y=%2227%22 width=%22110%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.75%22/%3E%3Crect x=%2210%22 y=%2242%22 width=%2296%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.55%22/%3E%3Crect x=%2210%22 y=%2257%22 width=%2270%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.4%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='bars'][data-variant='2'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%22104%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%221%22/%3E%3Crect x=%2210%22 y=%2227%22 width=%22128%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.75%22/%3E%3Crect x=%2210%22 y=%2242%22 width=%2276%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.55%22/%3E%3Crect x=%2210%22 y=%2257%22 width=%2258%22 height=%229%22 rx=%222%22 fill=%22%23FF6B2C%22 opacity=%220.4%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='bars'][data-variant='3'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%2292%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%221%22/%3E%3Crect x=%2210%22 y=%2227%22 width=%22124%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.75%22/%3E%3Crect x=%2210%22 y=%2242%22 width=%2270%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.55%22/%3E%3Crect x=%2210%22 y=%2257%22 width=%2254%22 height=%229%22 rx=%222%22 fill=%22%237C8CA8%22 opacity=%220.4%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='dots'][data-variant='0'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Ccircle cx=%2228%22 cy=%2262%22 r=%224%22 fill=%22%23FF6B2C%22/%3E%3Ccircle cx=%2246%22 cy=%2248%22 r=%224%22 fill=%22%237C8CA8%22/%3E%3Ccircle cx=%2264%22 cy=%2254%22 r=%224%22 fill=%22%23FF6B2C%22/%3E%3Ccircle cx=%2282%22 cy=%2236%22 r=%224%22 fill=%22%237C8CA8%22/%3E%3Ccircle cx=%22100%22 cy=%2242%22 r=%224%22 fill=%22%23FF6B2C%22/%3E%3Ccircle cx=%22120%22 cy=%2224%22 r=%224%22 fill=%22%237C8CA8%22/%3E%3Ccircle cx=%22138%22 cy=%2230%22 r=%224%22 fill=%22%23FF6B2C%22/%3E%3C/svg%3E"); }
.sp-hub-thumb[data-glyph='other'][data-variant='0'] { background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 160 90%22%3E%3Crect width=%22160%22 height=%2290%22 fill=%22%23101117%22/%3E%3Crect x=%2214%22 y=%2262%22 width=%2214%22 height=%2216%22 rx=%222%22 fill=%22%2324262D%22/%3E%3Crect x=%2236%22 y=%2248%22 width=%2214%22 height=%2230%22 rx=%222%22 fill=%22%2324262D%22/%3E%3Crect x=%2258%22 y=%2234%22 width=%2214%22 height=%2244%22 rx=%222%22 fill=%22%2324262D%22/%3E%3C/svg%3E"); }
/* THUMBS END */

/* ---- panel, heading ------------------------------------------------------------------------------------------- */
#compare-shell.sp-data-shell[data-explore-screen='hub']:has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-panel { max-width:856px; padding:30px 36px 48px; }
#compare-shell[data-explore-screen='hub'] #studio-entry-shell[data-hub-layout='workspace'] .sp-entry-column { gap:22px; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-head-text { flex:1; min-width:0; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-title { margin:0; font:700 30px/1.15 var(--sp-font-display); letter-spacing:-.01em; color:#F2EFE9; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-title:focus { outline:none; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-intro { margin:4px 0 0; color:#A3A19B; font:400 14px/1.4 var(--sp-font-ui); }
.sp-hub-signin { display:inline-flex; align-items:center; flex:none; height:36px; padding:0 16px; border:1px solid #3A3D46; border-radius:999px; background:transparent; color:#F2EFE9; font:600 13px/1 var(--sp-font-ui); text-decoration:none; }
.sp-hub-signin:hover { border-color:#6A6D76; }
.sp-hub-signin:focus-visible, .sp-hub-primary:focus-visible, .sp-hub-outline:focus-visible, .sp-hub-link:focus-visible, .sp-hub-google:focus-visible, .sp-hub-back:focus-visible, .sp-hub-source:focus-visible { outline:2px solid var(--sp-accent); outline-offset:2px; }
.sp-hub-only-phone { display:none !important; }

/* Between phone and wide desktop the filter sidebar is docked as a rail by default (data-filters-dock='rail'); its rule hides every
   child of the panel but the filters, which also hid the hub's menu. The hub has no filters: it always shows its own menu. */
#compare-shell.sp-data-shell[data-explore-screen='hub'][data-filters-dock='rail'] .sp-data-panel > #editor-data-menu { display:block !important; }

/* ---- the pane: new comparison on top, projects beside "Start from data" ---------------------------------------- */
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-pane-visual { display:grid; grid-template-columns:minmax(0,1fr) 236px; grid-template-areas:"new new" "main side"; gap:20px 24px; align-items:start; }
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-pane-visual > :is(#editor-comparison-new,#editor-comparison-continue) { grid-area:new; }
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-pane-visual > .sp-entry-new { grid-area:new; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side { grid-area:side; display:flex; flex-direction:column; gap:12px; min-width:0; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-main { grid-area:main; min-width:0; }
#studio-entry-shell[data-hub-layout='workspace'] #editor-comparison-continue:not([hidden]), #studio-entry-shell[data-hub-layout='workspace'] #editor-comparison-new:not([hidden]) { display:flex; align-items:center; height:44px; padding:0 18px; border:1px solid #3A3D46; border-radius:999px; background:transparent; color:#F2EFE9; font:600 14px/1 var(--sp-font-ui); }
.sp-hub-section-head { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
#studio-entry-shell[data-hub-layout='workspace'][data-authenticated='true'] .sp-hub-section-head, #studio-entry-shell[data-hub-layout='workspace'][data-authenticated='true'] .sp-hub-side .sp-hub-section-title { min-height:36px; }
#studio-entry-shell[data-hub-layout='workspace'][data-authenticated='true'] .sp-hub-side .sp-hub-section-title { display:flex; align-items:center; margin-bottom:2px; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-projects:has(.sp-hub-empty) .sp-hub-tools { display:none; }
.sp-hub-section-title { margin:0; white-space:nowrap; color:#A3A19B; font:700 13px/20px var(--sp-font-ui); letter-spacing:.07em; text-transform:uppercase; }
#studio-entry-shell[data-hub-layout='workspace'] #editor-hub-projects { display:none; }

/* New comparison: the one accent-filled element */
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new { display:flex; align-items:center; gap:14px; min-height:0; padding:14px 18px; border:0; border-radius:16px; background:var(--sp-accent); color:#0D0E12; box-shadow:0 10px 30px rgba(255,107,44,.22); }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new:hover { background:var(--sp-entry-accent-hover,#FF7C45); }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new::after { display:none; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new-plus { flex:none; position:relative; width:40px; height:40px; border-radius:50%; background:rgba(13,14,18,.14); font-size:0; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new-plus::before { content:""; position:absolute; inset:9px; background:#0D0E12; mask:var(--ico-plus) center/contain no-repeat; -webkit-mask:var(--ico-plus) center/contain no-repeat; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new-text { flex:1; min-width:0; gap:0; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new-title { font:700 19px/1.25 var(--sp-font-display); letter-spacing:-.01em; color:#0D0E12; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new-sub { font:400 14px/1.35 var(--sp-font-ui); color:rgba(13,14,18,.8); opacity:1; }
.sp-hub-start { flex:none; padding:9px 18px; border-radius:999px; background:#0D0E12; color:#F2EFE9; font:600 14px/1.2 var(--sp-font-ui); }
.sp-hub-new-chevron { width:20px; height:20px; color:#0D0E12; }

/* Start from data */
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side .sp-entry-segment { display:flex; flex-direction:column; gap:12px; padding:0; border:0; border-radius:0; background:transparent; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:12px; flex:none; width:100%; min-height:0; padding:16px; border:1px solid #24262D; border-radius:14px; background:#15161C; color:#F2EFE9; text-align:left; cursor:pointer; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source:hover { border-color:#3A3D46; background:#15161C; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source.is-active, #studio-entry-shell[data-hub-layout='workspace'][data-authenticated='false'][data-hub-tab='projects'] #studio-entry-seg-saved { border-color:var(--sp-accent); background:#1B1612; }
.sp-hub-card-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:11px; background:#22242B; color:#F2EFE9; }
.sp-hub-card-icon .sp-hub-ico { width:20px; height:20px; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source.is-active .sp-hub-card-icon, #studio-entry-shell[data-hub-layout='workspace'][data-authenticated='false'][data-hub-tab='projects'] #studio-entry-seg-saved .sp-hub-card-icon { background:#2A1A12; color:var(--sp-accent); }
.sp-hub-source-copy { display:block; min-width:0; text-align:left; white-space:normal; }
.sp-hub-source-title { display:block; font:600 15px/1.3 var(--sp-font-ui); color:#F2EFE9; }
.sp-hub-source-text { display:block; margin-top:3px; color:#A3A19B; font:400 13px/1.35 var(--sp-font-ui); }
.sp-hub-lock-chip { position:absolute; top:16px; right:16px; display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:999px; background:#22242B; color:#D8D6D0; font:600 11px/1.3 var(--sp-font-ui); }
.sp-hub-lock-chip .sp-hub-ico { width:11px; height:11px; }

/* ---- icons ---------------------------------------------------------------------------------------------------- */
.sp-hub-ico { display:inline-block; flex:none; width:18px; height:18px; background:currentColor; mask-repeat:no-repeat; mask-position:center; mask-size:contain; -webkit-mask-repeat:no-repeat; -webkit-mask-position:center; -webkit-mask-size:contain; }
.sp-hub-ico--plus { mask-image:var(--ico-plus); -webkit-mask-image:var(--ico-plus); }
.sp-hub-ico--chevron { mask-image:var(--ico-chevron); -webkit-mask-image:var(--ico-chevron); }
.sp-hub-ico--chevron-down { width:14px; height:14px; mask-image:var(--ico-chevron-down); -webkit-mask-image:var(--ico-chevron-down); }
.sp-hub-ico--lock { mask-image:var(--ico-lock); -webkit-mask-image:var(--ico-lock); }
.sp-hub-ico--search { mask-image:var(--ico-search); -webkit-mask-image:var(--ico-search); }
.sp-hub-ico--back { mask-image:var(--ico-back); -webkit-mask-image:var(--ico-back); }
.sp-hub-ico--library { mask-image:var(--ico-library); -webkit-mask-image:var(--ico-library); }
.sp-hub-ico--upload { mask-image:var(--ico-upload); -webkit-mask-image:var(--ico-upload); }

/* ---- cards (projects, library, popular) ------------------------------------------------------------------------ */
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card { display:flex; flex-direction:column; align-items:stretch; gap:10px; width:auto; min-height:0; padding:10px; border:1px solid #24262D; border-radius:14px; background:#15161C; color:#F2EFE9; text-align:left; text-decoration:none; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card:is(:hover,:focus-visible) { border-color:#3A3D46; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card:focus-visible { outline:2px solid var(--sp-accent); outline-offset:2px; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card[hidden] { display:none; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card::before, #studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card::after { display:none; }
.sp-hub-thumb { position:relative; display:block; order:0; aspect-ratio:16/9; overflow:hidden; border:1px solid #24262D; border-radius:10px; background-color:#101117; background-size:100% 100%; background-repeat:no-repeat; }
.sp-hub-chip { position:absolute; left:8px; bottom:8px; display:flex; align-items:center; gap:4px; padding:3px 8px; border-radius:999px; background:rgba(13,14,18,.85); color:#D8D6D0; font:600 11px/1.3 var(--sp-font-ui); }
.sp-hub-chip .sp-hub-ico { width:11px; height:11px; }
.sp-hub-go { position:absolute; right:8px; bottom:8px; display:none; align-items:center; gap:4px; height:30px; padding:0 12px; border-radius:999px; background:var(--sp-accent); color:#0D0E12; font:700 12px/1 var(--sp-font-ui); }
.sp-hub-go .sp-hub-ico { width:13px; height:13px; }
a.sp-entry-card:is(:hover,:focus-visible) .sp-hub-go { display:inline-flex; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card .sp-entry-card-title { order:2; padding:0 4px; font:600 14px/1.3 var(--sp-font-ui); color:#F2EFE9; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card .sp-entry-card-cat { order:3; margin-top:-8px; padding:0 4px 4px; font:400 12px/1.3 var(--sp-font-ui); letter-spacing:0; text-transform:none; color:#A3A19B; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card .sp-entry-card-sub:not(.sp-hub-card-meta) { display:none; }
#studio-entry-shell[data-hub-layout='workspace'] a.sp-hub-card .sp-hub-card-meta { order:3; display:block; margin-top:-8px; padding:0 4px 4px; font:400 12px/1.3 var(--sp-font-ui); color:#A3A19B; }
.sp-hub-grid, #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-content:start; }
.sp-hub-grid--popular { gap:12px; }
.sp-hub-grid--popular a.sp-entry-card { padding:9px; gap:9px; }
#studio-entry-shell[data-hub-layout='workspace'] #editor-project-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-content:start; }
#studio-entry-shell[data-hub-layout='workspace'] #editor-project-list > :not(a) { grid-column:1/-1; }
.sp-hub-group { margin:4px 0 -4px; color:#A3A19B; font:600 12px/1.3 var(--sp-font-ui); letter-spacing:0; text-transform:none; }
#editor-project-list > .sp-hub-group:first-child { margin-top:0; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-no-match { grid-column:1/-1; }

/* ---- Your projects: tools, sign-in card, empty state ------------------------------------------------------------ */
.sp-hub-tools { display:flex; align-items:center; gap:8px; }
.sp-hub-search-toggle { display:none; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-search { box-sizing:border-box; width:170px; height:36px; min-height:0; margin:0; padding:0 12px 0 36px; border:1px solid #24262D; border-radius:999px; background:#101117 var(--ico-search-muted) 12px center/16px 16px no-repeat; color:#F2EFE9; font:400 13px/1 var(--sp-font-ui); }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-search::placeholder { color:#A3A19B; }
.sp-hub-sort { position:relative; }
.sp-hub-sort-summary { display:flex; align-items:center; gap:6px; height:36px; padding:0 12px; border:1px solid #24262D; border-radius:999px; background:#101117; color:#F2EFE9; font:600 13px/1 var(--sp-font-ui); cursor:pointer; list-style:none; }
.sp-hub-sort-summary::-webkit-details-marker { display:none; }
.sp-hub-sort-summary:focus-visible { outline:2px solid var(--sp-accent); outline-offset:2px; }
.sp-hub-sort-menu { position:absolute; z-index:5; right:0; top:calc(100% + 6px); display:flex; flex-direction:column; min-width:140px; padding:6px; border:1px solid #24262D; border-radius:12px; background:#101117; box-shadow:0 12px 30px rgba(0,0,0,.45); }
.sp-hub-sort-option { min-height:40px; padding:0 12px; border:0; border-radius:8px; background:transparent; color:#D8D6D0; font:600 13px/1 var(--sp-font-ui); text-align:left; cursor:pointer; }
.sp-hub-sort-option:hover, .sp-hub-sort-option.is-active { background:#1B1C22; color:#F2EFE9; }
.sp-hub-signin-card { display:flex; align-items:center; gap:16px; padding:16px 18px; border:1px dashed #3A3D46; border-radius:14px; background:#101117; }
.sp-hub-signin-copy { display:block; flex:1; min-width:0; }
.sp-hub-signin-title { display:block; font:600 15px/1.3 var(--sp-font-ui); color:#F2EFE9; }
.sp-hub-signin-text { display:block; margin-top:2px; color:#A3A19B; font:400 13px/1.4 var(--sp-font-ui); }
.sp-hub-primary { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:none; height:40px; padding:0 16px; border:0; border-radius:999px; background:#F2EFE9; color:#0D0E12; font:600 14px/1 var(--sp-font-ui); text-decoration:none; cursor:pointer; }
.sp-hub-primary:hover { background:#fff; }
.sp-hub-primary--small { height:36px; padding:0 14px; font-size:13px; }
.sp-hub-link { display:inline-flex; align-items:center; min-height:36px; padding:0; border:0; background:transparent; color:var(--sp-accent); font:600 13px/1.2 var(--sp-font-ui); text-decoration:none; cursor:pointer; }
.sp-hub-empty { display:flex; flex-direction:column; align-items:center; gap:14px; padding:56px 32px; text-align:center; border:1px dashed #3A3D46; border-radius:16px; background:#101117; }
.sp-hub-empty-art { width:180px; height:101px; border:1px solid #24262D; border-radius:12px; }
.sp-hub-empty-title { margin:0; font:700 19px/1.25 var(--sp-font-display); color:#F2EFE9; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-empty .sp-hub-empty-text { max-width:340px; margin:6px auto 0; padding:0; color:#A3A19B; font:400 14px/1.45 var(--sp-font-ui); }
.sp-hub-outline { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 20px; border:1px solid #3A3D46; border-radius:999px; background:transparent; color:#F2EFE9; font:600 14px/1 var(--sp-font-ui); cursor:pointer; }
.sp-hub-outline:hover { border-color:#6A6D76; }
.sp-hub-outline .sp-hub-ico { width:18px; height:18px; }
/* First paint, signed in: the outline of the list until the project list callback answers (editor_hub.projects_skeleton).
   A skeleton card keeps the box of a project card (frame, 16:9 thumbnail, one title line, meta line), so the cards land in place. */
#studio-entry-shell[data-hub-layout='workspace'] #editor-project-list > .sp-hub-skeleton-card { grid-column:auto; display:flex; flex-direction:column; gap:10px; padding:10px; border:1px solid #24262D; border-radius:14px; background:#15161C; }
.sp-hub-skeleton-card .sp-hub-thumb { border-color:#22242B; background-color:#22242B; }
.sp-hub-skeleton-bar { display:block; border-radius:5px; background:#22242B; }
.sp-hub-skeleton-bar--title { width:68%; height:12px; margin:3px 4px; }
.sp-hub-skeleton-bar--meta { width:36%; height:10px; margin:-5px 4px 7px; }
.sp-hub-skeleton-bar--group { width:72px; height:12px; margin:2px 0 -2px; background:#1B1C22; }
@media (prefers-reduced-motion: no-preference) {
  .sp-hub-skeleton-bar, .sp-hub-skeleton-card .sp-hub-thumb { animation:sp-hub-pulse 1.4s ease-in-out infinite; }
}
.sp-hub-popular { margin-top:22px; }
.sp-hub-popular .sp-hub-section-head { margin-bottom:12px; }
#studio-entry-shell[data-hub-layout='workspace'] #editor-project-list:has(> .sp-hub-signin-card) { display:block; }

/* ---- Stat library view ------------------------------------------------------------------------------------------ */
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-sub-saved { display:flex; flex-direction:column; gap:18px; }
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-sub-saved[hidden] { display:none; }
.sp-hub-library-head { display:flex; align-items:center; gap:12px; }
.sp-hub-library-head .sp-hub-signin { margin-left:auto; }
.sp-hub-back { display:grid; place-items:center; flex:none; width:40px; height:40px; padding:0; border:1px solid #24262D; border-radius:50%; background:transparent; color:#D8D6D0; cursor:pointer; }
.sp-hub-back .sp-hub-ico { width:20px; height:20px; }
.sp-hub-view-title { margin:0; font:700 28px/1.15 var(--sp-font-display); letter-spacing:-.01em; color:#F2EFE9; }
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-search { box-sizing:border-box; width:100%; height:44px; min-height:0; margin:0; padding:0 14px 0 42px; border:1px solid #3A3D46; border-radius:999px; background:#101117 var(--ico-search-muted) 14px center/18px 18px no-repeat; color:#F2EFE9; font:400 14px/1 var(--sp-font-ui); }
#studio-entry-shell[data-hub-layout='workspace'] #studio-entry-chips { display:flex; flex-wrap:wrap; gap:8px; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-chip { height:34px; min-height:0; padding:0 14px; border:1px solid #24262D; border-radius:999px; background:#101117; color:#D8D6D0; font:600 13px/1 var(--sp-font-ui); white-space:nowrap; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-chip.is-active { background:#F2EFE9; border-color:#F2EFE9; color:#0D0E12; }
#studio-entry-shell[data-hub-layout='workspace'] .sp-entry-saved-label { display:none; }
.sp-hub-banner { display:flex; align-items:center; gap:14px; padding:12px 16px; border:1px solid #24262D; border-radius:12px; background:#101117; color:#D8D6D0; }
.sp-hub-banner .sp-hub-ico { width:20px; height:20px; }
.sp-hub-banner-text { flex:1; margin:0; color:#A3A19B; font:400 13px/1.4 var(--sp-font-ui); }
.sp-hub-banner-text strong { color:#F2EFE9; font-weight:600; }

/* ---- Upload file, signed out ------------------------------------------------------------------------------------ */
.sp-hub-upload-view { display:flex; flex-direction:column; gap:18px; }
.sp-hub-upload-head .sp-hub-intro { margin:4px 0 0; }
.sp-hub-lock { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; min-height:360px; padding:28px; text-align:center; border:1px dashed #3A3D46; border-radius:16px; background:#101117; }
.sp-hub-lock-box { display:grid; place-items:center; width:56px; height:56px; border-radius:16px; background:#22242B; color:#D8D6D0; }
.sp-hub-lock-box .sp-hub-ico { width:26px; height:26px; }
.sp-hub-lock-title { margin:0; font:700 20px/1.2 var(--sp-font-display); color:#F2EFE9; }
.sp-hub-lock-text { max-width:320px; margin:6px auto 0; color:#A3A19B; font:400 14px/1.5 var(--sp-font-ui); }
.sp-hub-google { display:inline-flex; align-items:center; justify-content:center; gap:10px; height:48px; padding:0 22px; border-radius:999px; background:#F2EFE9; color:#0D0E12; font:600 15px/1 var(--sp-font-ui); text-decoration:none; }
.sp-hub-gmark { display:grid; place-items:center; width:20px; height:20px; border:2px solid #0D0E12; border-radius:50%; font:800 11px/1 var(--sp-font-ui); }
#studio-entry-shell[data-hub-layout='workspace'] .sp-hub-upload-view { display:none; }

/* ---- views: home (projects), Stat library, Upload file ------------------------------------------------------------ */
#studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='library'] :is(.sp-entry-head,.sp-hub-side,.sp-entry-new,#editor-comparison-new,#editor-comparison-continue,.sp-hub-projects) { display:none; }
#studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='library'] #studio-entry-pane-visual { grid-template-areas:"main main"; }
#studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='upload'] :is(.sp-entry-head,.sp-hub-side,.sp-entry-new,#editor-comparison-new,#editor-comparison-continue,.sp-hub-projects,#studio-entry-sub-saved) { display:none; }
#studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='upload'] #studio-entry-pane-visual { grid-template-areas:"main main"; }
#studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='upload'] .sp-hub-upload-view { display:flex; }
#studio-entry-shell[data-hub-layout='workspace']:not([data-hub-tab='library']) #studio-entry-sub-saved .sp-hub-library-head { display:none; }

/* ---- tablet: the sources become a row between New comparison and the list ------------------------------------------- */
@media (min-width: 768px), (min-width: 600px) and (min-aspect-ratio: 10/13) {
@media (max-width: 1023px) {
  #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-pane-visual { grid-template-columns:minmax(0,1fr); grid-template-areas:"new" "side" "main"; }
  #studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='library'] #studio-entry-pane-visual, #studio-entry-shell[data-hub-layout='workspace'][data-hub-tab='upload'] #studio-entry-pane-visual { grid-template-areas:"main"; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side .sp-entry-segment { flex-direction:row; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side .sp-hub-source { flex:1 1 0; }
  .sp-hub-grid, #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
}

/* ---- phone ----------------------------------------------------------------------------------------------------------- */
@media (max-width: 599px), (max-width: 767px) and (max-aspect-ratio: 10/13) {
  .sp-hub-only-desktop { display:none !important; }
  .sp-hub-only-phone { display:inline-block !important; }
  :is(.sp-hub-signin-text,.sp-hub-lock-text).sp-hub-only-phone { display:block !important; }
  #compare-shell.sp-data-shell[data-explore-screen='hub']:has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-panel { padding:18px 16px 24px; }
  #compare-shell[data-explore-screen='hub'] #studio-entry-shell[data-hub-layout='workspace'] .sp-entry-column { gap:16px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-entry-title { font-size:24px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-entry-head .sp-hub-intro { display:none; }
  #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-pane-visual { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-entry-new { align-self:stretch; width:auto; box-sizing:border-box; gap:12px; padding:14px 16px; box-shadow:0 8px 24px rgba(255,107,44,.22); }
  #studio-entry-shell[data-hub-layout='workspace'][data-authenticated='false'] .sp-hub-projects > .sp-hub-section-head { display:none; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side > .sp-hub-section-title { display:none; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-side .sp-entry-segment { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source { flex-direction:row; align-items:center; gap:10px; min-height:56px; padding:12px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source .sp-hub-card-icon { width:auto; height:auto; background:transparent; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source-copy { flex:1; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source-title { font-size:14px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-source-text { display:none; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-lock-chip { position:static; padding:0; background:transparent; color:#A3A19B; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-lock-chip .sp-hub-ico { width:15px; height:15px; }
  #studio-entry-shell[data-hub-layout='workspace'] #editor-project-list, .sp-hub-grid, #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card { padding:8px; gap:8px; }
  #studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card .sp-entry-card-title { padding:0 3px; font-size:13px; }
  #studio-entry-shell[data-hub-layout='workspace'] a.sp-entry-card .sp-entry-card-cat, #studio-entry-shell[data-hub-layout='workspace'] a.sp-hub-card .sp-hub-card-meta { padding:0 3px 3px; margin-top:-6px; }
  #studio-entry-shell[data-hub-layout='workspace'] #editor-project-list > .sp-hub-skeleton-card { padding:8px; gap:8px; }
  .sp-hub-skeleton-bar--title { height:11px; margin:3px; }
  .sp-hub-skeleton-bar--meta { margin:-4px 3px 6px; }
  .sp-hub-chip { display:none; }
  .sp-hub-relative::first-letter { text-transform:uppercase; }
  .sp-hub-popular { margin-top:0; }
  .sp-hub-popular .sp-hub-grid > a.sp-entry-card:nth-child(n+5) { display:none; }
  .sp-hub-signin-card { gap:12px; padding:12px 14px; }
  .sp-hub-signin-card .sp-hub-card-icon { width:auto; height:auto; background:transparent; }
  .sp-hub-signin-title { display:inline; font-size:13px; font-weight:600; }
  .sp-hub-signin-text { display:block; margin-top:0; font-size:13px; line-height:1.35; }
  .sp-hub-signin-card .sp-hub-primary { padding:0 14px; font-size:13px; }
  .sp-hub-search-toggle { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; background:transparent; color:#A3A19B; }
  .sp-hub-tools .sp-hub-search, .sp-hub-tools .sp-hub-sort { display:none; }
  .sp-hub-section-head.is-searching .sp-hub-search { display:block; position:absolute; left:0; right:0; width:auto; z-index:2; }
  .sp-hub-empty { gap:12px; padding:32px 20px; }
  .sp-hub-empty-art { width:140px; height:79px; border-radius:10px; }
  .sp-hub-empty-title { font-size:17px; }
  #studio-entry-shell[data-hub-layout='workspace'] .sp-hub-empty .sp-hub-empty-text { font-size:13px; }
  .sp-hub-outline .sp-hub-ico { display:none; }
  .sp-hub-library-head { gap:8px; }
  .sp-hub-back { width:44px; height:44px; margin-left:-8px; border:0; }
  .sp-hub-view-title { font-size:24px; flex:1; }
  .sp-hub-library-head .sp-hub-signin { height:40px; }
  #studio-entry-shell[data-hub-layout='workspace'] #studio-entry-chips { flex-wrap:nowrap; overflow-x:auto; margin-right:-16px; scrollbar-width:none; }
  .sp-hub-banner { gap:12px; padding:10px 14px; }
  .sp-hub-banner > .sp-hub-ico { display:none; }
  .sp-hub-lock { min-height:0; padding:20px 14px; gap:12px; }
  .sp-hub-lock-box .sp-hub-ico { width:24px; height:24px; }
  .sp-hub-lock-title { font-size:18px; line-height:1.2; }
  .sp-hub-lock-text { font-size:13px; line-height:1.45; }
  .sp-hub-google { width:100%; padding:0 12px; font-size:14px; }
}

/* ---- opening a project or stat ------------------------------------------------------------------------------------------
   A hub card is a link and the open is a full page load; the document follows seconds later. Two states show the visitor at once
   that it is working: (1) after the click, before the browser has left the page (assets/hub_projects.js sets data-hub-opening);
   (2) on the freshly loaded page, until the document is accepted (work screen, data page, no source form, no document yet).
   Both replace the hub with the drawn stage; a failure (Retry shown) puts the message back. */
.sp-hub-opening { display:none; flex-direction:column; gap:14px; width:100%; max-width:560px; margin:48px auto 0; }
.sp-hub-opening-bar { display:block; height:22px; width:42%; border-radius:6px; background:#1B1C22; }
.sp-hub-opening-bar--sub { height:14px; width:26%; }
.sp-hub-opening-stage { display:flex; align-items:flex-end; gap:5%; aspect-ratio:16/9; padding:6% 7% 0; border:1px solid #24262D; border-radius:12px; background:#101117; }
.sp-hub-opening-stage > span { flex:1; height:var(--h); border-radius:4px 4px 0 0; background:#1B1C22; }
.sp-hub-opening-text { margin:0; color:#A3A19B; font:400 14px/1.4 var(--sp-font-ui); text-align:center; }
@media (prefers-reduced-motion: no-preference) {
  .sp-hub-opening-bar, .sp-hub-opening-stage > span { animation:sp-hub-pulse 1.4s ease-in-out infinite; }
}
@keyframes sp-hub-pulse { 50% { opacity:.45; } }
#compare-shell.sp-data-shell[data-hub-opening='true']:has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-panel,
#compare-shell.sp-data-shell[data-explore-screen='work'][data-panel-page='data'][data-source-form='']:not([data-has-document='true']):has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-panel { display:none; }
#compare-shell.sp-data-shell[data-explore-screen][data-hub-opening='true']:has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-main,
#compare-shell.sp-data-shell[data-explore-screen='work'][data-panel-page='data'][data-source-form='']:not([data-has-document='true']):has(#studio-entry-shell[data-hub-layout='workspace']) .sp-data-main { display:block; }
#compare-shell.sp-data-shell[data-hub-opening='true']:has(#studio-entry-shell[data-hub-layout='workspace']) .sp-hub-opening,
#compare-shell.sp-data-shell[data-explore-screen='work'][data-panel-page='data'][data-source-form='']:not([data-has-document='true']):has(#studio-entry-shell[data-hub-layout='workspace']) .sp-hub-opening { display:flex; }
#compare-shell.sp-data-shell[data-explore-screen='work'][data-panel-page='data']:has(#editor-direct-retry[style*='none']) #editor-direct-status { display:none; }
#compare-shell.sp-data-shell:has(#editor-direct-retry:not([style*='none'])) .sp-hub-opening { display:none !important; }
#compare-shell.sp-data-shell:has(#studio-entry-shell[data-hub-layout='workspace']) #editor-direct-status { max-width:560px; margin:14px auto 0; color:#A3A19B; font:400 14px/1.4 var(--sp-font-ui); text-align:center; }
#compare-shell.sp-data-shell[data-hub-opening='true']:has(#studio-entry-shell[data-hub-layout='workspace']) #editor-data-result > :not(:has(#editor-direct-status)),
#compare-shell.sp-data-shell[data-explore-screen='work'][data-panel-page='data'][data-source-form='']:not([data-has-document='true']):has(#studio-entry-shell[data-hub-layout='workspace']) #editor-data-result > :not(:has(#editor-direct-status)) { display:none !important; }
#compare-shell.sp-data-shell:has(#studio-entry-shell[data-hub-layout='workspace']) #editor-direct-retry:not([style*='none']) { display:flex !important; align-items:center; justify-content:center; height:44px; margin:14px auto 0; padding:0 20px; border:1px solid #3A3D46; border-radius:999px; background:transparent; color:#F2EFE9; font:600 14px/1 var(--sp-font-ui); cursor:pointer; }
