.mhl-shell {
  --mhl-ink: #0b213b;
  --mhl-blue: #0753a5;
  --mhl-muted: #40566f;
  --mhl-line: #dbe7f4;
  --mhl-ice: #edf6ff;
  --mhl-font: 'IRANYekanX', 'IRANYekan', 'IRANYekanWeb', sans-serif;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  width: min(100%, 920px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mhl-line);
  border-radius: 24px;
  box-shadow: 0 18px 52px #0b213b12;
  color: var(--mhl-ink);
  font: 400 15px/1.9 var(--mhl-font);
  text-align: start;
}

.mhl-shell *, .mhl-google-form * { box-sizing: border-box; }
.mhl-shell :is(h1, h2, p, dl, dd) { margin: 0; }
.mhl-shell :is(h1, h2, a, label, button, input) { font-family: inherit; }

.mhl-brand {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  min-height: 330px;
  padding: clamp(24px, 5vw, 60px);
  background:
    radial-gradient(ellipse at 2% 96%, #dcf1ff 0, transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 38px, #b6d2eb42 39px 40px),
    var(--mhl-ice);
  border-inline-end: 1px solid var(--mhl-line);
}

.mhl-brand a { display: inline-flex; border-radius: 8px; }
.mhl-brand img { display: block; width: min(148px, 100%); height: auto; max-height: 96px; object-fit: contain; }
.mhl-brand p { max-width: 15em; color: var(--mhl-ink); font-size: clamp(16px, 2vw, 21px); font-weight: 750; }

.mhl-card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  min-width: 0;
  padding: clamp(24px, 5.3vw, 58px);
}

.mhl-card :is(h1, h2) { color: var(--mhl-ink); font-size: clamp(24px, 3.1vw, 38px); line-height: 1.45; font-weight: 800; }
.mhl-card .mhl-copy { color: var(--mhl-muted); max-width: 32em; }
.mhl-card a { color: var(--mhl-blue); text-decoration: underline; text-underline-offset: 4px; }
.mhl-card .mhl-alternate { width: 100%; padding-block-start: 14px; border-block-start: 1px solid var(--mhl-line); color: var(--mhl-muted); font-size: 13px; }
.mhl-alternate a { display: inline-block; margin-inline-start: 7px; font-weight: 700; }

.mhl-google-form { margin: 0; }
.mhl-card .mhl-google-form { width: 100%; }
.mhl-google-form .mhl-google {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  margin: 0;
  border: 1px solid #747775;
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
  color: #1f1f1f;
  font: 600 14px/20px 'IRANYekanX', 'IRANYekan', 'IRANYekanWeb', sans-serif;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.mhl-google-form .mhl-google img { display: block; flex: 0 0 18px; width: 18px; height: 18px; background: #fff; }
.mhl-google-form .mhl-google:hover { background: #f7faff; border-color: #40566f; box-shadow: none; }
.mhl-google-form .mhl-google:active { background: #edf3fb; }
.mhl-google-form .mhl-google:focus-visible, .mhl-shell :is(a, button, input):focus-visible {
  outline: 3px solid #0753a5;
  outline-offset: 3px;
}

.mhl-card .mhl-notice { width: 100%; padding: 10px 14px; border-inline-start: 3px solid; border-radius: 8px; background: var(--mhl-ice); color: var(--mhl-ink); font-size: 14px; }
.mhl-card .mhl-notice.mhl-error { border-color: #274d76; }
.mhl-card .mhl-notice.mhl-ok { border-color: var(--mhl-blue); }
.mhl-form { display: grid; gap: 10px; margin: 0; }
.mhl-form label { display: grid; gap: 5px; }
.mhl-form input[type=text] { min-height: 44px; padding: 7px 12px; border: 1px solid #9eb1c6; border-radius: 8px; }
.mhl-form :is(.mhl-primary, .mhl-secondary) {
  justify-self: start;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--mhl-blue);
  border-radius: 8px;
  color: var(--mhl-blue);
  background: #fff;
  text-transform: none;
}
.mhl-form .mhl-primary { background: var(--mhl-blue); color: #fff; }
.mhl-form .mhl-secondary:hover { background: var(--mhl-ice); }
.mhl-form .mhl-primary:hover { background: var(--mhl-ink); }
.mhl-member-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mhl-member-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mhl-ice); }
.mhl-status { display: grid; }
.mhl-status span, .mhl-member-details dt { color: var(--mhl-muted); font-size: 13px; }
.mhl-card .mhl-member-details { display: grid; width: 100%; gap: 8px; padding: 12px 0; border-block: 1px solid var(--mhl-line); }
.mhl-member-details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; }
.mhl-member-details dd { overflow-wrap: anywhere; }

@media (max-width: 650px) {
  .mhl-shell { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .mhl-brand { min-height: 0; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 20px; border-inline-end: 0; border-block-end: 1px solid var(--mhl-line); }
  .mhl-brand img { max-height: 60px; }
  .mhl-card { padding: 24px 20px; }
}
