.daily-report-app {
  --dr-ink: #17233d;
  --dr-muted: #667085;
  --dr-line: #e4e9f2;
  --dr-blue: #2458d3;
  --dr-blue-soft: #edf3ff;
  --dr-mint: #eaf8f3;
  --dr-surface: #ffffff;
  --dr-plan: #2864dc;
  --dr-plan-soft: #eef4ff;
  --dr-store: #0c8b7d;
  --dr-store-soft: #edf9f7;
  --dr-after: #d97a0d;
  --dr-after-soft: #fff7e9;
  --dr-optimize: #7652d6;
  --dr-optimize-soft: #f5f1ff;
  --dr-hot: #ce4568;
  --dr-hot-soft: #fff1f5;
  --dr-custom: #16865a;
  --dr-custom-soft: #eef9f3;
  color: var(--dr-ink);
  display: grid;
  gap: 18px;
}

.daily-report-hero {
  align-items: center;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(125deg, #17356f 0%, #2458d3 58%, #3a77ec 100%);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(31, 74, 169, 0.18);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 144px;
  overflow: hidden;
  padding: 26px 30px;
  position: relative;
}

.daily-report-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  height: 220px;
  position: absolute;
  right: -58px;
  top: -96px;
  width: 220px;
}

.daily-report-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 7px;
  opacity: 0.7;
}

.daily-report-hero h4 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  margin: 0 0 9px;
}

.daily-report-hero p:not(.daily-report-eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.daily-report-hero-meta {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.daily-report-hero-meta label,
.daily-report-owner {
  background: rgba(10, 30, 76, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: grid;
  gap: 5px;
  min-width: 142px;
  padding: 10px 13px;
}

.daily-report-hero-meta span,
.daily-report-owner span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.daily-report-hero-meta input {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.daily-report-hero-meta input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.75;
}

.daily-report-owner strong {
  font-size: 14px;
}

.daily-report-status {
  align-self: center;
  border-radius: 999px;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800;
  padding: 7px 12px;
}

.daily-report-status.is-draft {
  background: rgba(255, 255, 255, 0.16);
}

.daily-report-status.is-submitted {
  background: #17a673;
}

.daily-report-tip {
  align-items: center;
  background: linear-gradient(90deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--dr-line);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(30, 48, 82, 0.045);
  color: var(--dr-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
}

.daily-report-tip > span {
  background: var(--dr-blue-soft);
  border-radius: 999px;
  color: var(--dr-blue);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.daily-report-tip b {
  background: #f3f6fb;
  border-radius: 999px;
  color: #344054;
  font-size: 13px;
  padding: 5px 9px;
}

.daily-report-tip b:nth-of-type(1) { background: var(--dr-plan-soft); color: var(--dr-plan); }
.daily-report-tip b:nth-of-type(2) { background: var(--dr-store-soft); color: var(--dr-store); }
.daily-report-tip b:nth-of-type(3) { background: var(--dr-after-soft); color: #a95a00; }
.daily-report-tip b:nth-of-type(4) { background: var(--dr-optimize-soft); color: var(--dr-optimize); }
.daily-report-tip b:nth-of-type(5) { background: var(--dr-hot-soft); color: var(--dr-hot); }
.daily-report-tip b:nth-of-type(6) { background: var(--dr-custom-soft); color: var(--dr-custom); }

.daily-report-tip i {
  color: #a7b0c0;
  font-style: normal;
}

.daily-report-plan {
  --dr-section: var(--dr-plan);
  --dr-section-soft: var(--dr-plan-soft);
  --dr-section-line: #cfdfff;
  --dr-section-ring: rgba(40, 100, 220, 0.13);
  background: linear-gradient(145deg, #ffffff 55%, #f5f8ff 100%);
  border: 1px solid #d8e3fb;
  border-top: 4px solid var(--dr-plan);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(37, 73, 148, 0.08);
  padding: 20px;
}

.daily-report-plan-tasks,
.daily-report-plan-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.daily-report-plan-meta {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(150px, .55fr);
  margin-top: 12px;
}

.daily-report-plan label,
.daily-report-link-optimization-card label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.daily-report-plan label > span,
.daily-report-link-optimization-card label > span {
  color: var(--dr-muted);
  font-size: 11px;
  font-weight: 700;
}

.daily-report-plan textarea {
  min-height: 66px;
  resize: vertical;
}

.daily-report-due-reviews {
  background: linear-gradient(145deg, #fffaf0, #fff 58%);
  border: 1px solid #f0d9aa;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(122, 83, 16, 0.06);
  display: grid;
  gap: 14px;
  padding: 18px 20px;
}

.daily-report-due-reviews > header,
.daily-report-manager-due-reviews > header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.daily-report-due-reviews > header > div,
.daily-report-manager-due-reviews > header > div {
  display: grid;
  gap: 3px;
}

.daily-report-due-reviews > header span,
.daily-report-manager-due-reviews > header span {
  color: #a26306;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.daily-report-due-reviews > header strong,
.daily-report-manager-due-reviews > header strong {
  font-size: 18px;
}

.daily-report-due-reviews > header small,
.daily-report-manager-due-reviews > header small {
  color: var(--dr-muted);
}

.daily-report-due-reviews > header output,
.daily-report-manager-due-reviews > header output {
  background: #fff1cf;
  border-radius: 999px;
  color: #8b5604;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
  white-space: nowrap;
}

.daily-report-due-review-list,
.daily-report-manager-due-reviews > div {
  display: grid;
  gap: 12px;
}

.daily-report-due-review-card,
.daily-report-manager-due-reviews article {
  background: #fff;
  border: 1px solid #eadfc9;
  border-left: 4px solid #e3a52d;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.daily-report-due-review-card.is-overdue {
  border-left-color: #dc4d4d;
}

.daily-report-due-review-card.is-completed {
  border-left-color: #16a36f;
}

.daily-report-due-review-head,
.daily-report-manager-due-reviews article > div:first-child {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.daily-report-due-review-head > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.daily-report-due-review-head span,
.daily-report-manager-due-reviews article > div:first-child span {
  background: #fff1cf;
  border-radius: 999px;
  color: #8b5604;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}

.daily-report-due-review-card.is-overdue .daily-report-due-review-head span:first-child,
.daily-report-manager-due-reviews article > div:first-child span.is-overdue {
  background: #fff0f0;
  color: #b42318;
}

.daily-report-due-review-card.is-completed .daily-report-due-review-head span:first-child,
.daily-report-manager-due-reviews article > div:first-child span.is-completed {
  background: #e7f8f0;
  color: #08734d;
}

.daily-report-due-review-head small {
  color: var(--dr-muted);
  white-space: nowrap;
}

.daily-report-due-review-source {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.4fr);
}

.daily-report-due-review-source dl,
.daily-report-due-review-source > div {
  background: #fafbfc;
  border-radius: 10px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 11px 12px;
}

.daily-report-due-review-source dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-report-due-review-source dl > div,
.daily-report-due-review-source p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.daily-report-due-review-source dt,
.daily-report-due-review-source b {
  color: var(--dr-muted);
  font-size: 10px;
}

.daily-report-due-review-source dd,
.daily-report-due-review-source p span {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}

.daily-report-due-review-result {
  display: grid;
  gap: 6px;
}

.daily-report-due-review-result > span {
  font-size: 12px;
  font-weight: 800;
}

.daily-report-due-review-result textarea {
  min-height: 92px;
  resize: vertical;
}

.daily-report-due-review-result textarea[readonly] {
  background: #f3faf7;
  color: #365e50;
  cursor: default;
}

.daily-report-due-review-result small {
  color: #16845c;
}

.daily-report-due-review-result small.is-pending {
  color: #b54708;
  font-weight: 700;
}

.daily-report-due-review-empty {
  background: rgba(255, 255, 255, .72);
  border: 1px dashed #dfc891;
  border-radius: 10px;
  color: var(--dr-muted);
  padding: 16px;
  text-align: center;
}

.daily-report-manager-due-reviews {
  border-top: 1px solid #eadfc9;
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.daily-report-manager-due-reviews > header span {
  color: var(--dr-blue);
}

.daily-report-manager-due-reviews > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-report-manager-due-reviews article {
  border-left-color: #7d9ee3;
}

.daily-report-manager-due-reviews .daily-report-due-review-source {
  grid-template-columns: 1fr;
}

.daily-report-store-list {
  display: grid;
  gap: 18px;
}

.daily-report-store-card {
  background: var(--dr-surface);
  border: 1px solid #dce8e7;
  border-top: 4px solid var(--dr-store);
  border-radius: 16px;
  box-shadow: 0 13px 34px rgba(31, 68, 91, 0.085);
  overflow: visible;
}

.daily-report-store-head {
  align-items: end;
  background:
    radial-gradient(circle at 92% 0%, rgba(40, 100, 220, 0.08), transparent 26%),
    linear-gradient(120deg, #edf9f7 0%, #f7fbff 72%);
  border-bottom: 1px solid #dbe9e8;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 148px minmax(220px, 1fr) auto;
  padding: 16px 20px;
}

.daily-report-store-number {
  align-items: center;
  background: linear-gradient(145deg, #0b927f, #2864dc);
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(16, 116, 112, 0.22);
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.06em;
  width: 42px;
}

.daily-report-store-head label,
.daily-report-metric-grid label,
.daily-report-hot-base label,
.daily-report-hot-metrics label,
.daily-report-review-block label,
.daily-report-price-main label,
.daily-report-external-price-link label,
.daily-report-competitor-link label,
.daily-report-competitor-row label,
.daily-report-after-sale-row label,
.daily-report-hot-head label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.daily-report-store-head label > span,
.daily-report-metric-grid label > span,
.daily-report-hot-base label > span,
.daily-report-hot-metrics label > span,
.daily-report-review-block label > span,
.daily-report-price-main label > span,
.daily-report-external-price-link label > span,
.daily-report-competitor-link label > span,
.daily-report-competitor-row label > span,
.daily-report-after-sale-row label > span,
.daily-report-hot-head label > span {
  color: var(--dr-muted);
  font-size: 11px;
  font-weight: 700;
}

.daily-report-app input,
.daily-report-app select,
.daily-report-app textarea {
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 9px;
  color: var(--dr-ink);
  min-height: 40px;
  outline: none;
  padding: 8px 10px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.daily-report-app input:focus,
.daily-report-app select:focus,
.daily-report-app textarea:focus {
  border-color: #6c95ed;
  box-shadow: 0 0 0 3px rgba(36, 88, 211, 0.1);
}

.daily-report-app input:focus-visible,
.daily-report-app select:focus-visible,
.daily-report-app textarea:focus-visible,
.daily-report-app button:focus-visible {
  outline: 2px solid rgba(36, 88, 211, 0.28);
  outline-offset: 2px;
}

.daily-report-trends {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 20px 0;
}

.daily-report-trends > div {
  --dr-trend: #2f6fed;
  --dr-trend-soft: #f2f6ff;
  background: linear-gradient(135deg, var(--dr-trend-soft), #ffffff);
  border: 1px solid #e4e9f2;
  border-left: 4px solid var(--dr-trend);
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(38, 57, 91, 0.045);
  display: grid;
  gap: 7px;
  min-height: 72px;
  padding: 12px 14px;
}

.daily-report-trends > div:nth-child(2) { --dr-trend: #7652d6; --dr-trend-soft: #f5f1ff; }
.daily-report-trends > div:nth-child(3) { --dr-trend: #16865a; --dr-trend-soft: #eef9f3; }
.daily-report-trends > div:nth-child(4) { --dr-trend: #ce4568; --dr-trend-soft: #fff1f5; }

.daily-report-trends > div strong:not(.is-up):not(.is-down):not(.is-insufficient) {
  color: var(--dr-trend);
}

.daily-report-trends span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-trends strong {
  font-size: 16px;
}

.daily-report-trends .is-up {
  color: #12855d;
}

.daily-report-trends .is-down {
  color: #d64747;
}

.daily-report-trends .is-insufficient {
  color: #98a2b3;
  font-size: 13px;
  font-weight: 650;
}

.daily-report-part {
  --dr-section: var(--dr-blue);
  --dr-section-soft: var(--dr-blue-soft);
  --dr-section-line: #d8e3fb;
  --dr-section-ring: rgba(36, 88, 211, 0.12);
  padding: 20px;
}

.daily-report-part + .daily-report-part {
  border-top: 1px solid var(--dr-section-line);
}

.daily-report-part-title {
  align-items: center;
  background: linear-gradient(90deg, var(--dr-section-soft), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--dr-section-line);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 54px;
  padding: 9px 11px;
}

.daily-report-part-title > span:first-child {
  align-items: center;
  background: var(--dr-section);
  border-radius: 9px;
  box-shadow: 0 5px 12px var(--dr-section-ring);
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 34px;
}

.daily-report-part-title > div {
  display: grid;
  gap: 2px;
}

.daily-report-part-title strong {
  color: var(--dr-section);
  font-size: 15px;
}

.daily-report-part-title small,
.daily-report-metric-grid label > small {
  color: #98a2b3;
  font-size: 10px;
}

.daily-report-part-title.has-action > button {
  margin-left: auto;
}

.daily-report-part-title .btn-secondary {
  background: #fff;
  border-color: var(--dr-section-line);
  color: var(--dr-section);
}

.daily-report-part-title .btn-secondary:hover {
  background: var(--dr-section-soft);
}

.daily-report-part :is(input, select, textarea):focus,
.daily-report-plan :is(input, select, textarea):focus {
  border-color: var(--dr-section);
  box-shadow: 0 0 0 3px var(--dr-section-ring);
}

.daily-report-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(125px, 1fr));
}

.daily-report-readonly output {
  align-items: center;
  background: #f0f4fb;
  border: 1px solid #e0e6f0;
  border-radius: 9px;
  color: #355b9c;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 10px;
}

.daily-report-operator-trend-metric {
  --dr-metric-tone: #2563eb;
  background: linear-gradient(145deg, #ffffff, #f7faff);
  border: 1px solid #e1e8f3;
  border-top: 2px solid var(--dr-metric-tone);
  border-radius: 10px;
  box-sizing: border-box;
  cursor: help;
  min-height: 76px;
  padding: 8px;
  position: relative;
}

.daily-report-operator-trend-metric.is-commerce {
  --dr-metric-tone: #0c8b7d;
  background: linear-gradient(145deg, #ffffff, #f5fcfa);
}

.daily-report-operator-trend-metric.is-ad {
  --dr-metric-tone: #7c3aed;
  background: linear-gradient(145deg, #ffffff, #faf8ff);
}

.daily-report-operator-trend-metric.is-after-sale {
  --dr-metric-tone: #e05b35;
  background: linear-gradient(145deg, #ffffff, #fff9f7);
}

.daily-report-operator-trend-metric.is-inventory {
  --dr-metric-tone: #0891b2;
  background: linear-gradient(145deg, #ffffff, #f5fcfd);
}

.daily-report-operator-trend-metric:hover,
.daily-report-operator-trend-metric:focus,
.daily-report-operator-trend-metric:focus-within {
  border-color: var(--dr-metric-tone);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: 0;
  z-index: 70;
}

.daily-report-operator-trend-metric > input,
.daily-report-operator-trend-metric > output {
  box-sizing: border-box;
  padding-right: 88px;
  width: 100%;
}

.daily-report-operator-sparkline {
  height: 27px;
  pointer-events: none;
  position: absolute;
  right: 13px;
  top: 30px;
  width: 66px;
}

.daily-report-operator-sparkline-svg {
  display: block;
  height: 27px;
  overflow: visible;
  width: 100%;
}

.daily-report-operator-sparkline-empty {
  align-items: center;
  color: #98a2b3;
  display: flex;
  font-size: 8px;
  height: 100%;
  justify-content: center;
}

.daily-report-operator-trend-hint {
  color: var(--dr-metric-tone) !important;
  font-size: 8px !important;
  font-weight: 800;
  position: absolute;
  right: 12px;
  top: 57px;
}

.daily-report-operator-trend-popover {
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 13px;
  box-shadow: 0 20px 48px rgba(21, 38, 70, 0.24);
  box-sizing: border-box;
  left: 0;
  min-height: 300px;
  opacity: 0;
  padding: 14px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  visibility: hidden;
  width: min(560px, calc(100vw - 76px));
  z-index: 80;
}

.daily-report-operator-trend-popover::before {
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  top: -10px;
}

.daily-report-operator-trend-stage {
  position: relative;
}

.daily-report-trend-point-tooltip {
  background: #17233b;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(23, 35, 59, 0.22);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  opacity: 0;
  padding: 6px 8px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -100%);
  transition: opacity 0.12s ease;
  white-space: nowrap;
  z-index: 4;
}

.daily-report-trend-point-tooltip.is-visible {
  opacity: 1;
}

.daily-report-metric-grid > .daily-report-operator-trend-metric:nth-child(4n+3) .daily-report-operator-trend-popover,
.daily-report-metric-grid > .daily-report-operator-trend-metric:nth-child(4n+4) .daily-report-operator-trend-popover,
.daily-report-hot-metrics > .daily-report-operator-trend-metric:nth-child(4n+3) .daily-report-operator-trend-popover,
.daily-report-hot-metrics > .daily-report-operator-trend-metric:nth-child(4n+4) .daily-report-operator-trend-popover {
  left: auto;
  right: 0;
}

.daily-report-operator-trend-metric:hover .daily-report-operator-trend-popover,
.daily-report-operator-trend-metric:focus .daily-report-operator-trend-popover,
.daily-report-operator-trend-metric:focus-within .daily-report-operator-trend-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.daily-report-operator-trend-popover > header {
  align-items: end;
  border-bottom: 1px solid #edf0f5;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.daily-report-operator-trend-popover > header div {
  display: grid;
  gap: 2px;
}

.daily-report-operator-trend-popover > header strong {
  color: #1e2e49;
  font-size: 14px;
}

.daily-report-operator-trend-popover > header span,
.daily-report-operator-trend-popover > header small {
  color: var(--dr-muted);
  font-size: 9px;
}

.daily-report-operator-trend-svg {
  display: block;
  height: 252px;
  overflow: visible;
  width: 100%;
}

.daily-report-operator-chart-grid {
  stroke: #e9edf3;
  stroke-width: 1;
}

.daily-report-operator-chart-axis {
  fill: #7b8799;
  font-size: 9px;
}

.daily-report-operator-chart-line {
  fill: none;
  stroke: var(--dr-metric-tone);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.daily-report-operator-chart-area {
  fill: var(--dr-metric-tone);
  fill-opacity: 0.13;
  stroke: none;
}

.daily-report-operator-chart-bar {
  fill: var(--dr-metric-tone);
  opacity: 0.82;
  rx: 2px;
}

.daily-report-operator-chart-point {
  fill: #fff;
  stroke: var(--dr-metric-tone);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.daily-report-operator-chart-point:hover,
.daily-report-operator-chart-bar:hover {
  filter: brightness(0.88);
  opacity: 1;
}

.daily-report-operator-chart-state {
  align-items: center;
  color: var(--dr-muted);
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 235px;
  text-align: center;
}

.daily-report-operator-chart-state.is-error {
  color: #b42318;
}

.daily-report-operator-chart-state > i {
  animation: dr-trend-spin 0.8s linear infinite;
  border: 2px solid #dce5f5;
  border-radius: 50%;
  border-top-color: var(--dr-metric-tone);
  height: 20px;
  width: 20px;
}

@keyframes dr-trend-spin {
  to { transform: rotate(360deg); }
}

.daily-report-store-profile-backdrop {
  align-items: center;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10020;
}

.daily-report-store-profile-modal {
  background: #fff;
  border: 1px solid #dfe6f1;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  max-width: 640px;
  padding: 22px;
  width: 100%;
}

.daily-report-store-profile-modal > header,
.daily-report-store-profile-modal > footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.daily-report-store-profile-modal > header span {
  color: #0a8b7d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.daily-report-store-profile-modal > header h5,
.daily-report-store-profile-modal > header p {
  margin: 3px 0 0;
}

.daily-report-store-profile-modal > header h5 { font-size: 20px; }
.daily-report-store-profile-modal > header p { color: #667085; font-size: 12px; }
.daily-report-store-profile-modal > header > button { background: #f3f5f8; border: 0; border-radius: 9px; cursor: pointer; font-size: 20px; height: 36px; width: 36px; }
.daily-report-store-profile-form { display: grid; gap: 12px; grid-template-columns: 1fr 1.6fr 1fr; }
.daily-report-store-profile-form label { display: grid; gap: 6px; }
.daily-report-store-profile-form label span { color: #475467; font-size: 11px; font-weight: 750; }
.daily-report-store-profile-form input,
.daily-report-store-profile-form select { border: 1px solid #ccd6e4; border-radius: 9px; box-sizing: border-box; font: inherit; height: 40px; min-width: 0; padding: 0 11px; width: 100%; }
.daily-report-store-profile-modal > aside { background: #f0fbf8; border: 1px solid #c8eee5; border-radius: 10px; display: grid; gap: 3px; padding: 11px 13px; }
.daily-report-store-profile-modal > aside strong { color: #087766; }
.daily-report-store-profile-modal > aside span { color: #164e45; font-weight: 850; }
.daily-report-store-profile-modal > aside small { color: #667085; }
.daily-report-store-profile-status { color: #b42318; font-size: 12px; font-weight: 750; margin: 0; min-height: 18px; }
.daily-report-store-profile-modal > footer { border-top: 1px solid #edf0f5; justify-content: flex-end; padding-top: 14px; }

@media (max-width: 680px) {
  .daily-report-store-profile-backdrop { align-items: flex-end; padding: 10px; }
  .daily-report-store-profile-modal { border-radius: 16px; max-height: calc(100vh - 20px); overflow: auto; padding: 16px; }
  .daily-report-store-profile-form { grid-template-columns: 1fr; }
  .daily-report-store-profile-modal > footer .btn { flex: 1; }
}

.daily-report-store-data-section {
  --dr-section: var(--dr-store);
  --dr-section-soft: var(--dr-store-soft);
  --dr-section-line: #cce9e4;
  --dr-section-ring: rgba(12, 139, 125, 0.13);
  background: linear-gradient(145deg, #ffffff 48%, #f5fcfa 100%);
}

.daily-report-store-data-section input[data-dr-field="gmv"] {
  background: #effaf6;
  border-color: #9ed8c8;
  color: #08745c;
  font-weight: 850;
}

.daily-report-store-data-section input[data-dr-field="orders"] {
  background: #f1f5ff;
  border-color: #b9cdf8;
  color: #2458bd;
  font-weight: 850;
}

.daily-report-store-data-section output[data-dr-store-ctr],
.daily-report-store-data-section output[data-dr-store-conversion] {
  background: #eef7ff;
  border-color: #cfe2fa;
  color: #2765ad;
}

.daily-report-store-data-section output[data-dr-store-refund-total],
.daily-report-store-data-section output[data-dr-store-after-sale-count] {
  background: var(--dr-after-soft);
  border-color: #f0d5a8;
  color: #a65a07;
}

.daily-report-store-data-block + .daily-report-store-data-block {
  border-top: 1px dashed #dce2ec;
  margin-top: 16px;
  padding-top: 16px;
}

.daily-report-subpart-title {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-bottom: 11px;
}

.daily-report-subpart-title strong {
  font-size: 13px;
}

.daily-report-subpart-title small {
  color: #98a2b3;
  font-size: 10px;
}

.daily-report-hot-section {
  --dr-section: var(--dr-hot);
  --dr-section-soft: var(--dr-hot-soft);
  --dr-section-line: #f0ccd6;
  --dr-section-ring: rgba(206, 69, 104, 0.13);
  background: linear-gradient(145deg, #fff 45%, #fff8fa 100%);
}

.daily-report-after-sales-section {
  --dr-section: var(--dr-after);
  --dr-section-soft: var(--dr-after-soft);
  --dr-section-line: #efd8b5;
  --dr-section-ring: rgba(217, 122, 13, 0.13);
  background: linear-gradient(145deg, #fff 45%, #fffaf1 100%);
}

.daily-report-after-sales-list {
  display: grid;
  gap: 10px;
}

.daily-report-after-sale-row {
  align-items: end;
  background: #fff;
  border: 1px solid #eadfca;
  border-left: 4px solid var(--dr-after);
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(139, 87, 19, 0.045);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 1.1fr) minmax(130px, 1fr) minmax(110px, .7fr) minmax(160px, 1.2fr) minmax(160px, 1.2fr) auto;
  padding: 12px;
}

.daily-report-after-sale-row input[data-dr-field="refund_amount"] {
  background: #fff8ea;
  border-color: #e9c989;
  color: #9e5706;
  font-weight: 800;
}

.daily-report-after-sale-row > button {
  min-height: 40px;
}

.daily-report-custom-fields-section {
  --dr-section: var(--dr-custom);
  --dr-section-soft: var(--dr-custom-soft);
  --dr-section-line: #cbe7d7;
  --dr-section-ring: rgba(22, 134, 90, 0.13);
  background: linear-gradient(145deg, #fff 48%, #f4fbf7 100%);
}

.daily-report-custom-fields-list {
  display: grid;
  gap: 10px;
}

.daily-report-custom-field-row {
  align-items: end;
  background: #fff;
  border: 1px solid #d8e9df;
  border-left: 4px solid var(--dr-custom);
  border-radius: 11px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, .7fr) minmax(280px, 1.6fr) auto;
  padding: 12px;
}

.daily-report-custom-field-row label {
  display: grid;
  gap: 6px;
}

.daily-report-custom-field-row label > span {
  color: var(--dr-muted);
  font-size: 11px;
  font-weight: 700;
}

.daily-report-custom-field-row textarea {
  min-height: 64px;
  resize: vertical;
}

.daily-report-custom-field-row > button {
  min-height: 40px;
}

.daily-report-link-optimization-section {
  --dr-section: var(--dr-optimize);
  --dr-section-soft: var(--dr-optimize-soft);
  --dr-section-line: #ddd2f7;
  --dr-section-ring: rgba(118, 82, 214, 0.14);
  background: linear-gradient(145deg, #fff 45%, #faf8ff 100%);
}

.daily-report-optimization-count {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd2f7;
  border-radius: 9px;
  display: flex;
  gap: 6px;
  margin: 0 0 0 auto;
  padding: 7px 10px;
}

.daily-report-optimization-count > span {
  color: var(--dr-muted);
  font-size: 10px;
  font-weight: 700;
  margin: 0;
}

.daily-report-optimization-count output {
  color: var(--dr-optimize);
  font-size: 16px;
  font-weight: 850;
}

.daily-report-review-guide-trigger {
  background: #fff7df;
  border: 1px solid #f2d493;
  border-radius: 999px;
  color: #9a6500;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.daily-report-review-guide-trigger:hover,
.daily-report-review-guide-trigger:focus-visible {
  background: #ffedbd;
  border-color: #e7bb55;
  box-shadow: 0 0 0 3px rgba(214, 148, 18, .14);
  outline: 0;
}

.daily-report-guide-triggers { display:flex; flex-wrap:wrap; gap:6px; }
.daily-report-new-listing-guide-trigger { background:#eaf9f3; border:1px solid #b9e7d3; border-radius:999px; color:#08734d; cursor:pointer; font-size:11px; font-weight:800; padding:5px 9px; }
.daily-report-new-listing-guide-trigger:hover,
.daily-report-new-listing-guide-trigger:focus-visible { background:#d8f4e8; border-color:#78cba7; box-shadow:0 0 0 3px rgba(5,150,105,.12); outline:0; }
.daily-report-hot-link-guide-trigger { background:#fff0f5; border:1px solid #f1bfd0; border-radius:999px; color:#b62f5b; cursor:pointer; font-size:11px; font-weight:800; padding:5px 9px; }
.daily-report-hot-link-guide-trigger:hover,
.daily-report-hot-link-guide-trigger:focus-visible { background:#ffe2ec; border-color:#df86a5; box-shadow:0 0 0 3px rgba(206,69,104,.12); outline:0; }

.daily-report-link-optimization-list {
  display: grid;
  gap: 12px;
}

.daily-report-empty-optimization {
  align-items: center;
  background: #fff;
  border: 1px dashed #bca9e9;
  border-radius: 11px;
  color: var(--dr-muted);
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 76px;
}

.daily-report-empty-optimization button {
  background: transparent;
  border: 0;
  color: var(--dr-optimize);
  cursor: pointer;
  font-weight: 750;
}

.daily-report-link-optimization-card {
  background: #fff;
  border: 1px solid #ded5f1;
  border-left: 4px solid var(--dr-optimize);
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(91, 61, 165, 0.065);
  padding: 14px;
}

.daily-report-link-optimization-head {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1fr) minmax(250px, 1fr) auto;
  margin-bottom: 12px;
}

.daily-report-link-optimization-head > div {
  display: grid;
  gap: 3px;
}

.daily-report-link-optimization-head > div > span {
  color: var(--dr-optimize);
  font-size: 10px;
  font-weight: 800;
}

.daily-report-link-type {
  align-items: center;
  background: #f8f6ff;
  border: 1px solid #ded5f1;
  border-radius: 11px;
  display: grid;
  gap: 7px 14px;
  grid-template-columns: auto minmax(230px, max-content) 1fr;
  margin: 0 0 12px;
  padding: 10px 12px;
}

.daily-report-link-type legend {
  float: left;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}

.daily-report-link-type > div {
  background: #ebe7f8;
  border-radius: 9px;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  padding: 3px;
}

.daily-report-link-type label {
  display: block;
  margin: 0;
}

.daily-report-link-type input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.daily-report-link-type label span {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #665b7c;
  cursor: pointer;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
}

.daily-report-link-type input:checked + span {
  background: #fff;
  border-color: #cfc3ea;
  box-shadow: 0 3px 8px rgba(78, 52, 144, .12);
  color: var(--dr-optimize);
}

.daily-report-link-type input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(118, 82, 214, .18);
}

.daily-report-link-type > small {
  color: var(--dr-muted);
  font-size: 10px;
}

.daily-report-link-optimization-base,
.daily-report-optimization-review {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.daily-report-optimization-types,
.daily-report-optimization-review {
  border-top: 1px solid #e9eef6;
  margin-top: 12px;
  padding-top: 12px;
}

.daily-report-optimization-types > strong {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.daily-report-optimization-types > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.daily-report-optimization-chip {
  display: inline-flex !important;
}

.daily-report-optimization-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.daily-report-optimization-chip span {
  background: #f4f7fb;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  color: #516078 !important;
  cursor: pointer;
  font-size: 11px;
  padding: 7px 10px;
}

.daily-report-optimization-chip input:checked + span {
  background: var(--dr-optimize);
  border-color: var(--dr-optimize);
  color: #fff !important;
}

.daily-report-optimization-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(118, 82, 214, .16);
}

.daily-report-optimization-review {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) minmax(160px, .55fr);
}

.daily-report-optimization-review textarea {
  min-height: 76px;
  resize: vertical;
}

.daily-report-optimization-attachments {
  border-top: 1px solid #e9eef6;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
}

.daily-report-optimization-attachments > header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.daily-report-optimization-attachments > header > div {
  display: grid;
  gap: 2px;
}

.daily-report-optimization-attachments > header strong {
  font-size: 12px;
}

.daily-report-optimization-attachments > header span,
.daily-report-optimization-attachments > header > b {
  color: var(--dr-muted);
  font-size: 10px;
}

.daily-report-optimization-attachments > header > b {
  background: #f3efff;
  border-radius: 999px;
  color: var(--dr-optimize);
  padding: 4px 8px;
}

.daily-report-attachment-input {
  display: none;
}

.daily-report-attachment-dropzone {
  align-items: center;
  background: #faf8ff;
  border: 1px dashed #b9a6e7;
  border-radius: 11px;
  color: var(--dr-optimize);
  cursor: pointer;
  display: grid;
  gap: 3px;
  justify-items: center;
  min-height: 76px;
  padding: 12px;
  width: 100%;
}

.daily-report-attachment-dropzone span {
  font-size: 12px;
  font-weight: 800;
}

.daily-report-attachment-dropzone small {
  color: var(--dr-muted);
  font-size: 10px;
}

.daily-report-optimization-attachments.is-dragover .daily-report-attachment-dropzone {
  background: #f0eaff;
  border-color: var(--dr-optimize);
  box-shadow: 0 0 0 4px rgba(118, 82, 214, .12);
}

.daily-report-optimization-attachments.is-uploading .daily-report-attachment-dropzone {
  cursor: wait;
  opacity: .68;
}

.daily-report-attachment-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
}

.daily-report-attachment-grid figure {
  background: #fff;
  border: 1px solid #ded5f1;
  border-radius: 10px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.daily-report-attachment-grid figure > div {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f5f2fb;
  color: var(--dr-muted);
  display: flex;
  justify-content: center;
}

.daily-report-attachment-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.daily-report-attachment-grid figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
}

.daily-report-attachment-grid figcaption span {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-report-attachment-grid figcaption small {
  color: var(--dr-muted);
  font-size: 9px;
}

.daily-report-attachment-grid figure > button {
  align-items: center;
  background: rgba(23, 35, 61, .78);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 24px;
}

.daily-report-hot-list {
  display: grid;
  gap: 13px;
}

.daily-report-empty-hot {
  align-items: center;
  background: #fff;
  border: 1px dashed #e0aabd;
  border-radius: 11px;
  color: var(--dr-muted);
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 76px;
}

.daily-report-empty-hot button,
.daily-report-pricing-title button {
  background: none;
  border: 0;
  color: var(--dr-hot);
  cursor: pointer;
  font-weight: 750;
}

.daily-report-hot-card {
  background: #fff;
  border: 1px solid #ecd9df;
  border-left: 4px solid var(--dr-hot);
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(139, 46, 72, 0.06);
  padding: 15px;
}

.daily-report-hot-head {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(150px, 1fr) minmax(240px, 1fr) auto auto;
  margin-bottom: 14px;
}

.daily-report-hot-head > div {
  display: grid;
  gap: 2px;
}

.daily-report-hot-head > div > span {
  color: var(--dr-hot);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.daily-report-hot-base,
.daily-report-hot-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.daily-report-hot-base {
  background: #fff7fa;
  border: 1px solid #f2e0e6;
  border-radius: 10px;
  margin-bottom: 11px;
  padding: 11px;
}

.daily-report-hot-card input[data-dr-field="sales"] {
  background: #fff2f6;
  border-color: #e7afbf;
  color: #b52f54;
  font-weight: 850;
}

.daily-report-hot-card input[data-dr-field="orders"],
.daily-report-hot-card input[data-dr-field="units_sold"] {
  background: #f2f6ff;
  border-color: #c6d5f4;
  color: #315aa8;
  font-weight: 800;
}

.daily-report-hot-card output[data-dr-hot-profit-margin] {
  background: #eef9f3;
  border-color: #cbe7d7;
  color: #16865a;
}

.daily-report-hot-card output[data-dr-hot-status] {
  background: #fff8e8;
  border-color: #efdbab;
  color: #996000;
}

.daily-report-hot-metrics {
  margin-bottom: 13px;
}

.daily-report-review-block {
  background: #f7fbff;
  border: 1px solid #dceaf7;
  border-radius: 11px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  margin-bottom: 13px;
  padding: 12px;
}

.daily-report-review-block label:first-child {
  grid-column: 1 / -1;
  max-width: 260px;
}

.daily-report-review-block textarea {
  min-height: 66px;
  resize: vertical;
}

.daily-report-pricing-block + .daily-report-review-block {
  margin-bottom: 0;
  margin-top: 13px;
}

.daily-report-pricing-block {
  border-top: 1px solid #edf0f5;
  padding-top: 12px;
}

.daily-report-pricing-title {
  align-items: center;
  display: flex;
  gap: 9px;
  margin-bottom: 9px;
}

.daily-report-pricing-title span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-pricing-title button {
  margin-left: auto;
}

.daily-report-price-list {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
}

.daily-report-price-row {
  background: #fbfcff;
  border: 1px solid #e5eaf2;
  border-radius: 11px;
  display: grid;
  gap: 9px;
  padding: 10px;
}

.daily-report-price-main {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.daily-report-price-main > button {
  align-self: center;
  background: #f6f7fa;
  border: 0;
  border-radius: 8px;
  color: #8d99aa;
  cursor: pointer;
  height: 28px;
  width: 28px;
}

.daily-report-price-with-action {
  align-items: end;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.daily-report-price-with-action > button {
  background: #edf4ff;
  border: 1px solid #c9dcff;
  border-radius: 8px;
  color: var(--dr-blue);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  height: 38px;
  padding: 0 9px;
  white-space: nowrap;
}

.daily-report-markup-status {
  font-size: 12px;
  font-weight: 850;
}

.daily-report-markup-status.is-excellent {
  color: #17824f;
}

.daily-report-markup-status.is-average {
  color: #b77900;
}

.daily-report-markup-status.is-abnormal {
  color: #d33d3d;
}

.daily-report-external-price-link {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(240px, 1fr) auto;
}

.daily-report-external-price-link small {
  color: #d33d3d;
  font-weight: 750;
  padding-bottom: 10px;
}

.daily-report-external-price-link.is-required input {
  border-color: #ef8b8b;
  box-shadow: 0 0 0 3px rgba(220, 67, 67, 0.08);
}

.daily-report-competitor-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(150px, 1fr) 36px;
}

.daily-report-competitor-row > button {
  align-items: center;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 8px;
  color: #8a96aa;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
}

.daily-report-competitor-title {
  align-items: center;
  display: flex;
  gap: 8px;
}

.daily-report-competitor-title span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-competitor-title button,
.daily-report-managed-skus > div > button,
.daily-report-managed-competitors > div > button {
  background: transparent;
  border: 0;
  color: var(--dr-blue);
  cursor: pointer;
  font-weight: 750;
  margin-left: auto;
}

.daily-report-competitor-list {
  display: grid;
  gap: 10px;
}

.daily-report-competitor-block {
  background: #fafbfe;
  border: 1px solid #e3e8f1;
  border-radius: 11px;
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding: 12px;
}

.daily-report-archive-action {
  display: flex;
  justify-content: flex-end;
}

.daily-report-add-store {
  align-items: center;
  background: #fff;
  border: 1px dashed #8ccbc2;
  border-radius: 14px;
  color: var(--dr-blue);
  cursor: pointer;
  display: grid;
  gap: 3px;
  grid-template-columns: auto auto 1fr;
  min-height: 72px;
  padding: 15px 20px;
  text-align: left;
}

.daily-report-add-store:hover {
  background: #f5fcfa;
  border-color: var(--dr-store);
  box-shadow: 0 8px 22px rgba(12, 139, 125, 0.08);
}

.daily-report-add-store > span {
  align-items: center;
  background: var(--dr-blue-soft);
  border-radius: 9px;
  display: flex;
  font-size: 20px;
  height: 36px;
  justify-content: center;
  margin-right: 5px;
  width: 36px;
}

.daily-report-add-store small {
  color: var(--dr-muted);
  margin-left: 5px;
}

.daily-report-savebar {
  align-items: center;
  backdrop-filter: blur(14px);
  background: linear-gradient(100deg, rgba(247, 251, 255, 0.97), rgba(255, 255, 255, 0.98));
  border: 1px solid #ccdbf7;
  border-top: 3px solid var(--dr-blue);
  border-radius: 14px;
  bottom: 12px;
  box-shadow: 0 16px 42px rgba(24, 43, 81, 0.17);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 18px;
  position: sticky;
  z-index: 6;
}

.daily-report-savebar > div:first-child > strong {
  color: var(--dr-blue);
  font-size: 15px;
}

.daily-report-savebar .btn-primary {
  box-shadow: 0 8px 18px rgba(36, 88, 211, 0.23);
  min-width: 108px;
}

.daily-report-savebar-copy {
  display: grid;
  gap: 3px;
}

.daily-report-savebar span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-savebar-copy small {
  color: #7c879a;
  font-size: 10px;
}

.daily-report-savebar-actions {
  align-items: center;
  display: flex;
  gap: 9px;
}

.daily-report-savebar-actions .btn-ghost {
  background: #edf3ff;
  border-color: #c8d7f3;
  color: var(--dr-blue);
}

.daily-report-loading {
  align-items: center;
  background: #fff;
  border: 1px solid var(--dr-line);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 220px;
}

.daily-report-loading > span {
  animation: daily-report-spin 0.8s linear infinite;
  border: 3px solid #dce5f7;
  border-radius: 50%;
  border-top-color: var(--dr-blue);
  height: 24px;
  width: 24px;
}

@keyframes daily-report-spin {
  to { transform: rotate(360deg); }
}

.daily-report-modal-backdrop {
  align-items: center;
  background: rgba(17, 29, 52, 0.48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 1200;
}

.daily-report-review-guide-backdrop {
  align-items: center;
  background: rgba(13, 24, 45, .68);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1400;
}

.daily-report-review-guide {
  background: #f7f9fd;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(5, 15, 35, .38);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(900px, 94vh);
  overflow: hidden;
  width: min(1060px, 96vw);
}

.daily-report-review-guide > header {
  align-items: flex-start;
  background: linear-gradient(130deg, #183a83, #3066dd);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 22px 26px;
}

.daily-report-review-guide > header span { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.daily-report-review-guide > header h4 { color: #fff; font-size: 24px; margin: 4px 0; }
.daily-report-review-guide > header p { color: rgba(255,255,255,.8); margin: 0; }
.daily-report-review-guide > header button { align-items:center; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.2); border-radius:9px; color:#fff; cursor:pointer; display:flex; font-size:21px; height:36px; justify-content:center; width:36px; }
.daily-report-review-guide > header button:hover { background:rgba(255,255,255,.24); }

.daily-report-review-guide-body {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-y: auto;
  padding: 18px 20px;
}

.daily-report-review-guide-body > section { background:#fff; border:1px solid #e1e7f1; border-radius:14px; box-shadow:0 4px 14px rgba(25,43,76,.04); padding:15px 16px; }
.daily-report-review-guide-body > section h5 { color:#22324e; font-size:14px; margin:0 0 10px; }
.daily-report-review-guide-body > section p { color:#56647b; line-height:1.65; margin:6px 0; }
.daily-report-review-guide-body > section.is-purpose { border-top:4px solid #2563eb; }
.daily-report-review-guide-body > section.is-workload { border-top:4px solid #7c3aed; }
.daily-report-review-guide-body > section.is-priority { border-top:4px solid #d97706; }
.daily-report-review-guide-body > section.is-requirement { border-top:4px solid #0891b2; }
.daily-report-review-guide-body > section.is-examples,
.daily-report-review-guide-body > section.is-invalid { grid-column:1 / -1; }
.daily-report-review-guide-body > section.is-examples { border-top:4px solid #059669; }
.daily-report-review-guide-body > section.is-invalid { border-top:4px solid #e34a47; }

.daily-report-review-guide-stat { align-items:center; background:#f6f2ff; border-radius:11px; display:grid; gap:6px; grid-template-columns:auto auto auto auto auto auto auto auto; padding:10px 12px; }
.daily-report-review-guide-stat strong { color:#6d28d9; font-size:20px; }
.daily-report-review-guide-stat span { color:#6c6680; font-size:10px; }
.daily-report-review-guide-stat i { color:#987bc6; font-style:normal; }
.daily-report-review-guide-body ol { display:grid; gap:7px; list-style:none; margin:0; padding:0; }
.daily-report-review-guide-body ol li { align-items:center; background:#fff8e8; border-radius:8px; display:flex; justify-content:space-between; padding:8px 10px; }
.daily-report-review-guide-body ol li b { color:#8f5a00; }
.daily-report-review-guide-body ol li span { color:#765f38; font-size:11px; }
.daily-report-review-standard { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0; }
.daily-report-review-standard span { background:#e6f8fb; border:1px solid #b9e5eb; border-radius:999px; color:#08788a; font-size:10px; font-weight:800; padding:5px 9px; }
.daily-report-review-guide-body .is-warning { background:#fff1f1; border-radius:8px; color:#b42318; font-weight:750; padding:8px 10px; }

.daily-report-review-example-list { display:grid; gap:10px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.daily-report-review-example-list > article { background:#f6fbf8; border:1px solid #cce9da; border-radius:11px; overflow:hidden; }
.daily-report-review-example-list > article > header { align-items:center; background:#e9f8f0; display:flex; justify-content:space-between; padding:9px 10px; }
.daily-report-review-example-list > article > header b { color:#146344; }
.daily-report-review-example-list > article > header span { border-radius:999px; font-size:9px; font-weight:850; padding:4px 7px; }
.daily-report-review-example-list .is-down { background:#fff0e8; color:#b54708; }
.daily-report-review-example-list .is-stable { background:#ddf7ea; color:#08734d; }
.daily-report-review-example-list .is-alert { background:#fff0f0; color:#b42318; }
.daily-report-review-example-list dl { display:grid; gap:0; margin:0; padding:8px 10px 10px; }
.daily-report-review-example-list dl div { border-bottom:1px dashed #dce8e2; display:grid; gap:2px; padding:6px 0; }
.daily-report-review-example-list dl div:last-child { border-bottom:0; }
.daily-report-review-example-list dt { color:#6f7d75; font-size:9px; font-weight:800; }
.daily-report-review-example-list dd { color:#2b4037; font-size:10px; line-height:1.5; margin:0; }
.daily-report-review-guide-body .is-invalid > div { display:grid; gap:9px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.daily-report-review-guide-body .is-invalid article { background:#fff7f7; border:1px solid #f1cece; border-radius:10px; padding:11px 12px; }
.daily-report-review-guide-body .is-invalid q { color:#9b2c2c; display:block; font-weight:800; }
.daily-report-review-guide-body .is-invalid p { color:#8b5555; font-size:10px; margin:5px 0 0; }

.daily-report-review-guide > footer { align-items:center; background:#fff; border-top:1px solid #e0e6f0; display:flex; gap:16px; justify-content:space-between; padding:13px 20px; }
.daily-report-review-guide > footer p { color:#53627a; font-weight:750; margin:0; }
.daily-report-new-listing-guide > header { background:linear-gradient(130deg,#075e54,#0b9b7d); }
.daily-report-new-listing-checks { display:grid; gap:7px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.daily-report-new-listing-checks span { background:#eefaf6; border:1px solid #ccecdf; border-radius:8px; color:#176b55; font-size:10px; font-weight:750; padding:8px 9px; }
.daily-report-new-listing-example-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
.daily-report-new-listing-invalid-list { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
.daily-report-hot-link-guide > header { background:linear-gradient(130deg,#7d1f46,#ce4568); }
.daily-report-hot-link-guide-body > section.daily-report-hot-link-template { grid-column:1 / -1; }
.daily-report-hot-link-core { display:grid!important; gap:8px!important; }
.daily-report-hot-link-core li { align-items:flex-start!important; display:grid!important; gap:3px; justify-content:initial!important; }
.daily-report-hot-link-core li b { color:#174e91!important; }
.daily-report-hot-link-core li span { color:#52647b!important; line-height:1.5; }
.daily-report-hot-link-template dl { display:grid; gap:7px; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; }
.daily-report-hot-link-template dl div { background:#f6f2ff; border:1px solid #e5daf8; border-radius:9px; display:grid; gap:3px; padding:8px 9px; }
.daily-report-hot-link-template dt { color:#7652d6; font-size:9px; font-weight:850; }
.daily-report-hot-link-template dd { color:#544a67; font-size:10px; line-height:1.45; margin:0; }

.daily-report-master-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(21, 36, 64, 0.25);
  display: grid;
  gap: 14px;
  max-height: min(820px, 90vh);
  max-width: 980px;
  overflow: hidden;
  padding: 20px;
  width: min(980px, 94vw);
}

.daily-report-master-modal > header,
.daily-report-master-form-title {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.daily-report-master-modal > header span,
.daily-report-master-modal > header p {
  color: var(--dr-muted);
  font-size: 11px;
  margin: 0;
}

.daily-report-master-modal > header h4 {
  font-size: 20px;
  margin: 2px 0 3px;
}

.daily-report-master-header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.daily-report-master-close {
  background: #f2f4f8;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 20px;
  height: 34px;
  width: 34px;
}

.daily-report-master-toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.daily-report-master-scope {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-report-master-scope > div {
  background: #f5f8fd;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.daily-report-master-scope strong {
  color: var(--dr-blue);
  font-size: 12px;
}

.daily-report-master-scope span {
  color: var(--dr-muted);
  font-size: 11px;
  line-height: 1.55;
}

.daily-report-master-body {
  display: grid;
  gap: 14px;
  max-height: 650px;
  overflow: auto;
}

.daily-report-master-list {
  display: grid;
  gap: 8px;
}

.daily-report-master-list article {
  align-items: center;
  background: #f8faff;
  border: 1px solid #e2e8f2;
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
}

.daily-report-master-list article > div:first-child {
  display: grid;
  gap: 3px;
}

.daily-report-master-list article span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-master-list article > div:last-child {
  display: flex;
  gap: 7px;
}

.daily-report-master-list article button,
.daily-report-master-form-title button {
  background: #fff;
  border: 1px solid #ccd7e8;
  border-radius: 8px;
  color: var(--dr-blue);
  cursor: pointer;
  padding: 6px 10px;
}

.daily-report-master-list article button.is-danger {
  border-color: #f0caca;
  color: #c53d3d;
}

.daily-report-master-empty {
  color: var(--dr-muted);
  padding: 24px;
  text-align: center;
}

.daily-report-master-form {
  background: #f7faff;
  border: 1px solid #dce6f5;
  border-radius: 13px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px;
}

.daily-report-master-form > label {
  display: grid;
  gap: 6px;
}

.daily-report-master-form > label > span {
  color: var(--dr-muted);
  font-size: 11px;
  font-weight: 700;
}

.daily-report-master-form-title,
.daily-report-master-form .is-wide {
  grid-column: 1 / -1;
}

.daily-report-master-form-title {
  align-items: center;
}

.daily-report-master-form p {
  color: var(--dr-muted);
  font-size: 11px;
  margin: 0;
}

.daily-report-master-form-actions {
  display: flex;
  justify-content: flex-end;
}

.daily-report-managed-skus {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  display: grid;
  gap: 9px;
  padding: 11px;
}

.daily-report-managed-competitors {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  display: grid;
  gap: 9px;
  padding: 11px;
}

.daily-report-managed-skus > div {
  align-items: center;
  display: flex;
}

.daily-report-managed-competitors > div {
  align-items: center;
  display: flex;
  gap: 8px;
}

.daily-report-managed-competitors > div > span {
  color: var(--dr-muted);
  font-size: 11px;
}

.daily-report-managed-skus > section {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: 0.8fr 1.2fr 0.8fr 0.8fr 1.4fr 32px;
}

.daily-report-managed-skus > section > label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.daily-report-managed-skus > section > label > span {
  color: #58677d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.daily-report-managed-skus > section > label > input,
.daily-report-managed-skus > section > label > select {
  min-width: 0;
  width: 100%;
}

.daily-report-managed-competitors > section {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) 32px;
}

.daily-report-managed-skus > section > button,
.daily-report-managed-competitors > section > button {
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 8px;
  color: #8a96aa;
  cursor: pointer;
  height: 36px;
}

.daily-report-view-switch {
  align-items: center;
  background: #edf2fa;
  border-radius: 12px;
  display: inline-flex;
  gap: 4px;
  justify-self: start;
  padding: 4px;
}

.daily-report-view-switch button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #657087;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 18px;
}

.daily-report-view-switch button.is-active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(26, 51, 97, .12);
  color: #2458d3;
}

.daily-report-review-result {
  align-items: center;
  border: 1px solid #dde5f1;
  border-left-width: 4px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 16px;
}

.daily-report-review-result > div,
.daily-report-review-result:not(:has(div)) {
  display: grid;
  gap: 4px;
}

.daily-report-review-result span,
.daily-report-review-result small {
  color: #667085;
  font-size: 11px;
}

.daily-report-review-result.is-approved { background: #effbf6; border-color: #75d6b0; color: #08734d; }
.daily-report-review-result.is-rejected { background: #fff4f3; border-color: #f0a6a1; color: #b42318; }
.daily-report-review-result.is-pending { background: #fff9eb; border-color: #efca72; color: #955600; }
.daily-report-review-result.is-draft { background: #f7f9fc; color: #526079; }

.daily-report-review-results { display: grid; gap: 8px; }
.daily-report-review-result.is-supervisor { border-left-style: dashed; }
.daily-report-review-result.is-final { border-left-style: solid; }
.daily-report-review-history { background:#f8faff; border:1px solid #dce5f4; border-radius:10px; padding:10px 12px; }
.daily-report-review-history summary { color:#315b9c; cursor:pointer; font-size:11px; font-weight:800; }
.daily-report-review-history > div { display:grid; gap:7px; margin-top:9px; }
.daily-report-review-history article { background:#fff; border-left:3px solid #8ca9df; border-radius:8px; display:grid; gap:5px; padding:8px 10px; }
.daily-report-review-history article header { align-items:center; display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; }
.daily-report-review-history article strong { color:#344054; font-size:11px; }
.daily-report-review-history article small { color:#667085; font-size:10px; }
.daily-report-review-history article p { color:#344054; font-size:11px; margin:0; }
.daily-report-reference-chip {
  background: #e8efff;
  border-radius: 6px;
  color: #2458d3;
  display: inline;
  font-weight: 750;
  padding: 2px 5px;
}

.daily-report-acos output { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.daily-report-acos output strong { color: inherit; font-size: 14px; }
.daily-report-acos output em { border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; padding: 3px 7px; }
.daily-report-acos.is-good { border-color: #75d6b0; color: #08734d; }
.daily-report-acos.is-good output em { background: #dcfce7; color: #08734d; }
.daily-report-acos.is-normal { border-color: #efca72; color: #955600; }
.daily-report-acos.is-normal output em { background: #fff3d9; color: #955600; }
.daily-report-acos.is-high { border-color: #f0a6a1; color: #b42318; }
.daily-report-acos.is-high output em { background: #fff0f0; color: #b42318; }
.daily-report-acos.is-missing output em { background: #eef1f5; color: #667085; }

.daily-report-history {
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  overflow: hidden;
}

.daily-report-history > header {
  align-items: end;
  background: linear-gradient(135deg, #f7faff, #edf3ff);
  display: flex;
  justify-content: space-between;
  padding: 21px 24px;
}

.daily-report-history > header span { color: #2458d3; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.daily-report-history > header h4 { color: #17233d; font-size: 22px; margin: 4px 0; }
.daily-report-history > header p { color: #667085; margin: 0; }
.daily-report-history > header > b { color: #2458d3; font-size: 13px; }
.daily-report-history-counts { align-items: flex-end; display: grid; gap: 4px; justify-items: end; }
.daily-report-history-counts b { color: #2458d3; font-size: 13px; }
.daily-report-history-counts span { background: #fff; border: 1px solid #cedbf3; border-radius: 999px; letter-spacing: 0; padding: 4px 9px; }
.daily-report-history > div { display: grid; gap: 10px; padding: 14px; }

.daily-report-history-item {
  align-items: center;
  border: 1px solid #e5e9f0;
  border-left: 4px solid #a8b2c4;
  border-radius: 11px;
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(130px, .8fr) minmax(280px, 1.4fr) minmax(180px, 1.2fr) auto;
  padding: 13px 14px;
}

.daily-report-history-item.is-approved { border-left-color: #16a36f; }
.daily-report-history-item.is-rejected { border-left-color: #d94b4b; }
.daily-report-history-item.is-pending { border-left-color: #d7a43a; }
.daily-report-history-item.is-draft {
  background: linear-gradient(100deg, #f8faff, #fff);
  border-left-color: #4c7be8;
  box-shadow: 0 5px 16px rgba(43, 83, 164, .06);
}
.daily-report-history-item.is-draft > div:first-child span,
.daily-report-history-item.is-draft > div:last-child small { color: #2458d3; font-weight: 750; }
.daily-report-history-item.is-draft button { background: #2458d3; color: #fff; }
.daily-report-history-item > div:first-child { display: grid; gap: 4px; }
.daily-report-history-item > div:first-child span,
.daily-report-history-item small { color: #667085; font-size: 11px; }
.daily-report-history-item dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.daily-report-history-item dl div { display: grid; gap: 2px; }
.daily-report-history-item dt { color: #7b8496; font-size: 10px; }
.daily-report-history-item dd { font-weight: 800; margin: 0; }
.daily-report-history-item > p { display: grid; gap: 3px; margin: 0; }
.daily-report-history-item > p b { color: #7b8496; font-size: 10px; }
.daily-report-history-item > p span { font-size: 12px; }
.daily-report-history-item > div:last-child { align-items: end; display: grid; gap: 6px; justify-items: end; }
.daily-report-history-item button,
.daily-report-history-state button { background: #edf3ff; border: 0; border-radius: 8px; color: #2458d3; cursor: pointer; font-weight: 750; padding: 7px 12px; }
.daily-report-history-pager { align-items:center; background:#f8faff; border-top:1px solid #e3e8f1; display:flex; gap:12px; justify-content:center; padding:12px 14px; }
.daily-report-history-pager button { background:#fff; border:1px solid #cbd8ef; border-radius:8px; color:#2458d3; cursor:pointer; font-weight:750; padding:7px 13px; }
.daily-report-history-pager button:disabled { cursor:not-allowed; opacity:.45; }
.daily-report-history-pager span { color:#667085; font-size:11px; }
.daily-report-history-state { align-items: center; background: #fff; border: 1px dashed #cbd5e4; border-radius: 13px; color: #667085; display: grid; gap: 7px; justify-items: center; padding: 34px; text-align: center; }
.daily-report-history-state.is-error { border-color: #f0b1ad; color: #b42318; }
.daily-report-history-state span { font-size: 12px; }
.is-report-readonly .daily-report-store-list { opacity: .86; }

@media (max-width: 1080px) {
  .daily-report-metric-grid > .daily-report-operator-trend-metric .daily-report-operator-trend-popover {
    left: 0;
    right: auto;
  }

  .daily-report-metric-grid > .daily-report-operator-trend-metric:nth-child(even) .daily-report-operator-trend-popover {
    left: auto;
    right: 0;
  }

  .daily-report-attachment-grid { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
  .daily-report-history-item { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-report-hero,
  .daily-report-hero-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-report-hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
  }

  .daily-report-store-head {
    grid-template-columns: 44px 140px minmax(180px, 1fr);
  }

  .daily-report-store-head > button {
    grid-column: 2 / -1;
    justify-self: end;
  }

  .daily-report-metric-grid,
  .daily-report-hot-base,
  .daily-report-hot-metrics,
  .daily-report-after-sale-row,
  .daily-report-custom-field-row,
  .daily-report-plan-tasks,
  .daily-report-plan-meta,
  .daily-report-optimization-review {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .daily-report-link-optimization-head {
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr);
  }

  .daily-report-link-type {
    grid-template-columns: auto minmax(230px, 1fr);
  }

  .daily-report-link-type > small {
    grid-column: 1 / -1;
  }

  .daily-report-link-optimization-head > button {
    grid-column: 2;
    justify-self: end;
  }

  .daily-report-due-review-source,
  .daily-report-manager-due-reviews > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .daily-report-metric-grid > .daily-report-operator-trend-metric .daily-report-operator-trend-popover,
  .daily-report-metric-grid > .daily-report-operator-trend-metric:nth-child(even) .daily-report-operator-trend-popover {
    left: 0;
    right: 0;
    width: auto;
  }

  .daily-report-operator-trend-popover {
    min-height: 268px;
    padding: 10px;
  }

  .daily-report-operator-trend-svg {
    height: 220px;
  }

  .daily-report-attachment-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
  .daily-report-optimization-attachments > header { align-items: flex-start; }
  .daily-report-view-switch { display: grid; grid-template-columns: repeat(2, 1fr); justify-self: stretch; }
  .daily-report-review-result { align-items: flex-start; flex-direction: column; }
  .daily-report-history > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .daily-report-history-counts { align-items: start; justify-items: start; }
  .daily-report-history-item { align-items: stretch; grid-template-columns: 1fr; }
  .daily-report-history-item > div:last-child { justify-items: stretch; }
  .daily-report-history-item button { width: 100%; }
  .daily-report-app {
    gap: 12px;
  }

  .daily-report-hero {
    border-radius: 14px;
    padding: 20px;
  }

  .daily-report-hero-meta {
    grid-template-columns: 1fr;
  }

  .daily-report-status {
    justify-self: start;
  }

  .daily-report-tip {
    display: none;
  }

  .daily-report-store-head {
    align-items: stretch;
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .daily-report-store-head .daily-report-store-name,
  .daily-report-store-head > button {
    grid-column: 1 / -1;
  }

  .daily-report-trends,
  .daily-report-metric-grid,
  .daily-report-hot-base,
  .daily-report-hot-metrics,
  .daily-report-price-list,
  .daily-report-review-block,
  .daily-report-competitor-row,
  .daily-report-after-sale-row,
  .daily-report-custom-field-row,
  .daily-report-plan-tasks,
  .daily-report-plan-meta,
  .daily-report-link-optimization-head,
  .daily-report-link-type,
  .daily-report-link-optimization-base,
  .daily-report-optimization-review {
    grid-template-columns: 1fr;
  }

  .daily-report-link-type > div,
  .daily-report-link-type > small {
    grid-column: auto;
  }

  .daily-report-plan {
    padding: 16px 14px;
  }

  .daily-report-due-reviews {
    padding: 15px 14px;
  }

  .daily-report-due-reviews > header,
  .daily-report-manager-due-reviews > header,
  .daily-report-due-review-head,
  .daily-report-manager-due-reviews article > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .daily-report-due-review-head small {
    white-space: normal;
  }

  .daily-report-due-review-source dl {
    grid-template-columns: 1fr;
  }

  .daily-report-part-title.has-action {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .daily-report-optimization-count {
    margin-left: 0;
  }

  .daily-report-link-optimization-head > button {
    grid-column: auto;
    justify-self: end;
  }

  .daily-report-review-block label:first-child {
    grid-column: auto;
    max-width: none;
  }

  .daily-report-price-row {
    grid-template-columns: 1fr;
  }

  .daily-report-price-main,
  .daily-report-external-price-link,
  .daily-report-master-form,
  .daily-report-master-toolbar,
  .daily-report-managed-skus > section,
  .daily-report-managed-competitors > section,
  .daily-report-master-scope {
    grid-template-columns: 1fr;
  }

  .daily-report-modal-backdrop {
    padding: 10px;
  }

  .daily-report-review-guide-backdrop { padding:10px; }
  .daily-report-review-guide { max-height:96vh; width:100%; }
  .daily-report-review-guide > header { padding:18px; }
  .daily-report-review-guide > header h4 { font-size:20px; }
  .daily-report-review-guide-body { grid-template-columns:1fr; padding:12px; }
  .daily-report-review-guide-body > section.is-examples,
  .daily-report-review-guide-body > section.is-invalid,
  .daily-report-hot-link-guide-body > section.daily-report-hot-link-template { grid-column:auto; }
  .daily-report-review-example-list,
  .daily-report-review-guide-body .is-invalid > div { grid-template-columns:1fr; }
  .daily-report-new-listing-invalid-list { grid-template-columns:1fr!important; }
  .daily-report-hot-link-template dl { grid-template-columns:1fr; }
  .daily-report-review-guide-stat { grid-template-columns:auto 1fr auto 1fr; }
  .daily-report-review-guide-stat i:nth-of-type(2),
  .daily-report-review-guide-stat strong:nth-of-type(3),
  .daily-report-review-guide-stat strong:nth-of-type(3) + span { display:none; }
  .daily-report-review-guide > footer { align-items:flex-start; flex-direction:column; }
  .daily-report-review-guide > footer button { width:100%; }

  .daily-report-master-modal {
    max-height: 94vh;
    padding: 14px;
  }

  .daily-report-price-row > button {
    justify-self: end;
  }

  .daily-report-trends {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 14px 0;
  }

  .daily-report-part {
    padding: 16px 14px;
  }

  .daily-report-hot-head {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .daily-report-hot-head > button {
    justify-self: end;
  }

  .daily-report-add-store {
    grid-template-columns: auto 1fr;
  }

  .daily-report-add-store small {
    grid-column: 2;
    margin: 0;
  }

  .daily-report-savebar {
    align-items: stretch;
    bottom: 6px;
    flex-direction: column;
  }

  .daily-report-savebar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .daily-report-savebar-actions > button {
    flex: 1;
  }

  .daily-report-savebar-actions > button:first-child:nth-last-child(3) {
    grid-column: 1 / -1;
  }
}
