:root {
  --accent: #2f7d5b; --ink: #1d221f; --muted: #5d6660; --line: #dfe3de; --bg: #f3f5f2; --card: #fff;
  --danger: #b3261e; --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: transparent; }
body.page { background: var(--bg); padding: 24px 16px; }
main { max-width: 560px; margin: 0 auto; }
h1 { font-size: 1.4rem; margin: 0 0 8px; line-height: 1.25; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
.org { color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.embedded .card { border: 0; padding: 4px 2px; background: transparent; }
.embedded .org { display: none; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text] {
  font: inherit; width: 100%; padding: 10px 12px; border: 1px solid #c8cec7; border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px; font-size: 16px;
}
.field { margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; background: #fff; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check b { display: block; }
.check small { color: var(--muted); display: block; font-size: .88rem; }
.consent { border: 0; padding: 4px 0; background: none; font-size: .92rem; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
button {
  font: inherit; cursor: pointer; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600;
  padding: 10px 20px; min-height: 46px; touch-action: manipulation;
}
button:hover { filter: brightness(1.08); }
button.secondary { background: #fff; color: var(--ink); border-color: #c8cec7; }
button.danger { background: var(--danger); border-color: var(--danger); }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.notice { padding: 12px 14px; border-radius: 8px; margin: 0 0 14px; }
.notice.err { background: #f6e3e1; color: #8a2c24; }
.notice.ok { background: #e3f1ea; color: #1f6847; }
.notice.info { background: var(--bg); color: var(--muted); }
.success { text-align: center; padding: 12px 0; }
.success .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 30px; line-height: 56px; margin: 0 auto 12px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
