.support-page { margin:0; background:#faf9f7; color:#302c28; }
.support-page *, .support-page *::before, .support-page *::after { box-sizing:border-box; }
.support-main { width:min(1040px,calc(100% - 48px)); margin:36px auto 48px; }
.support-heading { margin-bottom:26px; }
.support-heading h1 { margin:0 0 10px; font-size:28px; line-height:1.35; }
.support-heading p, .support-section-heading p { margin:0; font-size:15px; color:#777068; line-height:1.7; }
.support-card { padding:28px; margin-top:20px; border:1px solid #ebe7e1; border-radius:18px; background:#fff; }
.support-card h2 { margin:0 0 10px; font-size:21px; line-height:1.4; }
.support-card h3 { margin:0 0 8px; font-size:16px; }
.support-card p { font-size:15px; line-height:1.85; color:#6e675f; }
.support-eyebrow { margin:0 0 12px; color:#97521d!important; font-weight:600; }
.about-story>p:not(.support-eyebrow) { max-width:760px; }
.about-principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:28px; padding-block:24px; border-top:1px solid #eeeae5; }
.about-principles p { margin:0; font-size:14px; }
.support-actions { display:flex; gap:22px; align-items:center; }
.support-primary,.support-secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 18px; border-radius:10px; font:600 14px/1.4 var(--site-font); cursor:pointer; text-decoration:none; }
.support-primary { color:white; background:#a05a28; border:1px solid #a05a28; }
.support-primary:hover { background:#86481e; }
.support-secondary { background:white; color:#6a5646; border:1px solid #e2dcd5; }
.support-secondary:hover { background:#f8f5f0; }
.support-primary:disabled,.support-secondary:disabled { cursor:default; opacity:.5; }
.support-link,.support-card a:not(.support-primary):not(.support-secondary) { color:#98511b; }
button.support-link { background:none; border:0; padding:5px; cursor:pointer; font:inherit; }
.support-updated,.support-muted { color:#8c8277; font-size:13px; line-height:1.65; }
.policy-sections section+section { margin-top:24px; padding-top:24px; border-top:1px solid #f0ece7; }
.policy-sections p { margin:0; }
.support-section-nav { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.support-section-nav a { display:flex; align-items:center; gap:6px; border-radius:9px; padding:9px 15px; background:#fff; border:1px solid #e8e2db; color:#645a50; text-decoration:none; font-size:14px; }
.support-section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:18px; }
.support-section-heading h2 { margin:0 0 5px; }
.help-faq details { border-top:1px solid #eeeae5; padding:15px 0; }
.help-faq details:last-child { padding-bottom:0; }
.help-faq summary { cursor:pointer; font-weight:500; font-size:15px; }
.help-faq p { margin:12px 0 0; }
.support-card[id] { scroll-margin-top:24px; }
.support-login { font-size:14px!important; margin:12px 0; }
#supportFeedbackForm fieldset { margin:0; border:0; padding:0; min-width:0; }
#supportFeedbackForm label:not(.support-secondary) { display:block; margin:0 0 8px; font-size:14px; font-weight:600; }
.feedback-form-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:12px; }
#feedbackCategory { display:block; margin-top:8px; min-width:200px; }
#supportFeedbackForm select,#supportFeedbackForm textarea { padding:11px 13px; color:#534d46; background:#fff; border:1px solid #ded6ce; border-radius:9px; font-size:14px; line-height:1.6; }
#feedbackMessage { width:100%; resize:vertical; min-height:120px; }
.support-required { color:#a35427; font-size:12px; margin-left:6px; font-weight:400; }
.feedback-form-bottom { margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.feedback-upload { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.feedback-upload label { margin:0; }
.support-status { font-size:13px!important; color:#827466; margin:12px 0 0; min-height:20px; }
.support-status.is-error { color:#af3c2a!important; }
#feedbackSubmitStatus { padding:12px 15px; margin:0 0 20px; border-radius:10px; font-size:14px!important; background:#f7f4ef; }
#feedbackSubmitStatus[data-state="success"] { color:#356546; background:#eef6ef; }
#feedbackSubmitStatus[data-state="pending"] { color:#805529; background:#faf3e9; }
#feedbackSubmitStatus.is-error { background:#fff1ec; }
.feedback-success-dialog { width:min(440px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:32px 28px 26px; border:1px solid #e6dfd5; border-radius:18px; text-align:center; color:#302c28; box-shadow:0 18px 70px rgba(50,40,30,.16); }
.feedback-success-dialog::backdrop { background:rgba(38,32,26,.35); }
.feedback-success-close { position:absolute; top:10px; right:12px; width:32px; height:32px; border:0; border-radius:8px; background:transparent; color:#81756a; font-size:23px; cursor:pointer; }
.feedback-success-icon { display:grid; place-items:center; width:52px; height:52px; margin:0 auto 16px; border-radius:50%; background:#eef6ef; color:#477452; font-size:27px; }
.feedback-success-dialog h2 { margin:0 0 12px; font-size:23px; line-height:1.4; }
.feedback-success-dialog p { margin:0; color:#786f65; font-size:14px; line-height:1.85; }
.feedback-success-actions { display:flex; justify-content:center; gap:12px; margin-top:24px; }
.my-feedback-list { display:grid; gap:12px; }
.my-feedback-item { display:flex; justify-content:space-between; gap:20px; align-items:center; border-top:1px solid #eeeae5; padding:18px 0 0; }
.my-feedback-item p { margin:7px 0 0; max-width:660px; overflow-wrap:anywhere; }
.my-feedback-item strong { font-size:14px; }
.my-feedback-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.feedback-state { font-size:12px; color:#89745e; background:#f5f1eb; padding:4px 9px; border-radius:8px; margin-left:10px; }
.support-count,.feedback-unread { background:#a45b2a; border-radius:6px; color:#fff; font-size:12px; padding:2px 6px; }
.feedback-unread { display:inline-block; margin-left:8px; }
.feedback-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; }
.feedback-pagination>div { display:flex; gap:8px; }
.contact-methods { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.contact-method { background:#faf8f5; border-radius:12px; padding:18px; min-width:0; }
.contact-method p { margin:8px 0; overflow-wrap:anywhere; }
.contact-method img { max-width:140px; width:100%; height:auto; }
.support-footer { width:min(1040px,calc(100% - 48px)); margin:0 auto 30px; display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; border-top:1px solid #e9e3dc; padding-top:20px; color:#93877b; font-size:13px; }
.support-footer nav { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; order:-1; }
.support-footer a { color:#786c60; text-decoration:none; }
.user-feedback-dialog { width:min(720px,calc(100% - 32px)); max-height:calc(100dvh - 40px); border:1px solid #e4dcd2; border-radius:18px; padding:24px; color:#403930; }
.user-feedback-dialog::backdrop { background:rgba(38,32,26,.35); }
.user-feedback-dialog>header { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:20px; }
.user-feedback-dialog h2 { font-size:21px; margin:0 0 6px; }
.feedback-thread { display:grid; gap:16px; }
.feedback-thread article { padding:18px; border-radius:12px; background:#f7f4f0; }
.feedback-thread .staff-reply { background:#f2f6f2; }
.feedback-thread p { white-space:pre-wrap; overflow-wrap:anywhere; margin:10px 0 0; font-size:14px; line-height:1.8; }
.feedback-thread img { max-width:100%; max-height:260px; margin-top:14px; border-radius:8px; object-fit:contain; }
.support-page :is(a,button,input,textarea,select,summary):focus-visible { outline:2px solid #ad6837; outline-offset:3px; }
.support-page [hidden] { display:none!important; }
@media(max-width:720px) {
 .support-main { width:calc(100% - 32px); margin-top:26px; }
 .support-heading h1 { font-size:26px; }
 .support-card { padding:20px; }
 .about-principles,.contact-methods { grid-template-columns:1fr; gap:18px; }
 .support-section-heading { align-items:flex-start; gap:12px; }
 .support-section-heading .support-link { font-size:13px; white-space:nowrap; }
 .my-feedback-item { align-items:flex-start; }
 .my-feedback-item button { flex-shrink:0; padding:9px 11px; }
 .support-footer { width:calc(100% - 32px); flex-direction:column; gap:14px; }
 .feedback-form-top { flex-wrap:wrap; }
 .user-feedback-dialog { padding:18px; }
 .feedback-upload { gap:8px; }
}
/* Contact separates new questions and ongoing conversations with tabs. */
.contact-main { max-width:1040px; }
.contact-hero { display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:172px;margin:0 8px 22px; }
.contact-eyebrow { color:#a1653b;font-size:12px;margin:0 0 10px;letter-spacing:.06em; }
.contact-hero h1 { margin:0 0 12px;font-size:30px;line-height:1.3;letter-spacing:-.02em; }
.contact-hero p:not(.contact-eyebrow) { margin:0;font-size:15px;line-height:1.85;color:#797169; }
.contact-hero-art { width:285px;height:160px;flex-shrink:0; }
.contact-main .support-card { border-color:#eeeae4;box-shadow:0 5px 22px #58442b04;padding:28px 32px;margin-top:22px; }
.contact-main .support-section-heading { justify-content:flex-start;gap:16px;margin-bottom:24px; }
.contact-main .support-card h2 { font-size:20px;margin-bottom:5px; }
.contact-section-icon { display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:14px;background:#fbf1e6;color:#a15d2c; }
.contact-section-icon svg { width:26px;height:26px; }
.contact-main .feedback-form-top { margin-bottom:22px; }
.contact-main #feedbackCategory { width:260px;min-width:0; }
.contact-main #feedbackMessage { min-height:145px; }
.contact-main #submitFeedback { min-width:160px;min-height:44px; }
.contact-main .contact-methods { grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.contact-method { display:flex;gap:18px;align-items:flex-start;padding:24px;background:#fcf7f1; }
.contact-method[data-channel="qq"] { background:#f3f7fb; }
.contact-channel-icon { display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:13px;background:#f5e7d6;color:#a76635;font-size:24px;font-weight:500; }
[data-channel="qq"] .contact-channel-icon { background:#e4eef7;color:#507c9f;font-size:21px; }
.contact-method-content { min-width:0; }
.contact-method .contact-channel-description { font-size:13px;color:#8b8177;margin:0 0 10px;line-height:1.5; }
.contact-method .contact-channel-value { font-size:15px;color:#39342e;line-height:1.6;margin:0 0 14px; }
.contact-channel-actions { display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px; }
.contact-channel-actions .support-secondary { min-height:36px;font-size:12px;padding:7px 12px;background:#ffffffc9; }
.contact-main #feedbackLogin { padding:12px 16px;border-radius:9px;background:#f8f5ef; }
@media(max-width:720px){
 .contact-hero { min-height:0;gap:10px;margin:0 2px 24px; }
 .contact-hero h1 { font-size:27px; }
 .contact-hero-art { width:140px;height:100px; }
 .contact-main .support-card { padding:22px; }
 .contact-main .contact-methods { grid-template-columns:1fr; }
 .contact-main .feedback-form-bottom { align-items:stretch;gap:18px; }
 .contact-main #submitFeedback { width:100%; }
 .contact-main #feedbackCategory { width:100%; }
 .contact-main .feedback-form-top>label { width:100%; }
 .contact-method { padding:22px 18px;gap:14px; }
}
@media(max-width:440px){ .contact-hero-art { display:none; } .contact-main .support-section-heading { gap:12px; } .contact-section-icon { width:40px;height:40px; } }
/* New questions and ongoing conversations share one calm, full-width workspace. */
.contact-tabs { display:flex;gap:28px;border-bottom:1px solid #eee8e0;margin:0 0 24px; }
.contact-tabs button { display:flex;align-items:center;gap:7px;position:relative;min-height:46px;padding:0 0 12px;border:0;background:none;color:#8b7f72;font:500 14px/1.5 var(--site-font);cursor:pointer; }
.contact-tabs button[aria-selected="true"] { color:#9b5627;font-weight:600; }
.contact-tabs button[aria-selected="true"]::after { content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#a56330;border-radius:2px; }
.contact-unread { display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#d84a3a;color:#fff;font:600 11px/1 sans-serif; }
.contact-history-heading,.contact-conversation-heading { display:flex;justify-content:space-between;align-items:center;gap:18px; }
.contact-history-heading>p { margin:0;font-size:14px; }
.contact-feedback-item { display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid #eee9e2; }
.contact-feedback-item:last-child { border-bottom:0; }
.contact-feedback-item>div { min-width:0; }
.contact-feedback-item>button { flex-shrink:0; }
.contact-feedback-item-heading { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.contact-feedback-item strong { font-size:15px; }
.contact-feedback-item .feedback-state { margin:0; }
.contact-feedback-item p { margin:8px 0;color:#625a50;font-size:14px;line-height:1.75; }
.contact-new-reply { color:#bd4935;font-size:12px;font-weight:600; }
.contact-feedback-empty { text-align:center;padding:44px 16px; }
.contact-feedback-empty p { font-size:14px!important; }
.contact-conversation { scroll-margin-top:24px; }
.contact-conversation-heading { align-items:flex-start;margin-bottom:18px; }
.contact-conversation-heading h3 { margin:9px 0 5px;font-size:18px!important; }
.contact-conversation-heading p { margin:0;font-size:12px!important; }
.contact-conversation-heading .support-link { padding:0;font-size:13px; }
.contact-messages { max-height:440px;min-height:140px;overflow-y:auto;padding:18px;background:#faf9f6;border-radius:12px;display:flex;flex-direction:column;gap:16px;scrollbar-gutter:stable; }
.contact-message { width:92%;padding:16px 18px;border:1px solid #eee9e1;background:white;border-radius:12px;flex-shrink:0; }
.contact-message.user-message { align-self:flex-end; }
.contact-message.staff-reply { align-self:flex-start;background:#f1f6f1;border-color:#e4ece3; }
.contact-message-heading { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.contact-message-heading strong { font-size:13px;color:#665342; }
.contact-message-heading time { font-size:11px;color:#9a8d7e;white-space:nowrap; }
.contact-message p { margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px!important;line-height:1.8!important;color:#514c45; }
.contact-message img { max-width:100%;max-height:240px;object-fit:contain;border-radius:8px;margin-top:14px; }
.contact-reply-form { margin-top:22px;padding-top:20px;border-top:1px solid #eee9e1; }
.contact-reply-form fieldset { border:0;padding:0;margin:0;min-width:0; }
.contact-reply-form label { display:block;margin-bottom:9px;font-size:14px;font-weight:600; }
.contact-reply-form textarea { width:100%;min-height:90px;padding:12px 14px;border:1px solid #ded6ce;border-radius:9px;resize:vertical;background:#fff;color:#534d46;font:14px/1.7 var(--site-font); }
.contact-reply-footer { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px; }
.contact-reply-footer button { min-width:150px; }
@media(max-width:720px){
 .contact-tabs { gap:22px; }.contact-tabs button { font-size:13px; }
 .contact-feedback-item { gap:14px;align-items:flex-start; }.contact-feedback-item>button { padding:9px 10px;font-size:12px; }
 .contact-conversation-heading { gap:12px; }.contact-conversation-heading>button { padding:9px 10px;font-size:12px;flex-shrink:0; }
 .contact-messages { padding:12px;max-height:380px; }.contact-message { width:96%;padding:13px; }
 .contact-message-heading { flex-wrap:wrap;gap:5px; }
 .contact-reply-footer { flex-wrap:wrap;gap:12px; }.contact-reply-footer button { width:100%; }
}

.contact-conversation-heading p.contact-conversation-summary { font-size:14px!important;color:#62594e;line-height:1.7;margin:6px 0!important;max-width:680px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere; }
