.notes-home,.notes-compose{min-width:0;color:var(--ink);overflow-wrap:anywhere}
.notes-home{margin:20px 0}.notes-compose{width:100%;max-width:540px;margin:0 auto}
.notes-card{border:1px solid var(--line);border-radius:22px;background:var(--card);padding:20px;margin:12px 0;min-width:0}
.notes-card h2{font-size:1.1rem;margin:0 0 10px}.notes-card p{white-space:pre-wrap;line-height:1.6}
.notes-home button,.notes-compose button{min-height:44px;max-width:100%;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--ink);font:inherit;white-space:normal}
.notes-actions{display:flex;flex-wrap:wrap;gap:8px}.notes-actions button{flex:1 1 auto}
.notes-compose form,.notes-home form,.notes-compose label,.notes-home label{display:grid;gap:10px;min-width:0}
.notes-home form{margin-top:14px}.notes-home [hidden]{display:none}
.notes-compose select,.notes-compose textarea,.notes-home textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit}
.notes-compose textarea,.notes-home textarea{resize:vertical;min-height:6em;font-size:16px}.notes-compose select{white-space:normal}
.notes-compose p{line-height:1.6}.notes-status{font-size:.85rem;color:var(--muted)}
.notes-home :focus-visible,.notes-compose :focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.notes-home button:disabled,.notes-compose button:disabled{opacity:1;background:var(--surface);color:var(--muted)}
.notes-compose textarea::placeholder,.notes-home textarea::placeholder{color:var(--muted);opacity:1}

.notes-card .notes-invite-text,.notes-card .notes-thanks{font-size:1.25rem}
.notes-actions button{min-height:48px;font-size:1.05rem}
.notes-card[data-notes-own]{padding:24px}
.notes-card .notes-reply-name{font-family:var(--font-body);font-size:1rem;font-weight:400;color:var(--muted)}
.notes-card .notes-reply-answer{font-family:var(--font-display);font-size:1.6rem;color:var(--ink)}

.notes-card .notes-reply-question{color:var(--muted);font-size:.9rem;font-style:italic}
.notes-reply-question>span{font-size:.75rem;font-style:normal;text-transform:uppercase;letter-spacing:.08em}

.notes-counter{font-size:12px;color:var(--muted)}

.notes-card[data-open-row]{cursor:pointer}
.notes-open{display:block;margin-top:12px;font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
