:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #242b34; background: #fff; font-synthesis: none; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 260px; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, textarea, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid #2775d5; outline-offset: 3px; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.7; }
.header { height: 66px; border-bottom: 1px solid #e8eaed; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand, .header-actions { display: flex; align-items: center; gap: 10px; }
.brand { font-size: 16px; font-weight: 650; white-space: nowrap; }
.brand-icon { width: 30px; height: 30px; display: grid; place-items: center; color: #2373d2; background: #eaf2ff; border-radius: 6px; }
.badge { font-size: 11px; color: #68727c; white-space: nowrap; }
.badge.ready { color: #24805b; }
.icon-button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #7a838d; display: grid; place-items: center; border-radius: 4px; flex: 0 0 32px; }
.icon-button:hover { background: #f0f3f6; color: #242b34; }
main { max-width: 620px; margin: 0 auto; padding: 0 24px; }
.demo-banner { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: #85611c; background: #fff8e5; border-left: 2px solid #d7ac4c; padding: 10px 12px; font-size: 12px; line-height: 1.6; }
.account { display: flex; align-items: center; gap: 12px; padding: 25px 0; }
.avatar { width: 40px; height: 40px; background: #eff2f5; display: grid; place-items: center; border-radius: 6px; color: #707b89; flex-shrink: 0; }
.avatar svg { width: 21px; height: 21px; }
.account-details { min-width: 0; flex: 1; }
.eyebrow { display: block; font-size: 11px; color: #8a919a; margin-bottom: 5px; }
strong { font-size: 13px; font-weight: 550; display: block; overflow-wrap: anywhere; }
.destination { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }
.destination > svg { color: #2775d5; }
.destination > div { flex: 1; min-width: 0; }
.context-dot, .footer-dot { width: 6px; height: 6px; border-radius: 50%; background: #c6cdd3; flex-shrink: 0; }
.context-dot.ready { background: #39a477; }
form { padding: 27px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; font-size: 13px; }
.section-heading label, h2 { font-size: 13px; font-weight: 600; margin: 0; }
.type-label, #send-count { font-size: 11px; color: #8b929b; }
.editor { border: 1px solid #dfe4ea; border-radius: 6px; overflow: hidden; transition: border-color .15s; }
.editor:focus-within { border-color: #4388de; box-shadow: 0 0 0 2px #eaf2ff; }
textarea { width: 100%; height: 184px; display: block; resize: vertical; min-height: 130px; max-height: 380px; padding: 14px; border: none; outline: none; background: #fff; color: #303a45; font-size: 14px; line-height: 1.8; }
textarea::placeholder { color: #a3aab4; }
textarea:disabled { background: #fafbfc; }
.editor-footer { height: 36px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; color: #9ca4ae; font-size: 11px; background: #fafbfc; border-top: 1px solid #f1f3f5; }
#counter.over-limit { color: #c53b43; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: 12px; color: #717b87; }
input[type="checkbox"] { width: 14px; height: 14px; accent-color: #2677d9; margin: 0; }
.feedback { display: flex; gap: 8px; align-items: flex-start; min-height: 47px; padding: 9px 0 12px; font-size: 12px; line-height: 1.7; color: #7b8591; overflow-wrap: anywhere; }
.feedback svg { width: 15px; height: 15px; margin-top: 3px; }
.feedback.error { color: #bd3b45; }
.feedback.success { color: #25825d; }
.send-button, .login-button { min-height: 42px; width: 100%; border: 1px solid transparent; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; font-size: 13px; }
.send-button { background: #2476d4; color: #fff; }
.send-button:hover:not(:disabled) { background: #1b65bb; }
.send-button:disabled { background: #eaf0f7; color: #9aaec6; }
.login-button { background: #fff; color: #2476d4; border-color: #cbdcf0; margin-bottom: 10px; }
.activity { padding: 22px 0 16px; border-top: 1px solid #edf0f2; }
.empty-record { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #a1a9b2; font-size: 12px; }
ol { margin: 0; padding: 0; list-style: none; }
.record { padding: 12px 0; border-bottom: 1px solid #edf0f2; }
.record p { margin: 0 0 7px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.record small { display: flex; justify-content: space-between; gap: 12px; color: #8a949f; font-size: 11px; }
.record-status { color: #24805b; }
footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 20px 24px; color: #a7afb8; font-size: 10px; }
@media (min-width: 780px) { .header { padding: 0 32px; } main { padding-top: 15px; } textarea { height: 205px; } }
@media (max-width: 340px) { .header { padding: 0 14px; } main { padding-left: 16px; padding-right: 16px; } .header-actions { gap: 3px; } }
