:root {
  color-scheme: light;
  --ink: #294b48;
  --brand: #407675;
  --hairline: #b6c7c1;
  font: 16px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;
  color: var(--ink);
  background: #f8f7f2;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: max(24px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom)); }
main { width: min(100%, 390px); }
.wordmark { color: var(--brand); font: 500 clamp(34px,9vw,46px)/1.2 Georgia,"Times New Roman",serif; letter-spacing: .14em; margin: 0 0 32px; }
h1 { font-size: 1.45rem; font-weight: 600; margin: 0 0 28px; }
label { display: block; margin-bottom: 6px; font-size: .93rem; font-weight: 550; }
input,button { font: inherit; width: 100%; border-radius: 12px; min-height: 48px; }
input { background: white; border: 1px solid var(--hairline); color: var(--ink); padding: 8px 12px; }
button { cursor: pointer; margin-top: 18px; background: var(--brand); color: #fff; border: 0; padding: 8px 12px; font-weight: 600; }
button:disabled { opacity: .62; cursor: wait; }
input:focus-visible,button:focus-visible { outline: 2px solid #154e50; outline-offset: 3px; }
.text-button { background: transparent; color: var(--brand); text-decoration: underline; font-size: .9rem; margin-top: 5px; }
#status { min-height: 1.6em; font-size: .9rem; }
#sent-to { font-size: .9rem; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
