.samgha-page-title {
  display: none;
}

.samgha-prose {
  font-size: 16px;
  line-height: 1.65;
}

.samgha-prose > *:first-child {
  margin-top: 0;
}

.samgha-prose > *:last-child {
  margin-bottom: 0;
}

/* card base app */
.samgha-card {
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.samgha-card--sm {
  padding: 12px;
  border-radius: 14px;
}

.samgha-card--lg {
  padding: 20px;
}

/* superfici leggere */
.samgha-soft {
  background: var(--sa-surface-2);
  border-radius: 14px;
  padding: 12px;
}

/* lista verticale */
.samgha-list {
  display: grid;
  gap: 10px;
}

.samgha-list-item {
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: 16px;
  padding: 14px;
}

/* liste app */
.samgha-list-card {
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.samgha-list-title {
  font-weight: 800;
  font-size: 15px;
}

.samgha-list-meta {
  font-size: 12px;
  color: var(--sa-muted);
}

/* dashboard */
.samgha-dashboard-grid {
  display: grid;
  gap: var(--sa-gap);
}

.samgha-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.samgha-stat-card {
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.samgha-stat-value {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.samgha-stat-label {
  font-size: 12px;
  color: var(--sa-muted);
}

/* titoli */
.samgha-title-sm {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.samgha-title-md {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* testo secondario */
.samgha-text-muted {
  color: var(--sa-muted);
}

/* righe informative */
.samgha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.samgha-row--start {
  align-items: flex-start;
}

.samgha-row--stack-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.samgha-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sa-surface-2);
  border: 1px solid var(--sa-border);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

/* pulsante base */
.samgha-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--sa-border);
  border-radius: 14px;
  background: #fff;
  color: var(--sa-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.samgha-button:active {
  transform: translateY(1px);
}

/* input base */
.samgha-input,
.samgha-select,
.samgha-textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--sa-border);
  border-radius: 14px;
  background: #fff;
  color: var(--sa-text);
  outline: none;
}

.samgha-textarea {
  min-height: 110px;
  resize: vertical;
}

/* gruppi form */
.samgha-field {
  display: grid;
  gap: 8px;
}

.samgha-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sa-text);
}

/* statistiche semplici */
.samgha-stat {
  display: grid;
  gap: 6px;
}

.samgha-stat__value {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.samgha-stat__label {
  font-size: 13px;
  color: var(--sa-muted);
}

/* separatore leggero */
.samgha-divider {
  width: 100%;
  height: 1px;
  background: var(--sa-border);
}

@media (max-width: 480px) {
  .samgha-row--stack-mobile {
    flex-direction: column;
    align-items: flex-start;
  }
}