:root {
  --coop-ink: #202632;
  --coop-muted: #707785;
  --coop-line: #e3e6eb;
  --coop-coral: #ff6f61;
  --coop-coral-pale: #fff0ed;
  --coop-paper: #fff;
  --coop-bg: #f5f6f8;
}

.cooperation {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
/* .panel.active { display:block } 优先级更高，需显式覆盖才能约束高度 */
.panel.cooperation.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 56px);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  background: #fff;
}

.cooperation * { box-sizing: border-box; }
.cooperation button, .cooperation input, .cooperation select { font: inherit; }
.cooperation button { cursor: pointer; }
.cooperation button:disabled { cursor: not-allowed; opacity: .48; }
.cooperation svg { width: 1.05rem; height: 1.05rem; stroke-width: 1.8; }
.cooperation h1, .cooperation h2, .cooperation h3, .cooperation p { margin: 0; }
.cooperation h1, .cooperation h2, .cooperation h3, .cooperation strong, .cooperation b { color: var(--coop-ink); }
.cooperation small, .cooperation span { color: var(--coop-muted); }
.cooperation { color: var(--coop-ink); font-size: 13px; }

.coop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--coop-line);
  background: var(--coop-paper);
}
.coop-tabs { display: flex; height: 58px; gap: 1.75rem; }
.coop-view-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 0;
  background: transparent;
  color: #444b57;
  font-weight: 700;
}
.coop-view-tab b { padding: 2px 7px; border-radius: 999px; background: #fff0ee; color: #b24e43; font-size: 11px; }
.coop-view-tab.is-active { color: var(--coop-ink); }
.coop-view-tab.is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--coop-coral); }
.coop-sync span { display: inline-flex; align-items: center; gap: .35rem; color: #3c9471; font-weight: 700; }
.coop-sync .is-failed { color: #bf4d41; }

.coop-filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.6fr) repeat(4, minmax(125px, .78fr)) auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--coop-line);
  background: #fff;
}
.coop-search, .coop-select { display: flex; align-items: center; min-width: 0; height: 40px; border: 1px solid #dfe3e9; border-radius: 5px; background: var(--coop-paper); color: #78808c; }
.coop-search { gap: 8px; padding: 0 11px; }
.coop-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--coop-ink); background: transparent; }
.coop-search input::placeholder { color: #9aa1ac; }
.coop-select { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; padding-left: 10px; }
.coop-select span { font-size: 11px; }
.coop-select select, .coop-select output { min-width: 0; height: 100%; padding: 0 8px; border: 0; outline: 0; color: #414854; background: transparent; }
.coop-select output { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 39px; }
.coop-icon-button, .coop-sync-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid #d8dde5; border-radius: 5px; background: var(--coop-paper); color: #424955; }
.coop-icon-button { width: 40px; }
.coop-sync-button { gap: 7px; padding: 0 14px; border-color: var(--coop-coral); background: var(--coop-coral); color: #fff; font-weight: 700; }
.coop-sync-button svg { color: currentColor; }
.coop-icon-button:hover { border-color: #b7bdc7; background: #f9fafb; }
.coop-sync-button:hover:not(:disabled) { background: #ee5f52; }

.coop-topbar, .coop-filters { flex: 0 0 auto; }
.coop-workspace {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  background: var(--coop-paper);
  overflow: hidden;
}
.coop-loading, .coop-empty { display: grid; place-items: center; align-content: center; min-height: 280px; gap: 9px; color: var(--coop-muted); text-align: center; }
.coop-loading span { width: 24px; height: 24px; border: 2px solid #f2c3bd; border-top-color: var(--coop-coral); border-radius: 50%; animation: coop-spin .72s linear infinite; }
.coop-empty svg { width: 32px; height: 32px; color: #a2aab6; }
.coop-empty strong { font-size: 14px; }
@keyframes coop-spin { to { transform: rotate(360deg); } }

.coop-inbox-list, .coop-library-list {
  display: flex;
  flex-direction: column;
  min-width: 290px;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--coop-line);
  background: var(--coop-paper);
}
.coop-inbox-list > header, .coop-library-list > header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--coop-line);
}
.coop-inbox-list h2, .coop-library-list h2 { font-size: 17px; }
.coop-inbox-list p { margin-top: 3px; color: #8a909b; font-size: 12px; }
.coop-status-dot { padding: 7px 9px; border: 1px solid #bce5d7; border-radius: 999px; color: #348667; background: #effaf5; font-size: 11px; font-weight: 700; }
.coop-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.coop-inbox-row, .coop-library-row { width: 100%; border: 0; border-bottom: 1px solid #edf0f3; background: #fff; text-align: left; }
.coop-inbox-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 13px;
}
.coop-inbox-row:hover, .coop-library-row:hover, .coop-samples tbody tr:hover { background: #fafbfc; }
.coop-inbox-row.is-active { background: var(--coop-coral-pale); box-shadow: inset 3px 0 var(--coop-coral); }
.coop-inbox-main { display: grid; gap: 3px; min-width: 0; padding-top: 1px; }
.coop-inbox-name { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: #1f2630; font-size: 15px; font-weight: 750; }
.coop-kind-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  line-height: 18px;
  white-space: nowrap;
}
.coop-kind-tag.is-old { color: #2f6b57; background: #e7f5ef; }
.coop-kind-tag.is-organic { color: #8a5a12; background: #fff3d6; }
.coop-kind-tag.is-new { color: #355f9a; background: #e7eefc; }
.coop-inbox-handle { overflow: hidden; color: #8a919c; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.coop-inbox-shop, .coop-inbox-deadline { overflow: hidden; color: #3a4250; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.35; }
.coop-inbox-side { display: grid; justify-items: end; align-content: start; gap: 4px; min-width: 78px; padding-top: 1px; }
.coop-inbox-score-num { color: #c24b3f; font-size: 22px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.coop-inbox-score-hint { color: #8a5a52; font-size: 11px; }
.coop-inbox-order-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #2f6b57;
  background: #e7f5ef;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.coop-inbox-basis { color: #8a919c; font-size: 11px; }
.coop-library-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  min-height: 108px;
  padding: 12px 14px;
}
.coop-library-main { display: grid; gap: 8px; min-width: 0; }
.coop-library-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.coop-library-identity { display: grid; gap: 2px; min-width: 0; }
.coop-library-identity strong { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font-size: 14px; }
.coop-library-identity small { overflow: hidden; color: #8a919c; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.coop-library-side { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; }
.coop-library-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
.coop-library-metrics > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border-right: 1px solid #edf0f3;
}
.coop-library-metrics > span:last-child { border-right: 0; }
.coop-library-metrics b {
  overflow: hidden;
  color: #303743;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.coop-library-metrics em { color: #8a919c; font-size: 11px; font-style: normal; }
.coop-library-foot { color: #8a919c; font-size: 11px; }
.coop-avatar { display: inline-grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid #d9e0e1; border-radius: 50%; color: #386a65; background: #e7f1ef; font-size: 12px; font-weight: 800; overflow: hidden; }
.coop-avatar.has-img { padding: 0; background: #f3f4f6; }
.coop-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coop-pager { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; min-height: 56px; padding: 10px 14px; border-top: 1px solid var(--coop-line); color: #777e89; }
.coop-pager div { display: flex; align-items: center; gap: 7px; }
.coop-pager button { padding: 5px 8px; border: 1px solid #d9dee6; border-radius: 4px; background: #fff; color: #59616f; }

.coop-workspace:has(.coop-inbox-list), .coop-workspace:has(.coop-library-list) {
  display: grid;
  grid-template-columns: 365px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}
.coop-library-detail { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
.coop-detail-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.coop-detail-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 20px 20px;
  -webkit-overflow-scrolling: touch;
}
.coop-detail-pane .coop-profile { position: relative; z-index: 0; margin-bottom: 12px; }
.coop-detail-heading, .coop-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 104px; padding: 17px 0; border-bottom: 1px solid var(--coop-line); }
.coop-detail-heading > div:first-child, .coop-library-heading > div:first-child { display: flex; align-items: center; gap: 11px; }
.coop-detail-heading h1, .coop-library-heading h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  font-size: 23px;
}
.coop-follower-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #d9e4e2;
  border-radius: 999px;
  color: #2f6b63;
  background: #eef6f4;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.coop-follower-tag.is-muted { color: #8a919c; background: #f4f6f8; border-color: #e4e8ee; font-weight: 600; }
.coop-detail-heading p, .coop-library-heading p { margin-top: 4px; color: #7b828d; }
.coop-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.coop-detail-actions button, .coop-sample-person button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid #d6dce4; border-radius: 5px; color: #3f4651; background: #fff; font-weight: 600; }
.coop-detail-actions button:hover:not(:disabled), .coop-sample-person button:hover:not(:disabled) { border-color: #a7b0bb; background: #f8f9fa; }

.coop-application, .coop-profile, .coop-coop-data, .coop-product-table, .coop-sample-detail { margin-top: 14px; border: 1px solid var(--coop-line); border-radius: 6px; background: #fff; }
.coop-application > header, .coop-profile > header, .coop-coop-data > header, .coop-product-table > header, .coop-evidence-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 17px; border-bottom: 1px solid #edf0f3; }
.coop-application h2, .coop-profile h2, .coop-coop-data h2, .coop-product-table h2, .coop-evidence-panel h2 { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.coop-application header span, .coop-profile header span, .coop-coop-data header span, .coop-product-table header span { font-size: 11px; color: #747c88; }
.coop-coop-data-empty { margin: 0; padding: 18px 17px; color: #8a929e; }
.coop-coop-data-table { overflow: auto; }
.coop-coop-data-table table { width: 100%; border-collapse: collapse; }
.coop-coop-data-table th, .coop-coop-data-table td { padding: 12px 15px; border-bottom: 1px solid #edf0f3; text-align: left; vertical-align: middle; }
.coop-coop-data-table th { color: #747c88; background: #f7f8fa; font-size: 11px; font-weight: 700; }
.coop-coop-data-table td { font-size: 13px; color: #363e4a; }
.coop-coop-prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coop-coop-prod img, .coop-coop-prod > i { width: 38px; height: 38px; border-radius: 3px; flex: 0 0 auto; }
.coop-coop-prod img { object-fit: cover; background: #f1f3f5; }
.coop-coop-prod > i { display: grid; place-items: center; background: #f1f3f5; color: #8a929e; font-style: normal; font-size: 12px; font-weight: 700; }
.coop-coop-prod > span { display: grid; gap: 2px; min-width: 0; }
.coop-coop-prod strong { font-size: 13px; line-height: 1.35; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.coop-coop-prod small { color: #8a929e; font-size: 11px; }
.coop-coop-data-table tr.is-current-sku { background: #fff7f5; }
.coop-current-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 3px; background: #ffe6e1; color: #c24a3a; font-size: 10px; font-style: normal; font-weight: 700; }
.coop-video-open { height: 30px; padding: 0 10px; white-space: nowrap; }
.coop-video-dialog { width: min(360px, 50vw); height: min(680px, 75vh); max-height: 75vh; margin: auto; padding: 0; overflow: hidden; border: 0; }
.coop-video-dialog[open] { display: flex; flex-direction: column; }
.coop-video-dialog > form { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.coop-video-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding: 12px 12px 8px; }
.coop-video-body > header { flex: 0 0 auto; margin-bottom: 6px; padding-right: 36px; }
.coop-video-body h2 { margin: 0; font-size: 16px; }
.coop-video-body header p { margin: 4px 0 0; color: #6f7783; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coop-video-player { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; background: #0d0f12; border-radius: 8px; overflow: hidden; }
.coop-video-player iframe { width: min(100%, calc((min(680px, 75vh) - 148px) * 9 / 16)); height: min(100%, calc(min(680px, 75vh) - 148px)); aspect-ratio: 9 / 16; border: 0; background: #0d0f12; }
.coop-video-meta { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 12px; }
.coop-video-meta strong { font-weight: 700; }
.coop-video-meta span { color: #6f7783; }
.coop-video-meta a { color: #2f6fed; }
.coop-video-footer { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #edf0f3; }
.coop-video-body > .coop-empty { flex: 1; }
.coop-application-body { display: grid; grid-template-columns: minmax(200px, .5fr) minmax(0, 1fr) minmax(280px, .95fr); gap: 20px; padding: 22px 17px; align-items: start; }
.coop-score-reason { display: grid; gap: 8px; min-width: 0; padding-left: 16px; border-left: 1px solid #edf0f3; }
.coop-score-reason > span { color: #5d6570; font-size: 12px; font-weight: 700; }
.coop-score-reason > strong { color: #202632; font-size: 13px; font-weight: 600; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.coop-score-breakdown {
  min-width: 0;
  padding: 12px 12px 8px;
  border: 1px solid #dce7e2;
  border-radius: 8px;
  background: #fff;
}
.coop-score-breakdown .score-head { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #edf0f3; }
.coop-score-breakdown .score-total { font-size: 20px; color: #1d6b54; font-weight: 800; }
.coop-score-breakdown .score-total-unit { color: #3f4a56; font-weight: 700; }
.coop-score-breakdown .score-lines { gap: 0; }
.coop-score-breakdown .score-line {
  grid-template-columns: 7.2rem 3.4rem minmax(0, 1fr);
  gap: 6px 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 13px;
  line-height: 1.45;
  opacity: 1;
}
.coop-score-breakdown .score-line:last-child { border-bottom: 0; }
.coop-score-breakdown .score-line-zero { opacity: 1; }
.coop-score-breakdown .score-lbl { color: #1f2630; font-weight: 700; }
.coop-score-breakdown .score-pts { color: #c24b3f; font-size: 14px; font-weight: 800; }
.coop-score-breakdown .score-line-zero .score-pts { color: #6b7380; }
.coop-score-breakdown .score-note { color: #2c3440; font-size: 12.5px; }
.coop-score-breakdown .score-rule { color: #4a5563; font-size: 12px; }
.coop-product-block { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coop-product-block img, .coop-product-placeholder { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border: 1px solid #e1e4e8; border-radius: 4px; background: #f5f6f8; object-fit: cover; color: #929aa5; }
.coop-product-block > div { display: grid; gap: 4px; min-width: 0; }
.coop-product-block strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coop-product-block span, .coop-product-block small { font-size: 11px; }
.coop-application dl, .coop-sample-detail-grid dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 20px; margin: 0; }
.coop-application dt, .coop-sample-detail-grid dt { margin-bottom: 7px; color: #808894; font-size: 12px; }
.coop-application dd, .coop-sample-detail-grid dd { margin: 0; color: #202632; font-weight: 700; }
.coop-profile-head { align-items: flex-start !important; }
.coop-profile-head > div { display: grid; gap: 8px; min-width: 0; }
.coop-score-line { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; color: #6f7783; font-size: 12px; }
.coop-score-line b { color: #8a929d; font-weight: 500; }
.coop-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.coop-stat-grid > div { display: grid; gap: 8px; min-height: 82px; padding: 17px; border-right: 1px solid #edf0f3; align-content: start; }
.coop-stat-grid > div:last-child { border-right: 0; }
.coop-stat-grid span { color: #808894; font-size: 11px; }.coop-stat-grid strong { color: #1f2630; font-size: 17px; font-variant-numeric: tabular-nums; font-weight: 700; word-break: break-word; }
.coop-profile-details { border-top: 1px solid #edf0f3; }.coop-profile-details summary { padding: 13px 17px; color: #49515d; cursor: pointer; font-weight: 700; }.coop-profile-details summary::marker { color: var(--coop-coral); }
.coop-profile-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 4px 17px 20px; }.coop-profile-columns h3 { margin: 12px 0 6px; font-size: 13px; }.coop-profile-columns p { color: #626a76; line-height: 1.65; white-space: pre-line; }
.coop-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; padding: 6px 17px 22px; }
.coop-audience-grid h3 { margin: 0 0 10px; color: #2c3440; font-size: 13px; font-weight: 700; }
.coop-audience-grid .coop-coop-overview { grid-column: 1 / -1; }
.coop-coop-overview > h3 { margin-bottom: 12px; }
.coop-coop-kv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
}
.coop-coop-kv > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e8ecf1;
  border-radius: 6px;
  background: #fafbfc;
}
.coop-coop-kv > div span {
  color: #808894;
  font-size: 11px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coop-coop-kv > div strong {
  color: #1f2630;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.coop-coop-overview { margin-bottom: 8px; }
.coop-share-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.coop-share-list li { display: flex; justify-content: space-between; gap: 16px; color: #3a4250; font-size: 13px; line-height: 1.45; }
.coop-share-list li span { min-width: 0; }
.coop-share-list li b { flex: 0 0 auto; color: #1f2630; font-weight: 650; font-variant-numeric: tabular-nums; }
.coop-age-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.coop-age-chips > span { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 10px; border: 1px solid #e4e8ee; border-radius: 6px; background: #fafbfc; color: #3a4250; font-size: 12px; }
.coop-age-chips em { font-style: normal; color: #5d6673; }.coop-age-chips b { font-variant-numeric: tabular-nums; }
.coop-muted { margin: 0; color: #8a919c; font-size: 13px; }
.coop-library-profile { grid-column: 1; padding: 0 0 8px; }
.coop-library-profile .coop-profile { margin: 12px 16px 0; }
.coop-decision-bar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--coop-line);
  background: #fff;
  box-shadow: 0 -8px 20px rgba(28,34,45,.06);
}
.coop-decision-bar > div { flex: 1; display: grid; gap: 4px; min-width: 0; }
.coop-decision-bar > div span,
.coop-decision-bar > div small { overflow: hidden; text-overflow: ellipsis; }
.coop-decision-bar small { font-size: 11px; }
.coop-decision-bar button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px; border: 1px solid #d7dce4; border-radius: 5px; background: #fff; color: #4e5662; font-weight: 700; }
.coop-decision-bar .is-danger { border-color: #fac2ba; color: #b74b40; background: #fff7f5; }
.coop-decision-bar .is-primary { border-color: var(--coop-coral); color: #fff; background: var(--coop-coral); }

.coop-library-list > header span { color: #7d8490; }.coop-library-row.is-active { background: var(--coop-coral-pale); box-shadow: inset 3px 0 var(--coop-coral); }
.coop-library-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); grid-template-rows: minmax(0, 1fr); }
.coop-library-main-scroll {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.coop-library-heading { padding: 14px 17px; min-height: 78px; }.coop-fresh { display: inline-flex; align-items: center; gap: 4px; color: #3d9470; font-weight: 700; }.coop-metric-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--coop-line); }.coop-metric-strip div { display: grid; gap: 7px; min-height: 88px; padding: 16px; border-right: 1px solid #edf0f3; }.coop-metric-strip span { font-size: 11px; }.coop-metric-strip strong { font-size: 16px; font-variant-numeric: tabular-nums; }.coop-region-line { display: flex; align-items: center; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--coop-line); }.coop-region-line span { color: #363e4a; font-weight: 700; }.coop-region-line b { font-size: 11px; font-weight: 500; }.coop-region-line small { margin-left: auto; font-size: 11px; }.coop-product-table { min-width: 0; margin: 0; border: 0; border-radius: 0; }.coop-product-table > header { padding: 16px; }.coop-product-table small { color: #808793; }.coop-product-table > div { overflow: auto; }.coop-product-table table, .coop-samples-table table, .coop-history-body table { width: 100%; border-collapse: collapse; }.coop-product-table th, .coop-product-table td, .coop-samples-table th, .coop-samples-table td, .coop-history-body th, .coop-history-body td { padding: 12px 15px; border-bottom: 1px solid #edf0f3; text-align: left; }.coop-product-table th, .coop-samples-table th, .coop-history-body th { color: #747c88; background: #f7f8fa; font-size: 11px; font-weight: 700; }.coop-product-table td { white-space: nowrap; }.coop-product-table td:first-child { display: flex; align-items: center; gap: 8px; }.coop-product-table td:first-child img { width: 38px; height: 38px; border-radius: 3px; object-fit: cover; }.coop-product-table tr { cursor: pointer; }.coop-product-table tr:hover { background: #fcfcfd; }
.coop-evidence-panel { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border-left: 1px solid var(--coop-line); background: #fff; }.coop-evidence-panel > header { min-height: 78px; padding: 14px 16px; }.coop-evidence-panel > header span { color: #7d8490; font-size: 12px; }.coop-evidence-panel > .coop-empty { min-height: 300px; padding: 20px; }.coop-evidence-player { margin: 12px 16px; aspect-ratio: 9 / 16; max-height: min(420px, 52vh); background: #0d0f12; border-radius: 5px; overflow: hidden; }.coop-evidence-player iframe { display: block; width: 100%; height: 100%; border: 0; background: #0d0f12; }.coop-evidence-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 16px 12px; }.coop-evidence-nav strong { flex: 1; text-align: center; font-size: 12px; color: #4e5662; }.coop-evidence-nav .coop-plain-button, .coop-evidence-nav .coop-primary-button { min-height: 32px; padding: 0 12px; font-size: 12px; }.coop-video-placeholder { display: grid; min-height: 190px; height: 100%; place-items: center; align-content: center; gap: 9px; margin: 0; border-radius: 5px; color: #fff; background: #333a43; }.coop-video-placeholder svg { width: 28px; height: 28px; }.coop-video-placeholder span { color: #e7e9ed; }.coop-evidence-panel dl { display: grid; gap: 12px; margin: 16px; }.coop-evidence-panel dl div { display: grid; gap: 3px; padding-bottom: 11px; border-bottom: 1px solid #edf0f3; }.coop-evidence-panel dt { color: #8a919c; font-size: 11px; }.coop-evidence-panel dd { margin: 0; overflow: hidden; color: #303743; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.coop-evidence-panel dd a { color: #2f6fed; font-weight: 650; text-decoration: none; }.coop-video-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px; border-top: 1px solid #e8ebef; border-bottom: 1px solid #e8ebef; }.coop-video-metrics div { display: grid; gap: 7px; padding: 13px 8px; border-right: 1px solid #e8ebef; }.coop-video-metrics div:last-child { border-right: 0; }.coop-video-metrics span { font-size: 10px; }.coop-video-metrics strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.coop-trend { margin: 20px 16px; }.coop-trend header { display: grid; gap: 4px; }.coop-trend h3 { font-size: 13px; }.coop-trend header span { font-size: 11px; }.coop-trend svg { width: 100%; height: 106px; margin-top: 12px; overflow: visible; }.coop-trend polyline { fill: none; stroke: var(--coop-coral); stroke-width: 2; vector-effect: non-scaling-stroke; }.coop-product-table tr.is-active { background: var(--coop-coral-pale); box-shadow: inset 3px 0 var(--coop-coral); }

.coop-workspace:has(.coop-samples) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.coop-samples {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.coop-sample-tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  min-height: 49px;
  padding: 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--coop-line);
  background: #fff;
}
.coop-sample-tabs button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #68707c;
  font-weight: 700;
  white-space: nowrap;
}
.coop-sample-tabs button.is-active { color: #c55246; }
.coop-sample-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--coop-coral);
}
.coop-sample-tabs b { margin-left: 4px; font-size: 11px; }
.coop-samples-table {
  flex: 0 1 38%;
  min-height: 160px;
  overflow: auto;
}
.coop-samples-table td { vertical-align: middle; }
.coop-samples-table td:first-child { display: flex; align-items: center; gap: 9px; }
.coop-samples-table td:first-child span { display: grid; gap: 3px; }
.coop-samples-table td small { display: block; margin-top: 4px; font-size: 11px; }
.coop-fulfill-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  vertical-align: middle;
}
.coop-fulfill-badge.badge-ok { color: #1f7a4d; background: #e8f7ef; }
.coop-fulfill-badge.badge-no { color: #a33b32; background: #fdecea; }
.coop-fulfill-badge.badge-warn { color: #8a5a12; background: #fff4df; }
.coop-samples tbody tr { cursor: pointer; }
.coop-samples tbody tr.is-active { background: var(--coop-coral-pale); box-shadow: inset 3px 0 var(--coop-coral); }
.coop-samples > .coop-pager { flex: 0 0 auto; }
.coop-sample-detail {
  flex: 1 1 58%;
  min-height: 220px;
  margin: 0;
  padding: 16px 18px 22px;
  overflow: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--coop-line);
  background: #fff;
}
.coop-sample-detail > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.coop-sample-detail > header h2 { font-size: 17px; }
.coop-sample-detail > header span {
  padding: 4px 8px;
  border-radius: 4px;
  color: #4a796b;
  background: #eff7f4;
  font-weight: 700;
}
.coop-sample-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--coop-line);
}
.coop-sample-person > div:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.coop-sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.coop-sample-actions button,
.coop-sample-actions a.coop-plain-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7dce4;
  border-radius: 5px;
  background: #fff;
  color: #4e5662;
  font-weight: 650;
  text-decoration: none;
}
.coop-sample-actions button:disabled { opacity: .55; cursor: not-allowed; }
.coop-sample-offline { padding: 16px 0 8px; }
.coop-sample-offline h3 { margin: 0 0 12px; font-size: 13px; }
.coop-sample-offline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}
.coop-sample-offline-grid div { display: grid; gap: 4px; min-width: 0; }
.coop-sample-offline-grid span { color: #8a919c; font-size: 11px; }
.coop-sample-offline-grid strong {
  overflow: hidden;
  color: #303743;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coop-sample-offline-grid small { color: #808793; font-size: 11px; }
.coop-sample-offline-note { margin: 14px 0 0; color: #737b87; font-size: 12px; }
.coop-sample-history { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--coop-line); }
.coop-sample-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.coop-sample-history-head strong { font-size: 14px; }
.coop-sample-history-head span { color: #7d8490; font-size: 12px; }
.coop-sample-history-table { overflow: auto; }
.coop-sample-history-table table { width: 100%; border-collapse: collapse; }
.coop-sample-history-table th,
.coop-sample-history-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f3;
  text-align: left;
  vertical-align: middle;
}
.coop-sample-history-table th {
  color: #747c88;
  background: #f7f8fa;
  font-size: 11px;
  font-weight: 700;
}
.coop-sample-history-table tr.is-active { background: var(--coop-coral-pale); }
.coop-history-pid {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.coop-history-pid img {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  object-fit: cover;
  flex: 0 0 auto;
}
.coop-history-pid div { display: grid; gap: 3px; min-width: 0; }
.coop-history-pid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coop-history-pid small { color: #808793; font-size: 11px; }
.coop-sample-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; padding-top: 20px; }
.coop-sample-detail-grid h3 { margin-bottom: 13px; font-size: 13px; }
.coop-sample-detail-grid p { margin: 17px 0 0; color: #737b87; }
.coop-sample-detail-grid dl { grid-template-columns: repeat(2, 1fr); gap: 18px; }

.coop-dialog { width: min(1120px, calc(100vw - 48px)); max-height: min(780px, calc(100vh - 48px)); padding: 0; border: 1px solid #d6dbe3; border-radius: 10px; color: var(--coop-ink); background: #fff; box-shadow: 0 24px 70px rgba(24,29,39,.26); }.coop-dialog::backdrop { background: rgba(31,38,49,.42); backdrop-filter: blur(2px); }.coop-dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d3d9e1; border-radius: 5px; background: #fff; color: #4e5764; }.coop-history-body { overflow: auto; max-height: min(780px, calc(100vh - 48px)); padding: 30px 40px 36px; }.coop-history-body > header { margin-bottom: 25px; }.coop-history-body h2 { font-size: 25px; }.coop-history-body p { margin-top: 7px; color: #6f7783; }.coop-history-body table { width: 100%; }.coop-history-body th:first-child, .coop-history-body td:first-child { width: 120px; white-space: nowrap; color: #4e5764; }.coop-history-body td .coop-product-block { min-width: 250px; }.coop-history-body th:nth-child(3), .coop-history-body td:nth-child(3) { width: 96px; white-space: nowrap; }.coop-history-body th:nth-child(4), .coop-history-body td:nth-child(4) { width: 150px; }.coop-history-body th:nth-child(5), .coop-history-body td:nth-child(5) { width: 168px; }.coop-history-stack { display: grid; gap: 3px; }.coop-history-stack strong { font-weight: 700; color: var(--coop-ink); }.coop-history-stack small { display: block; color: #8a929e; font-size: 11px; line-height: 1.35; }.coop-history-footer { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 16px; border-top: 1px solid #edf0f3; }.coop-history-footer .coop-plain-button { min-width: 88px; }
.coop-note-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid #d6dbe3; border-radius: 8px; color: var(--coop-ink); background: #fff; box-shadow: 0 24px 70px rgba(24,29,39,.26); }.coop-note-dialog::backdrop { background: rgba(31,38,49,.42); }.coop-note-form { padding: 28px; }.coop-note-form h2 { margin: 0; font-size: 20px; }.coop-note-form header p { margin: 6px 0 22px; color: #6f7783; }.coop-note-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }.coop-note-form textarea { min-height: 132px; padding: 10px 11px; resize: vertical; border: 1px solid #cfd6df; border-radius: 5px; color: var(--coop-ink); font: inherit; line-height: 1.55; }.coop-note-form textarea:focus { border-color: var(--coop-coral); outline: 2px solid rgba(255,111,97,.16); }.coop-note-form footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }.coop-plain-button, .coop-primary-button { height: 36px; padding: 0 15px; border-radius: 5px; font-weight: 650; }.coop-plain-button { border: 1px solid #cfd6df; background: #fff; color: #47505d; }.coop-primary-button { border: 1px solid var(--coop-coral); background: var(--coop-coral); color: #fff; }

/* 定向邀请 */
.coop-invite-filter-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #6f7783;
  grid-column: 1 / -2;
}
.coop-invite-filter-hint span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coop-filters:has(.coop-invite-create) {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.coop-invite {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding: 20px 22px 28px;
  background: var(--coop-bg);
}
.coop-invite-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--coop-line);
  border-radius: 10px;
  background: #fff;
}
.coop-invite-hero h2 { font-size: 20px; margin-bottom: 6px; }
.coop-invite-hero p { color: #6f7783; line-height: 1.5; max-width: 720px; }
.coop-invite-table {
  border: 1px solid var(--coop-line);
  border-radius: 10px;
  background: #fff;
  overflow: auto;
}
.coop-invite-table table { width: 100%; border-collapse: collapse; }
.coop-invite-table th, .coop-invite-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f3;
  text-align: left;
  vertical-align: middle;
}
.coop-invite-table th {
  font-size: 11px;
  color: #747c88;
  background: #f7f8fa;
}
.coop-invite-table td strong { display: block; }
.coop-invite-table td small { display: block; margin-top: 3px; color: #8a929e; font-size: 11px; }
.coop-invite-status {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef1f5;
  color: #4e5764;
}
.coop-invite-status.is-draft { background: #eef1f5; }
.coop-invite-status.is-resolving,
.coop-invite-status.is-sending { background: #fff3e8; color: #b2641a; }
.coop-invite-status.is-done { background: #e7f6ef; color: #2f8a5f; }
.coop-invite-status.is-failed { background: #ffe9e6; color: #b24e43; }
.coop-invite-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.coop-invite-actions .is-danger { color: #b24e43; border-color: #f0c7c2; }
.coop-invite-foot { margin-top: 12px; color: #808793; }

.coop-invite-dialog,
.coop-picker-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid #d6dbe3;
  border-radius: 10px;
  color: var(--coop-ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(24,29,39,.26);
}
.coop-invite-dialog::backdrop,
.coop-picker-dialog::backdrop {
  background: rgba(31,38,49,.42);
  backdrop-filter: blur(2px);
}
.coop-invite-form { display: flex; flex-direction: column; max-height: min(860px, calc(100vh - 32px)); }
.coop-invite-form > header,
.coop-picker-form > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #edf0f3;
}
.coop-invite-form h2, .coop-picker-form h2 { font-size: 20px; }
.coop-invite-body {
  overflow: auto;
  padding: 18px 22px;
  display: grid;
  gap: 18px;
}
.coop-invite-body section {
  padding: 14px 16px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fafbfc;
}
.coop-invite-body h3 { font-size: 14px; margin-bottom: 12px; }
.coop-invite-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.coop-invite-section-head h3 { margin: 0; }
.coop-invite-section-head b { color: var(--coop-coral); font-weight: 700; }
.coop-invite-section-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.coop-invite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.coop-invite-grid.is-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.coop-invite-grid.is-simple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coop-invite-file input[type=file] { height: auto; padding: 8px 0; border: 0; }
.coop-invite-shop-btn { margin-top: 8px; width: fit-content; }
.coop-picker-dialog.is-shop { width: min(1120px, calc(100vw - 24px)); max-height: min(860px, calc(100vh - 24px)); }
.coop-shop-form { max-height: min(860px, calc(100vh - 24px)); }
.coop-shop-toolbar {
  display: flex;
  gap: 10px;
  padding: 12px 18px 0;
}
.coop-shop-toolbar .coop-search { flex: 1; margin: 0; }
.coop-shop-toolbar select {
  height: 40px;
  min-width: 160px;
  border: 1px solid #dfe3e9;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
}
.coop-shop-table { overflow: auto; padding: 10px 18px 0; min-height: 360px; }
.coop-shop-table table { width: 100%; border-collapse: collapse; }
.coop-shop-table th, .coop-shop-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #edf0f3;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}
.coop-shop-table th { color: #747c88; font-size: 12px; font-weight: 700; white-space: nowrap; }
.coop-shop-prod { display: flex; align-items: center; gap: 10px; min-width: 280px; }
.coop-shop-prod strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coop-shop-prod small { color: #8a929e; }
.coop-shop-ok {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f6ef;
  color: #2f8a5f;
  font-size: 12px;
  font-weight: 700;
}
.coop-shop-table td.is-stockout { color: #d13b30; font-weight: 700; }
.coop-invite-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #5c6572;
}
.coop-invite-form input,
.coop-invite-form select,
.coop-invite-form textarea {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cfd6df;
  border-radius: 5px;
  color: var(--coop-ink);
  background: #fff;
  font: inherit;
}
.coop-invite-form textarea {
  height: auto;
  min-height: 88px;
  padding: 10px;
  resize: vertical;
  line-height: 1.5;
}
.coop-invite-form textarea[name=usernames],
.coop-invite-form textarea[name=pids] {
  min-height: 96px;
}
.coop-invite-message {
  display: grid;
  gap: 6px;
}
.coop-invite-message textarea {
  width: 100%;
  min-height: 120px;
  height: 120px;
}
.coop-invite-count {
  justify-self: end;
  color: #8a929e;
  font-size: 12px;
  font-weight: 600;
}
.coop-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  grid-template-columns: none !important;
  height: 36px;
  color: var(--coop-ink) !important;
}
.coop-check input { width: 16px; height: 16px; }
.coop-check.is-disabled { opacity: .45; }
.coop-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
}
.coop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e1e5ec;
  font-size: 12px;
}
.coop-chip button {
  border: 0;
  background: transparent;
  color: #8a929e;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
.coop-muted { color: #8a929e; font-size: 12px; }
.coop-invite-form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid #edf0f3;
  background: #fff;
}
.coop-invite-footer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.coop-picker-form { display: flex; flex-direction: column; max-height: min(760px, calc(100vh - 32px)); }
.coop-picker-form .coop-search { margin: 12px 18px 0; }
.coop-picker-list {
  overflow: auto;
  display: grid;
  gap: 4px;
  padding: 12px 18px;
  min-height: 240px;
}
.coop-picker-row {
  display: grid;
  grid-template-columns: auto 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
}
.coop-picker-row:hover { background: #f5f7fa; }
.coop-picker-row span { display: grid; gap: 2px; min-width: 0; }
.coop-picker-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coop-picker-row small { color: #808793; font-size: 11px; }
.coop-picker-thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #eef1f5;
  overflow: hidden;
}
.coop-picker-thumb img { width: 100%; height: 100%; object-fit: cover; }
.coop-picker-form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #edf0f3;
}
.coop-picker-form > footer > div { display: flex; gap: 8px; }
.coop-empty-inline { padding: 28px; text-align: center; color: #8a929e; }

.cooperation ::selection { background: #ffd8d2; color: #351d1b; }.cooperation :focus-visible { outline: 3px solid rgba(255,111,97,.35); outline-offset: 2px; }.coop-scroll::-webkit-scrollbar, .coop-detail-scroll::-webkit-scrollbar, .coop-library-main-scroll::-webkit-scrollbar, .coop-evidence-panel::-webkit-scrollbar, .coop-history-body::-webkit-scrollbar { width: 8px; height: 8px; }.coop-scroll::-webkit-scrollbar-thumb, .coop-detail-scroll::-webkit-scrollbar-thumb, .coop-library-main-scroll::-webkit-scrollbar-thumb, .coop-evidence-panel::-webkit-scrollbar-thumb, .coop-history-body::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 10px; background: #c6cbd3; background-clip: padding-box; }

@media (max-width: 1250px) { .coop-filters { grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(120px, 1fr)) auto auto; }.coop-workspace:has(.coop-inbox-list), .coop-workspace:has(.coop-library-list) { grid-template-columns: 310px minmax(0, 1fr); }.coop-library-detail { grid-template-columns: minmax(0, 1fr) 310px; }.coop-stat-grid { grid-template-columns: repeat(3, 1fr); }.coop-stat-grid > div:nth-child(3) { border-right: 0; }.coop-detail-actions { max-width: 430px; }.coop-coop-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .coop-filters { grid-template-columns: 1fr 1fr; }.coop-search { grid-column: 1 / -1; }.coop-workspace:has(.coop-inbox-list), .coop-workspace:has(.coop-library-list) { grid-template-columns: 270px minmax(0, 1fr); }.coop-library-detail { display: flex; flex-direction: column; overflow: auto; }.coop-library-main-scroll { flex: 0 0 auto; overflow: visible; }.coop-evidence-panel { flex: 0 0 auto; overflow: visible; border-top: 1px solid var(--coop-line); border-left: 0; }.coop-metric-strip { grid-template-columns: repeat(3, 1fr); }.coop-application-body { grid-template-columns: 1fr; }.coop-score-reason { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid #edf0f3; }.coop-detail-heading { align-items: flex-start; flex-direction: column; }.coop-detail-actions { justify-content: flex-start; }.coop-sample-offline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.coop-sample-person { flex-wrap: wrap; }.coop-sample-actions { width: 100%; margin-left: 0; } }
@media (max-width: 700px) { .panel.cooperation.active { height: auto; max-height: none; overflow: visible; }.coop-topbar { overflow: auto; padding: 0 12px; }.coop-tabs { gap: 16px; }.coop-view-tab span { white-space: nowrap; }.coop-filters { grid-template-columns: 1fr; padding: 10px; }.coop-search { grid-column: auto; }.coop-workspace { overflow: visible; }.coop-workspace:has(.coop-inbox-list), .coop-workspace:has(.coop-library-list) { display: block; }.coop-inbox-list, .coop-library-list { min-height: 320px; max-height: 55vh; height: auto; border-right: 0; border-bottom: 1px solid var(--coop-line); }.coop-detail-pane { padding: 0; overflow: visible; height: auto; }.coop-detail-scroll { overflow: visible; padding: 0 13px 16px; }.coop-application dl, .coop-sample-detail-grid dl { grid-template-columns: repeat(2, 1fr); }.coop-stat-grid { grid-template-columns: repeat(2, 1fr); }.coop-stat-grid > div { border-bottom: 1px solid #edf0f3; }.coop-profile-columns, .coop-audience-grid, .coop-sample-detail-grid { grid-template-columns: 1fr; }.coop-audience-grid .coop-coop-overview { grid-column: auto; }.coop-coop-kv, .coop-coop-kv.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }.coop-decision-bar { flex-wrap: wrap; margin-right: -13px; margin-left: -13px; padding: 12px 13px; }.coop-decision-bar > div { flex-basis: 100%; }.coop-decision-bar button { flex: 1; justify-content: center; padding: 0 7px; }.coop-sample-tabs { gap: 12px; overflow: auto; }.coop-sample-tabs button { white-space: nowrap; }.coop-sample-detail { margin: 12px; }.coop-sample-person { align-items: flex-start; flex-wrap: wrap; }.coop-sample-person > div:last-child { width: 100%; margin-left: 0; }.coop-history-body { padding: 28px 18px; }.coop-dialog { width: calc(100vw - 20px); }.coop-product-table { overflow: auto; }.coop-product-table table { min-width: 690px; } }
