.file-pick-label { display: block; font-weight: 800; margin-bottom: .55rem; }
.file-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  position: relative;
  margin: .2rem 0 .35rem;
}
.file-pick input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.file-pick__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  color: #06182e;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(6, 24, 46, .08);
  cursor: pointer;
  border: 1px solid #d7dee8;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.file-pick:hover .file-pick__btn {
  transform: translateY(-1px);
  border-color: #c9a227;
  box-shadow: 0 12px 26px rgba(6, 24, 46, .12);
}
.file-pick:focus-within .file-pick__btn {
  outline: 2px solid #06182e;
  outline-offset: 3px;
}
.file-pick__icon { flex: 0 0 auto; color: #143e66; }
.file-pick__name {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  max-width: min(100%, 22rem);
  line-height: 1.45;
}
.file-pick.is-chosen .file-pick__name { color: var(--navy-800); }
.email-tpl { padding: .4rem 0 1rem; border-bottom: 1px solid #edf1f5; margin-bottom: .6rem; }
.email-lb[hidden] { display: none !important; }
.email-lb {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 1rem;
}
.email-lb__scrim {
  position: absolute; inset: 0; border: 0; background: rgba(6, 24, 46, .62); cursor: pointer;
}
.email-lb__box {
  position: relative; z-index: 1; width: min(720px, 100%);
  height: min(86vh, 820px); background: #eef2f6; border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(3, 11, 22, .35);
}
.email-lb__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: .8rem; padding: .7rem 1rem; background: #06182e; color: #fff;
}
.email-lb__bar strong { font-size: .95rem; }
.email-lb iframe { flex: 1; width: 100%; border: 0; background: #eef2f6; }
