.inbox-section .workspace {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.inbox-section .workspace > .topbar,
.inbox-section .workspace > .result-note { flex: 0 0 auto; }
/* Real review experience V2: fixed desktop viewer + independently scrolling judgment rail. */
.inbox-section .masonry.inbox-queue-grid {
  display: block !important;
  box-sizing: border-box;
  flex: 1 1 0;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 18px 14px !important;
  overflow: hidden !important;
}

.inbox-section .inbox-queue-stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden !important;
}

.inbox-section .inbox-queue-card.inbox-unified-card,
.inbox-section .inbox-queue-card.inbox-unified-card.is-portrait,
.inbox-section .inbox-queue-card.inbox-unified-card.is-landscape {
  position: relative;
  inset: auto;
  display: grid !important;
  grid-template-columns: minmax(0, 52fr) minmax(430px, 48fr) !important;
  align-items: stretch;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: none !important;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 25px;
}

.inbox-section .inbox-unified-card .inbox-queue-media,
.inbox-section .inbox-unified-card.is-portrait .inbox-queue-media,
.inbox-section .inbox-unified-card.is-landscape .inbox-queue-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100% !important;
  min-width: 0;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  contain: layout paint;
  background: rgba(220, 226, 236, .48);
  touch-action: none;
  cursor: zoom-in;
}

.inbox-section .inbox-queue-media.is-viewing { cursor: grab; }
.inbox-section .inbox-queue-media.is-dragging { cursor: grabbing; }

.inbox-viewer-content {
  position: absolute;
  inset: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  min-height: 0;
  transform: translate3d(var(--viewer-x, 0), var(--viewer-y, 0), 0) scale(var(--viewer-scale, 1));
  transform-origin: center;
  transition: transform 120ms ease-out;
  will-change: transform;
}
.inbox-queue-media.is-dragging .inbox-viewer-content { transition: none; }

.inbox-viewer-content > img,
.inbox-unified-card.is-portrait .inbox-viewer-content > img,
.inbox-unified-card.is-landscape .inbox-viewer-content > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  user-select: none;
  -webkit-user-drag: none;
}
.inbox-viewer-content > .source-placeholder,
.inbox-viewer-content > .prompt-preview {
  width: 100%;
  height: 100%;
}

.inbox-viewer-controls {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 12px;
  background: rgba(249, 251, 255, .68);
  box-shadow: 0 8px 25px rgba(37, 51, 78, .12);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.inbox-viewer-controls button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #536174;
  font-size: 16px;
  cursor: pointer;
}
.inbox-viewer-controls button:hover { background: rgba(255,255,255,.72); }
.inbox-viewer-controls span {
  min-width: 42px;
  color: #687487;
  font-size: 10px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.inbox-file-identity {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 16px;
  display: flex;
  max-width: calc(100% - 190px);
  min-width: 0;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(249, 251, 255, .68);
  color: #6f7b8d;
  font-size: 10px;
  line-height: 1.35;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}
.inbox-file-identity span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-file-identity b { flex: none; font-weight: 500; white-space: nowrap; }

.inbox-section .inbox-unified-card .inbox-unified-judgment,
.inbox-section .inbox-unified-card.is-portrait .inbox-unified-judgment,
.inbox-section .inbox-unified-card.is-landscape .inbox-unified-judgment {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden;
  border-left: 1px solid rgba(116, 132, 155, .10);
  background: rgba(251, 252, 254, .42);
}

.inbox-section .inbox-unified-card .inbox-aesthetic-panel,
.inbox-section .inbox-unified-card.is-portrait .inbox-aesthetic-panel,
.inbox-section .inbox-unified-card.is-landscape .inbox-aesthetic-panel {
  box-sizing: border-box;
  align-self: stretch;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-height: none;
  padding: 20px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

/* Fixed action footer; controls and progress never size the image grid. */
.inbox-section .inbox-unified-card .inbox-queue-actions {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 82px;
  align-items: center;
  justify-content: space-evenly;
  gap: 16px;
  width: 100%;
  height: 82px;
  margin: 0;
  padding: 10px 18px 22px;
  border-top: 1px solid rgba(111, 128, 151, .10);
  background: rgba(248, 250, 253, .82);
}
.inbox-section .inbox-unified-card .inbox-queue-actions button {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
}
.inbox-section .inbox-queue-actions span { display: flex; }
.inbox-section .inbox-queue-actions svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inbox-section .inbox-queue-actions small {
  position: absolute;
  top: calc(100% + 4px);
  width: 64px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}
.inbox-section .inbox-aesthetic-panel::-webkit-scrollbar,
.inbox-section .inbox-aesthetic-panel *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.inbox-section .inbox-aesthetic-panel * { scrollbar-width: none; }

.inbox-section .inbox-queue-stage > .inbox-queue-dots {
  height: 18px;
  min-height: 18px;
  margin: 0;
  overflow: hidden;
}

.visual-type-field { min-width: 0; }
.visual-type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.visual-type-head > span {
  color: #273142;
  font-size: 15px;
  font-weight: 660;
  letter-spacing: -.02em;
}
.visual-type-head > button {
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(226, 232, 241, .64);
  color: #667386;
  font-size: 10px;
  cursor: pointer;
}
.visual-type-summary {
  margin-top: 7px;
  color: #59677a;
  font-size: 12px;
  line-height: 1.45;
}
.visual-type-editor {
  display: grid;
  gap: 10px;
  margin-top: 11px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(230, 235, 243, .56);
}
.visual-type-options,
.visual-subtype-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.visual-type-options button,
.visual-subtype-options button {
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid rgba(108, 126, 151, .12);
  border-radius: 9px;
  background: rgba(255,255,255,.48);
  color: #667285;
  font-size: 10px;
  line-height: 1.25;
  cursor: pointer;
}
.visual-type-options button.active,
.visual-subtype-options button.active {
  border-color: rgba(65, 113, 190, .22);
  background: rgba(218, 231, 252, .82);
  color: #355985;
}

.inbox-unified-card .aesthetic-signal-groups {
  gap: 15px;
  margin-top: 20px;
}
.inbox-unified-card .aesthetic-signal-list { gap: 6px; }
.inbox-unified-card .aesthetic-signal,
.inbox-unified-card .aesthetic-library button {
  min-height: 28px;
  font-size: 10px;
  line-height: 1.25;
}
.inbox-unified-card .aesthetic-picker {
  margin-top: 10px;
  padding: 10px;
  border-radius: 13px;
}
.inbox-unified-card .aesthetic-library {
  max-height: 124px;
  padding-right: 4px;
}
.inbox-unified-card .aesthetic-library .aesthetic-more {
  border-style: dashed;
  color: #526f9a;
}

.normalization-prompt {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid rgba(71, 112, 179, .14);
  border-radius: 12px;
  background: rgba(226, 237, 255, .58);
}
.normalization-prompt > small {
  display: block;
  margin-bottom: 7px;
  color: #66758a;
  font-size: 9px;
}
.normalization-prompt > div {
  display: grid;
  gap: 6px;
}
.normalization-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #3f4d61;
  font-size: 11px;
}
.normalization-prompt button {
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid rgba(70, 112, 178, .16);
  border-radius: 9px;
  background: rgba(255,255,255,.68);
  color: #3e5f8d;
  font-size: 10px;
  cursor: pointer;
}
.normalization-prompt .normalization-keep {
  margin-top: 7px;
  border-style: dashed;
  color: #6d7786;
}

.inbox-unified-card .aesthetic-axes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}
.inbox-unified-card .aesthetic-axis,
.inbox-unified-card .creative-expression-axis {
  margin: 0;
  padding: 0;
  border: 0;
}
.inbox-unified-card .aesthetic-axis > span {
  margin-bottom: 6px;
  color: #717d8f;
  font-size: 10px;
}
.inbox-unified-card .aesthetic-axis > div {
  min-height: 32px;
  padding: 3px;
  border-radius: 11px;
}
.inbox-unified-card .aesthetic-axis button {
  height: 28px;
  font-size: 10px;
}
.inbox-unified-card .inbox-judgment-note {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(108, 123, 145, .10);
}
.inbox-unified-card .inbox-judgment-note textarea { resize: none; }

/* Review UX polish 02: keep suggestion state visible but quiet, and make
   positive/negative judgment controls one shared preference language. */
.inbox-unified-card .signal-group-head {
  min-height: 25px;
  margin-bottom: 7px;
}
.inbox-unified-card .signal-heading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #647287;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.25;
}
.inbox-unified-card .signal-heading-icon {
  color: #7b899c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
/* C1.6D: LIKE and DISLIKE use one shared preference-list geometry. */
.inbox-unified-card .aesthetic-signal-group .signal-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.inbox-unified-card .aesthetic-signal-group .signal-group-head > button {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #718096;
  font: inherit;
  font-size: 15px;
  line-height: 24px;
  text-align: center;
}
.inbox-unified-card .aesthetic-signal-group .signal-group-head > button:hover,
.inbox-unified-card .aesthetic-signal-group .signal-group-head > button:focus-visible {
  background: rgba(226, 233, 241, .58);
  outline: 0;
}
.inbox-unified-card .aesthetic-signal-group .unified-picker-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.inbox-unified-card .aesthetic-signal-group .unified-picker-search input {
  flex: 1 1 auto;
  min-width: 0;
}
.inbox-unified-card .aesthetic-signal-group .unified-picker-search button,
.inbox-unified-card .aesthetic-signal-group .unified-picker-entry,
.inbox-unified-card .aesthetic-signal-group .unified-picker-view-all,
.inbox-unified-card .aesthetic-signal-group .unified-picker-options button,
.inbox-unified-card .aesthetic-signal-group .creative-method-categories button {
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
}
.inbox-unified-card .aesthetic-signal-group .unified-picker-search input:focus {
  outline: 0;
  border-color: rgba(96, 125, 163, .28);
  box-shadow: 0 0 0 2px rgba(213, 225, 239, .52);
}
.inbox-unified-card .aesthetic-signal-group .picker-empty {
  display: block;
  padding: 4px 2px;
  color: #8a96a4;
  font-size: 10px;
  line-height: 1.35;
}
.inbox-unified-card .aesthetic-signal.is-suggested {
  border-color: rgba(107, 130, 164, .12);
  background: rgba(226, 234, 245, .55);
  color: #5d708c;
}
.inbox-unified-card .aesthetic-signal:not(.is-suggested) {
  background: rgba(255, 255, 255, .54);
  color: #526279;
}
.inbox-unified-card .aesthetic-signal.is-suggested small {
  color: #7f8ea3;
}

.keyword-expression-list {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(232, 237, 245, .58);
  color: #6c7788;
  font-size: 11px;
  line-height: 1.7;
}
.keyword-expression-list strong {
  display: block;
  color: #4b586b;
  font-size: 10px;
}

@media (max-width: 1040px) {
  .inbox-section .inbox-queue-card.inbox-unified-card,
  .inbox-section .inbox-queue-card.inbox-unified-card.is-portrait,
  .inbox-section .inbox-queue-card.inbox-unified-card.is-landscape {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 48%) !important;
  }
  .inbox-section .inbox-unified-card .inbox-aesthetic-panel { padding-inline: 19px; }
}

/* Phase B: stable method browsing, matching vocabulary readability. */
.inbox-section .topbar .search-wrap { display: none; }
.creative-method-field.is-expanded .creative-method-selected {
  height: 62px;
  min-height: 62px;
  overflow-y: auto;
  align-content: flex-start;
  scrollbar-width: none;
}
.creative-method-field.is-expanded .creative-method-selected::-webkit-scrollbar { display: none; }
.creative-method-categories button,
.creative-method-groups button {
  font-size: 10px;
  line-height: 1.25;
  min-height: 28px;
}
.creative-method-groups > div > span { font-size: 10px; line-height: 1.4; }
.inbox-viewer-controls button:disabled { opacity: .35; cursor: default; }
.method-tooltip {
  position: fixed; z-index: 10000; max-width: 260px; padding: 9px 11px;
  border-radius: 9px; color: #f6f8fc; background: rgba(42,52,69,.97);
  box-shadow: 0 5px 18px #1a243526; font-size: 11px; line-height: 1.6;
  pointer-events: none;
}
.method-tooltip small { display: block; margin-top: 4px; color: #d2dce9; font-size: inherit; }

/* Schema 16 asset identity, domain and usage controls. */
.asset-identity-field {
  display: grid;
  gap: 10px;
}
.asset-identity-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.identity-summary-row {
  align-items: center;
  display: flex;
  gap: 7px;
  min-height: 20px;
}
.identity-summary-row strong {
  overflow: hidden;
  color: #657286;
  font-size: 10px;
  font-weight: 480;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-summary-row.identity-summary-primary strong {
  color: #4f5e73;
  font-weight: 590;
}
.identity-summary-row.identity-summary-secondary strong {
  color: #8993a1;
  font-weight: 440;
}
.identity-summary-row[data-summary-state="suggested"] strong {
  color: #7a8594;
  font-weight: 480;
}
.identity-summary-row[data-summary-state="selected"] strong {
  color: #586b85;
}
.identity-summary-status {
  flex: 0 0 auto;
  color: #9aa5b4;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
}
.asset-identity-summary > button,
.identity-suggestion button,
.identity-clear {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(105, 122, 147, .16);
  border-radius: 9px;
  color: #5b6879;
  background: rgba(255, 255, 255, .9);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.identity-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #5c6b80;
  background: rgba(230, 237, 247, .58);
  font-size: 10px;
  line-height: 1.5;
}
.identity-suggestion strong {
  color: #44546a;
  font-weight: 600;
}
.p5-live-visual {
  display: grid;
  gap: 7px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(91, 115, 151, .16);
  border-radius: 12px;
  color: #5c6b80;
  background: rgba(230, 237, 247, .42);
  font-size: 10px;
  line-height: 1.5;
}
.p5-live-visual > b,
.p5-live-visual header b { color: #44546a; font-size: 11px; }
.p5-live-visual small { color: #7e8998; }
.p5-live-visual p { margin: 0; }
.p5-live-visual header { display: grid; gap: 2px; }
.p5-live-visual button {
  min-height: 29px;
  padding: 4px 10px;
  border: 1px solid rgba(70, 112, 178, .2);
  border-radius: 9px;
  color: #3e5f8d;
  background: rgba(255,255,255,.85);
  font: inherit;
  cursor: pointer;
}
.p5-live-visual button:disabled { opacity: .55; cursor: wait; }
.p5-live-visual label { display: grid; gap: 4px; }
.p5-live-visual select,
.p5-live-visual textarea {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid rgba(105, 122, 147, .18);
  border-radius: 8px;
  color: #44546a;
  background: rgba(255,255,255,.9);
  font: inherit;
}
.p5-live-visual > div { display: flex; flex-wrap: wrap; gap: 6px; }
.p5-live-visual p span { display: inline-flex; align-items: center; gap: 4px; margin-right: 7px; }
.p5-live-visual p i { width: 12px; height: 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; }
.series-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  padding: 11px 12px;
  border: 1px dashed rgba(91, 115, 151, .24);
  border-radius: 12px;
  color: #5c6b80;
  background: rgba(230, 237, 247, .58);
  font-size: 10px;
  line-height: 1.5;
}
.series-suggestion b, .series-suggestion small { display: block; }
.series-suggestion b { color: #40536d; font-size: 11px; }
.series-suggestion small { color: #7e8998; margin-top: 2px; }
.series-suggestion > button {
  align-self: start;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(82, 108, 147, .22);
  border-radius: 9px;
  color: #40536d;
  background: rgba(255, 255, 255, .92);
  font: inherit;
  cursor: pointer;
}
.series-suggestion details { grid-column: 1 / -1; color: #778394; }
.series-suggestion summary { cursor: pointer; }
.series-suggestion p { margin: 5px 0 0; }
.series-suggestion .series-conflict { color: #9a6f5c; }
.series-weak {
  padding: 9px 11px;
  border-radius: 10px;
  color: #7c8795;
  background: rgba(241, 243, 247, .72);
  font-size: 10px;
}
.identity-editor-section.is-suggested,
.aesthetic-axis[data-suggestion-state="suggested"] { opacity: .76; }
.identity-editor-section.needs-attention,
.aesthetic-axis[data-suggestion-state="attention"] {
  padding: 8px;
  border-left: 2px solid rgba(182, 126, 92, .48);
  background: rgba(255, 248, 242, .48);
}
.asset-type-editor-section.is-suggested,
.asset-type-editor-section.needs-attention {
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
}
.asset-type-family button.suggested,
.asset-usage-options button.suggested,
.aesthetic-axis button.suggested {
  border-style: dashed;
  border-color: rgba(78, 104, 143, .4);
  color: #52647d;
  background: rgba(228, 235, 245, .68);
}
.visual-domain-selected > span.suggested { border-style: dashed; opacity: .82; }
.visual-domain-selected > span.suggested i { padding: 0 6px 0 0; color: #78879a; font-size: 9px; font-style: normal; }
.asset-identity-editor {
  display: grid;
  gap: 16px;
  padding: 8px 2px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.identity-editor-section {
  display: grid;
  gap: 8px;
}
.identity-editor-section > strong {
  color: #546174;
  font-size: 10px;
  font-weight: 600;
}
.asset-type-groups {
  display: grid;
  gap: 13px;
}
.asset-type-family {
  display: grid;
  gap: 5px;
}
.asset-type-family > span {
  color: #919aa7;
  font-size: 9px;
  font-weight: 500;
}
.asset-type-family > div,
.asset-usage-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.asset-type-family button,
.asset-usage-options button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(109, 125, 149, .14);
  border-radius: 10px;
  color: #687587;
  background: rgba(255, 255, 255, .9);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.asset-type-editor-section > header {
  display: flex;
  align-items: center;
  min-height: 26px;
}
.asset-type-editor-section > header b {
  color: #566376;
  font-size: 10px;
  font-weight: 560;
}
.asset-type-editor-section .asset-type-family button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border: 0;
  border-radius: 9px;
  color: #758091;
  background: transparent;
  box-shadow: none;
  font-weight: 480;
  transition: color .12s ease, background-color .12s ease;
}
.asset-type-editor-section .asset-type-family button:hover {
  color: #617086;
  background: rgba(105, 126, 158, .055);
}
.asset-type-editor-section .asset-type-family button.active,
.asset-type-editor-section .asset-type-family button.active:hover {
  border: 0;
  color: #586b85;
  background: rgba(119, 142, 176, .105);
  box-shadow: none;
  font-weight: 540;
}
.asset-type-editor-section .asset-type-family button.suggested,
.asset-type-editor-section .asset-type-family button.suggested:hover {
  border: 0;
  color: #748094;
  background: transparent;
  box-shadow: none;
  font-weight: 480;
}
.asset-type-editor-section .asset-type-family button.suggested:hover {
  background: rgba(105, 126, 158, .055);
}
.asset-type-editor-section .asset-type-family button small {
  color: #8d99aa;
  font-size: 8px;
  font-weight: 500;
}
.asset-type-family button.is-selected,
.asset-type-family button.active,
.asset-usage-options button.is-selected,
.asset-usage-options button.active {
  border-color: rgba(78, 104, 143, .36);
  color: #35465e;
  background: rgba(220, 230, 244, .9);
  box-shadow: inset 0 0 0 1px rgba(78, 104, 143, .06);
}
.identity-clear {
  justify-self: start;
  min-height: auto;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  color: #929aa6;
  background: transparent;
  font-size: 9px;
}
.identity-clear:hover {
  color: #687587;
  background: transparent;
}

/* Asset Identity V0.2: three quiet rows with one lightweight popover open at a time. */
.asset-identity-editor {
  display: grid;
  gap: 0;
  max-height: min(360px, 48vh);
  overflow: visible;
  padding: 3px 0 0;
  border: 0;
  background: transparent;
}
.identity-editor-row {
  min-width: 0;
  border-bottom: 1px solid rgba(112, 127, 151, .08);
}
.identity-editor-row:last-child { border-bottom: 0; }
.identity-editor-row-trigger {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 16px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  gap: 10px;
  padding: 7px 2px;
  border: 0;
  border-radius: 8px;
  color: #6f7d90;
  background: transparent;
  font: inherit;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.identity-editor-row-trigger:hover { background: rgba(105, 126, 158, .045); }
.identity-editor-row-trigger > span:first-child { color: #8b96a5; }
.identity-editor-row-value {
  min-width: 0;
  color: #56667b;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.identity-editor-row-value.is-suggested { color: #718198; }
.identity-editor-row-value small {
  margin-left: 6px;
  color: #a0a9b6;
  font-size: 8px;
  font-weight: 500;
}
.identity-editor-chevron { color: #a0a9b6; font-size: 13px; text-align: right; }
.identity-editor-popover {
  max-height: min(270px, 34vh);
  overflow: auto;
  margin: 0 0 8px 74px;
  padding: 9px 10px;
  border: 1px solid rgba(105, 122, 147, .12);
  border-radius: 12px;
  background: rgba(252, 253, 255, .94);
  box-shadow: 0 8px 24px rgba(37, 53, 76, .08);
  backdrop-filter: blur(14px);
}
.identity-type-groups { display: grid; grid-template-columns: minmax(104px, .8fr) minmax(150px, 1.2fr); gap: 8px; }
.identity-type-family-list { display: grid; align-content: start; gap: 2px; padding-right: 7px; border-right: 1px solid rgba(105, 122, 147, .11); }
.identity-family-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 30px;
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  color: #65748a;
  background: transparent;
  font: inherit;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.identity-family-trigger:hover { background: rgba(105, 126, 158, .055); }
.identity-family-trigger.active { color: #526783; background: rgba(218, 228, 243, .72); }
.identity-type-options { display: grid; align-content: start; gap: 1px; padding: 0 0 4px; }
.identity-type-options button,
.identity-usage-popover .asset-usage-options button {
  min-height: 29px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  color: #6f7d90;
  background: transparent;
  font: inherit;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.identity-type-options button:hover,
.identity-usage-popover .asset-usage-options button:hover { background: rgba(105, 126, 158, .055); }
.identity-type-options button.active,
.identity-type-options button.active:hover,
.identity-usage-popover .asset-usage-options button.active,
.identity-usage-popover .asset-usage-options button.active:hover {
  color: #526783;
  background: rgba(218, 228, 243, .72);
}
.identity-type-options button.active::after { content: "✓"; float: right; color: #7b8ca5; }
.identity-type-options button.suggested { color: #79879a; }
.identity-type-options button small { margin-left: 6px; color: #a0a9b6; font-size: 8px; }
@media (max-width: 520px) {
  .identity-type-groups { grid-template-columns: minmax(88px, .75fr) minmax(132px, 1.25fr); gap: 5px; }
}
.asset-color-search { position: relative; display: flex; align-items: center; min-height: 34px; padding-inline: 7px; border-left: 1px solid var(--db-glass-stroke); color: var(--db-text-secondary); font-size: 10px; }
.asset-color-search > button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 8px; border: 1px solid var(--db-glass-stroke); border-radius: 8px; color: var(--db-text-secondary); background: rgba(255,255,255,.52); font: inherit; cursor: pointer; }
.asset-color-search > button:hover { background: rgba(255,255,255,.8); color: var(--db-text-primary); }
.asset-color-search > button b { color: var(--db-text-tertiary); font-size: 9px; }
.asset-color-search > button i { width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: #6f85b7; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.asset-color-popover { top: 39px; right: 0; z-index: 25; display: grid; gap: 10px; width: min(310px, calc(100vw - 32px)); padding: 13px; }
.asset-color-popover[hidden] { display: none; }
.asset-color-popover > header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.asset-color-popover > header > div { display: grid; gap: 3px; }
.asset-color-popover header small, .asset-color-popover > small { color: var(--db-text-tertiary); font-size: 9px; line-height: 1.4; }
.asset-color-popover header button { border: 0; background: transparent; color: var(--db-text-tertiary); font: inherit; font-size: 9px; cursor: pointer; }
.asset-color-wheel-row { display: flex; align-items: center; gap: 12px; }
.asset-color-wheel-label { display: grid; gap: 4px; color: var(--db-text-tertiary); font-size: 9px; }
.asset-color-wheel-label input[type="color"] { width: 64px; height: 64px; padding: 4px; border: 0; border-radius: 50%; background: conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); cursor: pointer; }
.asset-color-wheel-label input[type="color"]::-webkit-color-swatch-wrapper { padding: 9px; }
.asset-color-wheel-label input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.asset-color-swatch-grid { display: flex; flex-wrap: wrap; gap: 7px; max-width: 170px; }
.asset-color-swatch-grid button { width: 19px; height: 19px; padding: 0; border: 1px solid rgba(80,100,130,.15); border-radius: 50%; background: var(--preset); cursor: pointer; }
.asset-color-swatch-grid button:hover, .asset-color-swatch-grid button:focus-visible { outline: 2px solid rgba(82,111,170,.4); outline-offset: 2px; }
.asset-color-hex { display: flex; align-items: center; justify-content: space-between; color: var(--db-text-tertiary); font-size: 9px; }
.asset-color-hex input { width: 92px; height: 28px; padding: 0 7px; border: 1px solid var(--db-glass-stroke); border-radius: 7px; color: var(--db-text-primary); background: rgba(255,255,255,.55); font: 10px ui-monospace, monospace; }
.asset-color-adjust { display: grid; gap: 6px; }
.asset-color-adjust label { display: flex; align-items: center; justify-content: space-between; color: var(--db-text-tertiary); font-size: 9px; }
.asset-color-adjust input[type="range"] { width: 190px; accent-color: var(--db-accent); }
.asset-color-apply { min-height: 29px; border: 1px solid rgba(87,115,174,.2); border-radius: 8px; color: #435f98; background: rgba(218,228,243,.72); font: inherit; cursor: pointer; }
@media (max-width: 900px) { .asset-color-search { margin-left: auto; border-left: 0; } .asset-color-popover { right: -5px; } }
.identity-popover-label { display: block; margin: 0 0 6px 2px; color: #9aa4b2; font-size: 9px; }
.identity-domain-popover .visual-domain-selected { gap: 4px; }
.identity-domain-popover .visual-domain-selected > span {
  min-height: 24px;
  border: 0;
  border-radius: 7px;
  background: rgba(229, 236, 247, .5);
}
.identity-domain-popover .visual-domain-selected > span.primary { background: rgba(218, 228, 243, .72); }
.identity-domain-popover .visual-domain-selected > span > button:first-child { padding: 5px 5px 5px 8px; }
.identity-domain-popover .visual-domain-selected > span > button:last-child { padding: 4px 7px 4px 2px; }
.identity-domain-popover .visual-domain-add {
  width: auto;
  min-height: 25px;
  padding: 4px 8px;
  border: 0;
  border-radius: 7px;
  color: #718096;
  background: rgba(105, 126, 158, .055);
  font-size: 9px;
}
.identity-domain-popover .visual-domain-picker { margin-top: 6px; padding: 6px; border: 0; background: rgba(240, 244, 250, .58); box-shadow: none; }
.identity-domain-popover .visual-domain-picker button { padding: 6px 7px; border-radius: 7px; }
.identity-domain-popover .visual-domain-picker button:hover { background: rgba(255, 255, 255, .82); }
.identity-domain-popover .identity-suggestion { margin-top: 7px; padding: 7px 8px; border-radius: 8px; background: rgba(235, 241, 249, .5); }
.identity-domain-popover .visual-subtype-options { margin-top: 8px; }
.identity-usage-popover .asset-usage-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.identity-usage-popover .asset-usage-options button { text-align: left; }
.identity-usage-popover .identity-suggestion { margin-top: 7px; padding: 7px 8px; border-radius: 8px; background: rgba(235, 241, 249, .5); }
.professional-traits-heading {
  margin: 2px 0 0;
  color: #4f5c6f;
  font-size: 10px;
  font-weight: 600;
}
.professional-traits-empty {
  padding: 12px 13px;
  border-radius: 12px;
  color: #818b99;
  background: rgba(239, 242, 247, .68);
  font-size: 10px;
  line-height: 1.55;
}

/* Review micro polish 01: keep identity as one quiet row of three fields. */
.inbox-section .asset-identity-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 14px;
  margin-top: 9px;
  min-width: 0;
}
.inbox-section .asset-identity-summary .identity-summary-row {
  min-width: 0;
  padding: 0;
  border: 0;
  line-height: 1.35;
}
.inbox-section .asset-identity-summary .identity-summary-row + .identity-summary-row {
  margin-top: 0;
}
.inbox-section .asset-identity-summary .identity-summary-row strong,
.inbox-section .asset-identity-summary .identity-summary-empty {
  display: block;
  overflow-wrap: anywhere;
}
.inbox-section .asset-identity-summary .identity-summary-primary strong { font-weight: 600; }
.inbox-section .asset-identity-summary .identity-summary-empty { color: #a2aab5; }

.inbox-section .asset-identity-editor {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  max-height: none;
  overflow: visible;
}
.inbox-section .identity-editor-row {
  position: relative;
  min-width: 0;
  border-bottom: 0;
}
.inbox-section .identity-editor-row-trigger {
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 6px;
  min-height: 38px;
  padding: 6px 8px;
  border-radius: 9px;
  background: rgba(232, 237, 245, .28);
}
.inbox-section .identity-editor-row-trigger > span:first-child {
  grid-column: 1 / -1;
  color: #8b96a5;
  font-size: 9px;
}
.inbox-section .identity-editor-row-value {
  grid-column: 1;
  grid-row: 2;
  font-size: 10px;
}
.inbox-section .identity-editor-chevron { grid-column: 2; grid-row: 2; }
.inbox-section .identity-editor-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  width: max-content;
  min-width: min(250px, 100%);
  max-width: min(330px, 40vw);
  margin: 0;
}
.inbox-section .identity-editor-row:nth-child(2) .identity-editor-popover { left: 50%; transform: translateX(-50%); }
.inbox-section .identity-editor-row:nth-child(3) .identity-editor-popover { right: 0; left: auto; }
.inbox-section .inbox-queue-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8994a3;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.inbox-unified-card .v03-test-panel { margin: 0 0 18px; padding: 13px 14px 14px; border: 1px solid rgba(105, 125, 151, .16); border-radius: 12px; background: rgba(247, 249, 252, .78); color: #5b6a7c; }
.v03-test-panel header, .v03-test-panel .v03-test-actions, .v03-test-panel .v03-feedback > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v03-test-panel header b { display: block; color: #3f5064; font-size: 13px; font-weight: 600; }
.v03-test-panel header small, .v03-test-panel .v03-test-actions span, .v03-sample-meta, .v03-empty, .v03-failure, .v03-result-label, .v03-feedback span { color: #8895a4; font-size: 11px; }
.v03-test-panel header button, .v03-test-panel .v03-next { border: 0; background: transparent; color: #7b8998; font-size: 11px; cursor: pointer; }
.v03-sample-meta { margin: 8px 0 12px; }
.v03-test-actions { margin-bottom: 10px; }
.v03-test-actions .primary-small { min-height: 28px; }
.v03-result-block { display: grid; gap: 6px; }
.v03-result-block ul { display: grid; gap: 4px; margin: 0 0 5px; padding: 0; list-style: none; }
.v03-result-block li { display: flex; align-items: baseline; gap: 7px; min-height: 23px; }
.v03-result-block li span { color: #7b8998; min-width: 72px; }
.v03-result-block li b { color: #4f6075; font-size: 12px; font-weight: 500; }
.v03-result-block li small { color: #9aa5b1; font-size: 10px; }
.v03-feedback { display: grid; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(105, 125, 151, .10); }
.v03-feedback > div { justify-content: flex-start !important; }
.v03-feedback button { border: 0; border-radius: 8px; padding: 4px 7px; background: transparent; color: #7b8998; font-size: 11px; cursor: pointer; }
.v03-feedback button:hover { background: rgba(223, 232, 242, .48); }
.v03-feedback button.active { background: rgba(218, 229, 242, .82); color: #506b89; }
.v03-feedback input { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid rgba(105, 125, 151, .16); padding: 5px 1px; outline: 0; background: transparent; color: #556579; font: inherit; font-size: 12px; }
.v03-feedback input:focus { border-bottom-color: rgba(88, 123, 162, .42); }
.v03-test-panel .v03-next { justify-self: end; margin-top: 9px; color: #5e7897; }
.v03-test-panel .v03-next:disabled { opacity: .35; cursor: default; }
.v03-report { display: grid; gap: 5px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(105, 125, 151, .10); }
.v03-report > b { color: #64758a; font-size: 11px; font-weight: 600; }
.v03-report > div { display: grid; gap: 3px; max-height: 150px; overflow: auto; }
.v03-report span { color: #8a96a4; font-size: 10px; line-height: 1.45; }
.inbox-section .inbox-queue-dots { display: none !important; }

/* Review UI Micro Polish 03: quiet semantic color and in-panel progress. */
.inbox-section .aesthetic-signal-group.like .signal-heading,
.inbox-section .aesthetic-signal-group.like .signal-heading-icon {
  color: #27866B;
}
.inbox-section .aesthetic-signal-group.dislike .signal-heading,
.inbox-section .aesthetic-signal-group.dislike .signal-heading-icon {
  color: #D65B68;
}
.inbox-section .inbox-unified-judgment > .inbox-queue-progress {
  box-sizing: border-box;
  flex: 0 0 27px;
  min-height: 27px;
  padding: 0 12px 5px;
  color: rgba(105, 119, 139, .68);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

@media (max-width: 980px) {
  .inbox-section .asset-identity-summary,
  .inbox-section .asset-identity-editor { gap: 7px; }
  .inbox-section .identity-editor-popover { max-width: 62vw; }
}
@media (max-width: 660px) {
  .inbox-section .asset-identity-summary,
  .inbox-section .asset-identity-editor { grid-template-columns: 1fr; }
  .inbox-section .identity-editor-popover,
  .inbox-section .identity-editor-row:nth-child(2) .identity-editor-popover,
  .inbox-section .identity-editor-row:nth-child(3) .identity-editor-popover { right: auto; left: 0; transform: none; max-width: calc(100vw - 48px); }
}
.identity-filter-group {
  display: flex;
  align-items: center;
  gap: 7px;
}
.identity-filter-group label {
  color: #7d8796;
  font-size: 10px;
  white-space: nowrap;
}
.identity-filter-group select {
  min-width: 116px;
  height: 30px;
  padding: 0 26px 0 9px;
  border: 1px solid rgba(105, 120, 141, .15);
  border-radius: 9px;
  color: #586577;
  background: rgba(248, 250, 252, .92);
  font: inherit;
  font-size: 10px;
}
.identity-filter-divider {
  width: 1px;
  height: 20px;
  background: rgba(103, 119, 143, .12);
}
.inbox-section .identity-filter-group,
.inbox-section .identity-filter-divider {
  display: none;
}

/* Professional Traits: one quiet Apple-like preference list. */
.inbox-unified-card .trait-parameter-panel {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}
.inbox-unified-card .aesthetic-axis[data-trait-row],
.inbox-unified-card .aesthetic-axis[data-trait-row][data-suggestion-state] {
  display: grid;
  grid-template-columns: minmax(88px, 116px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 46px;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}
.inbox-unified-card .aesthetic-axis[data-trait-row]:last-child { border-bottom: 0; }
.inbox-unified-card .trait-dimension {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #687587;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.inbox-unified-card .trait-resolution-note {
  color: #9a8c90;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .01em;
}
.inbox-unified-card .aesthetic-axis[data-trait-row][data-suggestion-state="conflict"] .trait-dimension::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(133, 111, 120, .55);
}
.inbox-unified-card .trait-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: 29px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 7px;
  background: rgba(218, 226, 238, .50);
  box-shadow: inset 0 1px rgba(255, 255, 255, .48);
}
.inbox-unified-card .trait-value,
.inbox-unified-card .trait-value.active,
.inbox-unified-card .trait-value.suggested {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 25px;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  color: #8a94a3;
  background: transparent;
  box-shadow: none;
  font-size: 9px;
  line-height: 1.25;
  cursor: pointer;
  transition: color .12s ease, background-color .12s ease;
}
.inbox-unified-card .trait-value span {
  display: block;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-unified-card .trait-value:hover { color: #66758b; background: rgba(255, 255, 255, .36); }
.inbox-unified-card .trait-value.active,
.inbox-unified-card .trait-value.suggested.active {
  color: #586b85;
  background: rgba(255, 255, 255, .80);
  box-shadow: var(--db-glass-highlight), 0 2px 6px rgba(57, 74, 105, .08);
  font-weight: 540;
}

@media (max-width: 980px) {
  .inbox-unified-card .aesthetic-axis[data-trait-row],
  .inbox-unified-card .aesthetic-axis[data-trait-row][data-suggestion-state] {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 7px 0;
  }
}
.unified-picker {
  margin-top: 7px;
  padding: 6px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.unified-picker-search { width: min(100%, 280px); }
.inbox-unified-card .unified-picker-search {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
}
.inbox-unified-card .unified-picker-search input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}
.inbox-unified-card .unified-picker-search button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .76);
  color: #59677a;
  font-size: 10px;
}
.unified-picker-group { margin-top: 8px; }
.unified-picker-group > small { color: #8b96a5; display: block; margin-bottom: 3px; font-size: 9px; font-weight: 400; }
.unified-picker-options { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.unified-picker-options button,
.creative-method-categories button,
.unified-picker-entry,
.unified-picker-view-all {
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #53657d;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
}
.unified-picker-options button:hover,
.creative-method-categories button:hover,
.unified-picker-entry:hover,
.unified-picker-view-all:hover { background: #f0f3f7; }
.unified-picker-options button.selected,
.creative-method-categories button.active { background: #e4ebf5; color: #425875; }
.unified-picker-entry,
.unified-picker-view-all { display: inline-block; margin-top: 5px; color: #71809a; }
.unified-picker-view-all { padding-left: 0; }
.creative-method-categories { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 4px; }
.aesthetic-signal.is-suggested small { color: #8492a5; margin-left: 4px; font-size: 10px; }
.signal-positive-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #738195;
}
.signal-positive-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
