/* Shared workspace tokens; component geometry belongs to each workspace stylesheet. */
:is(body:has(.creation-panel), body:has(.mobile-workspace)) {
    --primary: #2563eb; --primary-hover: #1d4ed8; --text-main: #172033; --text-muted: #697586;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #172033; background: #f5f7fb;
}
:is(body:has(.creation-panel), body:has(.mobile-workspace)) .bg-mesh { display: none; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(button, input, select, textarea) { font-family: inherit; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(.font-black, .font-extrabold) { font-weight: 600; letter-spacing: normal; font-style: normal; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) [class*="tracking-widest"] { letter-spacing: normal; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(.text-indigo-400, .text-indigo-500, .text-indigo-600, .text-indigo-700, .text-violet-600) { color: #2563eb; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(.bg-indigo-50, .bg-indigo-100) { background-color: #eff5ff; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(.bg-indigo-500, .bg-indigo-600, .bg-indigo-700) { background-color: #2563eb; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) :is(.border-indigo-100, .border-indigo-200) { border-color: #dce7fc; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) .btn-primary { background: #2563eb; border-radius: 9px; font-weight: 500; box-shadow: 0 3px 7px #2563eb18; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) .btn-primary:hover { background: #1d4ed8; transform: none; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) .btn-primary:disabled { background: #b6c4da; opacity: 1; box-shadow: none; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) .image-frame:hover { transform: none; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) [id$="Modal"] { background-color: #17203366; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 20px; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) [id$="Modal"] > div { border-radius: 18px; box-shadow: 0 24px 80px #10264d29; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) [id$="Modal"] :is(h2, h3) { font-weight: 600; font-style: normal; letter-spacing: normal; }
:is(body:has(.creation-panel), body:has(.mobile-workspace)) [id$="Modal"] :is(input, select) { border-radius: 9px; font-weight: 400; border-color: #dfe5ee; font-size: 14px; }
body:has(.creation-panel) [id$="Modal"] :is(.text-\[10px\], .text-\[11px\], .text-\[9px\]) { font-size: 12px; }
body:has(.creation-panel) :is(#pwdModal, #savePromptModal, #deleteConfirmModal) > div { padding: 28px; }
body:has(.creation-panel) :is(#pwdModal, #savePromptModal, #deleteConfirmModal) h2 { font-size: 20px; }
body:has(.creation-panel) :is(#pwdModal, #savePromptModal, #deleteConfirmModal) :is(input, button) { border-radius: 9px; }
body:has(.creation-panel) :is(#pwdModal, #savePromptModal, #deleteConfirmModal) button { font-weight: 500; min-height: 42px; padding: 10px 18px; }
body:has(.creation-panel) #pointsModal > div { max-width: 1000px; }
body:has(.creation-panel) #pointsModal > div > div:first-child { padding: 22px 28px; }
body:has(.creation-panel) #pointsModal > div > div:first-child h2 { font-size: 22px; }
body:has(.creation-panel) #pointsModal > div > div:first-child .bg-amber-500 { background: #eff5ff; color: #2563eb; border-radius: 12px; box-shadow: none; }
body:has(.creation-panel) #pointsModal .custom-scrollbar { padding: 24px 28px; background: #f7f9fc; }
body:has(.creation-panel) #pointsModal [class*="gap-10"] { gap: 20px; }
body:has(.creation-panel) #pointsModal [class*="rounded-\["] { border-radius: 12px; box-shadow: none; }
body:has(.creation-panel) #pointsModal [class*="bg-gradient"] { background: #eff5ff; color: #263247; border: 1px solid #dce7fc; }
body:has(.creation-panel) #pointsModal [class*="bg-gradient"] :is(.text-indigo-100, .text-white) { color: #5c6a80; }
body:has(.creation-panel) #pointsModal [class*="bg-gradient"] a { background: #2563eb; color: #fff; border: 0; border-radius: 8px; }
body:has(.creation-panel) #pointsModal #modalPointsDisplay { font-size: 44px; font-weight: 600; color: #2563eb; }
body:has(.creation-panel) #pointsModal .space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 24px; }
body:has(.creation-panel) #pointsModal .pt-10 { padding-top: 24px; }
body:has(.creation-panel) #pointsModal .p-8 { padding: 20px; }
body:has(.creation-panel) #pointsModal :is(th, td) { padding: 14px 18px; }
body:has(.creation-panel) #pointsModal .h-64 { height: 200px; }
body:has(.creation-panel) #globalNav { background: #edf1f8; border-right: 1px solid #e1e7f0; box-shadow: none; }
body:has(.creation-panel) #globalNav img { border-radius: 10px; box-shadow: none; }
body:has(.creation-panel) #dynamicMenuList a { flex-direction: column; gap: 6px; width: 56px; height: 60px; color: #697586; border-radius: 12px; box-shadow: none; }
body:has(.creation-panel) #dynamicMenuList a:hover { background: #e3eaf5; color: #263247; }
body:has(.creation-panel) #dynamicMenuList a[aria-current="page"] { background: #fff; color: #2563eb; box-shadow: 0 2px 6px #31548408; }
body:has(.creation-panel) .workspace-nav-label { display: block; font-size: 10px; line-height: 14px; font-weight: 500; white-space: nowrap; }
body:has(.creation-panel) #globalUserProfile :is(.bg-slate-800, .border-slate-700) { background: #edf1f8; border-color: #dce4f0; border-radius: 10px; color: #697586; }
body:has(.creation-panel) .ready-dot { display: none; }
body:has(.mobile-workspace) #imagePreviewModal { background: #101722; }
body:has(.creation-panel) > footer { background: #f5f7fb; border-color: #e9edf3; backdrop-filter: none; }
body:has(.creation-panel) #historyList > .history-batch > button { margin-top: 12px; font-weight: 500; border-radius: 7px; background: #f7f9fc; border-color: #e7ecf3; color: #5c6a80; }
@media (max-width: 767px) {
    body:has(.creation-panel) #dynamicMenuList a { flex-direction: row; gap: 6px; width: auto; padding: 0 10px; height: 44px; border-radius: 8px; }
    body:has(.creation-panel) .workspace-nav-label { font-size: 12px; }
    body:has(.creation-panel) [id$="Modal"] { padding: 12px; }
    body:has(.creation-panel) #pointsModal .custom-scrollbar { padding: 16px; }
    body:has(.creation-panel) [id$="Modal"] :is(input, select) { font-size: 16px; }
    body:has(.creation-panel) #pointsModal :is(th, td) { padding: 10px 8px; }
}
