.support-page { max-width: 1440px; margin-inline: auto; padding-bottom: 100px; }
.support-page[hidden], .support-account[hidden] { display: none; }
.support-account { max-width: 680px; margin: 48px auto; padding: 40px; border: 1px solid #dedfd9; border-radius: 24px; background: #fff; box-shadow: 0 15px 45px rgba(11,12,16,.045); }
.support-account h2 { margin: 14px 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -.05em; }
.support-account p { max-width: 490px; margin: 0 0 24px; color: #656872; font-size: 15px; line-height: 1.6; }
@media (max-width: 600px) { .support-account { margin: 20px auto; padding: 28px 24px; } .support-account .button { width: 100%; } }
.support-intro { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: end; gap: 28px; min-height: 260px; margin-bottom: 24px; padding: 36px 40px; overflow: hidden; border-radius: 28px; color: #fff; background: #0b0c10; }
.support-intro::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 67% 10%, rgba(216,208,255,.38), transparent 36%), radial-gradient(circle at 91% 94%, rgba(241,240,156,.22), transparent 32%), radial-gradient(rgba(255,255,255,.12) .7px, transparent .7px); background-size: auto, auto, 12px 12px; opacity: .85; }
.support-intro::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; top: -210px; right: 18%; border-radius: 50%; background: rgba(216,208,255,.28); filter: blur(70px); }
.support-eyebrow, .support-overline { display: inline-flex; align-items: center; gap: 8px; color: #78758c; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.support-eyebrow { color: #d8d0ff; }
.support-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #f1f09c; box-shadow: 0 0 0 4px rgba(241,240,156,.14); }
.support-intro h2 { margin: 18px 0 10px; font-size: clamp(30px, 4vw, 52px); line-height: 1.03; letter-spacing: -.055em; }
.support-intro h2 em { color: #f1f09c; font-family: Newsreader, Georgia, serif; font-weight: 500; }
.support-intro p { max-width: 440px; margin: 0; color: #c6c6ce; font-size: 14px; line-height: 1.6; }
.support-intro .button { flex: 0 0 auto; color: #0b0c10; background: #f1f09c; }
.support-intro .button:hover { background: #fff; }
.support-workspace { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); min-height: 610px; overflow: hidden; border: 1px solid #dedfd9; border-radius: 24px; background: #fff; box-shadow: 0 15px 45px rgba(11,12,16,.045); }
.support-inbox { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid #e7e7e2; background: #fafaf8; }
.support-inbox__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 108px; padding: 25px 22px 17px; border-bottom: 1px solid #e7e7e2; }
.support-inbox__head h3 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.045em; }
.support-inbox__total { min-width: 36px; padding: 7px 10px; border-radius: 999px; background: #eeeef0; color: #48494f; text-align: center; font-size: 12px; font-weight: 800; }
.support-icon-button { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e0e1dd; border-radius: 12px; background: #fff; color: #0b0c10; font-size: 22px; cursor: pointer; }
.support-icon-button:hover, .support-action-button:hover, .support-load-more:hover { border-color: #0b0c10; }
.support-icon-button:focus-visible, .support-action-button:focus-visible, .support-load-more:focus-visible, .support-ticket:focus-visible { outline: 3px solid #6c5ce7; outline-offset: 2px; }
.support-ticket-list { min-height: 170px; max-height: 660px; overflow-y: auto; }
.support-ticket { width: 100%; min-height: 102px; padding: 17px 22px; display: grid; gap: 7px; border: 0; border-bottom: 1px solid #e8e8e4; background: transparent; color: #0b0c10; text-align: left; cursor: pointer; transition: background .2s ease; }
.support-ticket:hover { background: #f0efe9; }
.support-ticket.is-active { background: #fff; box-shadow: inset 3px 0 #6c5ce7; }
.support-ticket.has-unread { background: #f3f0ff; }
.support-ticket.has-unread.is-active { background: #fff; }
.support-ticket.has-unread strong { font-weight: 900; }
.support-ticket__unread { margin-left: auto; padding: 5px 7px; border-radius: 99px; background: #6c5ce7; color: #fff; font-size: 9px; font-weight: 800; white-space: nowrap; }
.support-ticket__top, .support-ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.support-ticket strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; letter-spacing: -.025em; }
.support-ticket small { flex: none; color: #767780; font-size: 10px; }
.support-ticket__requester { overflow: hidden; color: #595b65; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.support-ticket__channel { color: #6c5ce7; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.support-ticket__state { padding: 5px 7px; border-radius: 999px; color: #754c11; background: #fbf0d6; font-size: 9px; font-weight: 800; white-space: nowrap; }
.support-ticket__state[data-status="open"] { color: #9e3426; background: #fde9e4; }
.support-ticket__state[data-status="resolved"] { color: #20734a; background: #e1f4e7; }
.support-load-more { min-height: 46px; margin: 14px; border: 1px solid #dedfd9; border-radius: 12px; background: #fff; color: #24262d; font-size: 12px; font-weight: 800; cursor: pointer; }
.support-conversation { min-width: 0; display: flex; flex-direction: column; background: #fff; }
.support-conversation__empty { min-height: 610px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.support-conversation__empty[hidden] { display: none; }
.support-empty-mark { width: 68px; height: 68px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 22px; color: #5143c9; background: #f0edff; font-size: 32px; }
.support-conversation__empty h3 { margin: 12px 0; font-size: 30px; line-height: 1.1; letter-spacing: -.055em; }
.support-conversation__empty p { max-width: 280px; margin: 0; color: #656872; font-size: 13px; line-height: 1.6; }
.support-conversation [data-support-thread] { height: 100%; display: flex; flex-direction: column; }
.support-conversation [data-support-thread][hidden] { display: none; }
.support-thread-head { min-height: 108px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e7e7e2; }
.support-thread-head h3 { margin: 4px 0 3px; font-size: 20px; line-height: 1.2; letter-spacing: -.04em; }
.support-thread-head p { margin: 0; color: #656872; font-size: 11px; }
.support-state { flex: none; padding: 8px 11px; border-radius: 999px; color: #9e3426; background: #fde9e4; font-size: 10px; font-weight: 800; }
.support-state[data-status="waiting_customer"] { color: #754c11; background: #fbf0d6; }
.support-state[data-status="resolved"] { color: #20734a; background: #e1f4e7; }
.support-thread-actions { padding: 11px 28px; border-bottom: 1px solid #ecece8; }
.support-action-button { min-height: 40px; padding: 0 13px; border: 1px solid #dedfd9; border-radius: 10px; background: #fff; color: #4c4e57; font-size: 11px; font-weight: 800; cursor: pointer; }
.support-messages { flex: 1; min-height: 260px; max-height: 510px; padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; background: radial-gradient(circle at 80% 10%, rgba(216,208,255,.13), transparent 28%), #fff; }
.support-message { max-width: min(83%, 570px); align-self: flex-start; padding: 14px 17px; border: 1px solid #e5e5e0; border-radius: 18px 18px 18px 5px; background: #f5f5f1; }
.support-message.is-own { align-self: flex-end; border-color: #0b0c10; border-radius: 18px 18px 5px 18px; color: #fff; background: #0b0c10; }
.support-message__meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: #696a72; font-size: 10px; font-weight: 800; }
.support-message.is-own .support-message__meta { color: #bfc0c8; }
.support-message p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 13px; line-height: 1.65; }
.support-message__original { margin-top: 10px; border-top: 1px solid #dedfd9; color: #656872; }
.support-message__original summary { display: flex; align-items: center; min-height: 44px; width: fit-content; cursor: pointer; font-size: 11px; font-weight: 800; }
.support-message__original summary:focus-visible { outline: 2px solid #6c5ce7; outline-offset: 2px; border-radius: 4px; }
.support-message__original p { padding: 0 0 8px; color: #4d505a; }
.support-message__warning { display: block; margin-top: 9px; color: #f3cf94; font-size: 11px; }
.support-reply { padding: 18px 28px 22px; border-top: 1px solid #e7e7e2; }
.support-reply label, .support-dialog label { display: grid; gap: 7px; color: #24262d; font-size: 12px; font-weight: 800; }
.support-reply textarea, .support-dialog input, .support-dialog textarea, .support-dialog select, .support-admin-filters select { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid #dedfd9; border-radius: 12px; outline: none; background: #fff; color: #0b0c10; font: inherit; font-size: 13px; }
.support-reply textarea, .support-dialog textarea { min-height: 92px; resize: vertical; }
.support-reply textarea:focus, .support-dialog input:focus, .support-dialog textarea:focus, .support-dialog select:focus, .support-admin-filters select:focus { border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108,92,231,.13); }
.support-reply > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.support-reply small { max-width: 300px; color: #73757d; font-size: 11px; line-height: 1.5; }
.support-feedback { min-height: 18px; margin: 10px 22px; color: #656872; font-size: 12px; line-height: 1.5; }
.support-feedback.is-error { color: #b42318; }
.support-reply .support-feedback { margin: 9px 0 0; }
.support-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow-y: auto; border: 1px solid #dedfd9; border-radius: 24px; color: #0b0c10; background: #fff; box-shadow: 0 30px 90px rgba(11,12,16,.25); }
.support-dialog::backdrop { background: rgba(11,12,16,.64); backdrop-filter: blur(6px); }
.support-dialog form { padding: 28px; display: grid; gap: 17px; }
.support-dialog__head { display: flex; justify-content: space-between; align-items: center; }
.support-dialog h2 { margin: -4px 0 -12px; font-size: 31px; letter-spacing: -.055em; }
.support-dialog p { margin: 0; color: #656872; font-size: 13px; line-height: 1.6; }
.support-dialog .support-dialog__hint { color: #8a6a31; font-size: 11px; }
.support-dialog .support-feedback { margin: 0; }
.support-admin-header { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 24px; overflow: hidden; padding: 30px; border: 1px solid #25252d; border-radius: 20px; color: #fff; background: #0b0c10; }
.support-admin-header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 73% 0, rgba(216,208,255,.34), transparent 34%), radial-gradient(rgba(255,255,255,.1) .7px, transparent .7px); background-size: auto, 12px 12px; }
.support-admin-header h2 { margin: 7px 0; font-size: 32px; letter-spacing: -.05em; }
.support-admin-header p { margin: 0; color: #c7c7d0; font-size: 13px; }
.support-admin-header .button { color: #0b0c10; background: #fff; }
.support-admin-status { margin: 18px 0; padding: 12px 16px; border: 1px solid #dedfd9; border-radius: 12px; color: #4a4c56; background: #fff; font-size: 12px; }
.support-admin-status.is-warning { border-color: #efdca5; background: #fff9e8; }
.support-admin-filters { display: flex; gap: 12px; margin-bottom: 16px; }
.support-admin-filters label { min-width: 175px; display: grid; gap: 6px; color: #555762; font-size: 11px; font-weight: 800; }
.support-admin-filters select { font-size: 12px; }
.support-workspace--admin { min-height: 670px; }
@media (max-width: 900px) { .support-workspace { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); } .support-intro { align-items: start; flex-direction: column; } }
@media (max-width: 700px) { .support-page { padding-bottom: 120px; } .support-intro { min-height: 0; padding: 28px 24px; border-radius: 20px; } .support-intro p { font-size: 16px; } .support-workspace { display: block; overflow: visible; } .support-inbox { border-right: 0; border-bottom: 1px solid #e7e7e2; } .support-ticket-list { max-height: 290px; } .support-conversation__empty { min-height: 270px; } .support-thread-head { padding: 20px; } .support-messages { min-height: 290px; max-height: 480px; padding: 20px; } .support-reply { padding: 18px 20px; } .support-reply textarea, .support-dialog input, .support-dialog textarea, .support-dialog select { font-size: 16px; } .support-message p { font-size: 16px; } .support-message { max-width: 92%; } .support-admin-header { align-items: start; flex-direction: column; } .support-admin-filters { flex-wrap: wrap; } .support-admin-filters label { flex: 1 1 150px; } }
@media (max-width: 420px) { .dashboard-body[data-page="member-support"] .member-topbar__actions .button { display: none; } .support-intro .button { width: 100%; } .support-thread-head { align-items: start; flex-direction: column; } .support-reply > div { align-items: stretch; flex-direction: column; } .support-reply .button { width: 100%; } .support-dialog form { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .support-ticket { transition: none; } }
