
/* Phase 21M.6.8 — Compact Profile & Alert Settings */

.dvh21m68-profile-fold{
  margin:14px 0 18px;
  border:1px solid rgba(16,43,39,.10);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
}

.dvh21m68-profile-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px;
  list-style:none;
  cursor:default;
}

.dvh21m68-profile-summary::-webkit-details-marker{display:none}

.dvh21m68-profile-summary h2{
  margin:3px 0 0;
  color:#102b27;
  font-size:1rem;
}

.dvh21m68-profile-toggle{
  display:flex;
  align-items:center;
  gap:7px;
  color:#6f7c77;
  font-size:.65rem;
  font-weight:850;
  white-space:nowrap;
}

.dvh21m68-profile-toggle b{
  font-size:.9rem;
  transition:transform .15s ease;
}

.dvh21m68-profile-fold[open] .dvh21m68-profile-toggle b{
  transform:rotate(180deg);
}

.dvh21m68-profile-content{
  margin:0!important;
  border:0!important;
  border-top:1px solid rgba(16,43,39,.08)!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Tighten the unique account cards. */
.dvh21m5-account{
  margin:12px 0 14px!important;
}

.dvh21m5-account-head{
  margin-bottom:8px!important;
}

.dvh21m5-account-grid{
  gap:8px!important;
}

.dvh21m5-account-grid>.dvh21b-card{
  padding:12px!important;
  border-radius:14px!important;
}

.dvh21m5-account-grid .dvh21b-profile-list>div{
  padding:7px 8px!important;
}

.dvh21m5-account-grid .dvh21b-card-head{
  margin-bottom:7px!important;
}

.dvh21m5-account-grid .dvh21d-alert-card>p{
  margin:7px 0!important;
  font-size:.72rem!important;
  line-height:1.35!important;
}

.dvh21m5-account-grid .dvh21d-alert-note{
  font-size:.61rem!important;
}

@media(max-width:700px){
  body .dvh21b-shell .dvh21m5-account{
    margin:9px 0 10px!important;
  }

  body .dvh21b-shell .dvh21m5-account-head{
    align-items:center!important;
    flex-direction:row!important;
    gap:8px!important;
  }

  body .dvh21b-shell .dvh21m5-account-head h2{
    font-size:.94rem!important;
  }

  body .dvh21b-shell .dvh21m5-account-head>a{
    width:auto!important;
    min-height:29px!important;
    padding:0 8px!important;
    font-size:.61rem!important;
  }

  body .dvh21b-shell .dvh21m5-account-grid{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }

  body .dvh21b-shell .dvh21m5-account-grid>.dvh21b-card{
    padding:10px!important;
  }

  body .dvh21b-shell .dvh21m68-profile-fold{
    margin:9px 0 14px!important;
    border-radius:14px!important;
  }

  body .dvh21b-shell .dvh21m68-profile-summary{
    padding:11px 12px!important;
    cursor:pointer!important;
  }

  body .dvh21b-shell .dvh21m68-profile-summary h2{
    font-size:.88rem!important;
  }

  body .dvh21b-shell .dvh21m68-profile-toggle span{
    display:none!important;
  }

  body .dvh21b-shell .dvh21m68-profile-toggle b{
    font-size:1rem!important;
  }

  body .dvh21b-shell .dvh21m68-profile-content{
    padding:12px!important;
  }
}
