/* Separate sibling buttons: the full-card detail target never contains the edit button. */
.product-card {
  position: relative;
}
.product-card-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}
.product-card-open:focus-visible {
  outline: 2px solid #b9afff;
  outline-offset: 2px;
}
.card-price-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-price-edit {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffffb3;
  line-height: 1;
}
.card-price-edit svg {
  display: block;
  width: 12px;
  height: 12px;
}
.card-price-edit:hover {
  background: transparent;
  color: #fff;
}
.card-price-edit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.product-details-modal .detail-brand {
  margin-top: 16px;
}
.product-details-modal .detail-product-name {
  font-size: 26px;
  margin: 8px 0 20px;
  letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}
.detail-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-details-modal .edit-price-button {
  color: #6157b9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.price-edit-modal .edit-product-name {
  color: #687186;
  margin: 8px 0 20px;
}
.price-edit-modal label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
.price-edit-modal .ant-input-number {
  width: 100%;
}
.price-edit-modal #price-edit-error {
  margin-top: 12px;
}
.price-edit-hint {
  font-size: 12px;
  color: #8790a3;
  line-height: 1.8;
  margin: 14px 0 20px;
}
.price-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
/* Scoped layout only: no Ant Design reset or overrides on the matrix. */
.antd-filter-panel .antd-search {
  flex: 1 1 230px;
  max-width: 200px;
}
.antd-filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.antd-filter-field > span {
  font-size: 12px;
  color: #81899b;
  white-space: nowrap;
}
.antd-filter-field .ant-select {
  width: 108px;
}
.antd-filter-field .antd-brand-select {
  width: 190px;
}
.antd-filter-field .antd-country-select, .antd-filter-field .antd-ram-rom-select {
  width: 132px;
}
.antd-filter-panel .launch-range-picker {
  width: 280px;
  min-width: 0;
  max-width: 100%;
}
.antd-filter-panel .antd-reset {
  margin-left: auto;
}
.antd-filter-panel .range-row .ant-input-number {
  width: 112px;
}
.antd-brand-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid #eff0f5;
  padding: 6px 8px;
  font-size: 12px;
}
.antd-brand-actions > span {
  margin-right: auto;
  color: #81899b;
}
@media (max-width: 900px) {
  .antd-filter-panel .antd-search {
    max-width: none;
    flex-basis: 100%;
  }
}
@media (max-width: 560px) {
  .antd-filter-panel .antd-filter-field {
    gap: 6px;
  }
  .antd-filter-panel .antd-brand-select {
    width: 150px;
  }
  .antd-filter-panel .antd-country-select {
    width: 108px;
  }
  .antd-filter-panel .launch-range-picker {
    width: 100%;
  }
  .antd-filter-panel .launch-inline .setting-label {
    flex-basis: 100%;
  }
  .antd-filter-panel .secondary-filter-row .ant-select {
    width: 82px;
  }
  .antd-filter-panel .antd-reset {
    margin-left: 0;
  }
  .antd-filter-panel .range-row .ant-input-number {
    width: 94px;
  }
}
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #22293c;
  background: #f5f6fa;
  font-synthesis: none;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button,
select,
input {
  outline-offset: 3px;
}
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid #6a62d7;
}
button {
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
button svg {
  flex-shrink: 0;
}
input {
  min-width: 0;
}
button:disabled:hover {
  transform: none;
}
.app-shell {
  max-width: 1800px;
  margin: auto;
  padding: 32px 36px 20px;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #8790a3;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mark {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: #fff;
  background: #5d57be;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  letter-spacing: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 13px 0 9px;
  font-weight: 700;
}
h1 span {
  font-size: 13px;
  letter-spacing: 0;
  color: #9096a4;
  margin-left: 12px;
  font-weight: 400;
}
.page-header p {
  margin: 0;
  font-size: 12px;
  color: #7e8698;
}
.mock-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e2e0f3;
  background: #eeedf9;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 11px;
  color: #6962a9;
}
.detail-gsm-link {
    width: 100%;
    background: #5d57be;
    border-radius: 6px;
    a {
        width: 100%;
        color: #ffffff;
        min-height: 42px;
        &:hover {
            color: #ffffff;
        }
    }
    &:hover {
        opacity: 0.8;
    }
}
.mock-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8880cc;
}
.control-panel {
  border: 1px solid #e5e7ef;
  border-radius: 12px;
  background: white;
  box-shadow: 0 3px 12px #23264f03;
  margin-bottom: 20px;
}
.filter-row {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4e7ef;
  border-radius: 7px;
  height: 38px;
  min-width: 230px;
  max-width: 340px;
  flex: 1;
  padding: 0 11px;
  color: #9198a7;
}
.search-field:focus-within {
  border-color: #8b82d5;
}
.search-field input {
  border: 0;
  outline: none;
  flex: 1;
  width: 100%;
  font-size: 12px;
  background: transparent;
}
.search-field input::placeholder {
  color: #a0a6b4;
}
.clear-query {
  padding: 2px;
  border: 0;
  background: transparent;
  color: #81899b;
  display: flex;
}
.filter-button,
.select-field {
  border: 1px solid #e4e7ef;
  border-radius: 7px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  font-size: 12px;
  padding: 0 11px;
  color: #596176;
}
.filter-button span:not(.chevron) {
  font-size: 10px;
  border-radius: 4px;
  background: #f1f2f7;
  padding: 2px 5px;
  color: #81899b;
}
.filter-button.active {
  border-color: #a59dda;
  background: #f7f6ff;
}
.chevron {
  margin-left: 4px;
  color: #949aaa;
}
.select-field {
  gap: 8px;
  color: #81899b;
}
.select-field select {
  border: 0;
  color: #313b50;
  font-size: 12px;
  background: transparent;
  max-width: 100px;
}
.reset-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  margin-left: auto;
  color: #777e92;
  font-size: 12px;
  white-space: nowrap;
}
.brand-picker {
  position: relative;
}
.popover-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  border: 0;
  z-index: 30;
  cursor: default;
}
.brand-popover {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 31;
  width: 240px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 10px;
  box-shadow: 0 12px 38px #25294424;
}
.popover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}
.popover-top button {
  border: 0;
  background: transparent;
  color: #6658b0;
  font-size: 11px;
}
.brand-popover label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 5px;
  font-size: 13px;
  border-radius: 5px;
  cursor: pointer;
}
.brand-popover label:hover {
  background: #f6f5fb;
}
.brand-popover input {
  accent-color: #675ac2;
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.range-row {
  padding: 14px 20px;
  border-top: 1px solid #eff0f5;
  background: #fcfcfe;
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.range-row form {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.setting-label {
  font-size: 12px;
  color: #687186;
  margin-right: 3px;
}
.step-label {
  margin-left: 17px;
}
.number-field {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  background: white;
  border: 1px solid #e1e4ed;
  border-radius: 5px;
  color: #9097a8;
  font-size: 11px;
}
.number-field input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 12px;
  width: 58px;
  color: #3a4357;
  -moz-appearance: textfield;
}
.number-field input::-webkit-inner-spin-button {
  appearance: none;
}
.range-dash {
  font-size: 12px;
  color: #afb5c3;
}
.primary {
  border: 1px solid #6157b9;
  background: #6157b9;
  color: white;
  border-radius: 6px;
  padding: 7px 15px;
  font-size: 12px;
  line-height: 18px;
}
.primary:hover {
  background: #5046a4;
  box-shadow: 0 2px 6px #5346a22a;
}
.range-row p {
  margin: 0;
  font-size: 11px;
  color: #777f91;
  white-space: nowrap;
}
.range-row p strong {
  display: inline-block;
  padding: 2px 6px;
  color: #6860ab;
  background: #eeedf8;
  border-radius: 4px;
  margin: 0 3px;
}
.range-row p span {
  color: #a0a6b5;
}
.form-error {
  margin: 0;
  padding: 0 20px 13px;
  background: #fcfcfe;
  border-radius: 0 0 12px 12px;
  font-size: 12px;
  color: #c24052;
}
.matrix-panel {
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  background: white;
  overflow: hidden;
  box-shadow: 0 5px 18px #1d234406;
}
.matrix-toolbar {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ebf2;
  gap: 10px;
}
.matrix-toolbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.matrix-toolbar strong {
  font-size: 13px;
}
.count-badge {
  font-size: 10px;
  color: #71698e;
  background: #f0eef8;
  border: 1px solid #e8e4f4;
  border-radius: 5px;
  padding: 4px 7px;
}
.brand-count {
  font-size: 11px;
  color: #9ca2b1;
}
.drag-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #969dad;
}
.matrix-scroll {
  max-height: 660px;
  overflow: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #cdd1de #f5f6fa;
  overscroll-behavior: contain;
}
.matrix-scroll::-webkit-scrollbar {
  height: 9px;
  width: 9px;
}
.matrix-scroll::-webkit-scrollbar-track {
  background: #f5f6fa;
}
.matrix-scroll::-webkit-scrollbar-thumb {
  background: #cdd1de;
  border-radius: 8px;
  border: 2px solid #f5f6fa;
}
.matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}
.matrix-table thead th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 3;
  border-bottom: 1px solid #e6e9f1;
  height: 78px;
  padding: 17px 12px 13px;
}
.matrix-table thead th.axis-header {
  left: 0;
  z-index: 5;
  background: #fafbfe;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  padding: 18px 20px;
  border-right: 1px solid #e6e9f1;
}
.axis-header span {
  display: block;
  font-size: 9px;
  color: #99a1b4;
  letter-spacing: 0.5px;
  margin-top: 5px;
}
.brand-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 5px;
}
.brand-wordmark {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-iqoo {
  letter-spacing: 3px;
  font-size: 20px;
  font-weight: 650;
}
.brand-itel {
  background: #ef1a4d;
  color: white !important;
  padding: 0 11px 2px;
  border-radius: 50%;
  font-style: italic;
  font-weight: 700;
  font-size: 23px;
}
.brand-poco {
  font-size: 14px;
  letter-spacing: -0.5px;
  background: #f8e52b;
  color: #2c290d !important;
  padding: 6px 9px;
  border-radius: 2px;
}
.brand-realme {
  font-size: 19px;
  background: #ffd742;
  color: #312d1e !important;
  padding: 1px 6px;
  font-weight: 650;
}
.brand-samsung {
  font-size: 12px;
  letter-spacing: 0.3px;
  background: #194b90;
  color: #fff !important;
  border-radius: 50%;
  padding: 7px 10px;
  font-style: italic;
}
.brand-tecno {
  font-size: 18px;
  letter-spacing: 0.1px;
}
.brand-vivo {
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -1px;
}
.drag-handle {
  padding: 3px;
  border: 0;
  background: transparent;
  color: #abb1bf;
  border-radius: 4px;
  cursor: grab;
  display: flex;
  touch-action: none;
  user-select: none;
}
.drag-handle:hover {
  color: #665cbd;
  background: #eeecf9;
}
.drag-handle:active {
  cursor: grabbing;
}
.column-count {
  display: block;
  text-align: left;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 400;
  color: #a0a6b4;
  margin-top: 7px;
}
.matrix-table thead th.drag-source {
  background: #f4f2ff;
  opacity: 0.7;
}
.matrix-table thead th.drop-target {
  background: #f1eefb;
  box-shadow: inset 3px 0 #7768cc;
}
.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.drag-column {
  background: #fbfaff !important;
  opacity: 0.5;
}
.matrix-table tbody td {
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid #e9ecf2;
  border-right: 1px solid #f1f2f7;
  height: 133px;
  background: white;
}
.matrix-table tbody tr:nth-child(even) td {
  background: #fdfdff;
}
.matrix-table tbody td:last-child {
  border-right: 0;
}
.price-axis {
  position: sticky;
  left: 0;
  z-index: 2;
  vertical-align: top;
  text-align: left;
  padding: 12px 14px 10px 20px;
  background: #fafbfe;
  border-bottom: 1px solid #e9ecf2;
  border-right: 1px solid #e6e9f1;
  font-weight: 400;
}
.price-axis strong {
  font-size: 13px;
  font-weight: 600;
  color: #505970;
}
.price-axis > span:not(.sr-only) {
  display: block;
  font-size: 9px;
  white-space: nowrap;
  margin-top: 8px;
  color: #a0a7b6;
}
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 105px;
}
.product-card {
  --brand-color: #252d4c;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--brand-color);
  color: white;
  border: 1px solid #ffffff12;
  border-radius: 6px;
  padding: 10px 10px 8px;
  box-shadow: 0 2px 4px #24274012;
  min-height: 79px;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px #24274025;
  filter: brightness(1.08);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.card-top strong {
  font-size: 11px;
  line-height: 15px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.network-tag {
  flex-shrink: 0;
  font-size: 8px;
  border: 1px solid #ffffff38;
  background: #ffffff0c;
  border-radius: 3px;
  padding: 1px 3px;
  color: #ffffffcf;
}
.card-config {
  font-size: 9px;
  color: #ffffffb0;
  line-height: 14px;
  margin-top: 4px;
  letter-spacing: 0.1px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid #ffffff22;
  margin-top: 7px;
  padding-top: 6px;
}
.card-price {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2px;
}
.card-detail {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: #ffffffb3;
}
.axis-bottom {
  position: sticky;
  left: 0;
  background: #fafbfe;
  border-right: 1px solid #e6e9f1;
  text-align: left;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 500;
  color: #737b90;
}
.matrix-table tfoot td {
  height: 28px;
  background: #fdfdff;
}
.matrix-footer {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid #e9ebf2;
  color: #969dad;
  font-size: 10px;
  background: #fff;
}
.matrix-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8c84be;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 2px 0;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #a5abba;
}
.footer-separator {
  margin: 0 10px;
  color: #c5c9d3;
}
.state-panel {
  padding: 80px 20px;
  text-align: center;
  color: #858da0;
  font-size: 13px;
}
.state-panel h3 {
  color: #414b61;
  font-size: 17px;
}
.state-panel p {
  margin: 12px 0 20px;
}
.loading-dot {
  width: 8px;
  height: 8px;
  background: #8b81cc;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: pulse 1s infinite;
}
.empty-banner {
  background: #faf8ef;
  color: #887838;
  font-size: 12px;
  padding: 13px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.empty-banner button {
  border: 0;
  background: transparent;
  color: #6c5cb2;
  font-size: 12px;
}
.product-dialog {
  padding: 26px;
  width: 440px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid #e4e6ef;
  border-radius: 16px;
  color: #263148;
  box-shadow: 0 25px 100px #20253940;
}
.product-dialog::backdrop {
  background: #20263a80;
  backdrop-filter: blur(3px);
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-top .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.icon-button {
  padding: 5px;
  display: flex;
  border: 0;
  background: #f4f5f9;
  color: #7c8497;
  border-radius: 6px;
}
.detail-brand {
  font-size: 17px;
  font-weight: 800;
  margin-top: 25px;
}
.product-dialog h2 {
  font-size: 26px;
  margin: 8px 0 20px;
  letter-spacing: -0.8px;
}
.detail-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
}
.detail-price span {
  font-size: 11px;
  letter-spacing: 0;
  color: #9ba2b2;
  font-weight: 400;
  margin-left: 5px;
}
.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
  background: #f6f7fb;
  border-radius: 9px;
  margin: 22px 0;
}
.detail-specs dt {
  font-size: 11px;
  color: #939bad;
}
.detail-specs dd {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.detail-description {
  font-size: 12px;
  line-height: 1.9;
  color: #7d8699;
}
.demo-notice {
  font-size: 10px;
  color: #a2a9b9;
  margin: 15px 0 23px;
}
.detail-close {
  width: 100%;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@media (min-width: 1600px) {
  .matrix-scroll {
    max-height: 740px;
  }
  .matrix-table tbody td {
    padding: 13px 14px;
  }
  .card-top strong {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .app-shell {
    padding: 24px 20px;
  }
  .page-header {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 24px;
  }
  .filter-row {
    gap: 10px;
  }
  .search-field {
    max-width: none;
    flex-basis: 100%;
  }
  .reset-button {
    margin-left: 0;
  }
  .range-row {
    gap: 12px;
  }
  .range-row p {
    font-size: 10px;
  }
  .matrix-toolbar {
    padding: 15px;
  }
  .desktop-note {
    display: none;
  }
  .matrix-footer {
    padding: 12px 15px;
  }
  .matrix-scroll {
    max-height: 620px;
  }
}
@media (max-width: 560px) {
  .app-shell {
    padding: 20px 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 22px;
  }
  h1 span {
    display: none;
  }
  .page-header p {
    font-size: 11px;
  }
  .mock-badge {
    font-size: 10px;
    padding: 6px 9px;
  }
  .filter-row {
    padding: 13px;
    gap: 8px;
  }
  .filter-button,
  .select-field {
    padding: 0 8px;
    font-size: 11px;
  }
  .select-field select {
    font-size: 11px;
    max-width: 62px;
  }
  .range-row {
    padding: 12px 13px;
  }
  .range-row form {
    gap: 7px;
  }
  .number-field input {
    width: 44px;
  }
  .step-label {
    margin-left: 0;
  }
  .setting-label {
    font-size: 11px;
  }
  .reset-button {
    font-size: 11px;
  }
  .matrix-toolbar > div {
    gap: 6px;
  }
  .matrix-toolbar strong {
    font-size: 12px;
  }
  .brand-count {
    display: none;
  }
  .drag-hint {
    font-size: 9px;
  }
  .matrix-footer {
    font-size: 9px;
  }
  .page-footer {
    font-size: 8px;
    flex-wrap: wrap;
    line-height: 1.8;
  }
  .brand-popover {
    width: 210px;
  }
  .matrix-scroll {
    max-height: 570px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.launch-row {
  padding: 14px 20px;
  border-top: 1px solid #eff0f5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.date-field {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #e4e7ef;
  border-radius: 6px;
  font-size: 12px;
  color: #81899b;
  min-width: 0;
}
.date-field input {
  border: 0;
  background: transparent;
  color: #313b50;
  font-size: 12px;
  min-width: 0;
  width: 136px;
}
.date-field:focus-within {
  border-color: #8b82d5;
}
.launch-hint {
  font-size: 10px;
  color: #969dad;
}
.launch-error {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: #c24052;
  font-size: 12px;
}
@media (max-width: 560px) {
  .launch-row {
    padding: 12px 13px;
    gap: 7px;
  }
  .date-field {
    padding: 0 6px;
    gap: 4px;
    font-size: 11px;
  }
  .date-field input {
    font-size: 11px;
    width: 112px;
  }
  .launch-hint {
    flex-basis: 100%;
  }
}

.toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.field-picker {
  position: relative;
}
.field-config-button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e4e7ef;
  background: white;
  border-radius: 6px;
  padding: 6px 9px;
  color: #655caa;
  font-size: 11px;
  white-space: nowrap;
}
.field-config-button:hover {
  background: #f6f4ff;
}
.field-popover {
  left: auto;
  right: 0;
  top: 36px;
}
.field-note {
  font-size: 10px;
  line-height: 1.6;
  color: #969dad;
  margin: 10px 5px 0;
}
.card-extra {
  font-size: 9px;
  line-height: 15px;
  color: #ffffffb0;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.card-detail {
  margin-left: auto;
}
@media (max-width: 560px) {
  .matrix-toolbar {
    flex-wrap: wrap;
  }
  .matrix-toolbar .toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .field-config-button {
    font-size: 10px;
    padding: 5px 7px;
  }
}

.field-popover .remember-fields {
  margin-top: 9px;
  border-top: 1px solid #eff0f5;
  padding-top: 12px;
  font-size: 12px;
  color: #655caa;
}

.config-pair {
  white-space: nowrap;
  display: inline-block;
}
.config-divider {
  color: #ffffff70;
}
.card-config {
  overflow-wrap: anywhere;
}
.detail-configurations {
  grid-column: 1 / -1;
}
.detail-configurations dd {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.filter-row > .launch-inline {
  padding: 0;
  border-top: 0;
  gap: 9px;
  flex: 0 1 auto;
}
.secondary-filter-row {
  border-top: 1px solid #eff0f5;
  padding-top: 14px;
  padding-bottom: 14px;
}
.launch-inline .launch-hint {
  max-width: 170px;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .launch-inline .launch-hint {
    flex-basis: 100%;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .filter-row > .launch-inline {
    flex-basis: 100%;
    gap: 7px;
  }
  .secondary-filter-row {
    gap: 8px;
  }
  .secondary-filter-row .reset-button {
    margin-left: auto;
  }
}

.brand-logo {
  display: block;
  max-width: 122px;
  max-height: 22px;
  object-fit: contain;
}
