.adiv-root {
  box-sizing: border-box;
  display: grid;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  color: #18232d;
  font: inherit;
}

.adiv-root *,
.adiv-root *::before,
.adiv-root *::after {
  box-sizing: border-box;
}

.adiv-title,
.adiv-proposal-title {
  margin: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.adiv-title {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
}

.adiv-count,
.adiv-empty,
.adiv-state,
.adiv-details,
.adiv-status {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.adiv-count,
.adiv-details,
.adiv-state,
.adiv-empty {
  color: #52616c;
}

.adiv-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adiv-card {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #d8e0e5;
  border-radius: 0.8rem;
  background: #fff;
}

.adiv-proposal-title {
  font-size: 1.05rem;
  font-weight: 650;
}

.adiv-details {
  font-size: 0.92rem;
}

.adiv-status {
  color: #72510a;
  font-size: 0.9rem;
  font-weight: 650;
}

.adiv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.adiv-button {
  min-width: 6.5rem;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid #8ea1aa;
  border-radius: 0.65rem;
  background: #fff;
  color: #244354;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.adiv-button--primary {
  border-color: #245268;
  background: #245268;
  color: #fff;
}

.adiv-button:hover:not(:disabled) {
  filter: brightness(0.96);
}

.adiv-button:focus-visible {
  outline: 3px solid #d08b1b;
  outline-offset: 2px;
}

.adiv-button:disabled {
  color: #58666d;
  background: #e6ebed;
  cursor: not-allowed;
}

@media (max-width: 420px) {
  .adiv-card {
    padding: 0.75rem;
  }

  .adiv-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .adiv-button {
    width: 100%;
  }
}
