/* 브랜드톡 섹션 스타일 */
.brandtalk-desc-block {
  margin: 64px 0 54px 0;
  padding: 0 8px;
}

.brandtalk-customer-example .example-img {
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brandtalk-customer-example .example-img img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 알림톡 설명/목적/기능 텍스트 스타일 */
.alimtalk-desc-block {
  margin: 38px 0 54px 0;
  padding: 0 8px;
}

/* RCS 설명 블록 스타일 */
.rcs-desc-block {
  margin: 38px 0 54px 0;
  padding: 0 8px;
}

/* (Removed unused .alimtalk-section-title/.alimtalk-desc/.alimtalk-subtitle/.alimtalk-feature-list -
   page now uses shared `.service-title`, `.service-intro`, `.section-sub-title`, `.info-list` ) */
/* 알림톡 단계별 플로우 스타일 */
.alimtalk-flow-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin: 0 0 32px 0;
}
.alimtalk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.alimtalk-step .thumb {
  width: 406px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
}
.alimtalk-step .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.alimtalk-step .step-label {
  display: block;
  margin-top: 12px;
  font-size: var(--font-title-medium);
  color: var(--color-gray-5);
  font-weight: var(--font-weight-medium);
  text-align: center;
  letter-spacing: -0.01em;
}
.alimtalk-flow-row .flow-connector {
  width: auto;
  height: auto;
  padding: 0 8px;
  background: transparent;
  margin: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alimtalk-flow-row .flow-connector .connector-arrow {
  display: block;
  width: 1.25rem; /* ~20px */
  height: auto;
}

/* If connector is an external <img>, ensure it shows and can be scaled */
.alimtalk-flow-row .flow-connector img.connector-arrow {
  display: block;
  width: 1.25rem;
  height: auto;
}

/* Inline chevron SVG connector styling */
.alimtalk-flow-row .flow-connector svg.chev {
  width: 20px; /* fixed pixel size avoids reflow flashes */
  height: 30px;
  color: var(--color-navy);
  display: block;
}
.alimtalk-flow-row .flow-connector svg.chev path {
  stroke: currentColor;
  fill: none;
}

/* 알림톡 고객 예시 */

.alimtalk-customer-example .example-img {
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alimtalk-customer-example .example-img img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@media (max-width: 1200px) {
  .alimtalk-flow-row {
    gap: 12px;
  }
  .alimtalk-step .thumb {
    width: 320px;
    height: 205px;
  }
}
@media (max-width: 900px) {
  .alimtalk-flow-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .alimtalk-flow-row .flow-connector {
    width: auto;
    height: auto;
    margin: 0;
    padding: 6px 0;
    align-self: center;
  }
  .alimtalk-flow-row .flow-connector svg.chev {
    transform: rotate(90deg);
    transform-origin: center;
  }

  .alimtalk-step .thumb {
    width: 90vw;
    max-width: 320px;
    height: 205px;
  }
}
.mobile-container {
  max-width: var(--container-max-width);
  margin: 70px auto 0;
  /* ensure there's space above the footer on wider screens */
  padding-bottom: var(--space-9);
}
.alimtalk-desc-block .service-title {
  margin-bottom: 14px;
}
.alimtalk-desc-block .service-intro {
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 14px;
}

.alimtalk-desc-block .service-intro:not(.title),
.brandtalk-desc-block .service-intro:not(.title) {
  margin-left: 100px; /* align descriptions under '서비스 목적' */
  margin-top: 6px;
  margin-bottom: 18px;
  line-height: 1.8;
}
.alimtalk-desc-block .info-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* RCS 블록 스타일 */
.rcs-desc-block .service-title {
  margin-bottom: 14px;
}
.rcs-desc-block .service-intro {
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 14px;
}

.rcs-desc-block .service-intro:not(.title) {
  margin-left: 100px; /* align descriptions under '서비스 기능' */
  margin-top: 6px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.rcs-desc-block .info-list {
  list-style: none;
  padding-left: 0;
}

.rcs-desc-block .info-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* RCS Templates Grid */
.rcs-examples {
  margin-top: 40px;
}

.rcs-templates-wrapper {
  display: flex;
  justify-content: center;
}

.rcs-templates-grid {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.rcs-template-item {
  text-align: center;
}

.rcs-template-item .template-image {
  margin-bottom: 16px;
}

.rcs-template-item .template-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rcs-template-item .template-info h5 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.rcs-template-item .template-type {
  font-size: 1.6rem;
  color: var(--color-gray-5);
}

.service-header {
  margin-bottom: 50px;
}

/* Integration (연동 방식) section styles */
.integration-section {
  margin-bottom: 40px;
  padding-top: 10px;
}

.page-title-box .integration-title {
  font-size: var(--font-headline-small);
  color: var(--color-black);
  margin-bottom: 12px;
}

/* flow */
.integration-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 24px;
  padding: 8px 0;
}
.integration-flow .flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  text-align: center;
}
.integration-flow .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
}
.integration-flow .step-label {
  font-size: var(--font-title-small);
  color: var(--color-gray-7);
}
.integration-flow .flow-connector {
  height: 2px;
  background: linear-gradient(to right, var(--color-gray-3), var(--color-gray-3));
  flex: 1 1 120px;
}

.integration-tabs ul {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--color-gray-2);
}
.integration-tabs li {
  position: relative;
}
.integration-tabs li::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-navy);
  transition: width 0.25s ease;
}
.integration-tabs li.active::after,
.integration-tabs li:hover::after,
.integration-tabs li:focus-within::after {
  width: 100%;
}
.integration-tabs button {
  background: none;
  border: none;
  padding: var(--space-2) 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-title-medium);
  color: var(--color-gray-5);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.integration-tabs li.active button {
  color: var(--color-navy);
  font-weight: 700;
}
.integration-tab-content {
  display: none;
  margin-top: 40px;
}
.integration-tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.integration-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-gray-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}
.integration-table tbody th {
  width: 200px;
  padding: 14px 12px;
  text-align: left;
  font-weight: 700;
  font-size: var(--font-title-medium);
  color: var(--color-black);
  vertical-align: top;
  border-right: 1px solid var(--color-gray-2);
}
.integration-table tbody td {
  padding: 14px 12px;
  color: var(--color-gray-7);
  vertical-align: top;
}
.integration-table tbody tr + tr th,
.integration-table tbody tr + tr td {
  border-top: 1px solid var(--color-gray-2);
}

.mobile-tabs {
  margin-bottom: 60px;
}

.mobile-tabs ul {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  border-bottom: 1px solid var(--color-gray-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-tabs li {
  position: relative;
}

.mobile-tabs li::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-black);
  transition: width 0.3s ease;
}

.mobile-tabs button {
  background: none;
  border: none;
  padding: var(--space-4) 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-title-medium);
  color: var(--color-gray-5);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s;
}

.mobile-tabs li:hover button,
.mobile-tabs li:focus-within button {
  color: var(--color-black);
}

.mobile-tabs button:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.mobile-tabs li.active button {
  color: var(--color-black);
}

.mobile-tabs li.active::after,
.mobile-tabs li:hover::after,
.mobile-tabs li:focus-within::after {
  width: 100%;
}

.mobile-tab-content {
  display: block;
}

.js-enabled .mobile-tab-content {
  display: none;
}

.js-enabled .mobile-tab-content.active {
  display: block;
}

.mobile-content-section {
  margin-bottom: 80px;
}

.mobile-content-section:last-child {
  /* keep space above footer on desktop */
  margin-bottom: var(--space-9);
}

.section-sub-title {
  display: inline-block;
  font-size: var(--font-title-large);
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
  border-bottom: solid 1px var(--color-black);
  margin-top: 28px;
  margin-bottom: 18px;
}

.service-title {
  font-size: var(--font-headline-large);
  color: var(--color-black);
  margin-bottom: 25px;
  font-weight: var(--font-weight-bold);
  padding-bottom: 5px;
}

.service-intro {
  font-size: var(--font-title-large);
}
.info-grid {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.info-text {
  margin-top: 20px;
}

.info-text,
.info-list li {
  font-size: var(--font-title-medium);
  line-height: 1.7;
  margin-left: 100px;
}

.info-list {
  list-style: disc;
  margin: 20px 0 20px;
  padding-left: 20px;
}

.info-list.numbered {
  list-style: decimal;
}

.concept-diagram,
.performance-box {
  background: #f8f9fa;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.concept-diagram img,
.performance-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sms-flow-container {
  padding: 30px 0;
  max-width: 900px;
  margin: 0 auto;
}

.flow-guide-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 55px 10px;
}

.flow-guide-image img {
  width: 60px;
  height: auto;
}

.guide-labels {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  font-size: var(--font-title-medium);
}

.label-mt {
  color: var(--color-navy);
}
.label-mo {
  color: var(--color-red);
}

.process-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-map .connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-map .connector img {
  width: 45px;
  height: auto;
  opacity: 0.7;
}

.process-step {
  display: flex;
  justify-content: center;
}

.step-card {
  width: 160px;
  min-width: 140px;
  background-color: var(--color-gray-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.icon-area {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.icon-area img {
  width: 80px;
  max-width: 100%;
  height: auto;
}

.step-name {
  background-color: #cdcdcd;
  padding: 12px 5px;
  font-size: var(--font-title-medium);
  text-align: center;
}

/* (Removed legacy .alimtalk-screens/.alimtalk-mockup styles - replaced by
   .alimtalk-step/.alimtalk-flow-row/.alimtalk-customer-example) */

/* Two-column top layout for alimtalk page */
.alimtalk-top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.alimtalk-left {
  flex: 0 0 48%;
  /* (Removed legacy two-column and .alimtalk-screens rules; kept current
   .alimtalk-flow-row/.alimtalk-step/.alimtalk-step .thumb rules above) */
  padding: 20px 0;
  gap: 40px;
}

.performance-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex-shrink: 0;
}

.step-card.small {
  width: 120px;
}

.step-card.small .icon-area {
  height: 90px;
}

.step-card.small .icon-area img {
  width: 70px;
}

.step-card.small .step-name {
  padding: 8px 2px;
  font-size: var(--font-title-small);
}

.flow-arrow {
  color: var(--color-navy);
  flex-shrink: 0;
}

.flow-arrow span {
  font-size: 40px;
}

.center-hub {
  text-align: center;
  flex-shrink: 0;
}

.hub-cards {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: center;
}

.hub-cards .step-card {
  width: 140px;
}

.hub-cards .step-name {
  font-size: var(--font-title-small);
}

.hub-desc strong {
  display: block;
  color: var(--color-black);
  font-size: var(--font-title-large);
  color: var(--color-gray-6);
  margin: 38px 0 8px;
}

.hub-desc p {
  font-size: var(--font-title-large);
  color: var(--color-gray-6);
  line-height: 1.4;
}

.usage-list-area {
  text-align: left;
  flex-shrink: 0;
  min-width: 260px;
}

.usage-list {
  list-style: none;
  padding: 0;
}

.usage-list li {
  font-size: var(--font-title-medium);
  color: var(--color-gray-7);
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.usage-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gray-4);
}

.mo-service-container {
  text-align: center;
}

.mo-flow-map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin: 50px 0 50px 100px;
}

.flow-arrow-single {
  color: var(--color-navy);
}

.flow-arrow-single span {
  font-size: 6rem;
}

.mo-service-container .info-list {
  text-align: left;
  padding-left: 20px;
}

.mms-mo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 0;
  gap: 15px;
}

.mms-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mms-category-grid .step-card:last-child {
  grid-column: span 1;
}

.flow-arrow.with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.flow-arrow .label-text {
  font-size: 1.4rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-7);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.flow-arrow span.material-icons-round {
  font-size: 5rem;
  color: var(--color-navy);
}

.mms-mo-container .step-name {
  font-size: var(--font-title-small);
  line-height: 1.3;
  white-space: pre-line;
}

.sfa-service-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  gap: 20px;
}

.sfa-side-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flow-arrow.with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-arrow .label-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-7);
}

.connector-svg {
  width: 45px;
  height: auto;
  opacity: 0.7;
}

.sfa-service-container .step-card {
  width: 145px;
}

.ai-service-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 0;
  gap: 40px;
}

.ai-process-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-process-group .info-list.bullet-only {
  margin-top: 25px;
  padding-left: 0;
  list-style: none;
  text-align: left;
  width: 100%;
}

.ai-process-group .info-small-list.bullet-only li {
  color: var(--color-gray-5);
  margin-bottom: 10px;
  position: relative;
  line-height: 1.5;
}

.ai-process-group .info-list.bullet-only li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gray-4);
}

.ai-service-container .flow-arrow {
  margin-top: 55px;
  color: var(--color-navy);
}

.info-small-list {
  font-size: var(--font-title-medium);
  line-height: 1.7;
  list-style: disc;
  margin-top: 20px;
  padding-left: 20px;
}

.ai-scenario-container {
  padding: 40px 0;
  margin-left: 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.scenario-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.scenario-card {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.scenario-card.small {
  min-width: 180px;
}

.step-num {
  font-size: var(--font-title-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-5);
  text-align: left;
  display: block;
  margin-bottom: 25px;
}

.screen-shot {
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.screen-shot:hover {
  transform: translateY(-4px);
}

.screen-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-mail-container {
  padding: 40px 0;
}

.mail-flow-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.step-card-phone {
  width: 250px;
  background-color: var(--color-gray-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.step-card-phone .icon-area.list-area {
  padding: 25px 20px;
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  background-color: var(--color-gray-1);
}

.step-card-phone .step-name {
  background-color: #cdcdcd;
  padding: 15px 5px;
  font-size: var(--font-title-medium);
  text-align: center;
}

.step-card-phone .icon-area.list-area .info-list.bullet-only {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.step-card-phone .icon-area.list-area .info-list.bullet-only li {
  margin-left: 0;
  font-size: var(--font-title-small);
  margin-bottom: 8px;
  color: var(--color-gray-5);
  line-height: 1.4;
  position: relative;
  list-style: none;
}

.flow-arrow.with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flow-arrow.with-text .label-text {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-gray-7);
  text-align: center;
}

/* Integration page tweaks */
.integration-section {
  padding-bottom: var(--space-9);
}
.integration-flow {
  gap: 18px;
  margin: 24px 0 28px;
}
.integration-flow .flow-step {
  width: 220px;
}
.integration-flow .step-num {
  width: 40px;
  height: 40px;
  font-size: var(--font-title-medium);
}
.integration-tabs ul {
  justify-content: flex-start;
}
.integration-table tbody td {
  font-size: var(--font-title-medium);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .integration-flow {
    flex-wrap: wrap;
    gap: 12px;
  }
  .integration-flow .flow-step {
    width: calc(33% - 12px);
  }
  .integration-flow .flow-connector {
    display: none;
  }
  .integration-tabs ul {
    justify-content: center;
    gap: 12px;
  }
  .integration-table thead th,
  .integration-table tbody td {
    padding: 12px 10px;
  }

  .rcs-templates-grid {
    flex-direction: column;
    gap: 30px;
  }

  .rcs-template-item .template-image img {
    max-width: 280px;
  }
}

/* ensure main container keeps space above footer */
.mobile-container {
  padding-bottom: var(--space-9);
}

.integration-hr {
  /* hidden by default; `.active` will show */
  display: none;
}
/* Integration flow: responsive layout that adapts from wide desktop to stacked mobile */
.integration-flow {
  /* hidden by default; `.active` will show */
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 36px 0 34px;
  padding: 0 2rem;
  width: 100%;
}

.integration-flow.active {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.integration-flow .flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* responsive width: min 120px, preferred 28%, max 220px */
  width: clamp(120px, 28%, 220px);
  text-align: center;
}

.integration-flow .step-caption {
  font-size: var(--font-title-medium);
  color: var(--color-gray-6);
  margin-bottom: 12px;
}

.integration-flow .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.integration-flow .flow-line {
  /* 기본: 연결선은 남은 공간을 채우도록 설정 (flow-step 크기를 제외한 나머지) */
  flex: 1 1 0;
  min-width: 60px;
  height: 3px;
  background: var(--color-navy);
}

@media (max-width: 1024px) {
  .integration-flow {
    padding: 0 1rem;
    margin: 28px 0;
    gap: 14px;
  }

  /* At tablet widths avoid awkward wrapping: keep steps on a single row if possible */
  .integration-flow.active {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 18px;
  }

  .integration-flow .flow-step {
    /* prefer a consistent flex-basis so steps don't collapse unexpectedly */
    flex: 0 1 200px;
    max-width: 220px;
  }

  /* 연결선: 최소 60px로 유지하되 남은 공간을 채우도록 유연하게 설정 */
  .integration-flow .flow-line {
    flex: 1 1 0;
    min-width: 60px;
  }
}

@media (max-width: 768px) {
  .integration-flow {
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0 1rem;
  }
  .integration-flow .flow-step {
    /* three items per row on narrow screens */
    width: calc(33.333% - 12px);
  }
  .integration-flow .flow-line {
    display: none;
  }
  .integration-header .integration-title {
    font-size: var(--font-title-large);
  }
}

.usage-list-area .usage-list {
  text-align: left;
}

.usage-list-area .usage-list li {
  margin-left: 0 !important;
  font-size: 16px;
  margin-bottom: 12px;
}

.asp-flow-map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.flow-arrow.with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-arrow .label-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-7);
  line-height: 1.4;
  text-align: center;
}

.flow-arrow span.material-icons-round {
  font-size: 45px;
  color: var(--color-navy);
}

.usage-list-area .usage-list li {
  margin-left: 0 !important;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--color-gray-7);
}

.double-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.mui-sync-icon {
  font-size: 48px !important;
  color: var(--color-navy);
  margin: 5px 0;
  display: block;
}

.double-connector .text-top,
.double-connector .text-bottom {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-7);
  text-align: center;
  line-height: 1.3;
}

.asp-flow-map .step-card {
  width: 145px;
  min-height: 145px;
}

/* Final overrides: ensure flows and panels only show when `.active` is present */
.integration-flow {
  display: none !important;
}
.integration-flow.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.integration-tab-content {
  display: none !important;
}
.integration-tab-content.active {
  display: flex !important;
  flex-direction: column;
  gap: 40px;
}
