/* Hide desktop-only entry points while allowing the shared renderer to initialize. */
#workspace-chat-flyout,
#workspace-chatgpt-official-option,
#workspace-gemini-official-option,
#workspace-browser-option,
#workspace-video-option,
#workspace-data-option,
#workspace-drive-option,
#workspace-employees-option,
#chatgpt-account-name,
#chatgpt-session-status,
#chatgpt-network-status,
#chatgpt-worker-status,
#backend-request-status,
.download-settings-toggle,
#remember-login,
label:has(#remember-login),
.lg-tool-row:has(#jd-main-image-tool),
.lg-tool-row:has(#garment-customization-tool),
.lg-tool-row:has(#order-automation-tool),
.lg-tool-row:has(#image-capture-tool),
[data-lg-tool="jd-main-image-tool"],
[data-lg-tool="garment-customization-tool"],
[data-lg-tool="order-automation-tool"],
[data-lg-tool="image-capture-tool"],
.image-custom-section {
  display: none !important;
}

#workspace-switcher #workspace-switcher-label {
  font-size: 14px;
  white-space: nowrap;
}

.order-workflow-body > section:has(> [data-workflow-content]) {
  padding: 16px;
}

#desktop-work-import {
  margin-inline-start: auto;
}

[data-account-color="violet"] { --web-account-color: #5b3df5; --web-account-ink: #fff; }
[data-account-color="blue"] { --web-account-color: #4f98ff; }
[data-account-color="sky"] { --web-account-color: #78cdff; }
[data-account-color="cyan"] { --web-account-color: #35ddd2; }
[data-account-color="green"] { --web-account-color: #43d479; }
[data-account-color="lime"] { --web-account-color: #cdff57; }
[data-account-color="amber"] { --web-account-color: #ffd84c; }
[data-account-color="orange"] { --web-account-color: #ff9e3f; }
[data-account-color="red"] { --web-account-color: #ff6076; }
[data-account-color="coral"] { --web-account-color: #ff9382; }
[data-account-color="pink"] { --web-account-color: #ff78b3; }
[data-account-color="lilac"] { --web-account-color: #c09bff; }

html.lg-shell #account-avatar[data-account-color] { background: var(--web-account-color); color: var(--web-account-ink, #14131a); }
#web-account-colors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--line, #dce3eb);
}
#web-account-colors-label { grid-column: 1 / -1; margin: 0; color: var(--muted, #5f6d81); font-size: 12px; }
html.lg-shell #account-menu #web-account-colors button {
  display: grid;
  place-items: center;
  inline-size: 30px;
  min-block-size: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--web-account-color) !important;
  color: var(--web-account-ink, #14131a) !important;
  font-weight: 700;
  cursor: pointer;
}
#web-account-colors [aria-pressed="true"] { outline: 1px solid var(--lg-text, #192534); outline-offset: 2px; }
#web-account-colors button:focus-visible { outline: 2px solid var(--lg-accent, #006de0); outline-offset: 2px; }
