.case7 {
  margin-top: 26px;
  padding: 42px;
  border: 1px solid #e8e1d8;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 34px rgba(48, 43, 37, 0.045);
}

.case7-header {
  margin-bottom: 28px;
}

.case7-kicker {
  margin-bottom: 8px;
  color: #35594b;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case7 h2 {
  margin: 0 0 12px;
  color: #35594b;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.case7-subtitle {
  max-width: 840px;
  margin: 0;
  color: #64605b;
  font-size: 14px;
  line-height: 1.8;
}

.case7-problem-solution {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.case7-info-card {
  padding: 24px;
  border: 1px solid #e7e0d8;
  border-radius: 18px;
  background: #fcfbf9;
}

.case7-problem {
  border-color: #ecd6d1;
  background: #fff9f7;
}

.case7-solution {
  border-color: #d5e3d8;
  background: #f5faf6;
}

.case7-info-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #35594b;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.case7-problem .case7-info-label {
  background: #a45143;
}

.case7-info-card h3 {
  margin: 0 0 12px;
  color: #34312e;
  font-size: 18px;
  line-height: 1.35;
}

.case7-info-card p {
  margin: 0;
  color: #64605b;
  font-size: 13px;
  line-height: 1.75;
}

.case7-info-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #5f5a54;
  font-size: 12px;
  line-height: 1.8;
}

.case7-folder-panel {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #e7e0d8;
  border-radius: 18px;
  background: #fcfbf9;
}

.case7-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid #e7e0d8;
  background: #f7f4ef;
}

.case7-panel-head strong {
  display: block;
  color: #3f3b37;
  font-size: 14px;
}

.case7-panel-head span {
  display: block;
  margin-top: 3px;
  color: #817c75;
  font-size: 10px;
}

.case7-folder-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.case7-folder-stats span {
  margin: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #35594b;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.case7-folder-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 0;
}

.case7-folder-tree {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid #e7e0d8;
  background: #f8f7f4;
}

.case7-folder-title {
  margin-bottom: 12px;
  color: #46413d;
  font-size: 13px;
  font-weight: 700;
}

.case7-folder-list {
  display: grid;
  gap: 7px;
  max-height: 360px;
  overflow: auto;
}

.case7-folder-file {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #e4ddd5;
  border-radius: 10px;
  background: #ffffff;
  color: #5d5751;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  cursor: default;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.case7-folder-file:hover {
  border-color: #cfded2;
  background: #f5faf6;
  transform: translateX(2px);
}

.case7-folder-file.new {
  border-color: #e8d27f;
  background: #fff8df;
}

.case7-folder-file.error {
  border-color: #efbaba;
  background: #fff0f0;
}

.case7-folder-file.processing {
  border-color: #a8c7b0;
  background: #edf7ef;
}

.case7-file-icon {
  display: grid;
  width: 24px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #217346;
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
}

.case7-file-status {
  color: #817c75;
  font-size: 8px;
}

.case7-file-preview {
  min-width: 0;
  background: #ffffff;
}

.case7-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e7e0d8;
}

.case7-preview-head strong {
  display: block;
  color: #3f3b37;
  font-size: 13px;
}

.case7-preview-head span {
  display: block;
  margin-top: 3px;
  color: #817c75;
  font-size: 9px;
}

.case7-preview-badge {
  margin: 0 !important;
  padding: 6px 9px;
  border-radius: 999px;
  background: #217346;
  color: #ffffff !important;
  font-family: "Roboto Mono", monospace;
  font-size: 8px !important;
  font-weight: 700;
}

.case7-preview-table-wrap {
  max-height: 360px;
  overflow: auto;
}

.case7-preview-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.case7-preview-table th,
.case7-preview-table td {
  padding: 9px 10px;
  border-right: 1px solid #eee8e0;
  border-bottom: 1px solid #eee8e0;
  text-align: left;
  white-space: nowrap;
  font-size: 9px;
}

.case7-preview-table th {
  background: #35594b;
  color: #ffffff;
}

.case7-preview-table td {
  color: #57524d;
  font-family: "Roboto Mono", monospace;
}

.case7-service-row td {
  background: #f4f1ec;
  color: #817c75;
  font-weight: 600;
}

.case7-total-row td {
  background: #fff8df;
  color: #6d5716;
  font-weight: 700;
}
.case7-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.case7-refresh-button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: #35594b;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(53, 89, 75, 0.18);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.case7-refresh-button:hover {
  background: #29483c;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(53, 89, 75, 0.24);
}

.case7-refresh-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.case7-loader {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: #64605b;
  font-size: 11px;
}

.case7-loader.active {
  display: flex;
}

.case7-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d8e5db;
  border-top-color: #35594b;
  border-radius: 50%;
  animation: case7Spin 0.8s linear infinite;
}

@keyframes case7Spin {
  to {
    transform: rotate(360deg);
  }
}

.case7-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.case7-pipeline-step {
  position: relative;
  min-width: 0;
  padding: 14px 10px 12px;
  border: 1px solid #e5ddd4;
  border-radius: 13px;
  background: #ffffff;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.case7-pipeline-step span {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0 auto 9px;
  place-items: center;
  border-radius: 50%;
  background: #ece7e0;
  color: #817970;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.case7-pipeline-step strong {
  display: block;
  color: #4c4742;
  font-size: 10px;
  line-height: 1.35;
}

.case7-pipeline-step small {
  display: block;
  margin-top: 5px;
  color: #918a82;
  font-size: 8px;
  line-height: 1.4;
}

.case7-pipeline-step.active {
  border-color: #e8cf78;
  background: #fff8df;
  transform: translateY(-2px);
}

.case7-pipeline-step.active span {
  background: #d7a900;
  color: #ffffff;
}

.case7-pipeline-step.done {
  border-color: #cfe0d3;
  background: #f3f8f4;
}

.case7-pipeline-step.done span {
  background: #35594b;
  color: #ffffff;
}

.case7-result {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 1s ease,
    margin-top 0.4s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
}

.case7-result.visible {
  max-height: 5000px;
  margin-top: 28px;
  opacity: 1;
  transform: translateY(0);
}

.case7-result-head {
  margin-bottom: 18px;
}

.case7-result-head h3 {
  margin: 0 0 10px;
  color: #35594b;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

.case7-result-head p {
  max-width: 820px;
  margin: 0;
  color: #64605b;
  font-size: 13px;
  line-height: 1.75;
}

.case7-result-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.case7-result-stats article {
  min-width: 0;
  padding: 16px 13px;
  border: 1px solid #e7e0d8;
  border-radius: 14px;
  background: #fcfbf9;
}

.case7-result-stats article:nth-child(2) {
  border-color: #d5e3d8;
  background: #f3f8f4;
}

.case7-result-stats article:nth-child(4),
.case7-result-stats article:nth-child(5) {
  border-color: #ecd9ae;
  background: #fff9ec;
}

.case7-result-stats span {
  display: block;
  color: #817c75;
  font-size: 9px;
  line-height: 1.35;
}

.case7-result-stats strong {
  display: block;
  margin-top: 7px;
  color: #35594b;
  font-family: "Roboto Mono", monospace;
  font-size: 20px;
  line-height: 1;
}

.case7-result-stats small {
  display: block;
  margin-top: 7px;
  color: #9a948d;
  font-size: 8px;
  line-height: 1.35;
}

.case7-array-panel {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #e7e0d8;
  border-radius: 18px;
  background: #ffffff;
}

.case7-array-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid #e7e0d8;
  background: #f7f4ef;
}

.case7-array-head strong {
  display: block;
  color: #3f3b37;
  font-size: 13px;
}

.case7-array-head span {
  display: block;
  margin-top: 3px;
  color: #817c75;
  font-size: 9px;
}

.case7-array-status {
  margin: 0 !important;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ece7e0;
  color: #817970 !important;
  font-family: "Roboto Mono", monospace;
  font-size: 8px !important;
  font-weight: 700;
}

.case7-array-status.ready {
  background: #35594b;
  color: #ffffff !important;
}

.case7-array-table-wrap {
  max-height: 430px;
  overflow: auto;
}

.case7-array-table {
  width: 100%;
  min-width: 1450px;
  border-collapse: collapse;
}

.case7-array-table th,
.case7-array-table td {
  padding: 9px 10px;
  border-right: 1px solid #eee8e0;
  border-bottom: 1px solid #eee8e0;
  text-align: left;
  white-space: nowrap;
}

.case7-array-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #35594b;
  color: #ffffff;
  font-size: 8px;
}

.case7-array-table td {
  color: #57524d;
  font-family: "Roboto Mono", monospace;
  font-size: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.case7-array-table tr.show td {
  opacity: 1;
  transform: translateY(0);
}

.case7-array-table tr.error td {
  background: #fff0f0;
}

.case7-array-table tr.duplicate td {
  background: #fff8df;
}
.case7-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.case7-analytics-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e7e0d8;
  border-radius: 18px;
  background: #ffffff;
}

.case7-card-head {
  margin-bottom: 16px;
}

.case7-card-head strong {
  display: block;
  color: #3f3b37;
  font-size: 13px;
}

.case7-card-head span {
  display: block;
  margin-top: 3px;
  color: #817c75;
  font-size: 9px;
}

.case7-store-bars {
  display: grid;
  gap: 12px;
}

.case7-store-row {
  display: grid;
  grid-template-columns: 95px 1fr 58px;
  gap: 10px;
  align-items: center;
}

.case7-store-row span {
  color: #5d5751;
  font-size: 9px;
}

.case7-store-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8e3;
}

.case7-store-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35594b, #73a487);
  transition: width 0.7s ease;
}

.case7-store-row strong {
  color: #35594b;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  text-align: right;
}

.case7-category-layout {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  align-items: center;
}

.case7-category-donut {
  position: relative;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: conic-gradient(
    #35594b 0 34%,
    #2f80ed 34% 57%,
    #d7a900 57% 75%,
    #8a5bd7 75% 89%,
    #ed7d31 89% 100%
  );
}

.case7-category-donut::after {
  content: "100%";
  position: absolute;
  inset: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #4f4944;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
}

.case7-category-legend {
  display: grid;
  gap: 10px;
}

.case7-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #5c5651;
  font-size: 9px;
}

.case7-category-name {
  display: flex;
  align-items: center;
  gap: 7px;
}

.case7-category-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.case7-category-item strong {
  color: #3f3b37;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
}

.case7-risk-list,
.case7-quality-list {
  display: grid;
  gap: 10px;
}

.case7-risk-item,
.case7-quality-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e7e0d8;
  border-radius: 12px;
  background: #fcfbf9;
}

.case7-risk-dot,
.case7-quality-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.case7-risk-item.warning .case7-risk-dot {
  background: #d7a900;
}

.case7-risk-item.critical .case7-risk-dot {
  background: #c6534f;
}

.case7-quality-item.good .case7-quality-dot {
  background: #35594b;
}

.case7-quality-item.warning .case7-quality-dot {
  background: #d7a900;
}

.case7-quality-item.error .case7-quality-dot {
  background: #c6534f;
}

.case7-risk-item strong,
.case7-quality-item strong {
  display: block;
  color: #47423e;
  font-size: 10px;
}

.case7-risk-item span,
.case7-quality-item span {
  display: block;
  margin-top: 2px;
  color: #817c75;
  font-size: 8px;
}

.case7-risk-value,
.case7-quality-value {
  color: #35594b;
  font-family: "Roboto Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.case7-business-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.case7-business-impact article {
  padding: 18px;
  border: 1px solid #e7e0d8;
  border-radius: 16px;
  background: #fcfbf9;
}

.case7-business-impact article:nth-child(2) {
  border-color: #d5e3d8;
  background: #f3f8f4;
}

.case7-business-impact article:nth-child(3) {
  border-color: #d9e5ee;
  background: #f3f7fa;
}

.case7-business-impact span {
  display: block;
  color: #817c75;
  font-size: 9px;
}

.case7-business-impact strong {
  display: block;
  margin-top: 8px;
  color: #35594b;
  font-size: 17px;
  line-height: 1.25;
}

.case7-business-impact small {
  display: block;
  margin-top: 8px;
  color: #706a64;
  font-size: 9px;
  line-height: 1.55;
}

.case7-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.case7-cta a {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #2f6f9f;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 111, 159, 0.18);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.case7-cta a:hover {
  background: #255a82;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .case7-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case7-result-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .case7 {
    margin-top: 18px;
    padding: 26px 16px;
    border-radius: 18px;
  }

  .case7-problem-solution,
  .case7-folder-layout,
  .case7-analytics-grid,
  .case7-business-impact {
    grid-template-columns: 1fr;
  }

  .case7-folder-tree {
    border-right: 0;
    border-bottom: 1px solid #e7e0d8;
  }

  .case7-panel-head,
  .case7-array-head,
  .case7-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .case7-folder-stats {
    justify-content: flex-start;
  }

  .case7-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case7-result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case7-category-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .case7-category-legend {
    width: 100%;
  }

  .case7-store-row {
    grid-template-columns: 82px 1fr 52px;
  }

  .case7-cta a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .case7-pipeline {
    grid-template-columns: 1fr;
  }

  .case7-result-stats {
    grid-template-columns: 1fr;
  }

  .case7-store-row {
    grid-template-columns: 70px 1fr 48px;
  }
}
.case7-folder-title small {
  display: block;
  margin-top: 4px;
  color: #817c75;
  font-size: 8px;
  font-weight: 400;
}
.case7-nowrap {
  white-space: nowrap;
}
