:root {
  --yc-bg: #f4f7fb;
  --yc-surface: #fff;
  --yc-line: #dfe6f0;
  --yc-muted: #617089;
  --yc-text: #061a35;
  --yc-blue: #3164ff;
  --yc-purple: #7567ee;
  --yc-green: #18b783;
  --yc-orange: #ff7a1a;
  --yc-red: #e5484d;
  --yc-radius: 8px;
  --yc-shadow: 0 8px 24px rgba(17, 39, 73, .08);
}

* { box-sizing: border-box; }
html, body, .yc-shell { min-height: 100%; }
body.yc-app-body {
  margin: 0;
  min-height: 100vh;
  background: var(--yc-bg);
  color: var(--yc-text);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

button, input, textarea, select { font: inherit; }
a { color: var(--yc-blue); }

.yc-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--yc-muted);
  padding: 18px;
}

.yc-layout { display: grid; grid-template-columns: 284px 1fr; min-height: 100vh; }
.yc-sidebar {
  background: var(--yc-surface);
  border-right: 1px solid var(--yc-line);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
}
.yc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 24px;
}
.yc-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--yc-blue), var(--yc-purple));
  font-weight: 900;
}
.yc-nav-section { margin-top: 16px; }
.yc-nav-settings { margin-top: 28px; }
.yc-nav-title {
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  text-transform: uppercase;
}
.yc-nav-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--yc-text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}
.yc-nav-button:hover,
.yc-nav-button.is-active { background: #edf2ff; color: #174cff; }
.yc-nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #eef3fb;
  color: #5b6b86;
  font-size: 12px;
  font-weight: 900;
}
.yc-user-box {
  margin: 22px 12px 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--yc-line);
  color: var(--yc-muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.yc-sidebar-logout {
  margin-top: 6px;
  padding: 0;
  font-size: 12px;
}

.yc-main { min-width: 0; }
.yc-mobile-header, .yc-menu-overlay { display: none; }
.yc-topbar {
  height: 52px;
  background: var(--yc-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.yc-workbar {
  min-height: 64px;
  background: var(--yc-surface);
  border-bottom: 1px solid var(--yc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
}
.yc-tabs,
.yc-workbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.yc-chip {
  border: 1px solid var(--yc-line);
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--yc-text);
}
.yc-run-state { color: var(--yc-muted); font-size: 13px; }
.yc-content { padding: 24px; max-width: 1500px; }
.yc-page-title { font-size: 26px; font-weight: 800; margin: 0 0 18px; }

.yc-card {
  min-width: 0;
  background: var(--yc-surface);
  border: 1px solid var(--yc-line);
  border-radius: var(--yc-radius);
  box-shadow: var(--yc-shadow);
}
.yc-card h2, .yc-card h3 { margin: 0 0 14px; }
.yc-panel { padding: 18px; }
.yc-panel h2, .yc-panel h3 { margin: 0 0 14px; font-size: 20px; }
.yc-panel h3 { font-size: 16px; }
.yc-section-gap { margin-top: 18px; }

.yc-auth-card {
  width: min(520px, calc(100vw - 32px));
  padding: 18px;
}
.yc-auth-card .yc-brand { margin-bottom: 18px; }
.yc-auth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yc-auth-form {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 4px;
}
.yc-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.yc-auth-links a {
  font-weight: 700;
  text-decoration: none;
}
.yc-auth-links a:hover {
  text-decoration: underline;
}

.yc-input-card { padding: 18px; margin-bottom: 22px; }
.yc-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.yc-analysis-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.yc-label {
  display: grid;
  gap: 7px;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 700;
}
.yc-input, .yc-textarea {
  width: 100%;
  border: 1px solid #bfc9d8;
  border-radius: 6px;
  padding: 12px;
  color: var(--yc-text);
  background: #fff;
}
.yc-input:focus, .yc-textarea:focus {
  border-color: var(--yc-blue);
  outline: 3px solid rgba(49, 100, 255, .14);
}
.yc-textarea { min-height: 92px; resize: vertical; }
.yc-keyword-box { display: none; margin-top: 12px; }
.yc-keyword-box.is-open { display: block; }

.yc-button {
  border: 0;
  background: var(--yc-blue);
  color: #fff;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.yc-button:disabled,
.yc-link-button:disabled,
.yc-input:disabled,
.yc-textarea:disabled { opacity: .58; cursor: not-allowed; }
.yc-secondary,
.yc-button.yc-secondary {
  background: #edf2ff;
  color: #174cff;
}
.yc-booth-button {
  background: #fc4d50;
  color: #fff;
  border-color: #fc4d50;
}
.yc-booth-button:visited { color: #fff; }
.yc-booth-button:hover { background: #e64043; color: #fff; text-decoration: none; }
.yc-link-button {
  border: 0;
  background: transparent;
  color: var(--yc-blue);
  font-weight: 800;
  cursor: pointer;
  padding: 8px 0 0;
}
.yc-small-button { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.yc-mini-button,
.yc-page-button {
  border: 1px solid var(--yc-line);
  background: #fff;
  color: var(--yc-text);
  border-radius: 7px;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.yc-mini-button:hover,
.yc-page-button:hover,
.yc-page-button.is-active {
  border-color: var(--yc-blue);
  color: var(--yc-blue);
  background: #f5f8ff;
}
.yc-page-button:disabled {
  cursor: default;
  opacity: .55;
}

.yc-alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fff7ed;
  color: #7c3f00;
  border: 1px solid #fed7aa;
}
.yc-alert.error { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.yc-muted { color: var(--yc-muted); font-size: 12px; }

.yc-dashboard { display: grid; gap: 0; }
.yc-grid { display: grid; gap: 18px; }
.yc-grid > * { min-width: 0; }
.yc-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yc-two { grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr); }
.yc-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yc-product-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.yc-shop-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yc-settings-status { grid-template-columns: repeat(3, minmax(160px, 260px)); }
.yc-plan-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.yc-mini-card {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.yc-mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.yc-mini-card-head strong { overflow-wrap: anywhere; }

.yc-kpi-label { color: var(--yc-muted); font-size: 12px; font-weight: 700; }
.yc-kpi-value {
  font-size: 28px;
  font-weight: 800;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.yc-kpi-sub { color: var(--yc-muted); font-size: 12px; margin-top: 4px; }
.yc-kpi-plain { min-height: 110px; display: flex; flex-direction: column; justify-content: center; }
.yc-meter {
  height: 7px;
  background: #e7ebf0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}
.yc-meter span { display: block; height: 100%; background: var(--yc-blue); }

.yc-product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  margin-bottom: 18px;
}
.yc-gallery { min-width: 0; }
.yc-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef3fb;
  border: 1px solid var(--yc-line);
  border-radius: 8px;
}
.yc-no-image {
  display: grid;
  place-items: center;
  color: var(--yc-muted);
  font-weight: 800;
}
.yc-product-detail h2 {
  margin: 4px 0 12px;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}
.yc-product-eyebrow {
  color: var(--yc-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.yc-hero-actions,
.yc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.yc-score-badge {
  border: 1px solid var(--yc-line);
  background: #f8fafc;
  color: var(--yc-text);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}
.yc-meta {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  font-size: 13px;
}
.yc-meta-wide { grid-template-columns: 110px minmax(0, 1fr) 110px minmax(0, 1fr); margin-bottom: 14px; }
.yc-meta dt { color: var(--yc-muted); }
.yc-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.yc-tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.yc-tag {
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  background: #f8fafc;
}
.yc-product-tag-block {
  display: grid;
  gap: 8px;
}
.yc-product-tag-list {
  align-items: flex-start;
}
.yc-product-tag-list.is-collapsed {
  max-height: 164px;
  overflow: hidden;
}
.yc-tag-more-button {
  justify-self: start;
  border: 1px solid var(--yc-line);
  background: #fff;
  color: var(--yc-blue);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.yc-tag-more-button:hover {
  background: #f4f7ff;
}
.yc-tag-more-button[hidden] {
  display: none;
}
.yc-spark-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #f8fafc;
}
.yc-spark-bars span {
  flex: 1 1 6px;
  min-width: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--yc-blue);
}
.yc-spark-small {
  min-height: 96px;
}

.yc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.yc-section-head h2 { margin: 0; }
.yc-section-head span { color: var(--yc-muted); font-size: 12px; text-align: right; }
.yc-analysis-date {
  color: var(--yc-muted);
  font-size: 13px;
  font-weight: 700;
  margin: -4px 0 14px;
}
.yc-analysis-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-color: #f2b84b;
  background: #fff8e8;
}
.yc-analysis-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #7a4300;
  font-size: 17px;
}
.yc-analysis-notice p {
  margin: 0;
  color: #5f4b22;
}
.yc-section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
details.yc-section-more {
  display: block;
}
.yc-section-more summary {
  cursor: pointer;
  color: var(--yc-accent);
  font-weight: 800;
}
.yc-section-more .yc-table-wrap {
  margin-top: 10px;
}
.yc-like-trend-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.yc-like-current {
  grid-template-columns: minmax(120px, 1fr);
  max-width: 180px;
}
.yc-like-trend-summary div {
  padding: 12px;
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fbfcfe;
}
.yc-like-trend-summary small {
  display: block;
  color: var(--yc-muted);
  font-weight: 700;
}
.yc-like-trend-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--yc-text);
  font-size: 22px;
}
.yc-line-chart {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}
.yc-line-chart svg {
  display: block;
  width: 100%;
  height: 156px;
  overflow: visible;
}
.yc-line-grid {
  stroke: #dfe6f0;
  stroke-width: 1;
}
.yc-like-line {
  fill: none;
  stroke: var(--yc-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yc-like-dot {
  fill: #fff;
  stroke: var(--yc-blue);
  stroke-width: 2.4;
}
.yc-point-label {
  fill: var(--yc-text);
  font-size: 11px;
  font-weight: 800;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #fbfcfe;
  stroke-width: 4px;
  stroke-linejoin: round;
}
.yc-x-label {
  fill: var(--yc-muted);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}
.yc-avatar-compatible-subcategories {
  margin-bottom: 14px;
}
.yc-avatar-series-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 10px 0 12px;
}
.yc-avatar-series-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yc-text);
  font-size: 12px;
  font-weight: 800;
}
.yc-avatar-series-toggles span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--series-color);
}
.yc-avatar-compatible-chart {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.yc-avatar-compatible-chart svg {
  display: block;
  width: 100%;
  height: 190px;
  overflow: visible;
}
.yc-avatar-series polyline {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yc-avatar-series circle {
  fill: #fff;
  stroke: var(--series-color);
  stroke-width: 2.2;
}
.yc-series-last-label,
.yc-y-label {
  fill: var(--yc-text);
  font-size: 11px;
  font-weight: 800;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}
.yc-y-label {
  text-anchor: end;
  fill: var(--yc-muted);
}
.yc-bars { display: grid; gap: 12px; }
.yc-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 54px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.yc-bar-track {
  height: 9px;
  background: #e7ebf0;
  border-radius: 999px;
  overflow: hidden;
}
.yc-bar-track span {
  display: block;
  height: 100%;
  background: var(--yc-blue);
}
.yc-dist-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.yc-dist-label strong { color: var(--yc-text); }
.yc-metric-list {
  display: grid;
  gap: 10px;
}
.yc-distribution {
  display: grid;
  gap: 12px;
}
.yc-dist-row {
  display: grid;
  gap: 7px;
}
.yc-weakness-list {
  display: grid;
  gap: 10px;
}
.yc-weakness-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--yc-line);
}
.yc-weakness-item:last-child { border-bottom: 0; }
.yc-weakness-item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.yc-weakness-item small {
  color: var(--yc-muted);
  font-size: 12px;
}
.yc-weakness-item strong {
  text-align: right;
  white-space: nowrap;
}
.yc-pie-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.yc-pie {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--yc-line);
}
.yc-pie-legend {
  display: grid;
  gap: 8px;
}
.yc-pie-legend div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.yc-pie-legend span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.yc-pie-legend strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.yc-pie-legend small {
  color: var(--yc-muted);
  font-size: 12px;
}
.yc-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.yc-benchmark-column {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}
.yc-benchmark-column h3 {
  font-size: 14px;
  margin: 0 0 10px;
}
.yc-benchmark-item {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid var(--yc-line);
}
.yc-benchmark-item:first-of-type { border-top: 0; }
.yc-benchmark-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.yc-benchmark-item small {
  color: var(--yc-muted);
  font-size: 12px;
}
.yc-form-lock { margin: 10px 0 0; }
.yc-small-select {
  min-height: 38px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.yc-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--yc-soft);
}
.yc-inline-details summary {
  cursor: pointer;
  color: var(--yc-accent);
  font-weight: 700;
}
.yc-inline-details .yc-report-json {
  max-width: min(520px, 70vw);
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
}
.yc-inline-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yc-inline-field {
  display: inline-grid;
  gap: 4px;
  min-width: 92px;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 700;
}
.yc-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.yc-announcement-list {
  display: grid;
  gap: 10px;
}
.yc-announcement-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--yc-border);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}
.yc-announcement-item p {
  margin: 4px 0 0;
  color: var(--yc-muted);
  white-space: pre-wrap;
}
.yc-announcement-item.is-warning { border-left-color: #f59e0b; }
.yc-announcement-item.is-critical { border-left-color: #dc2626; }
.yc-announcement-item.is-info { border-left-color: var(--yc-accent); }
.yc-admin-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.yc-admin-filter .yc-label {
  min-width: 160px;
}
.yc-suggest-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.yc-suggest-controls .yc-label { min-width: 170px; }
.yc-suggest-type-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.yc-suggest-keyword { color: var(--yc-text); }
.yc-suggest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yc-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.yc-analytics-metric {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.yc-analytics-metric span {
  display: block;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 800;
}
.yc-analytics-metric strong {
  display: block;
  margin-top: 4px;
  color: var(--yc-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}
.yc-analytics-metric small {
  margin-left: 3px;
  color: var(--yc-muted);
  font-size: 13px;
  font-weight: 800;
}
.yc-analytics-period-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.yc-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yc-segmented button {
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--yc-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}
.yc-segmented button.is-active {
  border-color: var(--yc-blue);
  background: #eef5ff;
  color: var(--yc-blue);
}
.yc-analytics-custom-dates {
  display: none;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
}
.yc-analytics-custom-dates.is-active { display: grid; }
.yc-analytics-custom-dates label {
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 800;
}
.yc-analytics-custom-dates input { margin-top: 4px; }
.yc-analytics-series-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.yc-analytics-series-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yc-text);
  font-size: 12px;
  font-weight: 800;
}
.yc-analytics-series-toggles span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--series-color);
}
.yc-analytics-line-chart {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.yc-analytics-line-chart svg {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
.yc-analytics-series polyline {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yc-analytics-series circle {
  fill: #fff;
  stroke: var(--series-color);
  stroke-width: 2;
}
.yc-line-grid {
  stroke: #dbe4ef;
  stroke-width: 1;
}
.yc-x-label,
.yc-y-label {
  fill: var(--yc-muted);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}
.yc-y-label {
  text-anchor: end;
}
.yc-source-cell {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.yc-source-favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}
.yc-source-favicon-fallback {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--yc-line);
  color: var(--yc-muted);
  font-size: 11px;
  font-weight: 900;
}
.yc-inner-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fbfcfe;
}
.yc-analytics-source-table {
  min-width: 520px;
}
.yc-mobile-list { display: none; }
.yc-keyword-opportunity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 14px;
}
.yc-keyword-opportunity-head strong {
  display: block;
  font-size: 22px;
}
.yc-keyword-opportunity-head span {
  display: block;
  color: var(--yc-blue);
  font-weight: 900;
  margin-top: 3px;
}
.yc-keyword-opportunity-head p {
  margin: 0;
  color: var(--yc-muted);
  font-size: 12px;
  text-align: right;
}
.yc-keyword-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.yc-keyword-overview > div,
.yc-keyword-barriers .yc-dist-label {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.yc-keyword-overview span {
  display: block;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 700;
}
.yc-keyword-overview strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.yc-keyword-breakdown,
.yc-keyword-barriers {
  display: grid;
  gap: 12px;
  align-content: start;
}
.yc-keyword-competitor-table {
  min-width: 1040px;
}
.yc-keyword-competitor-table th:nth-child(1),
.yc-keyword-competitor-table td:nth-child(1) {
  width: 58px;
}
.yc-keyword-competitor-table th:nth-child(2),
.yc-keyword-competitor-table td:nth-child(2) {
  min-width: 360px;
}
.yc-keyword-competitor-table th:nth-child(3),
.yc-keyword-competitor-table td:nth-child(3) {
  width: 100px;
}
.yc-keyword-competitor-table th:nth-child(4),
.yc-keyword-competitor-table td:nth-child(4) {
  width: 150px;
}
.yc-keyword-competitor-table th:nth-child(5),
.yc-keyword-competitor-table td:nth-child(5),
.yc-keyword-competitor-table th:nth-child(6),
.yc-keyword-competitor-table td:nth-child(6) {
  width: 92px;
}
.yc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.yc-section-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.yc-section-detail-head h2 { margin: 0 0 4px; }
.yc-section-detail-head span { color: var(--yc-muted); font-size: 13px; }
.yc-dashboard-shops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.yc-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.yc-shop-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--yc-border);
  background: #fff;
  color: var(--yc-text);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--yc-shadow-soft);
}
.yc-shop-tab span {
  color: var(--yc-blue);
  font-size: 12px;
}
.yc-shop-tab.is-active {
  border-color: var(--yc-blue);
  color: var(--yc-blue);
  box-shadow: 0 0 0 1px rgba(47, 99, 255, 0.16);
}
.yc-shop-tab .yc-page-button {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.35;
}
.yc-shop-tab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.yc-dictionary-tabs-panel {
  padding: 12px;
}
.yc-dictionary-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.yc-dictionary-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--yc-border);
  background: #fff;
  color: var(--yc-text);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--yc-shadow-soft);
}
.yc-dictionary-tab span {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yc-soft-blue);
  color: var(--yc-blue);
  font-size: 12px;
  padding: 0 7px;
}
.yc-dictionary-tab.is-active {
  border-color: var(--yc-blue);
  color: var(--yc-blue);
  box-shadow: 0 0 0 1px rgba(47, 99, 255, 0.16);
}
[data-dictionary-section][hidden] {
  display: none !important;
}
.yc-dashboard-kpi-summary {
  padding: 0;
}
.yc-dashboard-kpi-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.yc-dashboard-kpi-item {
  padding: 18px 20px;
  border-right: 1px solid var(--yc-border);
}
.yc-dashboard-kpi-item:last-child {
  border-right: 0;
}
.yc-dashboard-kpi-item .yc-kpi-label {
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.yc-dashboard-kpi-item .yc-kpi-value {
  font-size: 24px;
  font-weight: 900;
}
.yc-crawl-status {
  color: var(--yc-muted);
  font-size: 10px;
  font-weight: 800;
}
.yc-crawl-status.is-ok { color: #1f7a4c; }
.yc-crawl-status.is-error { color: #b42318; }
.yc-crawl-status.is-running,
.yc-crawl-status.is-waiting { color: #1d4ed8; }
.yc-dashboard-table td:last-child,
.yc-dashboard-product-date,
.yc-dashboard-product-metric {
  text-align: right;
  white-space: nowrap;
}
.yc-inline-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.yc-sale-cell {
  display: grid;
  gap: 6px;
  min-width: 150px;
}
.yc-estimate-cell {
  display: grid;
  gap: 3px;
  min-width: 120px;
}
.yc-compact-input {
  width: 84px;
  min-height: 32px;
  padding: 6px 8px;
  font-size: 12px;
}
.yc-compact-select {
  width: 112px;
  min-height: 32px;
  padding: 6px 8px;
  font-size: 12px;
}
.yc-track-input { width: 140px; }
.yc-tracking-cell {
  display: grid;
  gap: 8px;
  min-width: 260px;
}
.yc-tracking-candidates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yc-tag-remove {
  border: 0;
  background: transparent;
  color: var(--yc-muted);
  cursor: pointer;
  font-weight: 900;
  padding: 0 0 0 4px;
}
.yc-jobs-table td {
  vertical-align: middle;
}
.yc-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
  background: #eef3fb;
  color: var(--yc-text);
  white-space: nowrap;
}
.yc-status-pill.is-ok {
  background: #ecfdf3;
  color: #1f7a4c;
}
.yc-status-pill.is-error {
  background: #fff1f2;
  color: #b42318;
}
.yc-status-pill.is-running {
  background: #eff6ff;
  color: #1d4ed8;
}
.yc-status-pill.is-muted {
  background: #f3f4f6;
  color: var(--yc-muted);
}
.yc-job-meter {
  width: 110px;
  margin: 0 0 4px;
}
.yc-job-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 112px;
}
.yc-error-text {
  color: #b42318;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.yc-trend-watch-form {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  align-items: end;
}
.yc-trend-table strong {
  overflow-wrap: anywhere;
}
.yc-trend-delta {
  font-weight: 900;
  white-space: nowrap;
}
.yc-trend-delta.is-up { color: #1f7a4c; }
.yc-trend-delta.is-down { color: #b42318; }
.yc-trend-delta.is-flat { color: var(--yc-muted); }

.yc-action-card {
  border: 1px solid var(--yc-line);
  background: #fbfcfe;
  border-radius: 8px;
  padding: 14px;
  min-height: 132px;
}
.yc-action-card h3 { font-size: 15px; margin: 0 0 10px; }
.yc-action-card p { color: var(--yc-muted); margin: 0; line-height: 1.7; }
.yc-improvement-list { display: grid; gap: 12px; }
.yc-improvement-card { min-height: 0; display: grid; gap: 10px; }
.yc-improvement-card h3 { margin-bottom: 0; }
.yc-improvement-card p { color: var(--yc-text); line-height: 1.7; }
.yc-improvement-card p strong { color: var(--yc-muted); font-size: 12px; }
.yc-action-main { font-weight: 700; }
.yc-action-top { display: flex; align-items: center; gap: 8px; color: var(--yc-muted); font-size: 12px; }
.yc-priority { border-radius: 999px; padding: 4px 8px; font-weight: 900; background: #eef3fb; color: var(--yc-text); }
.yc-priority-critical,
.yc-priority-high { background: #fff0f0; color: var(--yc-red); }
.yc-priority-medium { background: #fff7ed; color: #b35300; }
.yc-priority-low { background: #effaf5; color: #087a4d; }
.yc-action-axis {
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--yc-line);
  color: var(--yc-muted);
}
.yc-action-example {
  display: grid;
  gap: 4px;
  border: 1px solid var(--yc-line);
  border-radius: 7px;
  background: #fff;
  padding: 10px;
}
.yc-action-example small { color: var(--yc-muted); font-weight: 800; }
.yc-action-example b {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}
.yc-action-block {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--yc-line);
  border-radius: 7px;
  background: #fff;
  padding: 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
}
.yc-action-detail {
  color: var(--yc-muted);
  font-size: 12px;
}
.yc-action-detail summary {
  cursor: pointer;
  font-weight: 800;
}
.yc-action-detail p {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  color: var(--yc-muted);
}
.yc-action-detail p strong { color: var(--yc-text); font-size: 12px; }
.yc-action-template {
  border: 1px solid var(--yc-line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: var(--yc-muted);
  font-size: 12px;
}
.yc-action-template summary { cursor: pointer; font-weight: 900; color: var(--yc-text); }
.yc-action-template pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: 1.7;
}
.yc-action-evidence {
  display: grid;
  gap: 8px;
}
.yc-action-evidence div {
  display: grid;
  grid-template-columns: minmax(88px, 0.35fr) minmax(0, 1fr);
  gap: 8px;
  line-height: 1.6;
}
.yc-action-evidence strong {
  color: var(--yc-text);
  overflow-wrap: anywhere;
}
.yc-action-evidence b {
  color: var(--yc-text);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.yc-action-evidence span {
  color: var(--yc-muted);
  overflow-wrap: anywhere;
}
.yc-action-effect {
  border-left: 3px solid #c9d8f6;
  padding-left: 10px;
  color: var(--yc-muted);
  font-size: 12px;
  line-height: 1.6;
}
.yc-action-more { margin-top: 12px; color: var(--yc-muted); font-size: 12px; }
.yc-action-more summary { cursor: pointer; font-weight: 800; }
.yc-action-more .yc-improvement-list { margin-top: 10px; }

.yc-shop-product-cell {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 280px;
}
.yc-shop-product-cell img,
.yc-shop-noimage {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
  background: #eef3fb;
  border: 1px solid var(--yc-line);
  display: grid;
  place-items: center;
}
.yc-shop-product-cell a { font-weight: 800; text-decoration: none; }
.yc-shop-product-cell a:hover { text-decoration: underline; }

.yc-history-panel { margin: 22px 0 0; box-shadow: none; }
.yc-history-list { display: grid; gap: 8px; }
.yc-history-item {
  width: 100%;
  border: 1px solid var(--yc-line);
  background: #fbfcfe;
  color: var(--yc-text);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  cursor: pointer;
  text-align: left;
}
.yc-history-item:hover { border-color: var(--yc-blue); background: #f5f8ff; }
.yc-history-item img,
.yc-history-icon {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  object-fit: cover;
  background: #eef3fb;
  border: 1px solid var(--yc-line);
  display: grid;
  place-items: center;
  color: var(--yc-blue);
  font-weight: 900;
}
.yc-history-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yc-history-item small { display: block; color: var(--yc-muted); margin-top: 3px; }
.yc-history-item b { color: var(--yc-blue); white-space: nowrap; }

.yc-table-wrap { overflow-x: auto; }
.yc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.yc-table th,
.yc-table td {
  border-bottom: 1px solid var(--yc-line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}
.yc-table th { color: var(--yc-muted); font-size: 12px; font-weight: 800; }

.yc-empty {
  min-height: 260px;
  border: 1px dashed #c8d3e4;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--yc-muted);
  text-align: center;
  background: #fbfcfe;
  padding: 26px;
}
.yc-empty strong { display: block; color: var(--yc-text); font-size: 18px; margin-bottom: 8px; }
.yc-empty p { margin: 0; }
.yc-job-card { margin-bottom: 18px; }
.yc-job-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin-bottom: 18px;
}
.yc-job-panel strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.yc-job-panel p {
  margin: 0;
  color: var(--yc-muted);
}
.yc-hourglass {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--yc-blue);
  animation: yc-hourglass 1.1s ease-in-out infinite;
}
.yc-progress {
  position: relative;
  width: min(320px, 70vw);
  height: 8px;
  margin: 16px auto 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1e8f2;
}
.yc-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6df6, #6e7bf4);
  animation: yc-progress-slide 1.25s ease-in-out infinite;
}
.yc-progress.is-determinate span {
  animation: none;
  transform: none;
  transition: width .35s ease;
}
.yc-progress-percent {
  width: min(320px, 70vw);
  margin: 8px auto 0;
  text-align: center;
  color: var(--yc-blue);
  font-size: 13px;
  font-weight: 800;
}
.yc-report-stack { display: grid; gap: 0; }
.yc-raw summary { cursor: pointer; font-weight: 900; }
.yc-report-json {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow: auto;
  background: #071a34;
  color: #e6edf7;
  padding: 14px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 14px;
}

@keyframes yc-hourglass {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

@keyframes yc-progress-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(240%); }
}

.yc-dictionary-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.yc-dictionary-form .yc-textarea {
  min-height: 92px;
}
.yc-form-heading,
.yc-form-wide {
  grid-column: 1 / -1;
}
.yc-dictionary-probe {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}
.yc-dictionary-probe .yc-textarea {
  min-height: 68px;
}
.yc-probe-result {
  display: grid;
  gap: 12px;
}
.yc-dictionary-table td {
  min-width: 150px;
}
.yc-dictionary-table td:first-child {
  min-width: 190px;
}
.yc-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.yc-admin-actions .yc-button {
  width: auto;
}
.yc-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.yc-mini-button.is-danger {
  border-color: #f4b4bd;
  color: #b4233a;
  background: #fff5f6;
}
.yc-dictionary-filter {
  align-items: end;
}
.yc-dictionary-filter .yc-label {
  min-width: min(420px, 100%);
}

@media (max-width: 900px) {
  .yc-layout { display: block; min-height: 100vh; }
  .yc-content {
    max-width: none;
    padding: 16px 24px 28px;
  }
  .yc-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 14px;
    background: var(--yc-surface);
    border-bottom: 1px solid var(--yc-line);
    position: sticky;
    top: 0;
    z-index: 80;
  }
  .yc-mobile-header strong { font-size: 17px; font-weight: 800; }
  .yc-menu-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--yc-line);
    border-radius: 8px;
    background: #fff;
    color: var(--yc-text);
    display: grid;
    gap: 4px;
    place-content: center;
    cursor: pointer;
  }
  .yc-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--yc-text);
  }
  .yc-sidebar {
    position: fixed;
    top: 52px;
    left: 0;
    width: min(284px, 82vw);
    height: calc(100vh - 52px);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 70;
    box-shadow: 18px 0 38px rgba(17, 39, 73, .18);
  }
  .yc-sidebar .yc-brand { display: none; }
  .yc-sidebar.is-open { transform: translateX(0); }
  .yc-menu-overlay {
    display: block;
    position: fixed;
    inset: 52px 0 0;
    border: 0;
    padding: 0;
    background: rgba(6, 26, 53, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 60;
  }
  .yc-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
  .yc-topbar { display: none; }
  .yc-workbar { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 16px; }
  .yc-page-title { font-size: 22px; margin-bottom: 14px; }
  .yc-form,
  .yc-dictionary-form,
  .yc-dictionary-probe,
  .yc-analysis-row,
  .yc-auth-grid,
  .yc-two,
  .yc-three,
  .yc-settings-status,
  .yc-plan-grid,
  .yc-product-hero {
    grid-template-columns: 1fr;
  }
  .yc-kpis,
  .yc-shop-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-pie-layout,
  .yc-benchmark-grid {
    grid-template-columns: 1fr;
  }
  .yc-button { width: 100%; }
  .yc-admin-actions .yc-button { width: 100%; }
  .yc-link-button { width: auto; text-align: left; }
  .yc-analysis-notice { grid-template-columns: 1fr; }
  .yc-product-hero { gap: 14px; }
  .yc-meta-wide { grid-template-columns: 100px minmax(0, 1fr); }
  .yc-section-head { display: grid; align-items: start; }
  .yc-section-head span { text-align: left; }
  .yc-section-detail-head { display: grid; justify-content: stretch; }
  .yc-dictionary-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-dictionary-tab {
    justify-content: space-between;
    width: 100%;
  }
  .yc-product-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .yc-product-kpis .yc-kpi-card,
  .yc-inbound-kpis .yc-kpi-card {
    min-width: 0;
    min-height: 84px;
    padding: 10px 8px;
  }
  .yc-product-kpis .yc-kpi-label,
  .yc-inbound-kpis .yc-kpi-label {
    font-size: 11px;
    white-space: nowrap;
  }
  .yc-product-kpis .yc-kpi-value,
  .yc-inbound-kpis .yc-kpi-value {
    font-size: 20px;
    line-height: 1.15;
    margin-top: 6px;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .yc-product-kpis .yc-kpi-sub,
  .yc-inbound-kpis .yc-kpi-sub {
    font-size: 10px;
  }
  .yc-dashboard-kpi-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-dashboard-kpi-item {
    border-right: 0;
    border-bottom: 1px solid var(--yc-border);
    padding: 14px 12px;
  }
  .yc-dashboard-kpi-item .yc-kpi-value {
    font-size: 20px;
  }
  .yc-shop-tabs {
    align-items: stretch;
  }
  .yc-shop-tab {
    flex: 1 1 140px;
    justify-content: center;
  }
  .yc-bars {
    gap: 15px;
  }
  .yc-bar-row {
    grid-template-columns: minmax(86px, 1fr) minmax(72px, 92px) 58px;
    gap: 10px;
    font-size: 14px;
  }
  .yc-bar-row > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .yc-bar-row > strong {
    white-space: nowrap;
    text-align: right;
  }
  .yc-bar-track {
    height: 10px;
  }
  .yc-inbound-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .yc-wide-table-wrap {
    padding-bottom: 8px;
  }
  .yc-wide-table-wrap .yc-table {
    width: max-content;
  }
  .yc-desktop-table {
    display: none;
  }
  .yc-mobile-list {
    display: grid;
    gap: 10px;
  }
  .yc-mobile-result-card {
    border: 1px solid var(--yc-line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    display: grid;
    gap: 10px;
  }
  .yc-mobile-result-card > div:first-child {
    display: grid;
    gap: 4px;
  }
  .yc-mobile-result-card strong {
    overflow-wrap: anywhere;
  }
  .yc-mobile-result-card span {
    color: var(--yc-muted);
    font-size: 12px;
  }
  .yc-mobile-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .yc-mobile-metrics span {
    border: 1px solid var(--yc-line);
    border-radius: 7px;
    padding: 7px 8px;
    background: #f8fafc;
  }
  .yc-mobile-metrics strong {
    display: block;
    color: var(--yc-text);
    margin-top: 2px;
  }
  .yc-suggest-actions {
    gap: 6px;
  }
  .yc-suggest-actions .yc-mini-button {
    flex: 1 1 120px;
  }
  .yc-analytics-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-keyword-opportunity-head {
    display: grid;
  }
  .yc-keyword-opportunity-head p {
    text-align: left;
  }
  .yc-keyword-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-inbound-table {
    min-width: 760px;
  }
  .yc-competitor-table {
    min-width: 940px;
  }
  .yc-product-keyword-table {
    table-layout: fixed;
    min-width: 760px;
  }
  .yc-product-keyword-table .yc-keyword-col { width: 180px; }
  .yc-product-keyword-table .yc-rank-col { width: 92px; }
  .yc-product-keyword-table .yc-score-col { width: 64px; }
  .yc-product-keyword-table .yc-value-col { width: 78px; }
  .yc-product-keyword-table .yc-class-col { width: 190px; }
  .yc-product-keyword-table .yc-link-col { width: 64px; }
  .yc-product-keyword-table th,
  .yc-product-keyword-table td {
    white-space: normal;
  }
  .yc-job-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .yc-inbound-table th:nth-child(1),
  .yc-inbound-table td:nth-child(1) {
    min-width: 320px;
  }
  .yc-competitor-table th:nth-child(1),
  .yc-competitor-table td:nth-child(1) {
    min-width: 340px;
  }
}
