#me .me-grid {display:grid;gap:16px;align-items:start}

#me .me-card {
  padding:22px;
  min-width:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
}

@supports (backdrop-filter:blur(1px)) {
  #me .me-card:first-child {
    background:linear-gradient(140deg,#f9fbffea,#e7efffae);
    backdrop-filter:blur(16px) saturate(1.15);
  }

  html[data-theme=dark] #me .me-card:first-child {
    background:linear-gradient(140deg,#26344fe8,#1d273acd);
  }
}

#me h2 {margin-bottom:12px;font-size:1.18rem;line-height:1.3}
#me h3 {font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
#me :is(.quiet,.me-model) {color:var(--muted);font-size:14px;overflow-wrap:anywhere}
#me-account:not([hidden])+#me-resume,#me-settings {margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
#me .me-identity,#me .me-resume-summary {display:flex;align-items:center;gap:12px}

#me .me-avatar,#me .me-document {
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 45px;
  height:45px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--desk-tint);
  color:var(--accent);
}

#me .me-avatar {font-size:23px;font-weight:660}
#me .me-document::before {content:"";width:15px;height:21px;border:1.5px solid currentColor;border-radius:3px}
#me .me-document::after {content:"";position:absolute;width:7px;height:1.5px;margin-top:-4px;background:currentColor;box-shadow:0 4px currentColor}
#me .me-email {overflow-wrap:anywhere}
#me .me-model {margin-top:2px}
#me .me-card-actions {flex-wrap:wrap;gap:6px 10px;margin-top:12px}

#me .formgrid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
#me .formgrid label:last-child {grid-column:1/-1}
#me :is(.formgrid label,#version-list label,.me-appearance label) {color:var(--ink);font-size:14px;font-weight:570}
#me :is(.formgrid input,.formgrid select,#select-version,#theme-choice) {
  width:100%;
  min-height:44px;
  padding:7px 10px;
  border:1px solid var(--desk-line);
  border-radius:8px;
  background-color:var(--surface);
  color:var(--ink);
  font-size:16px;
}

#me :is(#select-version,#theme-choice) {margin-top:4px}
#me #version-list:not(:empty) {margin-top:12px}
#me .me-appearance {display:flex;align-items:center;justify-content:space-between;gap:10px}
#me #theme-choice {width:min(100%,150px);margin:0}
#me .me-backup {margin-top:16px}
#me .me-backup .quiet {max-width:60ch;margin-top:5px}

@media(min-width:1050px) {
  #me .me-grid {grid-template-columns:minmax(0,4fr) minmax(0,5fr);gap:20px}
}

@media(max-width:600px) {
  #me .me-card {padding:16px}
  #me .me-card-actions .textbtn {text-align:start}
}

@media(prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  html[data-theme] #me .me-card:first-child {background:var(--surface);backdrop-filter:none}
}
