:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #18372a; background: #f6f9f6; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: #167449; text-underline-offset: 4px; }
button, input { font: inherit; }
button, .button { cursor: pointer; }
.brand { padding: 28px 40px; }
.brand a { display: inline-flex; align-items: baseline; gap: 16px; font-size: 24px; font-weight: 720; text-decoration: none; color: #173b29; }
.brand span { font-size: 13px; font-weight: 400; color: #65786d; }
main { width: min(100% - 40px, 460px); margin: 40px auto 48px; }
.auth-panel { background: #fff; border: 1px solid #dfe9e1; border-radius: 22px; padding: 34px; box-shadow: 0 12px 40px #24472c08; }
.eyebrow { margin: 0 0 10px; color: #46765b; font-size: 12px; font-weight: 650; letter-spacing: 1.4px; }
h1 { margin: 0; font-size: 28px; line-height: 1.35; letter-spacing: -.6px; }
.intro { color: #63776c; font-size: 15px; line-height: 1.7; margin: 12px 0 26px; }
.auth-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e1e9e3; margin-bottom: 24px; }
.auth-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; background: none; color: #617569; }
.auth-tabs button[aria-pressed="true"] { border-bottom-color: #19764a; color: #196c44; font-weight: 600; }
form { display: flex; flex-direction: column; gap: 10px; }
label { font-size: 14px; font-weight: 560; }
label:not(:first-child) { margin-top: 10px; }
input { width: 100%; height: 46px; border: 1px solid #cad8ce; border-radius: 10px; padding: 10px 12px; color: #18372a; background: #fff; }
button, .button { min-height: 44px; border-radius: 10px; padding: 10px 16px; font-size: 15px; line-height: 1.45; }
.primary { display: block; text-align: center; text-decoration: none; background: #167347; color: white; border: 1px solid #167347; font-weight: 580; }
form > button { margin-top: 14px; }
.primary:hover { background: #105e39; }
.secondary { color: #24513a; border: 1px solid #bed1c4; background: #f6faf7; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #8dbb9d; outline-offset: 3px; }
.optional, small, .help { color: #677b6e; font-weight: 400; font-size: 13px; line-height: 1.7; }
.optional { margin-left: 6px; }
#message { border-radius: 10px; background: #fff5db; color: #7b530c; padding: 12px 14px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; margin: 0 0 22px; }
#message[data-kind="success"] { background: #eaf5ed; color: #226640; }
#loading { color: #65786d; font-size: 14px; }
.account-summary { padding: 18px 0 22px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid #e3ebe5; margin-bottom: 22px; }
.account-summary span { color: #667b6d; font-size: 13px; }
.account-summary strong { font-size: 20px; overflow-wrap: anywhere; }
#device-description { font-size: 14px; line-height: 1.7; }
.account-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid #e3ebe5; margin-top: 24px; font-size: 13px; }
.account-actions button { color: #63776b; background: none; border: 0; font-size: 13px; padding: 8px 0; }
h2 { font-size: 16px; margin: 0 0 8px; }
.device-list { list-style: none; padding: 0; margin: 14px 0 24px; }
.device-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e4ebe5; font-size: 14px; }
.device-list li span { overflow-wrap: anywhere; }
.device-list button { flex-shrink: 0; background: #f5f9f6; border: 1px solid #d4e1d8; color: #365e45; font-size: 13px; }
details { border-top: 1px solid #e3ebe5; padding-top: 18px; }
summary { cursor: pointer; font-size: 14px; font-weight: 550; }
.privacy-note { margin: 22px 16px 0; text-align: center; color: #65776c; font-size: 12px; line-height: 1.8; }
@media (max-width: 520px) { .brand { padding: 24px; } .brand span { display: none; } main { margin-top: 18px; } .auth-panel { padding: 26px 24px; border-radius: 18px; } h1 { font-size: 26px; } }

select,textarea { font:inherit; width:100%; border:1px solid #cad8ce; border-radius:10px; padding:10px 12px; color:#18372a; background:#fff; min-height:46px; }
textarea { line-height:1.7; resize:vertical; }
.feedback-main { width:min(100% - 40px,680px); }
.checkbox-label { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.7; font-weight:400; margin-top:12px; }
.checkbox-label input { width:17px; height:17px; margin:3px 0 0; flex-shrink:0; accent-color:#167347; }
.feedback-history { margin-top:36px; padding-top:24px; border-top:1px solid #dfe9e1; }
.feedback-history details { margin-top:16px; padding:16px 0 0; }
.feedback-history summary { line-height:1.7; overflow-wrap:anywhere; }
.feedback-body,.feedback-reply p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; line-height:1.8; }
.feedback-reply { border-left:2px solid #c4dcca; padding-left:16px; margin:22px 0; }
.feedback-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; font-size:12px; }
.feedback-pagination button { font-size:12px; padding:7px 12px; min-height:36px; }
