.overview-products { overflow: hidden; }
.overview-scope-switch {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 5px;
  margin: 0;
  border: 1px solid rgba(31, 41, 55, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 28px rgba(31, 41, 55, .06);
}
.overview-scope-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 17px;
  color: #4b5560;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}
.overview-scope-button:hover {
  background: rgba(236, 240, 244, .72);
  color: #202428;
}
.overview-scope-button.active {
  background: linear-gradient(135deg, #dff76d, #b9f3cc);
  color: #113829;
  box-shadow: 0 6px 16px rgba(34, 113, 78, .18);
}
.header-scope {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.header-scope.hidden { display: none; }
.header-scope .overview-scope-switch {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
}
.date-scope {
  position: relative;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid rgba(31, 41, 55, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 22px rgba(31, 41, 55, .05);
}
.date-scope.hidden { display: none; }
.date-picker-wrap { position: relative; }
.date-range-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 30px;
  min-width: 142px;
  padding: 0 12px 0 14px;
  border: 1px solid #d8e0e6;
  border-radius: 999px;
  background: #fff;
  color: #202428;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.date-range-trigger:hover,
.date-range-trigger[aria-expanded="true"] {
  border-color: #bfc8d1;
  box-shadow: 0 4px 14px rgba(31,41,55,.08);
}
.date-range-trigger i {
  width: 7px;
  height: 7px;
  border-right: 2px solid #58616b;
  border-bottom: 2px solid #58616b;
  transform: rotate(45deg) translateY(-2px);
}
.date-picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 999;
  width: 500px;
  max-width: min(500px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid #dfe5ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(31,41,55,.16);
  isolation: isolate;
  overflow: hidden;
  contain: layout paint;
}
.date-picker-panel.hidden { display: none; }
.date-picker-body { display: grid; grid-template-columns: 154px minmax(0,1fr); gap: 14px; }
.date-quick-list {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  padding: 2px 13px 2px 0;
  border-right: 1px solid #edf0f2;
  background: transparent;
}
.date-quick-list > span {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #8a929b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.date-quick-option {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid #e1e5e9;
  border-radius: 10px;
  background: #fafbfc;
  color: #30363c;
  text-align: left;
  cursor: pointer;
}
.date-quick-option:hover { border-color: #bfcbd3; background: #f5f7f8; }
.date-quick-option.active { border-color: #73bb9d; background: #edf8f2; box-shadow: inset 0 0 0 1px #bfe3d1; }
.date-quick-option b { font-size: 11px; white-space: nowrap; }
.date-quick-option small { overflow: hidden; color: #87909a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.date-calendar-main { min-width: 0; }
.date-picker-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.date-picker-head b {
  color: #202428;
  font-size: 15px;
  text-align: center;
}
.calendar-nav {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e5ea;
  border-radius: 999px;
  background: #fff;
  color: #4b5560;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.calendar-nav:hover {
  background: #f4f6f8;
  border-color: #cdd5dd;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 31px;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.calendar-weekdays {
  margin-bottom: 5px;
  color: #7b8490;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}
.calendar-day {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 31px !important;
  min-height: 31px !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px;
  background: #fff;
  color: #2e3741;
  font-size: 12px;
  line-height: 31px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.calendar-day:not(.empty):not(.disabled):not([aria-disabled="true"]):hover {
  background: #f1f4f6;
}
.calendar-day.outside {
  color: #aab3bd;
  background: #fafbfc;
}
.calendar-day.in-range {
  background: #eef4f0;
  color: #202428;
}
.calendar-day.selected {
  background: #17835f;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 6px 14px rgba(23,131,95,.22);
}
.calendar-day.today:not(.selected) {
  outline: 1px solid #b9c4cc;
  outline-offset: -1px;
  font-weight: 800;
}
.calendar-day.disabled,
.calendar-day[aria-disabled="true"] {
  color: #b0b8c1;
  background: #fafbfc;
  cursor: not-allowed;
  opacity: 1;
}
.calendar-day.empty {
  pointer-events: none;
  visibility: hidden;
  background: transparent;
}
.date-picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf0f2;
  color: #69717a;
  font-size: 11px;
}
.date-picker-foot button {
  border: 1px solid #157858;
  border-radius: 9px;
  background: #17835f;
  color: #fff;
  min-width: 64px;
  height: 32px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.date-picker-foot button:hover { background: #116e50; }
.date-latest {
  height: 30px;
  min-width: 54px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}
@media (max-width: 1320px) {
  .header-scope .overview-scope-button { padding-inline: 15px; }
  .date-scope { gap: 6px; }
  .date-range-trigger { min-width: 132px; }
}

@media (max-width: 1180px) {
  .header-scope .overview-scope-button { padding-inline: 14px; }
  .header-scope .overview-scope-switch { gap: 4px; padding: 4px; }
  .date-range-trigger { min-width: 118px; padding-inline: 11px; }
}
@media (max-width: 620px) {
  .date-picker-panel { width: min(320px,calc(100vw - 24px)); }
  .date-picker-body { grid-template-columns: 1fr; }
  .date-quick-list { grid-template-columns: repeat(5,minmax(0,1fr)); padding: 0 0 10px; border-right: 0; border-bottom: 1px solid #edf0f2; }
  .date-quick-list > span { display: none; }
  .date-quick-option { padding: 6px 4px; text-align: center; }
  .date-quick-option small { display: none; }
}
.overview-products h2 small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.overview-table-wrap { width: 100%; overflow-x: auto; }
.overview-products table { width: 100%; min-width: 1000px; table-layout: fixed; }
.overview-products col.col-product { width: 22%; }
.overview-products col.col-board { width: 18%; }
.overview-products col.col-rank { width: 5%; }
.overview-products col.col-yesterday { width: 5%; }
.overview-products col.col-delta { width: 5%; }
.overview-products col.col-trend { width: 17%; }
.overview-products col.col-status { width: 16%; }
.overview-products col.col-tags { width: 12%; }
.overview-products td { vertical-align: middle; overflow: hidden; }
.status-summary { display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; white-space: nowrap; }
.status-summary > .event { margin: 0; padding-inline: 6px; }
.status-more-wrap { display: inline-flex; flex: 0 0 auto; }
.status-more { min-width: 28px; height: 24px; padding: 0 7px; border: 1px solid #d9dee3; border-radius: 999px; background: #fff; color: #59616a; font-size: 10px; font-weight: 800; cursor: help; }
.status-more:hover,.status-more:focus-visible { border-color: #9fbcae; background: #f5f8f6; color: #202428; outline: none; }
.status-popover-portal { position: fixed; z-index: 200; padding: 12px; border: 1px solid #dfe4e8; border-radius: 13px; background: rgba(255,255,255,.98); box-shadow: 0 16px 42px rgba(25,35,31,.18); pointer-events: none; }
.status-popover-title { margin-bottom: 8px; color: #69717a; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.status-popover-item { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 3px 9px; padding: 8px 0; border-top: 1px solid #eef0f2; }
.status-popover-item:first-of-type { border-top: 0; }
.status-popover-item > div { grid-row: 1 / span 3; }
.status-popover-item > div .event { margin: 0; white-space: nowrap; }
.status-popover-item > b { overflow: hidden; color: #30353a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.status-popover-item > small { color: #7a838b; font-size: 10px; }
.status-popover-item > p { margin: 0; overflow: hidden; color: #69717a; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.overview-products .product-cell b { max-width: none; white-space: normal; line-height: 1.25; }
.overview-products .product-cell small { max-width: 210px; }
.overview-products th:nth-child(3),.overview-products th:nth-child(4),.overview-products th:nth-child(5),.overview-products th:nth-child(7),
.overview-products td:nth-child(3),.overview-products td:nth-child(4),.overview-products td:nth-child(5),.overview-products td:nth-child(7) { text-align: center; }
.product-open,
.board-toggle,
.trend-open { border: 0; background: transparent; padding: 0; color: inherit; cursor: pointer; text-align: left; }
.product-open { width: 100%; border-radius: 8px; padding: 4px; }
.product-open:hover { background: #edf4ee; }
.board-toggle,.single-board { color: #171a1f; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: inline-block; vertical-align: middle; }
.board-toggle .chevron { display: inline-block; margin-right: 6px; transition: transform .16s ease; }
.board-toggle .chevron.expanded { transform: rotate(90deg); }
.trend-open { display: block; border-radius: 7px; padding: 2px; }
.trend-open:hover { background: #f7f8fa; }
.board-detail-row { background: #fafbfc; }
.board-detail-row td { border-bottom-color: #eceff2; padding-top: 8px; padding-bottom: 8px; }
.board-detail-row td:first-child { border-left: 3px solid var(--lime); }
.detail-board { color: #171a1f; font-weight: 650; padding-left: 18px !important; }
.detail-rank { font-size: 15px; }
.sparkline { display: block; width: 100%; max-width: 150px; height: 40px; }
.sparkline polyline { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sparkline circle { fill: var(--lime); stroke: var(--green); stroke-width: 1.5; }
.muted { color: var(--muted); }

.events-filterbar { display: flex; align-items: end; gap: 12px; margin: 0 0 14px; padding: 13px 15px; border: 1px solid #e2e6ea; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 4px 16px rgba(31,41,55,.05); }
.events-filterbar label { display: grid; gap: 6px; color: #69717a; font-size: 11px; font-weight: 650; }
.events-filterbar select { min-width: 170px; height: 38px; padding-top: 7px; padding-bottom: 7px; }
.events-filterbar #eventResultCount { margin: 0 2px 10px auto; color: var(--muted); font-size: 12px; }
.events-panel { padding: 12px 18px 18px; }
.events-table-wrap { width: 100%; overflow-x: auto; }
.events-table { min-width: 980px; table-layout: fixed; }
.events-table col.event-col-product { width: 27%; }
.events-table col.event-col-event { width: 14%; }
.events-table col.event-col-board { width: 18%; }
.events-table col.event-col-rank { width: 6%; }
.events-table col.event-col-yesterday { width: 6%; }
.events-table col.event-col-change { width: 6%; }
.events-table col.event-col-trend { width: 23%; }
.events-table tbody tr { cursor: default; }
.events-table th:nth-child(4),.events-table th:nth-child(5),.events-table th:nth-child(6),
.events-table td:nth-child(4),.events-table td:nth-child(5),.events-table td:nth-child(6) { text-align: center; }
.event-product-open { width: 100%; border-radius: 8px; padding: 4px; }
.event-product-open:hover,.event-trend-open:hover { background: #f7f8fa; }
.event-trend-open { width: 100%; max-width: 160px; border-radius: 8px; padding: 2px; }

.ranking-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.ranking-toolbar .filters { margin: 0; }
.ranking-toolbar .filters label { display: grid; gap: 6px; color: #69717a; font-size: 11px; font-weight: 650; }
.ranking-toolbar select { min-width: 160px; height: 38px; }
.ranking-hint { color: var(--muted); font-size: 12px; }
.ranking-panel { padding: 14px 18px 18px; overflow: hidden; }
.ranking-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ranking-panel-head h2 { margin: 0 0 4px; }
.ranking-panel-head p { margin: 0; color: var(--muted); font-size: 12px; }
.ranking-panel-head > span { padding: 6px 10px; border-radius: 99px; background: #f0f2f4; color: #4b5560; font-size: 12px; font-weight: 700; }
.ranking-scroll-top { overflow-x: auto; overflow-y: hidden; height: 16px; margin: -2px 0 8px; border-radius: 999px; background: #f1f3f5; }
.ranking-scroll-top > div { height: 1px; }
.ranking-scroll-top::-webkit-scrollbar { height: 10px; }
.ranking-scroll-top::-webkit-scrollbar-track { background: #e6e9ed; border-radius: 999px; }
.ranking-scroll-top::-webkit-scrollbar-thumb { background: #a7afb8; border-radius: 999px; border: 2px solid #e6e9ed; }
.ranking-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e2e6ea; border-radius: 14px; background: #fff; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.ranking-table-wrap::-webkit-scrollbar { height: 4px; }
.ranking-table-wrap::-webkit-scrollbar-track { background: transparent; }
.ranking-table-wrap::-webkit-scrollbar-thumb { background: transparent; }
.ranking-table { min-width: 1120px; table-layout: fixed; }
.ranking-table tbody tr { cursor: default; }
.ranking-table th,.ranking-table td { white-space: nowrap; }
.ranking-col-product { width: 238px; }
.ranking-col-status { width: 92px; }
.ranking-col-day { width: 42px; }
.ranking-col-trend { width: 128px; }
.ranking-col-tags { width: 116px; }
.ranking-table .sticky-product { position: sticky; left: 0; z-index: 3; width: 238px; min-width: 238px; background: #fff; box-shadow: 1px 0 0 #e2e6ea; }
.ranking-table thead .sticky-product { z-index: 4; background: #f8f9fa; }
.ranking-row:hover .sticky-product { background: #f7f8fa; }
.ranking-product-open { width: 100%; border-radius: 9px; padding: 5px; }
.ranking-product-open:hover,.ranking-trend-open:hover { background: #f7f8fa; }
.ranking-table .product-cell { gap: 8px; }
.ranking-table .product-cell img { width: 32px; height: 32px; border-radius: 8px; }
.ranking-table .product-cell b { max-width: 168px; }
.ranking-table .product-cell small { max-width: 168px; }
.ranking-status { white-space: normal !important; padding-left: 5px; padding-right: 5px; }
.ranking-status .event { margin-top: 1px; margin-bottom: 1px; }
.rank-day-head { width: 42px; text-align: center; line-height: 1.1; padding-left: 3px; padding-right: 3px; font-size: 11px; }
.rank-day-head span { display: block; margin-bottom: 2px; color: #69717a; font-size: 10px; }
.rank-day-cell { width: 42px; text-align: center; font-weight: 700; color: #202428; padding-left: 3px; padding-right: 3px; }
.rank-day-cell.latest { color: #171a1f; font-size: 15px; }
.ranking-table th:nth-last-child(2),.ranking-table td:nth-last-child(2) { width: 128px; }
.ranking-table th:last-child,.ranking-table td:last-child { width: 116px; white-space: normal; }
.ranking-trend-open { width: 122px; border-radius: 8px; padding: 2px; }
.ranking-trend-open .sparkline { max-width: 118px; }

.tag-hero { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
.tag-tool-card { position: relative; overflow: visible; display: grid; gap: 16px; padding: 18px; border: 1px solid #d9e7de; border-radius: 18px; background: linear-gradient(135deg,#fff,#f4fbf5); box-shadow: 0 4px 16px rgba(30,73,56,.06); }
.tag-tool-card::after { display: none; }
.tag-tool-card h2 { margin: 3px 0 5px; font-size: 18px; }
.tag-tool-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.eyebrow-lite { color: #378466; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.manual-tag-card { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "copy action" "form form"; gap: 12px 18px; padding-bottom: 16px; }
.manual-tag-copy { grid-area: copy; min-width: 0; }
.manual-tag-submit { grid-area: action; align-self: start; min-width: 116px; height: 40px; padding: 0 18px; white-space: nowrap; }
.manual-tag-form { grid-area: form; position: relative; z-index: 8; display: grid; grid-template-columns: minmax(360px,480px) minmax(260px,1fr) auto; grid-template-areas: "product label primary"; gap: 10px 14px; align-items: center; }
.manual-tag-form input { width: 100%; height: 40px; }
.product-picker { position: relative; grid-area: product; min-width: 0; }
#manualLabel { grid-area: label; }
.manual-tag-form .checkbox-line { grid-area: primary; align-self: center; margin-top: 0; }
.product-picker-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 40px; padding: 0 13px; border: 1px solid #cfe1d7; border-radius: 10px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,252,249,.98)); color: #14382d; font-weight: 700; text-align: left; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 10px rgba(25,91,65,.04); }
.product-picker-button:hover { border-color: #a9d2b9; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px rgba(25,91,65,.08); }
.product-picker-button[aria-expanded="true"] { border-color: #78c79b; box-shadow: 0 0 0 3px rgba(121,201,155,.18), 0 6px 16px rgba(25,91,65,.08); }
.product-picker-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-picker-button i { width: 8px; height: 8px; border-right: 2px solid #1f5e48; border-bottom: 2px solid #1f5e48; transform: rotate(45deg) translateY(-2px); flex: 0 0 auto; }
.product-picker-panel { position: absolute; z-index: 80; left: 0; top: calc(100% + 7px); width: min(760px, calc(100vw - 320px)); min-width: 620px; padding: 8px; border: 1px solid #cfe1d7; border-radius: 14px; background: rgba(255,255,255,.98); box-shadow: 0 18px 45px rgba(19,55,43,.18); }
.product-picker-search { width: 100%; margin-bottom: 7px; border-radius: 10px; background: #fbfdfb; }
.product-picker-options { display: grid; gap: 1px; max-height: 560px; overflow-y: auto; padding-right: 3px; }
.product-picker-option { display: flex; align-items: center; width: 100%; min-height: 26px; padding: 4px 10px; border: 0; border-radius: 7px; background: transparent; color: #173a2f; text-align: left; cursor: pointer; }
.product-picker-option:hover { background: #eef8f1; }
.product-picker-option.active { background: #dff3e7; color: #0f684a; }
.product-picker-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 13px; }
.product-picker-empty { padding: 24px 10px; color: var(--muted); text-align: center; font-size: 12px; }
.checkbox-line { display: inline-flex; align-items: center; gap: 6px; color: #536d63; font-size: 12px; white-space: nowrap; }
.checkbox-line input { width: auto; height: auto; }
.manual-tag-form .primary,.reanalyze-card .primary { height: 40px; white-space: nowrap; }
.reanalyze-card { align-content: space-between; }
.reanalyze-card .primary { position: relative; z-index: 1; justify-self: start; }
.tag-rules-panel { padding: 14px 16px 16px; }
.tag-rules-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e4ece6; }
.tag-rules-head h2 { margin: 0 0 5px; }
.tag-rules-head p { margin: 0; color: var(--muted); font-size: 12px; }
.tag-rules-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.tag-rules-actions .secondary { min-height: 36px; padding: 0 14px; white-space: nowrap; }
#rules { display: grid; gap: 7px; }
.tag-rules-table-head { display: grid; grid-template-columns: 128px minmax(320px,1.35fr) minmax(260px,1fr) 88px; column-gap: 16px; padding: 0 12px 6px; color: #667c73; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.tag-rule-card { display: grid; grid-template-columns: 128px minmax(320px,1.35fr) minmax(260px,1fr) 88px; column-gap: 16px; align-items: center; padding: 8px 12px; margin-bottom: 0; border: 1px solid #dfeae3; border-radius: 13px; background: linear-gradient(135deg,#ffffff,#fbfdfb); box-shadow: 0 1px 6px rgba(31,80,58,.025); }
.tag-rule-card.new-rule { background: linear-gradient(135deg,#fbfefb,#f8fcf9); border-style: dashed; border-color: #b8d9c5; }
.tag-rule-card input,.tag-rule-card textarea { background: #fff; border-color: #dbe8e0; }
.tag-rule-card input { height: 42px; padding-top: 7px; padding-bottom: 7px; overflow: hidden; text-overflow: ellipsis; }
.tag-rule-card textarea { height: 52px; min-height: 52px; max-height: 100px; padding-top: 7px; padding-bottom: 7px; line-height: 1.35; resize: vertical; }
.tag-rule-card .save-rule { justify-self: stretch; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; font-size: 13px; font-weight: 750; border-radius: 10px; }
.tag-subtabs { margin-bottom: 16px; }
.tag-rule-map-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0 0 16px; }
.tag-rule-map-summary > div { padding: 14px 16px; border: 1px solid #e1e8e3; border-radius: 12px; background: #fff; }
.tag-rule-map-summary small { display: block; color: #69786f; font-size: 11px; font-weight: 800; }
.tag-rule-map-summary strong { display: block; margin-top: 6px; color: #15382d; font-size: 26px; }
.tag-application-panel { padding: 16px; }
.tag-application-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tag-application-grid article { display: grid; gap: 8px; padding: 13px; border: 1px solid #e2e8e4; border-radius: 12px; background: #fbfdfb; }
.tag-application-grid article > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag-application-grid b { color: #17382d; }
.tag-application-grid code,
.tag-rule-map-head code { padding: 3px 6px; border-radius: 7px; background: #eef4f0; color: #51675d; font-size: 11px; }
.tag-application-grid p { margin: 0; color: #4f5f58; font-size: 12px; line-height: 1.5; }
.tag-application-grid small { color: #7a8580; font-size: 11px; line-height: 1.45; }
.tag-rule-map-panel { padding: 16px; }
.tag-rule-map-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.tag-rule-map-grid.secondary { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tag-rule-map-card { display: grid; gap: 12px; padding: 14px; border: 1px solid #e0e8e3; border-radius: 12px; background: #fff; }
.tag-rule-map-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #edf1ee; }
.tag-rule-map-head h3 { margin: 0 0 5px; font-size: 16px; }
.tag-rule-map-head strong { flex: 0 0 auto; color: #547066; font-size: 12px; }
.tag-rule-map-meta { display: grid; gap: 7px; }
.tag-rule-map-meta > b { color: #63736b; font-size: 11px; }
.tag-scope-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-scope-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid #dbe8e1; border-radius: 999px; background: #f7fbf8; color: #355346; font-size: 11px; font-weight: 800; }
.tag-keyword-row { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.tag-keyword-row span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 7px; border-radius: 7px; background: #f0f3f1; color: #46564f; font-size: 11px; }
.tag-rule-mini-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.tag-rule-mini-grid.legacy { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tag-rule-mini-card { display: grid; gap: 7px; min-width: 0; padding: 10px; border: 1px solid #e6ebe8; border-radius: 10px; background: #fbfcfb; }
.tag-rule-mini-card.disabled { opacity: .55; }
.tag-rule-mini-card div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.tag-rule-mini-card b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #17382d; font-size: 13px; }
.tag-rule-mini-card small { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; background: #edf4ef; color: #557064; font-size: 10px; font-weight: 800; }
.tag-rule-mini-card p { margin: 0; color: #718079; font-size: 11px; }
.tag-exclude-row { display: grid !important; gap: 5px !important; justify-content: stretch !important; }
.tag-exclude-row > b { color: #9a5a45; font-size: 11px; }

.trend-dialog { width: min(900px, 90vw); }
.trend-heading { display: flex; align-items: center; gap: 28px; margin: 5px 30px 14px 0; }
.trend-heading h2 { margin: 0; }
.trend-heading p { margin: 0; color: var(--muted); }
.trend-toolbar { position: relative; z-index: 8; display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 38px; margin: -4px 0 10px; }
.trend-toolbar > span { color: #747d86; font-size: 11px; }
.trend-date-picker-panel { top: calc(100% + 8px); right: 0; }
.trend-empty { min-height: 260px; display: grid; place-items: center; }
.trend-selected-board { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 12px; padding: 6px 10px; border-radius: 99px; background: #edf3ee; color: var(--ink); font-size: 12px; font-weight: 700; }
.trend-selected-board i { width: 20px; height: 4px; border-radius: 2px; }
.trend-chart-shell { position: relative; background: #f7f9f6; border-radius: 12px; padding: 10px; }
.trend-detail-chart { display: block; width: 100%; height: auto; min-height: 340px; }
.trend-grid line { stroke: #dce4de; stroke-width: 1; }
.trend-grid text { fill: var(--muted); font-size: 11px; }
.trend-grid .axis-title { font-size: 12px; font-weight: 650; }
.trend-series path { fill: none; stroke: #16815b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.trend-series circle { fill: #16815b; stroke: #17382b; stroke-width: 1.5; pointer-events: none; }
.trend-series.series-0 path { stroke: #7047b8; }.trend-series.series-0 circle,.series-swatch.series-0 { fill: #7047b8; background: #7047b8; }
.trend-series.series-1 path { stroke: #16815b; }.trend-series.series-1 circle,.series-swatch.series-1 { fill: #16815b; background: #16815b; }
.trend-series.series-2 path { stroke: #2878c8; }.trend-series.series-2 circle,.series-swatch.series-2 { fill: #2878c8; background: #2878c8; }
.trend-series.series-3 path { stroke: #d27622; }.trend-series.series-3 circle,.series-swatch.series-3 { fill: #d27622; background: #d27622; }
.trend-hover-capture { fill: transparent; cursor: crosshair; }
.trend-hover-layer { pointer-events: none; }
.trend-hover-layer line { stroke: rgba(23,56,43,.36); stroke-width: 1.5; stroke-dasharray: 4 4; }
.trend-hover-layer circle { fill: #fff; stroke: #17382b; stroke-width: 2.2; filter: drop-shadow(0 4px 8px rgba(15,35,28,.2)); }
.trend-tooltip { position: absolute; z-index: 4; pointer-events: none; background: #17382b; color: #fff; padding: 7px 10px; border-radius: 7px; font-size: 12px; white-space: nowrap; box-shadow: 0 8px 20px #10251e33; }

@media (max-width: 1250px) {
  body { grid-template-columns: 190px 1fr; }
  aside { padding-left: 12px; padding-right: 12px; }
  main { padding-left: 20px; padding-right: 20px; }
  .overview-products { padding-left: 12px; padding-right: 12px; }
  .overview-products table { min-width: 1000px; }
  .tag-hero { grid-template-columns: 1fr; }
  .product-picker-panel { width: 100%; min-width: 0; }
  .tag-rules-table-head,
  .tag-rule-card { grid-template-columns: 122px minmax(250px,1.25fr) minmax(200px,1fr) 84px; column-gap: 14px; }
  .tag-rule-map-grid,
  .tag-rule-map-grid.secondary,
  .tag-rule-mini-grid.legacy { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .manual-tag-card { grid-template-columns: 1fr; grid-template-areas: "copy" "action" "form"; }
  .manual-tag-submit { justify-self: start; }
  .manual-tag-form { grid-template-columns: 1fr; grid-template-areas: "product" "label" "primary"; }
  .product-picker { grid-column: auto; }
  .tag-rules-table-head { display: none; }
  .tag-rule-card { grid-template-columns: 1fr; }
  .tag-rule-card .save-rule { justify-self: end; min-width: 120px; }
  .tag-rule-map-summary,
  .tag-application-grid,
  .tag-rule-map-grid,
  .tag-rule-map-grid.secondary,
  .tag-rule-mini-grid,
  .tag-rule-mini-grid.legacy { grid-template-columns: 1fr; }
}

/* 页面专属降绿：保留操作/趋势绿色，内容阅读层改为黑白灰 */
.tag-tool-card,
.tag-rule-card {
  border-color: #e2e6ea;
  background: linear-gradient(135deg,#fff,#fafbfc);
  box-shadow: 0 4px 16px rgba(31,41,55,.045);
}

.tag-rule-card.new-rule {
  border-color: #cfd6dd;
  background: linear-gradient(135deg,#fff,#fafbfc);
}

.eyebrow-lite,
.events-filterbar label,
.ranking-toolbar .filters label,
.tag-rules-table-head,
.checkbox-line {
  color: #69717a;
}

.product-picker-button,
.product-picker-panel,
.tag-rule-card input,
.tag-rule-card textarea {
  border-color: #dce1e6;
  background: #fff;
  color: #202428;
}

.product-picker-button {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.product-picker-button:hover {
  border-color: #c8ced5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 4px 12px rgba(31,41,55,.055);
}

.product-picker-button i {
  border-right-color: #3f4a54;
  border-bottom-color: #3f4a54;
}

.product-picker-panel {
  box-shadow: 0 18px 45px rgba(31,41,55,.16);
}

.product-picker-search {
  background: #fff;
}

.product-picker-option {
  color: #202428;
}

.product-picker-option:hover {
  background: #f2f4f6;
}

.tag-rules-head {
  border-bottom-color: #e5e8eb;
}

.events-filterbar {
  border-color: #e2e6ea;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 16px rgba(31,41,55,.05);
}

.trend-selected-board,
.ranking-panel-head > span {
  background: #f0f2f4;
  color: #4b5560;
}

.trend-chart-shell {
  background: #f8f9fa;
}

.trend-grid line {
  stroke: #e1e5e9;
}

/* 数据源健康：国内 6 个榜单在桌面宽度下尽量一行展示 */
.health-grid {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.health {
  min-height: 76px;
  padding: 12px 12px;
}

.health b,
.health small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.health small {
  font-size: 12px;
}

.insight-control-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.insight-control-head h2 { margin-bottom: 4px; }
.insight-control-head p { margin: 0; color: var(--muted); font-size: 12px; }
.insight-control-head > span {
  border-radius: 999px;
  background: #f0f2f4;
  color: #4b5560;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  white-space: nowrap;
}
.insight-collect-range {
  border: 1px solid #e4e9ee;
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 16px;
  background: linear-gradient(145deg,#fff,#fafcfa);
}
.insight-collect-range > b { display: block; margin-bottom: 10px; font-size: 13px; color: #263a31; }
.insight-collect-picker-wrap { display: inline-block; position: relative; }
.insight-collect-range .date-range-trigger { height: 40px; min-width: 180px; padding-inline: 16px; border-radius: 14px; font-size: 13px; }
.insight-collect-date-picker { left: 0; right: auto; top: calc(100% + 10px); }
.insight-collect-progress {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dcebe4;
  border-radius: 16px;
  background: linear-gradient(135deg,#fbfffc,#f3faf6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}
.insight-collect-progress.hidden { display: none; }
.insight-collect-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.insight-collect-progress-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.insight-collect-progress-head b {
  color: #173a30;
  font-size: 14px;
}
.insight-collect-progress-head span {
  color: #5e7067;
  font-size: 12px;
  font-weight: 700;
}
.insight-collect-progress-head strong {
  flex: 0 0 auto;
  min-width: 48px;
  text-align: right;
  color: #126948;
  font-size: 18px;
}
.insight-collect-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6f0eb;
}
.insight-collect-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#9fe095,#12815a);
  transition: width .25s ease;
}
.insight-collect-progress-stats {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 8px;
}
.insight-collect-progress-stats span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e2ece7;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.insight-collect-progress-stats b,
.insight-collect-progress-stats small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.insight-collect-progress-stats b {
  color: #203c31;
  font-size: 14px;
}
.insight-collect-progress-stats small {
  margin-top: 3px;
  color: #728279;
  font-size: 10px;
  font-weight: 800;
}
.insight-collect-progress.done .insight-collect-progress-track i {
  background: linear-gradient(90deg,#8edc95,#0f7654);
}
.insight-collect-progress.failed {
  border-color: #f1dac6;
  background: linear-gradient(135deg,#fffaf4,#fff4eb);
}
.insight-collect-progress.failed .insight-collect-progress-head strong {
  color: #a14d1c;
}
.insight-collect-progress.failed .insight-collect-progress-track i {
  background: linear-gradient(90deg,#f0ad74,#c25d29);
}
.insight-filters label { display: grid; gap: 6px; color: #69717a; font-size: 11px; font-weight: 700; }
.insight-token-field { flex: 1; min-width: 300px; }
.insight-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.insight-list-head { align-items: flex-start; }
.insight-list-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.insight-subtabs { display: inline-flex; gap: 6px; margin: 0 0 14px; padding: 4px; border: 1px solid #dfe9e3; border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 8px 22px rgba(18,64,45,.06); }
.insight-subtab { min-width: 92px; height: 34px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: #587066; font-size: 13px; font-weight: 800; cursor: pointer; }
.insight-subtab:hover { color: #176448; background: #f2f8f4; }
.insight-subtab.active { color: #0f684a; background: linear-gradient(135deg,#dff7e7,#f0fbf3); box-shadow: 0 5px 14px rgba(29,91,65,.10); }
.insight-summary-cards .metric span { position: relative; z-index: 1; display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.insight-overview-panel { padding: 18px; }
.insight-insight-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.insight-insight-grid section { min-width: 0; padding: 14px; border: 1px solid #e3ece6; border-radius: 15px; background: linear-gradient(145deg,#fff,#f8fbf8); }
.insight-insight-grid h3 { margin: 0 0 12px; font-size: 14px; color: #183c2f; }
.insight-two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.panel-sub { margin: -8px 0 14px; color: var(--muted); font-size: 12px; }
.insight-stat-list { display: grid; gap: 8px; }
.insight-stat-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #edf1ee; border-radius: 12px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.insight-stat-row:hover,.insight-stat-row:focus-visible { border-color: #9ecdb3; background: #f7fcf8; transform: translateY(-1px); outline: none; }
.insight-stat-main { position: relative; min-width: 0; display: grid; gap: 7px; }
.insight-stat-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.insight-stat-main i { display: block; height: 5px; border-radius: 999px; background: linear-gradient(90deg,#36a875,#cfe979); }
.insight-stat-meta { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); }
.insight-stat-meta strong { color: #153c2f; font-size: 16px; }
.insight-stat-meta em { min-width: 28px; padding: 2px 6px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 850; text-align: center; }
.insight-stat-meta em.new,.insight-stat-meta em.up { color: #0f784f; background: #e0f6ea; }
.insight-stat-meta em.down { color: #b0443b; background: #fde8e4; }
.insight-stat-meta em.flat { color: #7b8a83; background: #eef2f1; }
.insight-stat-meta small { min-width: 34px; text-align: right; }
.insight-combo-list { display: grid; gap: 10px; }
.insight-combo-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #edf1ee; border-radius: 13px; background: #fff; }
.insight-combo-row > div { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.insight-combo-row b { color: #163b2f; white-space: nowrap; }
.insight-combo-row small { color: var(--muted); white-space: nowrap; }
.app-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 28% 22%, rgba(223,242,107,.92), transparent 35%),
    linear-gradient(135deg,#e8f6ef,#d7ebe1);
  color: #17664a;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.app-icon-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.app-icon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #edf0ec;
}
.app-icon-wrap.icon-failed .app-icon-img { display: none; }
.insight-product-cards { display: grid; gap: 10px; }
.insight-product-card { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; width: 100%; padding: 10px; border: 1px solid #e2ebe5; border-radius: 14px; background: #fff; text-align: left; color: var(--ink); cursor: pointer; }
.insight-product-card:hover { border-color: #a9d2b9; background: #f8fcf9; }
.insight-product-card .app-icon-wrap { width: 42px; height: 42px; border-radius: 11px; }
.insight-product-card span { min-width: 0; }
.insight-product-card b,.insight-product-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-product-card b { font-size: 13px; }
.insight-product-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.insight-product-card > div { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px; }
.insight-product-card em { grid-column: 2; color: #517063; font-style: normal; font-size: 11px; }
.empty.compact { padding: 28px 12px; border: 1px dashed #dde7e1; border-radius: 13px; background: #fbfdfb; }
.insight-vision-limit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 7px 0 10px;
  border: 1px solid #dbe5df;
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  color: #6a7a72;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.insight-vision-limit.open {
  border-color: #b8dac9;
  box-shadow: 0 8px 20px rgba(18,105,72,.10);
}
.insight-limit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 58px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d5e5dd;
  border-radius: 999px;
  background: #f4faf6;
  color: #123b2b;
  font: inherit;
  cursor: pointer;
}
.insight-limit-button:hover,
.insight-limit-button[aria-expanded="true"] {
  border-color: #9ccdb3;
  background: #eef8f2;
}
.insight-limit-button:disabled {
  opacity: .55;
  cursor: default;
}
.insight-limit-button i {
  width: 7px;
  height: 7px;
  border-right: 2px solid #4b695c;
  border-bottom: 2px solid #4b695c;
  transform: rotate(45deg) translateY(-2px);
}
.insight-limit-button[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-1px,-1px);
}
.insight-limit-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  right: 0;
  min-width: 94px;
  padding: 6px;
  border: 1px solid #cfe1d7;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 45px rgba(19,55,43,.18);
}
.insight-limit-option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #264238;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.insight-limit-option:hover {
  background: #f0f7f2;
}
.insight-limit-option.active {
  background: #176d4d;
  color: #fff;
}
.insight-mode-note {
  margin: -4px 0 12px;
  padding: 9px 12px;
  border: 1px solid #e4ece7;
  border-radius: 12px;
  background: #f8fbf8;
  color: #5e7067;
  font-size: 12px;
}
.insight-vision-progress {
  margin: -2px 0 12px;
  padding: 12px;
  border: 1px solid #dcebe4;
  border-radius: 14px;
  background: linear-gradient(135deg,#f8fffb,#f3faf6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.insight-progress-head,
.insight-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #476255;
  font-size: 12px;
}
.insight-progress-head b { color: #18382a; font-size: 13px; }
.insight-progress-head span { color: #6a7a72; font-weight: 700; }
.insight-progress-track {
  height: 8px;
  margin: 10px 0 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e7f0eb;
}
.insight-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#89e08f,#12815a);
  transition: width .25s ease;
}
.insight-progress-foot {
  justify-content: flex-start;
  min-height: 18px;
}
.insight-progress-foot.error { color: #a14d1c; }
.insight-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e6ebef; border-radius: 16px; background: #fff; }
.insight-table { min-width: 1012px; table-layout: fixed; }
.insight-table tbody tr { cursor: default; }
.insight-table th,
.insight-table td { vertical-align: middle; }
.insight-col-product { width: 250px; }
.insight-col-platform { width: 96px; }
.insight-col-date { width: 108px; }
.insight-col-shots { width: 250px; }
.insight-col-insight-tags { width: 190px; }
.insight-col-tag-actions { width: 118px; }
.insight-table th:last-child,
.insight-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -10px 0 18px rgba(255,255,255,.92);
}
.insight-table th:last-child { z-index: 3; background: #f8faf9; }
.insight-product-open { width: 100%; border-radius: 12px; padding: 6px 8px; }
.insight-product-open:hover { background: #f7f9f7; }
.insight-product-cell { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 12px; min-width: 0; }
.insight-product-cell .app-icon-wrap { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 5px 14px rgba(17,42,32,.12); }
.insight-product-meta { min-width: 0; max-width: 220px; }
.insight-product-cell b,
.insight-product-cell small,
.insight-product-cell code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.insight-product-cell b { color: var(--ink); font-size: 13px; line-height: 1.25; }
.insight-product-cell small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.insight-product-cell code { color: #8a9890; font-family: inherit; font-size: 10px; margin-top: 2px; }
.insight-date { color: #25362f; font-weight: 650; }
.insight-tag-stack { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.insight-tag { position: relative; padding-right: 9px; border: 1px solid transparent; }
.insight-tag small { color: inherit; opacity: .72; font-size: 10px; margin-left: 3px; }
.insight-tag.pending { border-style: dashed; }
.insight-tag-legacy { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.insight-tag-legacy .tag { opacity: .92; filter: none; }
.insight-tag-more { background: #eef2f1; color: #61746b; font-weight: 800; }
.insight-tag-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.insight-tag-status { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.insight-tag-status.done { background: #e4f6ee; color: #147552; }
.insight-tag-status.review { background: #fff4d7; color: #906112; }
.insight-tag-status.pending { background: #fff4d7; color: #906112; }
.insight-tag-status.empty { background: #eef2f1; color: #61746b; }
.insight-tag-edit { height: 24px; padding: 0 8px; border: 1px solid #d9e5df; border-radius: 999px; background: #fff; color: #426355; font-size: 11px; cursor: pointer; }
.insight-tag-edit:hover { border-color: #9ccdb3; color: #126948; }
.insight-state { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.insight-state.basic { background: #eef2f1; color: #61746b; }
.insight-state.vision { background: #ddf5eb; color: #0b7652; }
.insight-state.warn { background: #fff1df; color: #9a5a17; }
.insight-state.manual { background: #e9f0ff; color: #3859a8; }
.insight-shot-grid { display: flex; gap: 5px; align-items: center; }
.insight-shot-button { border: 0; cursor: zoom-in; padding: 0; background: transparent; }
.insight-shot-button img { display: block; background: #edf0ec; }
.insight-shot-button:hover img { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(17,42,32,.16); }
.insight-shot-single img { width: 44px; height: 78px; object-fit: cover; border-radius: 9px; }
.insight-shot-montage { position: relative; width: 198px; height: 92px; display: grid; place-items: center; border: 1px solid #e6ebef; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#f8faf9,#eef3f0); }
.insight-shot-montage img { width: 100%; height: 100%; object-fit: contain; }
.insight-shot-montage span { position: absolute; right: 7px; bottom: 6px; padding: 3px 7px; border-radius: 999px; background: rgba(17,42,32,.78); color: #fff; font-size: 10px; opacity: 0; transition: opacity .16s ease; }
.insight-shot-montage:hover span { opacity: 1; }
.insight-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 4px 0; color: var(--muted); font-size: 13px; }
.insight-page-size { display: flex; align-items: center; gap: 8px; margin-right: 6px; }
.insight-page-size .insight-choice-control { width: 86px; }
.insight-page-size .insight-provider-button { height: 34px; padding: 0 10px; border-radius: 10px; font-size: 12px; font-weight: 800; }
.insight-page-size .insight-provider-menu { top: calc(100% + 6px); border-radius: 12px; }
.insight-page-buttons { display: flex; align-items: center; gap: 8px; }
.insight-page-buttons button { min-width: 74px; }
.insight-page-info { min-width: 150px; text-align: center; }
.insight-image-dialog { width: min(1180px, 92vw); max-height: 92vh; position: relative; padding: 32px; overflow: hidden; }
.insight-image-dialog > .close { position: absolute; top: 32px; right: 32px; z-index: 30; display: block; width: 48px; height: 48px; padding: 0; border: 0; appearance: none; -webkit-appearance: none; font-size: 0; line-height: 0; background: rgba(255,255,255,.94); box-shadow: 0 8px 22px rgba(17,42,32,.12); }
.insight-image-dialog > .close::before,
.insight-image-dialog > .close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 3px; border-radius: 999px; background: currentColor; transform: translate(-50%,-50%) rotate(45deg); transform-origin: center; }
.insight-image-dialog > .close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.insight-image-viewer { position: relative; height: min(820px, calc(92vh - 64px)); display: grid; grid-template-rows: 48px minmax(0,1fr); }
.insight-image-toolbar { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; min-height: 48px; padding-right: 84px; margin: 0 0 10px; }
.insight-image-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 14px; }
.insight-image-viewer h2 { margin: 0; }
.insight-image-counter { border-radius: 999px; background: #eef4f0; color: #486154; font-size: 12px; font-weight: 800; padding: 6px 10px; }
.insight-image-stage { display: grid; grid-template-columns: 56px minmax(0, max-content) 56px; justify-content: center; align-items: center; gap: 20px; min-height: 0; }
.insight-image-stage img { display: block; max-width: min(100%, calc(92vw - 220px)); max-height: calc(92vh - 148px); margin: 0 auto; border-radius: 16px; background: #edf0ec; box-shadow: 0 16px 45px rgba(17,42,32,.18); }
.insight-image-nav { position: relative; display: block; width: 48px; height: 48px; padding: 0; justify-self: center; border-radius: 999px; border: 1px solid rgba(77,102,88,.18); appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.96); color: #254236; font-size: 0; line-height: 0; cursor: pointer; box-shadow: 0 12px 28px rgba(17,42,32,.16); }
.insight-image-nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; background: currentColor; transform: translate(-50%,-50%); transform-origin: center; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
.insight-image-prev { grid-column: 1; }
.insight-image-next { grid-column: 3; }
.insight-image-prev::before { transform: translate(-50%,-50%) rotate(180deg); }
.insight-image-next::before { transform: translate(-50%,-50%); }
.insight-image-nav:hover:not(:disabled) { background: #fff; transform: scale(1.04); }
.insight-image-nav:disabled { opacity: .32; cursor: default; box-shadow: none; }
.insight-tag-dialog {
  width: min(880px, calc(100vw - 48px));
  max-height: min(86vh, 760px);
  padding: 28px 30px 30px;
  overflow: auto;
}
.insight-tag-dialog > .close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 22px rgba(17,42,32,.10);
}
.insight-tag-dialog #detailContent { width: 100%; }
.insight-tag-products-dialog { width: min(920px, calc(100vw - 48px)); max-height: min(88vh, 820px); padding: 28px 30px 30px; overflow: auto; }
.insight-tag-products-dialog > .close { position: absolute; top: 22px; right: 22px; z-index: 10; }
.insight-tag-products-dialog #detailContent { width: 100%; }
.insight-tag-products-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 0 48px 18px 0; border-bottom: 1px solid #e5ece8; }
.insight-tag-products-head small { color: #18815c; font-size: 11px; font-weight: 850; }
.insight-tag-products-head h2 { margin: 4px 0 5px; font-size: 24px; }
.insight-tag-products-head p { margin: 0; color: var(--muted); font-size: 12px; }
.insight-tag-products-head > strong { color: #153c2f; font-size: 30px; line-height: 1; }
.insight-tag-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 16px; }
.insight-tag-product { display: grid; grid-template-columns: 46px minmax(0,1fr); grid-template-rows: auto auto; gap: 4px 11px; min-width: 0; padding: 11px; border: 1px solid #e1e9e4; border-radius: 8px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.insight-tag-product:hover,.insight-tag-product:focus-visible { border-color: #9ecdb3; background: #f7fcf8; outline: none; }
.insight-tag-product .app-icon-wrap { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 8px; }
.insight-tag-product-copy { min-width: 0; }
.insight-tag-product-copy b,.insight-tag-product-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-tag-product-copy b { font-size: 13px; }
.insight-tag-product-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.insight-tag-product-meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: #617168; font-size: 10px; }
.insight-tag-product-meta em { color: #176a4d; font-style: normal; font-weight: 800; }
.insight-tag-product-meta time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-tag-product-meta i { margin-left: auto; color: #44715e; font-style: normal; font-weight: 850; }
.insight-tag-product-pagination { padding-top: 18px; }
.insight-vision-dialog {
  width: min(720px, 92vw);
  max-height: 90vh;
  padding: 30px;
  overflow: auto;
}
.insight-vision-dialog #detailContent { width: 100%; }
.insight-vision-config { display: grid; gap: 18px; }
.insight-config-grid { display: grid; gap: 12px; }
.insight-config-grid label { display: grid; gap: 7px; color: #63756c; font-size: 12px; font-weight: 800; }
.insight-config-grid input {
  width: 100%;
  height: 42px;
}
.insight-config-grid input[readonly],
.insight-config-grid input:disabled {
  border-color: #dbe8e1;
  background: #f5faf7;
  color: #52695f;
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.insight-provider-control {
  position: relative;
  width: 100%;
}
.insight-provider-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dbe5df;
  border-radius: 10px;
  background: #fff;
  color: #173a30;
  font: inherit;
  cursor: pointer;
}
.insight-provider-button:hover,
.insight-provider-button[aria-expanded="true"] {
  border-color: #9ccdb3;
  background: #f8fcf9;
  box-shadow: 0 8px 20px rgba(18,105,72,.10);
}
.insight-provider-button i {
  width: 8px;
  height: 8px;
  border-right: 2px solid #4b695c;
  border-bottom: 2px solid #4b695c;
  transform: rotate(45deg) translateY(-2px);
}
.insight-provider-button[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-1px,-1px);
}
.insight-provider-menu {
  position: absolute;
  z-index: 110;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 6px;
  border: 1px solid #cfe1d7;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 45px rgba(19,55,43,.18);
}
.insight-provider-option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #264238;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.insight-provider-option:hover {
  background: #f0f7f2;
}
.insight-provider-option.active {
  background: #176d4d;
  color: #fff;
}
.insight-config-note {
  padding: 10px 12px;
  border: 1px solid #e3ece7;
  border-radius: 12px;
  background: #f8fbf8;
  color: #5d7067;
  font-size: 12px;
}
.insight-config-note.local {
  border-color: #d9e9df;
  background: #f5faf6;
  color: #45695a;
}
.insight-tag-editor { display: grid; gap: 16px; width: 100%; min-width: 0; }
.insight-editor-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,320px); align-items: center; gap: 18px; padding: 0 48px 2px 0; }
.insight-editor-title { min-width: 0; }
.insight-editor-product { justify-self: end; width: 100%; max-width: 320px; padding: 10px; border: 1px solid #e4ece7; border-radius: 16px; background: #fbfdfb; }
.insight-editor-product .insight-product-meta { max-width: 230px; }
.insight-editor-head h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.1; }
.insight-editor-head p { margin: 0; color: var(--muted); font-size: 12px; }
.insight-tag-editor section { padding: 14px; border: 1px solid #e4ece7; border-radius: 16px; background: #fbfdfb; }
.insight-tag-editor h3 { margin: 0 0 10px; font-size: 14px; }
.insight-editor-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.insight-editor-tags .reject-insight-tag { margin-left: 6px; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.7); color: inherit; cursor: pointer; }
.insight-editor-grid { display: grid; grid-template-columns: 160px minmax(0,1fr) 112px; gap: 10px; align-items: end; }
.insight-editor-tag-grid { grid-template-columns: 150px minmax(160px,1fr) minmax(180px,1fr) 112px; }
.insight-editor-grid > * { min-width: 0; }
.insight-editor-grid label { display: grid; gap: 6px; color: #63756c; font-size: 11px; font-weight: 800; }
.insight-editor-grid input,.insight-editor-grid select { width: 100%; min-width: 0; height: 40px; }
.insight-editor-grid button { height: 40px; padding-inline: 12px; white-space: nowrap; }
.insight-tag-editor .insight-editor-danger { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-color: #f0d6d2; border-radius: 8px; background: #fff9f8; }
.insight-editor-danger h3 { color: #8f3730; }
.insight-editor-danger p { margin: 0; color: #8f6965; font-size: 12px; }
main .danger { min-height: 40px; padding: 0 16px; border: 1px solid #b94239; border-radius: 8px; background: #c84d44; color: #fff; font-weight: 800; cursor: pointer; white-space: nowrap; }
main .danger:hover:not(:disabled) { background: #b94239; box-shadow: 0 8px 20px rgba(185,66,57,.18); }
.insight-delete-confirm-dialog { width: min(520px, calc(100vw - 40px)); padding: 30px; }
.insight-delete-confirm-dialog > .close,.insight-deleted-dialog > .close { position: absolute; top: 20px; right: 20px; z-index: 10; }
.insight-delete-confirm { display: grid; gap: 20px; padding-top: 6px; }
.insight-delete-product { padding: 12px; border: 1px solid #e5ece8; border-radius: 8px; background: #f9fbfa; }
.insight-delete-confirm h2 { margin: 0 0 8px; padding-right: 42px; font-size: 22px; }
.insight-delete-confirm p { margin: 0; color: var(--muted); line-height: 1.65; }
.insight-delete-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }
.insight-deleted-dialog { width: min(760px, calc(100vw - 40px)); max-height: min(86vh,760px); padding: 28px 30px 30px; overflow: auto; }
.insight-deleted-head { grid-template-columns: minmax(0,1fr) auto; }
.insight-deleted-head > span { margin-right: 44px; color: var(--muted); font-size: 12px; font-weight: 800; }
.insight-deleted-list { display: grid; gap: 10px; margin-top: 18px; }
.insight-deleted-list .empty { padding: 42px 20px; }
.insight-deleted-item { display: grid; grid-template-columns: minmax(0,1fr) minmax(160px,auto) auto; align-items: center; gap: 16px; padding: 12px; border: 1px solid #e4ebe7; border-radius: 8px; background: #fff; }
.insight-deleted-product { min-width: 0; }
.insight-deleted-product .insight-product-meta { max-width: 230px; }
.insight-deleted-meta { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.insight-deleted-meta b { color: #7d4b25; font-size: 12px; }
.insight-deleted-item > button { min-width: 72px; }
.sharing-dialog { width: min(720px, calc(100vw - 40px)); max-height: min(88vh,760px); padding: 30px; overflow: auto; }
.sharing-dialog > .close { position: absolute; top: 20px; right: 20px; z-index: 10; }
.sharing-panel { display: grid; gap: 20px; }
.sharing-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-right: 40px; }
.sharing-head h2 { margin: 0 0 5px; font-size: 23px; }
.sharing-head p { margin: 0; color: var(--muted); font-size: 13px; }
.sharing-state { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 11px; border: 1px solid #dce5e0; border-radius: 8px; color: #53635b; background: #f7faf8; font-size: 12px; font-weight: 800; white-space: nowrap; }
.sharing-state i { width: 8px; height: 8px; border-radius: 50%; background: #8a9891; }
.sharing-state.ready { color: #087457; border-color: #b8dfd1; background: #edf9f4; }
.sharing-state.ready i { background: #0b9b70; box-shadow: 0 0 0 3px #d4f0e6; }
.sharing-state.warning { color: #8b4e23; border-color: #ecd1bd; background: #fff7f0; }
.sharing-state.warning i { background: #c66b2d; }
.sharing-status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #e1e8e4; border-bottom: 1px solid #e1e8e4; }
.sharing-status-grid > div { min-width: 0; padding: 15px 14px; border-right: 1px solid #e1e8e4; }
.sharing-status-grid > div:first-child { padding-left: 0; }
.sharing-status-grid > div:last-child { padding-right: 0; border-right: 0; }
.sharing-status-grid small,.sharing-url > small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.sharing-status-grid b { display: block; overflow-wrap: anywhere; font-size: 14px; }
.sharing-url { display: grid; gap: 3px; }
.sharing-url > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.sharing-url code { min-width: 0; padding: 11px 12px; border: 1px solid #dfe7e3; border-radius: 6px; background: #f7f9f8; color: #1e4d3e; overflow-wrap: anywhere; }
.sharing-error { padding: 10px 12px; border-left: 3px solid #c96532; color: #7d4224; background: #fff7f2; line-height: 1.5; }
.sharing-release-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 18px; align-items: center; padding: 16px 0; border-top: 1px solid #e1e8e4; border-bottom: 1px solid #e1e8e4; }
.sharing-release-panel h3 { margin: 0 0 4px; font-size: 15px; }
.sharing-release-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.sharing-release-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.sharing-release-meta span { min-width: 0; padding: 0 14px; border-right: 1px solid #e1e8e4; }
.sharing-release-meta span:first-child { padding-left: 0; }
.sharing-release-meta span:last-child { padding-right: 0; border-right: 0; }
.sharing-release-meta small,.sharing-release-meta b { display: block; overflow-wrap: anywhere; }
.sharing-release-meta small { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.sharing-release-meta b { font-size: 13px; }
.sharing-publish-confirm { grid-column: 1 / -1; }
.sharing-publish-confirm > div { display: flex; gap: 9px; margin-top: 12px; }
.sharing-autostart { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid #edf1ef; border-bottom: 1px solid #edf1ef; }
.sharing-autostart > span:first-child { display: grid; gap: 3px; }
.sharing-autostart small { color: var(--muted); font-size: 11px; }
.sharing-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.sharing-links { display: flex; flex-wrap: wrap; gap: 16px; }
.sharing-links button { padding: 0; border: 0; color: #24705a; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.sharing-links button:hover { color: #0c4f3d; text-decoration: underline; }
.insight-tag-viewer .insight-editor-tags button,.insight-tag-viewer .insight-editor-add { display: none; }
.insight-viewer-note { padding: 12px 0; border-top: 1px solid #e5ebe8; }
.insight-viewer-note p { margin: 5px 0 0; color: var(--muted); line-height: 1.6; white-space: pre-wrap; }

@media (max-width: 820px) {
  .insight-tag-dialog { width: min(94vw, 680px); padding: 24px 22px; }
  .insight-tag-products-dialog { width: min(94vw, 680px); padding: 24px 20px; }
  .insight-tag-product-grid { grid-template-columns: 1fr; }
  .insight-vision-dialog { width: min(94vw, 680px); padding: 24px 22px; }
  .insight-editor-head { grid-template-columns: 1fr; padding-right: 44px; }
  .insight-editor-product { justify-self: stretch; max-width: none; }
  .insight-editor-grid,.insight-editor-tag-grid { grid-template-columns: 1fr; }
  .insight-tag-editor .insight-editor-danger { align-items: stretch; flex-direction: column; }
  .insight-deleted-item { grid-template-columns: 1fr; align-items: stretch; }
  .insight-deleted-item > button { justify-self: start; }
  .insight-insight-grid,.insight-two-col { grid-template-columns: 1fr; }
  .insight-collect-progress-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sharing-dialog { width: min(680px, calc(100vw - 24px)); padding: 24px 20px; }
  .sharing-head { display: grid; gap: 12px; }
  .sharing-state { justify-self: start; }
  .sharing-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sharing-status-grid > div { padding: 12px 10px; border-bottom: 1px solid #e1e8e4; }
  .sharing-status-grid > div:nth-child(2) { border-right: 0; }
  .sharing-status-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .sharing-url > div { grid-template-columns: 1fr; }
  .sharing-url button { justify-self: start; }
  .sharing-release-panel { grid-template-columns: 1fr; align-items: stretch; }
  .sharing-release-panel > button { justify-self: start; }
  .sharing-release-meta { grid-template-columns: 1fr; gap: 10px; }
  .sharing-release-meta span { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid #e1e8e4; }
  .sharing-release-meta span:last-child { padding-bottom: 0; border-bottom: 0; }
}
