/* Hallmark v2.0.0 | WebM8 v2.0.15 | inherited theme | component: guest login button */
/* Critique: one quiet action at the tool heading; preserve the existing form and quota rows. */
.m8lp215-heading:has(> .m8lp215-button) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-width: 0;
  margin-bottom: 16px;
}
.m8lp215-heading:has(> .m8lp215-button) > h2 { margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.m8lp215-heading:not(:has(> .m8lp215-button)):not(.home-upload-heading):not(.fb-card-heading) { display: contents; }
.m8lp215-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  max-width: 100%;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--active);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.m8lp215-button > span, .m8lp215-primary > span { min-width: 0; overflow-wrap: anywhere; }
.m8lp215-button > svg, .m8lp215-primary > svg { width: 16px; height: 16px; flex: 0 0 16px; }
.m8lp215-button:hover { color: var(--accent); border-color: var(--accent); background: var(--active); }
.m8lp215-button:active { opacity: .85; }
.m8lp215-button:focus-visible, .m8lp215-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home-upload-main .home-upload-heading.m8lp215-file-heading { flex-wrap: wrap; }
.m8lp215-file-period { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.m8lp215-file-period strong { color: var(--text); }
.fb-main .m8lp215-fb-heading:has(> .m8lp215-button) { margin-bottom: 12px; }
.m8lp215-fb-heading > .m8lp215-button { margin-inline-start: auto; }
.temp-hero .m8lp215-heading:has(> .m8lp215-button) { margin-top: 12px; margin-bottom: 12px; text-align: start; }
.temp-main .temp-address-identity:has(.m8lp215-button) { flex: 1 1 0; min-width: 0; }
.temp-address-identity .m8lp215-mailbox-heading:has(> .m8lp215-button) { margin-bottom: 8px; }
.ding-simple-heading:has(.m8lp215-button) { flex-wrap: wrap; }
.ding-simple-heading > .m8lp215-topup-actions { flex-wrap: wrap; justify-content: flex-end; margin-inline-start: auto; min-width: 0; }
.ding-quote-panel > a.ding-btn.m8lp215-primary { gap: 8px; }
@media (max-width: 700px) {
  .m8lp215-button { min-height: 44px; }
  .temp-main .temp-address-identity:has(.m8lp215-button) { flex: 1 1 100%; width: 100%; }
  .temp-main .temp-address-card:has(.m8lp215-button) { flex-wrap: wrap; }
  .m8lp215-heading:has(> .m8lp215-button) { align-items: flex-start; }
  .home-upload-main .home-upload-heading.m8lp215-file-heading:has(> .m8lp215-button) { flex-direction: row; }
  .m8lp215-fb-heading > .m8lp215-button, .ding-simple-heading > .m8lp215-topup-actions { margin-inline-start: 0; }
  .ding-simple-heading > .m8lp215-topup-actions { justify-content: flex-start; }
}
.m8lp214-context, .m8lp214-quota, .m8lp214-uid-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 4px 12px;
}
.m8lp214-lifetime { color: var(--muted); font-size: 13px; }
.ding-quote-panel > a.ding-btn.m8lp215-primary { min-width: 0; max-width: 100%; white-space: normal; }
.m8lp214-mail-create { justify-content: center; }
.m8lp214-mail-toolbar { flex-wrap: wrap; }
.m8lp214-mail-actions { margin-inline-start: auto; }
.fb-main .fb-guest-quota.m8lp214-quota { margin: 8px 0 0; padding: 0; border: 0; background: transparent; border-radius: 0; }
.m8lp214-uid-meta { justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }
.m8lp214-uid-meta .m8uid-count { margin-top: 0; margin-inline-start: auto; }
@media (max-width: 700px) {
  .m8lp214-mail-actions { margin-inline-start: 0; }
  .m8lp214-mail-create { gap: 4px 12px; }
  .m8lp214-uid-meta:has(.m8lp214-uid-limit) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; }
  .m8lp214-uid-meta .m8lp214-uid-limit { grid-row: 1; grid-column: 1; }
  .m8lp214-uid-meta:has(.m8lp214-uid-limit) .m8uid-count { grid-row: 1; grid-column: 2; }
}
