.sscp-banner, .sscp-dialog, .sscp-footer, .sscp-media, .sscp-status {
  box-sizing: border-box;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #30312e;
}
.sscp-banner button, .sscp-banner input, .sscp-dialog button, .sscp-dialog input, .sscp-footer button, .sscp-footer input, .sscp-media button, .sscp-media input, .sscp-status button, .sscp-status input {
  font: inherit;
}
.sscp-banner button, .sscp-dialog button, .sscp-footer button, .sscp-media button, .sscp-status button {
  cursor: pointer;
}
.sscp-banner a, .sscp-dialog a, .sscp-footer a, .sscp-media a, .sscp-status a {
  color: inherit;
  text-decoration: underline;
}
.sscp-banner [hidden], .sscp-dialog [hidden], .sscp-footer [hidden], .sscp-media [hidden], .sscp-status [hidden] {
  display: none !important;
}
.sscp-banner :focus-visible, .sscp-dialog :focus-visible, .sscp-footer :focus-visible, .sscp-media :focus-visible, .sscp-status :focus-visible {
  outline: 2px solid #30312e;
  outline-offset: 4px;
}

.sscp-banner[hidden] {
  display: none;
}

.sscp-banner {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1060px, 100% - 32px);
  max-height: 75svh;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #d9d8d1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1333333333);
}
.sscp-banner h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}
.sscp-banner p {
  margin: 0;
}

.sscp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sscp-actions button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #30312e;
  border-radius: 30px;
  background: #30312e;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}
.sscp-actions .sscp-secondary {
  background: #fff;
  color: #30312e;
}

.sscp-dialog {
  width: min(700px, 100% - 32px);
  max-width: 700px;
  max-height: 85svh;
  padding: 28px;
  border: 1px solid #d9d8d1;
  border-radius: 22px;
  background: #fff;
}
.sscp-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5333333333);
}
.sscp-dialog h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}
.sscp-dialog p {
  margin: 14px 0;
}

.sscp-dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sscp-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d9d8d1;
  border-radius: 50%;
  background: #fff;
  color: #30312e;
  font-size: 24px !important;
}

.sscp-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #d9d8d1;
}
.sscp-category input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: #30312e;
}
.sscp-category strong, .sscp-category span span {
  display: block;
}
.sscp-category strong {
  font-weight: 600;
}

.sscp-information {
  margin-top: 20px;
}
.sscp-information summary {
  cursor: pointer;
  font-weight: 600;
}
.sscp-information code {
  overflow-wrap: anywhere;
}

.sscp-footer {
  padding: 0 24px 24px;
  text-align: center;
}
.sscp-footer button {
  max-width: 100%;
  border: 0;
  padding: 10px;
  background: transparent;
  color: #65685f;
  text-decoration: underline;
  min-height: 44px;
}

.sscp-media iframe {
  display: block;
  width: 100%;
  min-height: 200px;
  border: 0;
}
.sscp-media .sscp-media-notice {
  padding: 30px;
  border-radius: 24px;
  background: #f4f2ed;
  text-align: center;
}
.sscp-media .sscp-media-notice p {
  margin: 0 0 16px;
}
.sscp-media button {
  min-height: 44px;
  border: 1px solid #30312e;
  padding: 10px 18px;
  border-radius: 30px;
  background: #fff;
  color: #30312e;
}

.sscp-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sscp-banner-open .ss-whatsapp-float {
  visibility: hidden;
}

@media (max-width: 600px) {
  .sscp-footer {
    padding-right: calc(88px + env(safe-area-inset-right, 0px));
    text-align: left;
  }
  .sscp-banner {
    padding: 20px;
  }
  .sscp-dialog {
    padding: 20px;
  }
  .sscp-actions {
    flex-direction: column;
  }
  .sscp-actions button {
    width: 100%;
  }
}
