.shared-app-settings-page {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px 18px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #f8fafc;
}

.shared-app-settings-page--loading {
  align-items: center;
  justify-content: center;
}

.shared-app-settings-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.shared-app-settings-page__header .ant-typography {
  margin-bottom: 0;
}

.shared-app-settings-page__header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shared-app-settings-page__tabs .ant-tabs-nav,
.shared-app-settings-page__subtabs .ant-tabs-nav {
  margin-bottom: 12px;
}

.shared-app-settings-page__panel {
  display: grid;
  gap: 14px;
}

.shared-app-settings-page__section {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;
  background: #fff;
}

.shared-app-settings-page__section-head {
  display: grid;
  gap: 4px;
}

.shared-app-settings-page__field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 12px;
}

.shared-app-settings-page__field-grid .ant-form-item,
.shared-app-settings-page__check-grid .ant-form-item {
  margin-bottom: 0;
}

.shared-app-settings-page__check-grid {
  display: grid;
  gap: 10px;
}

.shared-app-settings-page__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.shared-app-settings-page__status-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.shared-app-settings-page__status-item span {
  font-size: 12px;
  color: #64748b;
}

.shared-app-settings-page__status-item strong {
  font-size: 14px;
  color: #0f172a;
}

.shared-app-settings-page__inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shared-app-settings-page__storage-list {
  display: grid;
  gap: 12px;
}

.shared-app-settings-page__storage-item {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: #f8fafc;
}

.shared-app-settings-page__storage-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shared-app-settings-page__storage-head > div {
  display: grid;
  gap: 4px;
}

@media (max-width: 767px) {
  .shared-app-settings-page {
    padding: 14px;
  }

  .shared-app-settings-page__section,
  .shared-app-settings-page__storage-item {
    padding: 12px;
  }
}
