.toolbar {
  min-height: 57px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #f1f3f5;
  color: #5f6368;
}

.ico {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #596579;
  background: transparent;
}

.ico:hover {
  background: #eaf0f7;
}

.ico svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.toolbar-count {
  margin-left: auto;
  color: #818a97;
  font-size: 12px;
  padding: 0 14px;
}

.message-top {
  padding: 27px 46px 19px;
}

.message-title {
  font-size: 26px;
  letter-spacing: -.55px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 28px;
}

.from-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d7e7fc;
  color: #164a94;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: bold;
  flex: none;
}

.from-details {
  min-width: 0;
  line-height: 1.55;
  flex: 1;
}

.sender-name {
  font-weight: bold;
}

.address,.to {
  font-size: 12px;
  color: #687486;
  overflow-wrap: anywhere;
}

.date {
  font-size: 12px;
  color: #6f7b89;
  white-space: nowrap;
  text-align: right;
  line-height: 1.6;
  flex: none;
}

.date small {
  display: block;
  font-size: 11px;
  color: #8491a2;
}

.bodywrap {
  padding: 14px 46px 54px;
}

.letter {
  max-width: 615px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eff1f5;
  border-radius: 8px;
  padding: 30px 32px 38px;
}

.google-logo {
  width: 44px;
  height: 45px;
  display: block;
  object-fit: contain;
  margin-bottom: 28px;
}

.eyebrow {
  color: #5f6368;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 11px;
}

.letter h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 19px;
  letter-spacing: -.5px;
}

.letter p {
  line-height: 1.75;
  color: #3c4043;
  font-size: 15px;
  margin: 0 0 22px;
}

.activity {
  background: #f8fafd;
  border: 1px solid #e2e9f1;
  border-radius: 9px;
  padding: 20px 22px;
  margin-bottom: 26px;
}

.activity b {
  display: block;
  letter-spacing: .65px;
  font-size: 11px;
  color: #677586;
  margin-bottom: 14px;
}

dl {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 11px 8px;
  font-size: 14px;
  margin: 0;
}

dt {
  color: #657183;
}

dd {
  margin: 0;
  font-weight: 600;
}

.login {
  background: #1a73e8;
  border: 0;
  color: #fff;
  border-radius: 5px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
}

.login:hover {
  background: #125ec4;
}

.signoff {
  font-size: 13px!important;
  color: #6c7787!important;
  margin: 29px 0 0!important;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 22px;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f5;
}

.list-item:hover {
  background: #f2f6fc;
}

.list-item.unread {
  background: #f0f5ff;
  font-weight: bold;
}

.list-item .name {
  min-width: 150px;
}

.list-item .snippet {
  font-weight: 400;
  color: #788491;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.list-item .time {
  font-size: 12px;
  margin-left: auto;
  color: #657287;
}

.list-star {
  border: 0;
  background: transparent;
  font-size: 21px;
  color: #b2bac5;
  padding: 2px 5px;
}

.list-star.active {
  color: #ebad1e;
}

.folder-heading {
  font-size: 21px;
  font-weight: 400;
  margin: 0;
  padding: 29px 28px 24px;
}

.empty {
  margin: 55px 20px;
  text-align: center;
  color: #687586;
}

.empty b {
  color: #313b47;
  display: block;
  margin-bottom: 7px;
}

/* Zweite, bewusst verdächtige Lernnachricht */
.mk-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1px 0 27px;
  font-size: 22px;
  font-weight: 600;
  color: #5d626a;
  letter-spacing: -.55px;
}

.mk-tiles {
  width: 37px;
  height: 37px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  flex: none;
}

.mk-tiles span:nth-child(1) {
  background: #f25022;
}

.mk-tiles span:nth-child(2) {
  background: #7fba00;
}

.mk-tiles span:nth-child(3) {
  background: #00a4ef;
}

.mk-tiles span:nth-child(4) {
  background: #ffb900;
}

.item-open {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.item-info {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.item-open:focus-visible {
  outline: 3px solid #fbbc04;
  outline-offset: 2px;
}

/* Gleiche ruhige E-Mail-Gestaltung wie die Google-Nachricht.
   Eigene transparente Logodateien ersetzen die großen, farbig hinterlegten Markenblöcke. */
.mail-brand-mark {
  display: block;
  width: auto;
  height: 43px;
  max-width: 176px;
  object-fit: contain;
  object-position: left center;
  margin: 2px 0 28px;
  opacity: .88;
}

.mail-brand-mark--gta {
  height: 44px;
  max-width: 176px;
}
