body.Workspace,
body.Workspace button,
body.Workspace input { font-family: "Montserrat", sans-serif; }
body.Workspace .workspace-page { max-width: var(--content-max-wide); margin: 0 auto; padding: 10px 0 52px; color: #25153c; }
.workspace-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:30px; border:1px solid #eadff5; border-radius:22px; background:linear-gradient(135deg,#faf5ff 0%,#fff 52%,#fff7ed 100%); box-shadow:0 14px 42px rgba(77,36,138,.06); }
.workspace-hero-copy { display:flex; align-items:flex-start; gap:17px; }
.workspace-tile { display:grid; place-items:center; flex:0 0 auto; width:58px; height:58px; border-radius:18px; background:linear-gradient(135deg,#9333ea,#f97316); color:#fff; box-shadow:0 10px 22px rgba(147,51,234,.25); }
.workspace-tile svg { width:28px; height:28px; }
.workspace-eyebrow,.workspace-section-heading > div > span { display:block; margin-bottom:5px; color:#8a5ab1; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.workspace-hero h1 { margin:0; font-size:32px; line-height:1.15; letter-spacing:-.03em; }
.workspace-hero p { max-width:610px; margin:8px 0 0; color:#72588f; font-size:15px; line-height:1.55; }
.workspace-primary-button,.workspace-secondary-button,.workspace-icon-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; cursor:pointer; font-weight:700; transition:.18s ease; }
.workspace-primary-button { padding:12px 17px; color:#fff; border-radius:11px; background:linear-gradient(90deg,#9333ea,#f97316); box-shadow:0 8px 17px rgba(147,51,234,.2); }
.workspace-primary-button:hover { transform:translateY(-1px); filter:brightness(1.04); }
.workspace-primary-button svg,.workspace-secondary-button svg { width:16px; height:16px; }
.workspace-secondary-button { padding:9px 12px; border:1px solid #e7d9f0; border-radius:9px; color:#6c3d93; background:#fff; font-size:13px; }
.workspace-secondary-button:hover { border-color:#c79ce7; background:#fbf7ff; }
.workspace-icon-button { width:34px; height:34px; color:#7d3faa; border:1px solid #eadcf3; border-radius:9px; background:#fff; }
.workspace-icon-button svg { width:17px; height:17px; }
.workspace-layout { display:grid; grid-template-columns:285px minmax(0,1fr); gap:22px; margin-top:24px; align-items:start; }
.workspace-list-panel,.workspace-detail-panel { border:1px solid #eadff2; border-radius:18px; background:#fff; box-shadow:0 10px 34px rgba(71,35,116,.05); }
.workspace-list-panel { padding:15px; }
.workspace-panel-heading,.workspace-detail-head,.workspace-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.workspace-panel-heading { padding:2px 2px 13px; border-bottom:1px solid #f1e9f6; }
.workspace-panel-heading h2,.workspace-detail-head h2,.workspace-section-heading h3 { margin:0; }
.workspace-panel-heading h2 { font-size:16px; }
.workspace-panel-heading p { margin:3px 0 0; color:#9276ae; font-size:12px; }
.workspace-list { display:flex; flex-direction:column; gap:6px; padding-top:10px; }
.workspace-list-item { display:flex; align-items:center; gap:10px; width:100%; padding:10px; border:1px solid transparent; border-radius:11px; text-align:left; cursor:pointer; color:#301a4a; background:transparent; }
.workspace-list-item:hover { background:#fbf8fd; }
.workspace-list-item.is-selected { border-color:#dcc1ef; background:linear-gradient(90deg,#f6eeff,#fff8f2); }
.workspace-list-icon { display:grid; place-items:center; flex:0 0 auto; width:34px; height:34px; color:#9b3eea; border-radius:9px; background:#f4e9fd; }
.workspace-list-icon svg { width:17px; height:17px; }
.workspace-list-item > span:last-child { min-width:0; }
.workspace-list-item strong,.workspace-list-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-list-item strong { font-size:13px; }
.workspace-list-item small { margin-top:3px; color:#9073ad; font-size:11px; }
.workspace-detail-panel { min-height:460px; padding:27px; }
.workspace-empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:400px; text-align:center; }
.workspace-empty-state[hidden] { display:none; }
.workspace-empty-icon { display:grid; place-items:center; width:62px; height:62px; color:#9148d5; border-radius:20px; background:linear-gradient(135deg,#f2e5ff,#ffefe4); }
.workspace-empty-icon svg { width:29px; height:29px; }
.workspace-empty-state h2 { margin:16px 0 7px; font-size:22px; }
.workspace-empty-state p { max-width:410px; margin:0 0 19px; color:#745b90; line-height:1.55; }
.workspace-detail-title-row { display:flex; align-items:center; gap:10px; }
.workspace-detail-head h2 { font-size:25px; letter-spacing:-.02em; }
.workspace-detail-head p { margin:6px 0 0; color:#9075aa; font-size:13px; }
.workspace-detail-actions { display:flex; gap:8px; }
.workspace-status { display:inline-flex; padding:4px 8px; border-radius:999px; font-size:11px; font-weight:800; }
.workspace-status--draft { color:#a06108; background:#fff4d9; }
.workspace-status--active { color:#21835a; background:#e8f8ef; }
.workspace-product-section,.workspace-readiness-section,.workspace-chats-section { margin-top:28px; padding-top:25px; border-top:1px solid #f0e7f5; }
.workspace-section-heading h3 { font-size:18px; }
.workspace-products { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:10px; margin-top:15px; }
.workspace-product-card { display:flex; align-items:center; gap:11px; width:100%; padding:10px; border:1px solid #eadff2; border-radius:12px; cursor:pointer; text-align:left; color:#2e1945; background:#fff; transition:.18s ease; }
.workspace-product-card:hover,.workspace-product-card.is-selected { border-color:#c895e9; background:#fdfaff; box-shadow:0 5px 14px rgba(126,58,171,.08); }
.workspace-product-image { display:grid; place-items:center; overflow:hidden; flex:0 0 auto; width:44px; height:44px; border-radius:9px; background:#f4edf8; }
/*.workspace-product-image:before { content:""; width:15px; height:15px; border:2px solid #b58ccf; border-radius:3px; }*/
.workspace-product-image img { width:100%; height:100%; object-fit:cover; }
.workspace-product-image.is-empty img { display:none; }
.workspace-product-copy { flex:1; min-width:0; }
.workspace-product-copy strong,.workspace-product-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-product-copy strong { font-size:13px; }
.workspace-product-copy small { margin-top:3px; color:#8d70a9; font-size:11px; text-transform:capitalize; }
.workspace-product-card > svg { width:16px; color:#a37aba; }
.workspace-products-empty,.workspace-loading,.workspace-chats-empty { padding:18px; color:#84659f; border:1px dashed #dfcdea; border-radius:11px; background:#fdfbff; font-size:13px; }
.workspace-chats-empty { margin:15px 0 0; line-height:1.5; }
.workspace-chats-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-top:15px; }
.workspace-chat-row { display:flex; align-items:center; gap:10px; width:100%; padding:11px; border:1px solid #eadff2; border-radius:12px; color:#2e1945; background:#fff; cursor:pointer; text-align:left; transition:.18s ease; }
.workspace-chat-row:hover { border-color:#c895e9; background:#fdfaff; box-shadow:0 5px 14px rgba(126,58,171,.08); }
.workspace-chat-icon { display:grid; place-items:center; flex:0 0 auto; width:34px; height:34px; border-radius:9px; color:#9148d5; background:#f4e9fd; }
.workspace-chat-icon svg,.workspace-chat-row > svg { width:16px; height:16px; }
.workspace-chat-copy { min-width:0; flex:1; }
.workspace-chat-copy strong,.workspace-chat-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-chat-copy strong { font-size:12px; }
.workspace-chat-copy small { margin-top:3px; color:#876aa2; font-size:11px; }
.workspace-chat-row > svg { color:#a886ba; }
.workspace-readiness-score { display:flex; align-items:baseline; gap:2px; color:#8f35d7; }
.workspace-readiness-score strong { font-size:30px; line-height:1; }
.workspace-readiness-score span { color:#9878ad; font-size:13px; }
.workspace-progress { height:8px; margin-top:17px; overflow:hidden; border-radius:999px; background:#f0e7f5; }
.workspace-progress > span { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#9333ea,#f97316); transition:width .35s ease; }
.workspace-readiness-summary { margin:12px 0 0; color:#765a93; font-size:13px; }
.workspace-tool-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:11px; margin-top:16px; }
.workspace-tool-card { display:flex; align-items:flex-start; gap:9px; padding:13px; color:inherit; border:1px solid #ebdff3; border-radius:12px; text-decoration:none; background:#fff; transition:.18s ease; }
.workspace-tool-card:hover { transform:translateY(-2px); border-color:#c997e6; box-shadow:0 8px 16px rgba(113,55,159,.08); }
.workspace-tool-icon { display:grid; place-items:center; flex:0 0 auto; width:31px; height:31px; color:#9a3fe0; border-radius:9px; background:#f5eafd; }
.workspace-tool-icon svg,.workspace-tool-card > svg { width:16px; height:16px; }
.workspace-tool-copy { flex:1; min-width:0; }
.workspace-tool-copy strong,.workspace-tool-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-tool-copy strong { font-size:12px; }
.workspace-tool-copy small { margin-top:3px; color:#876aa2; font-size:11px; }
.workspace-tool-progress { display:block; height:4px; margin-top:8px; overflow:hidden; border-radius:999px; background:#f0e7f5; }
.workspace-tool-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#9d4cdd,#f58a42); }
.workspace-tool-card > svg { color:#a886ba; }
.workspace-modal[hidden] { display:none; }
.workspace-modal { position:fixed; z-index:1000; inset:0; display:grid; place-items:center; padding:18px; }
.workspace-modal-backdrop { position:absolute; inset:0; background:rgba(34,15,57,.36); backdrop-filter:blur(2px); }
.workspace-modal-card { position:relative; width:min(100%,430px); padding:27px; border:1px solid #eadcf2; border-radius:18px; background:#fff; box-shadow:0 24px 70px rgba(38,14,68,.24); }
.workspace-modal-card h2 { margin:0; font-size:21px; }.workspace-modal-card p { margin:8px 0 20px; color:#745a90; font-size:13px; line-height:1.55; }.workspace-modal-close { position:absolute; top:12px; right:12px; border:0; color:#896ca2; background:transparent; cursor:pointer; }.workspace-modal-close svg { width:18px; }.workspace-field { display:block; }.workspace-field span { display:block; margin-bottom:7px; font-size:12px; font-weight:800; color:#49305e; }.workspace-field input { box-sizing:border-box; width:100%; padding:11px 12px; border:1px solid #d9c6e7; border-radius:9px; outline:none; font-size:14px; }.workspace-field input:focus { border-color:#a85be1; box-shadow:0 0 0 3px rgba(168,91,225,.12); }.workspace-modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }
@media (max-width:850px) { body.Workspace .workspace-page { padding:8px 0 35px; }.workspace-layout { grid-template-columns:1fr; }.workspace-list-panel { max-height:250px; overflow:auto; }.workspace-tool-grid { grid-template-columns:1fr; } }
@media (max-width:590px) { .workspace-hero { align-items:flex-start; flex-direction:column; padding:22px; }.workspace-hero h1 { font-size:26px; }.workspace-detail-panel { padding:20px; }.workspace-detail-head { align-items:flex-start; flex-direction:column; }.workspace-detail-actions { width:100%; }.workspace-detail-actions button { flex:1; }.workspace-section-heading { align-items:flex-start; flex-direction:column; }.workspace-products { grid-template-columns:1fr; } }


.workspace-detail-panel { position: relative; }
.workspace-detail-loading { display:flex; align-items:center; justify-content:center; gap:10px; min-height:400px; color:#84659f; font-size:13px; font-weight:700; }
.workspace-detail-loading[hidden] { display:none; }
.workspace-detail-loading i { color:#9148d5; font-size:20px; }
.workspace-detail-panel.is-loading > .workspace-detail-loading { position:absolute; z-index:4; inset:0; min-height:0; border-radius:18px; background:rgba(255,255,255,.86); backdrop-filter:blur(1px); }

.workspace-product-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.workspace-secondary-button:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.workspace-listing-modal-card { width:min(100%,760px); max-height:min(88vh,820px); overflow:auto; }
.workspace-listing-toolbar { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(280px,1.3fr); gap:14px; margin:18px 0 10px; }
.workspace-listing-toolbar select,.workspace-listing-search input { box-sizing:border-box; min-width:0; padding:10px 11px; border:1px solid #d9c6e7; border-radius:9px; color:#301a4a; background:#fff; font:inherit; font-size:13px; }
.workspace-listing-search { display:flex; gap:7px; }
.workspace-listing-search select { flex:0 0 78px; }
.workspace-listing-search input { flex:1; }
.workspace-listing-search .workspace-secondary-button { flex:0 0 auto; }
.workspace-listing-message { min-height:20px; margin:12px 0; color:#765a93; font-size:12px; }
.workspace-listing-section { margin-top:18px; }
.workspace-listing-section h3 { margin:0 0 9px; color:#49305e; font-size:13px; }
.workspace-listing-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 11px; border:1px solid #eadff2; border-radius:10px; background:#fff; }
.workspace-listing-row + .workspace-listing-row { margin-top:7px; }
.workspace-listing-copy { min-width:0; }
.workspace-listing-copy strong,.workspace-listing-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-listing-copy strong { color:#301a4a; font-size:12px; }
.workspace-listing-copy small { margin-top:3px; color:#9073ad; font-size:11px; }
.workspace-listing-empty { margin:0; padding:12px; border:1px dashed #dfcdea; border-radius:9px; color:#84659f; font-size:12px; }
.workspace-listing-section [data-seller-listing-more] { margin-top:9px; }
@media (max-width:680px) { .workspace-product-actions { width:100%; justify-content:flex-start; }.workspace-listing-toolbar { grid-template-columns:1fr; }.workspace-listing-search { flex-wrap:wrap; }.workspace-listing-search input { flex-basis:100%; order:1; }.workspace-listing-row { align-items:flex-start; }.workspace-listing-row .workspace-secondary-button { flex:0 0 auto; } }


.workspace-seller-connect { display:flex; align-items:center; gap:13px; margin:20px 0 0; padding:15px 17px; border:1px solid #e7d9f0; border-radius:14px; background:linear-gradient(100deg,#faf5ff,#fffaf5); }
.workspace-seller-connect[hidden],.workspace-seller-connect-prompt[hidden] { display:none; }
.workspace-seller-connect-icon { display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; color:#8e45ce; border-radius:11px; background:#f1e4fb; }
.workspace-seller-connect-icon svg { width:19px; height:19px; }
.workspace-seller-connect-copy { flex:1; min-width:0; }
.workspace-seller-connect-copy strong,.workspace-seller-connect-prompt strong { display:block; color:#392250; font-size:13px; }
.workspace-seller-connect-copy p,.workspace-seller-connect-prompt p { margin:4px 0 0; color:#806992; font-size:11px; line-height:1.5; }
.workspace-seller-connect > .workspace-primary-button { flex:0 0 auto; padding:10px 13px; font-size:12px; text-decoration:none; }
.workspace-seller-connect-prompt { margin:9px 0 15px; padding:15px; border:1px solid #e7d9f0; border-radius:12px; background:linear-gradient(100deg,#faf5ff,#fffaf5); }
.workspace-seller-connect-prompt .workspace-primary-button { margin-top:12px; padding:10px 13px; font-size:12px; text-decoration:none; }
@media (max-width:680px) { .workspace-seller-connect { align-items:flex-start; flex-wrap:wrap; }.workspace-seller-connect-copy { flex-basis:calc(100% - 55px); }.workspace-seller-connect > .workspace-primary-button { margin-left:51px; } }


/* Keep linked CTA text legible against the workspace action gradients. */
body.Workspace .workspace-page a.workspace-primary-button,
body.Workspace .workspace-page a.workspace-primary-button:link,
body.Workspace .workspace-page a.workspace-primary-button:visited { color:#fff; }
body.Workspace .workspace-page a.workspace-secondary-button,
body.Workspace .workspace-page a.workspace-secondary-button:link,
body.Workspace .workspace-page a.workspace-secondary-button:visited { color:#6c3d93; }

.workspace-further-section { margin-top:27px; padding-top:21px; border-top:1px solid #f0e7f5; }
.workspace-further-section .workspace-section-heading h3 { font-size:17px; }
