:root {
  --cc-ink: #182334; --cc-muted: #526174; --cc-line: #e0e5ec;
  --cc-brand: #4338ca; --cc-bg: #f6f8fb; --cc-white: #fff;
  --cc-brand-soft: #eef2ff;
}
.cc-app { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--cc-ink); }
.cc-header, .cc-header *, .cc-workspace, .cc-workspace * { box-sizing: border-box; }
.cc-header { position: relative; z-index: 1000; background: white; border-bottom: 1px solid var(--cc-line); color: var(--cc-ink); }
.cc-header-inner { max-width: 1600px; margin: 0 auto; min-height: 66px; display: flex; align-items: center; gap: 30px; padding: 0 32px; }
.cc-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 19px; font-weight: 740; letter-spacing: -.65px; color: var(--cc-ink); flex-shrink: 0; }
.cc-logo-mark { width: 31px; height: 31px; display: grid; place-items: center; background: var(--cc-brand); color: white; border-radius: 8px; }
.cc-logo-mark svg { width: 19px; height: 19px; }
.cc-nav { display: flex; align-items: stretch; gap: 6px; align-self: stretch; min-width: 0; }
.cc-nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; position: relative; color: var(--cc-muted); text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600; }
.cc-nav-link:hover { color: var(--cc-brand); background: #f8f9fd; }
.cc-nav-link[aria-current=page] { color: var(--cc-brand); }
.cc-nav-link[aria-current=page]::after { content: ""; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: var(--cc-brand); border-radius: 2px 2px 0 0; }
.cc-header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.cc-header-tool { color: var(--cc-muted); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 9px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; border-radius: 7px; }
.cc-header-tool:hover, .cc-account-menu a:hover, .cc-account-menu button:hover { color: var(--cc-brand); background: var(--cc-brand-soft); }
.cc-account { position: relative; }
.cc-account summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 8px; min-height: 42px; }
.cc-account summary::-webkit-details-marker { display: none; }
.cc-account summary:hover { background: #f1f4f8; }
.cc-avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--cc-brand-soft); color: var(--cc-brand); font-size: 13px; font-weight: 700; }
.cc-account-menu { position: absolute; right: 0; top: calc(100% + 9px); width: min(290px, calc(100vw - 24px)); border: 1px solid var(--cc-line); background: white; box-shadow: 0 14px 35px #1823341a; border-radius: 10px; padding: 6px; }
.cc-account-info { padding: 10px 11px; margin-bottom: 5px; border-bottom: 1px solid var(--cc-line); overflow-wrap: anywhere; }
.cc-account-info strong { display: block; font-size: 14px; }
.cc-account-info span { display: block; color: var(--cc-muted); font-size: 12px; }
.cc-account-menu a, .cc-account-menu button { display: block; width: 100%; text-align: left; color: var(--cc-ink); border: 0; background: transparent; text-decoration: none; border-radius: 6px; padding: 10px 11px; min-height: 40px; font: inherit; font-size: 13px; cursor: pointer; }
.cc-account-menu form { margin: 0; }
.cc-account-menu .cc-logout { color: #a12626; }
.cc-menu-mobile { display: none !important; }
.cc-header svg, .cc-workspace svg { width: 17px; height: 17px; flex: 0 0 auto; }
.cc-header .cc-logo-mark svg { width: 20px; height: 20px; }
.cc-header a:focus-visible, .cc-header summary:focus-visible, .cc-header button:focus-visible, .cc-workspace a:focus-visible, .cc-workspace button:focus-visible, .cc-workspace input:focus-visible, .cc-workspace summary:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
.cc-workspace { color: var(--cc-ink); background: var(--cc-bg); min-height: calc(100vh - 66px); font-size: 14px; line-height: 1.5; }
.cc-workspace-inner { max-width: 1440px; margin: 0 auto; padding: 36px 32px 56px; }
.cc-page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.cc-page-head h1 { font-size: 32px; line-height: 1.2; font-weight: 720; letter-spacing: -.035em; margin: 0 0 5px; }
.cc-page-head p { margin: 0; color: var(--cc-muted); }
.cc-head-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.cc-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border: 1px solid var(--cc-line); border-radius: 8px; padding: 9px 14px; background: white; color: var(--cc-ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.35; }
.cc-button:hover { background: #f2f4f8; }
.cc-button--primary { background: var(--cc-brand); color: white; border-color: var(--cc-brand); }
.cc-button--primary:hover { background: #3730a3; color: white; }
.cc-button--open { color: var(--cc-brand); border-color: #c7c9eb; }
.cc-button--open:hover { background: var(--cc-brand-soft); }
.cc-link { color: var(--cc-brand); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cc-link:hover { text-decoration: underline; }
.cc-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
.cc-metric { color: inherit; display: block; min-width: 0; border: 1px solid var(--cc-line); background: white; border-radius: 10px; text-decoration: none; padding: 15px 18px; }
.cc-metric:hover { border-color: #a5b4fc; }
.cc-metric[aria-current=true] { border-color: #818cf8; box-shadow: 0 0 0 1px #818cf8; }
.cc-metric-label { color: var(--cc-muted); display: block; font-size: 13px; font-weight: 550; }
.cc-metric-number { display: block; font-size: 28px; line-height: 1.25; letter-spacing: -.035em; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cc-panel { background: white; border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: 0 2px 8px #16223509; }
.cc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px; }
.cc-toolbar h2 { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -.015em; }
.cc-toolbar p { color: var(--cc-muted); margin: 4px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.cc-search { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; min-width: 0; }
.cc-search-input { position: relative; min-width: 0; flex: 1 1 260px; }
.cc-search-input svg { position: absolute; top: 13px; left: 12px; color: var(--cc-muted); pointer-events: none; }
.cc-search input[type=search] { font: inherit; width: 100%; min-width: 0; border: 1px solid #cbd3df; border-radius: 8px; color: var(--cc-ink); background: white; height: 42px; padding: 9px 12px 9px 38px; }
.cc-search input::placeholder { color: #64748b; }
.cc-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.cc-table th { background: #f8fafc; color: var(--cc-muted); border-block: 1px solid var(--cc-line); padding: 11px 14px; font-size: 12px; font-weight: 650; text-align: left; }
.cc-table td { padding: 16px 14px; border-bottom: 1px solid #edf0f4; vertical-align: middle; overflow-wrap: anywhere; min-width: 0; }
.cc-table th:first-child, .cc-table td:first-child { padding-left: 22px; }
.cc-table th:last-child, .cc-table td:last-child { padding-right: 22px; }
.cc-table tbody tr:last-child td { border-bottom: 0; }
.cc-table tbody tr:hover td { background: #f9faff; }
.cc-table .cc-cell-name { font-size: 15px; font-weight: 700; color: var(--cc-ink); line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.cc-cell-name:hover { color: var(--cc-brand); text-decoration: underline; }
.cc-meta { display: block; margin-top: 4px; color: var(--cc-muted); font-size: 12px; line-height: 1.45; }
.cc-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: #eef2f6; color: #475569; font-size: 12px; font-weight: 650; line-height: 1.35; max-width: 100%; }
.cc-status::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.cc-status--waiting { background: #fef3c7; color: #854d0e; }
.cc-status--review { background: #e0f2fe; color: #075985; }
.cc-status--working { background: #eef2ff; color: #4338ca; }
.cc-status--done { background: #dcfce7; color: #166534; }
.cc-row-actions { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.cc-row-actions .cc-button { font-size: 12px; padding: 8px 11px; min-height: 38px; }
.cc-row-actions form { margin: 0; }
.cc-row-actions .cc-action-text { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 3px; font-size: 12px; }
.cc-row-actions .cc-secondary-action { color: var(--cc-muted); }
.cc-action-text:hover { color: var(--cc-brand); }
.cc-archive-button { cursor: pointer; color: var(--cc-muted); background: none; border: none; font: inherit; padding: 7px 5px; font-size: 12px; min-height: 38px; text-decoration: underline; text-underline-offset: 3px; }
.cc-archive-button:hover { color: #991b1b; }
.cc-copy-feedback { display: block; width: 100%; color: var(--cc-muted); font-size: 12px; }
.cc-copy-feedback:empty { display: none; }
.cc-empty { border-top: 1px solid var(--cc-line); text-align: center; padding: 58px 20px; }
.cc-empty-symbol { margin: 0 auto 16px; display: grid; place-items: center; width: 46px; height: 46px; background: var(--cc-brand-soft); color: var(--cc-brand); border-radius: 10px; }
.cc-empty-symbol svg { width: 23px; height: 23px; }
.cc-empty h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.cc-empty p { margin: 0 auto 20px; color: var(--cc-muted); max-width: 440px; overflow-wrap: anywhere; }
.cc-mobile-label { display: none; }
.cc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cc-notice { max-width: 1376px; margin: 14px auto 0; padding: 12px 16px; border-radius: 8px; background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.cc-notice--alert { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
@media(max-width: 1100px) {
  .cc-header-inner { padding: 0 22px; gap: 14px; }
  .cc-workspace-inner { padding: 28px 22px 44px; }
  .cc-inbox-table colgroup { display: none; }
  .cc-inbox-table, .cc-inbox-table tbody { display: block; }
  .cc-inbox-table thead { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
  .cc-inbox-table tr { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 12px 22px; padding: 17px 22px; border-top: 1px solid var(--cc-line); }
  .cc-inbox-table td, .cc-inbox-table td:first-child, .cc-inbox-table td:last-child { border: 0; padding: 0; display: block; min-width: 0; }
  .cc-inbox-table tr:hover td { background: transparent; }
  .cc-inbox-table td:nth-child(2) { justify-self: end; }
  .cc-inbox-table td:nth-child(5) { grid-column: 1/-1; }
  .cc-mobile-label { display: block; color: var(--cc-muted); font-size: 11px; margin-bottom: 4px; font-weight: 600; }
  .cc-notice { margin-left: 22px; margin-right: 22px; }
}
@media(max-width: 760px) {
  .cc-header-inner { min-height: 0; flex-wrap: wrap; padding: 0 16px; gap: 0; }
  .cc-logo, .cc-header-tools { min-height: 58px; }
  .cc-header-tools { gap: 2px; }
  .cc-header-tool { display: none; }
  .cc-menu-mobile { display: block !important; }
  .cc-nav { order: 3; width: 100%; height: 44px; gap: 4px; }
  .cc-nav-link { padding: 0 14px; }
  .cc-workspace-inner { padding: 22px 16px 36px; }
  .cc-page-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .cc-page-head h1 { font-size: 27px; }
  .cc-head-actions > * { flex: 1 1 auto; }
  .cc-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 18px; }
  .cc-metric { padding: 12px; }
  .cc-metric-number { font-size: 24px; }
  .cc-toolbar { display: block; padding: 15px; }
  .cc-search { margin-top: 13px; }
  .cc-search-input { flex: 1 1 140px; }
  .cc-inbox-table tr { padding: 16px; gap: 12px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .cc-inbox-table td:nth-child(1) { grid-column: 1/-1; }
  .cc-inbox-table td:nth-child(2) { justify-self: start; }
  .cc-inbox-table td:nth-child(3) { grid-column: 1/-1; grid-row: 3; }
  .cc-inbox-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .cc-inbox-table td:nth-child(5) { grid-row: 4; }
  .cc-row-actions .cc-button, .cc-row-actions .cc-action-text, .cc-archive-button { min-height: 44px; }
  .cc-archive-table colgroup { display: none; }
  .cc-archive-table, .cc-archive-table tbody { display: block; }
  .cc-archive-table thead { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
  .cc-archive-table tr { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px; border-top: 1px solid var(--cc-line); }
  .cc-archive-table td, .cc-archive-table td:first-child, .cc-archive-table td:last-child { display: block; padding: 0; border: 0; }
  .cc-notice { margin-left: 16px; margin-right: 16px; }
}
@media(min-width: 761px) {
  .cc-search { flex: 0 1 465px; flex-wrap: nowrap; }
  .cc-search-input { flex: 1 1 auto; }
}
@media(max-width: 760px) {
  .cc-search input[type=search], .cc-search > .cc-button { min-height: 44px; }
}

/* Scoped live workspace search and prominent seller question selector. */
[data-controller~="workspace-search"] [hidden] { display: none !important; }
[data-controller~="workspace-search"] .workspace-search-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 22px 12px; color: #475569; font-size: 13px; }
[data-controller~="workspace-search"] .workspace-search-feedback[data-state="idle"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); padding: 0; margin: -1px; }
[data-controller~="workspace-search"] .workspace-search-feedback[data-state="error"] { color: #92400e; }
.workspace-search-clear { flex-shrink: 0; white-space: nowrap; }
.cim-seller-builder-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.cim-select-all-questions { display: flex; align-items: center; gap: 13px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid #818cf8; border-radius: 10px; background: #eef2ff; color: #182334; cursor: pointer; min-height: 64px; }
.cim-select-all-questions:hover { background: #e0e7ff; }
.cim-select-all-questions #select-all-fields { appearance: auto; -webkit-appearance: auto; width: 24px; height: 24px; flex: 0 0 24px; margin: 0; accent-color: #4338ca; cursor: pointer; }
.cim-select-all-questions #select-all-fields:focus-visible { outline: 3px solid #4338ca; outline-offset: 3px; }
.cim-select-all-questions strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cim-select-all-questions .cim-select-all-help { display: block; margin-top: 3px; color: #475569; font-size: 13px; line-height: 1.4; }
