/* Email chooser (assets/js/mailto.js). Khaki #4B5148, blush and cream to match the site. */
.pfn-mail[hidden] { display: none; }
.pfn-mail { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pfn-mail__backdrop { position: absolute; inset: 0; background: rgba(46, 50, 44, .62); }
.pfn-mail__box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 30px 26px 24px; background: #fffaf7; border-top: 4px solid #4B5148; border-radius: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif); color: #3a3d38; outline: 0; }
.pfn-mail__x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: #4B5148; cursor: pointer; }
.pfn-mail__title { margin: 0 0 6px; font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif); font-size: 24px; font-weight: 400; color: #2e322c; }
.pfn-mail__to { margin: 0; font-size: 16px; font-weight: 700; word-break: break-all; }
.pfn-mail__subj { margin: 4px 0 0; font-size: 14px; font-style: italic; color: #6B6366; }
.pfn-mail__subj:empty { display: none; }
.pfn-mail__list { display: grid; gap: 8px; margin-top: 18px; }
.pfn-mail__opt { display: flex; flex-direction: column; gap: 2px; box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 16px; border: 1px solid #c9c3bd; border-radius: 4px; background: #fff; color: #2e322c; font: inherit; font-size: 16px; text-align: left; text-decoration: none; cursor: pointer; }
.pfn-mail__opt span { font-size: 13px; color: #6B6366; }
.pfn-mail__opt:first-child { background: #4B5148; border-color: #4B5148; color: #fff; }
.pfn-mail__opt:first-child span { color: #e4e6e1; }
.pfn-mail__opt:hover, .pfn-mail__opt:focus-visible { border-color: #F69DBD; box-shadow: 0 0 0 2px #F69DBD; }
.pfn-mail__status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #4B5148; text-align: center; }
html.pfn-mail-open { overflow: hidden; }
@media (max-width: 480px) { .pfn-mail { align-items: flex-end; padding: 0; } .pfn-mail__box { width: 100%; border-radius: 12px 12px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: no-preference) { .pfn-mail__box { animation: pfn-mail-in .18s ease-out; } @keyframes pfn-mail-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
