:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17352a; background: #edf3ee; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.page-shell { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.card { width: min(100%, 580px); background: #fffefa; border: 1px solid #dbe6dc; border-radius: 24px; padding: clamp(24px, 6vw, 40px); box-shadow: 0 12px 35px rgba(22, 65, 46, .12); }
.brand-logo { display: block; width: 118px; height: 145px; margin: -5px auto 14px; object-fit: contain; }
.eyebrow { margin: 0 0 10px; color: #5b806d; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; }
.intro { margin: 12px 0 30px; color: #4d6258; line-height: 1.5; }
.section { border: 0; margin: 0 0 27px; padding: 0; }
legend, label { display: block; margin-bottom: 11px; font-weight: 700; }
.optional, .hint, .privacy-note { color: #68786f; font-size: .85rem; font-weight: 400; }
.rating-control { display: flex; gap: 7px; }
.star-button { width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: #b9c4b5; font-size: 2.25rem; line-height: 1; cursor: pointer; }
.star-button.is-selected, .star-button:hover { color: #e3aa36; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-button { border: 1px solid #b8ccbc; border-radius: 999px; padding: 9px 13px; color: #315a45; background: #fffefa; font: inherit; cursor: pointer; }
.tag-button[aria-pressed="true"] { border-color: #1f6b4b; color: #fff; background: #1f6b4b; }
textarea { width: 100%; resize: vertical; border: 1px solid #bdcdbf; border-radius: 12px; padding: 12px; color: #17352a; background: #fff; font: inherit; line-height: 1.45; }
textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid #d99925; outline-offset: 2px; }
.hint { margin: 7px 0 0; text-align: right; }
.form-message { min-height: 1.3em; margin: -10px 0 14px; color: #a33d22; font-size: .9rem; }
button, .google-link, .secondary-button { min-height: 48px; border-radius: 12px; padding: 12px 16px; font: inherit; font-weight: 750; cursor: pointer; text-align: center; text-decoration: none; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 1px solid #1c6345; color: #fff; background: #1f6b4b; }
.primary-button:hover { background: #15553a; }
.primary-button:disabled { cursor: wait; opacity: .65; }
.draft-section { margin-top: 30px; padding-top: 27px; border-top: 1px solid #dbe6dc; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
h2 { margin: 0 0 11px; font-size: 1.15rem; }
.text-button { min-height: auto; border: 0; padding: 4px; color: #1b6546; background: transparent; text-decoration: underline; }
.draft-actions { display: grid; grid-template-columns: 1fr; margin-top: 12px; }
.secondary-button { border: 1px solid #1f6b4b; color: #1f6b4b; background: #fffefa; }
.direct-google-link { display: block; width: 100%; margin-top: 10px; }
.privacy-note { margin: 30px 0 0; line-height: 1.45; text-align: center; }
.copy-modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(19, 44, 33, .58); }
.copy-modal[hidden] { display: none; }
.copy-modal-card { width: min(100%, 390px); padding: 30px 24px 24px; border-radius: 22px; background: #fffefa; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .25); animation: modal-enter .28s ease-out both; }
.copy-modal-card h2 { margin: 13px 0 8px; font-family: Georgia, serif; font-size: 1.7rem; }
.copy-modal-card p { margin: 0 0 21px; color: #4d6258; line-height: 1.5; }
.copy-modal-card .redirect-note { margin: -8px 0 18px; color: #1f6b4b; font-size: .9rem; font-weight: 700; }
.success-animation { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto; border-radius: 50%; background: #e2f1e5; }
.success-check { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: #1f6b4b; font-size: 2rem; font-weight: 800; animation: check-pop .46s .08s cubic-bezier(.2, 1.45, .5, 1) both; }
.success-spark { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #dfa636; animation: sparkle .8s .2s ease-out both; }
.spark-one { top: 3px; right: 9px; }.spark-two { bottom: 9px; right: -1px; animation-delay: .3s; }.spark-three { top: 18px; left: -3px; animation-delay: .38s; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes check-pop { from { opacity: 0; transform: scale(.3) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes sparkle { from { opacity: 0; transform: scale(.2); } 40% { opacity: 1; transform: scale(1.2); } to { opacity: 0; transform: scale(.8); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 390px) { .star-button { width: 42px; height: 42px; font-size: 2rem; } .draft-actions { grid-template-columns: 1fr; } }
