/* Help & Support: department contacts and the existing panel request inbox. */
.support-page {
    width: 100%;
    min-width: 0;
}

.support-contact {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 0 0;
}

.support-contact-intro {
    text-align: center;
    margin: 0 0 64px;
}

.support-contact-intro h1 {
    margin: 0 0 14px;
    color: #111111;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.support-contact-intro p {
    margin: 0 auto;
    max-width: 760px;
    color: #546174;
    font-size: 19px;
    line-height: 1.5;
}

.support-departments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.support-department {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 32px;
    border: 1px solid #e0e4eb;
    border-radius: 17px;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafc 100%);
    box-shadow: 0 5px 9px rgba(18, 28, 45, 0.07);
    text-align: center;
}

.support-department-icon {
    display: inline-flex;
    flex: 0 0 80px;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: linear-gradient(110deg, #8352F1 2%, #8352F1 50%, #8352F1 100%);
    color: #ffffff;
}

.support-department-icon svg {
    display: block;
    width: 42px;
    height: 42px;
}

.support-department h2 {
    margin: 0 0 13px;
    color: #182131;
    font-size: clamp(21px, 1.8vw, 25px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.45px;
}

.support-department-description {
    width: 100%;
    min-height: 50px;
    margin: 0 0 26px;
    color: #546174;
    font-size: 14px;
    line-height: 1.65;
}

.support-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: auto 0 24px;
    padding: 16px 14px;
    border: 1px solid #eef0f4;
    border-radius: 15px;
    background: #f7f8fa;
    list-style: none;
    text-align: left;
}

.support-contact-list li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.support-contact-list a {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    max-width: 100%;
    border-radius: 5px;
    color: #44516a;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 150ms ease;
}

.support-contact-list a > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.support-contact-icon {
    display: inline-flex;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ffffff;
    color: #8352F1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.support-contact-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.support-contact-list a:hover {
    color: #6F3DDB;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.support-department .support-ticket-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid #8352F1;
    border-radius: 14px;
    background: #8352F1;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 6px 10px rgba(21, 43, 95, 0.12);
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.support-department .support-ticket-link:hover:not([aria-disabled="true"]) {
    border-color: #6F3DDB;
    background: #6F3DDB;
    color: #ffffff;
    box-shadow: 0 7px 14px rgba(21, 43, 95, 0.2);
    text-decoration: none;
}

.support-department .support-ticket-link:active:not([aria-disabled="true"]) {
    border-color: #5D2CC5;
    background: #5D2CC5;
    color: #ffffff;
}

.support-contact a:focus-visible {
    outline: 3px solid #8352F1;
    outline-offset: 4px;
}

.support-portal-note {
    margin: 22px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.support-portal-note a {
    color: #6F3DDB;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.support-panel-requests {
    min-width: 0;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.support-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.support-panel-header h2 {
    margin: 0 0 6px;
    color: #182131;
    font-size: 21px;
    line-height: 1.35;
}

.support-panel-header p {
    margin: 0;
    max-width: 760px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.support-panel-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.support-panel-actions button {
    min-height: 40px;
}

@media (max-width: 1200px) {
    .support-departments { gap: 18px; }
    .support-department { padding: 26px 20px; }
    .support-department h2 { font-size: 21px; }
    .support-contact-list { padding: 15px 12px; }
    .support-contact-list a { gap: 8px; font-size: 13px; }
    .support-panel-header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1050px) {
    .support-departments { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 24px; }
    .support-department { padding: 28px; }
    .support-department h2 { font-size: 24px; }
    .support-department-description { min-height: 0; max-width: 390px; }
    .support-contact-list { padding: 18px; }
    .support-contact-list a { font-size: 14px; gap: 11px; }
    .support-contact-intro { margin-bottom: 36px; }
    .support-contact-intro p { font-size: 17px; }
    .support-intro-break { display: none; }
}

@media (max-width: 480px) {
    .support-department { padding: 24px 18px; }
    .support-department-icon { width: 72px; height: 72px; flex-basis: 72px; margin-bottom: 21px; }
    .support-department-icon svg { width: 38px; height: 38px; }
    .support-department h2 { font-size: 23px; }
    .support-contact-list { padding: 15px 12px; }
    .support-panel-actions { width: 100%; }
    .support-panel-actions button { flex: 1 1 auto; }
    .support-panel-requests { margin-top: 32px; padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .support-contact a { transition: none; }
}

/* Refined support workspace */
.support-contact { max-width:none;padding:0; }
.support-contact svg { display:block;width:1em;height:1em; }
.support-contact-intro { display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;text-align:left; }
.support-heading { display:flex;align-items:center;gap:15px;min-width:0; }
.support-heading-icon { display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#8c5cfc,#6f3ddb);color:#fff;font-size:25px;box-shadow:0 10px 22px rgba(111,61,219,.2); }
.support-heading-icon svg { width:25px;height:25px; }
.support-heading-icon svg { display:none !important; }
.support-heading-icon::before { width:27px;height:27px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18v-3a11 11 0 0 1 22 0v3'/%3E%3Cpath d='M5 18h4v8H7a2 2 0 0 1-2-2v-6Zm22 0h-4v8h2a2 2 0 0 0 2-2v-6ZM23 26c-1 3-4 4-7 4'/%3E%3C/svg%3E");content:""; }
.support-eyebrow { display:block;margin-bottom:5px;color:#7545de;font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase; }
.support-contact-intro h1 { margin:0;color:#102b48;font-size:28px;line-height:1.25;letter-spacing:-.025em; }
.support-contact-intro p { margin:4px 0 0;max-width:none;color:#64748b;font-size:13px;line-height:1.5; }
.support-availability { display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:32px;padding:6px 11px;border:1px solid #bde7d4;border-radius:999px;background:#effbf5;color:#087954;font-size:12px;font-weight:650;white-space:nowrap; }
.support-availability > span { width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12); }
.support-hero { display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px;padding:26px 29px;border:1px solid #e6def9;border-radius:15px;background:linear-gradient(120deg,#fff 0%,#fbf9ff 58%,#f2ecff 100%);box-shadow:0 8px 24px rgba(34,42,68,.055); }
.support-hero h2 { margin:0;color:#102b48;font-size:21px;line-height:1.3;letter-spacing:-.015em; }
.support-hero p { max-width:690px;margin:8px 0 0;color:#5d7188;font-size:13px;line-height:1.6; }
.support-hero-action { display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:42px;text-decoration:none;white-space:nowrap; }
.support-hero-action svg { width:17px;height:17px; }
.support-hero-action svg { display:none !important; }
.support-hero-action::before { width:17px;height:17px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h18v14H12l-7 5V5Z'/%3E%3C/svg%3E");content:""; }
.support-departments { gap:18px; }
.support-department { align-items:stretch;padding:24px;border-color:#e2e8f0;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(26,42,68,.055);text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.support-department:hover { border-color:#d7c9fa;box-shadow:0 12px 28px rgba(65,47,105,.09);transform:translateY(-2px); }
.support-department-top { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px; }
.support-department-icon { flex-basis:48px;width:48px;height:48px;margin:0;border-radius:13px;background:#f3effe;color:#7545de; }
.support-department-icon svg { width:25px;height:25px; }
.support-department-badge { display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border:1px solid #d8e7f5;border-radius:999px;background:#f7fbff;color:#58708a;font-size:10px;font-weight:700; }
.support-department h2 { margin:0 0 7px;color:#173653;font-size:18px;letter-spacing:-.01em; }
.support-department-description { min-height:46px;margin:0 0 18px;color:#64748b;font-size:12px;line-height:1.6; }
.support-contact-list { gap:0;margin:auto 0 18px;padding:0;border:0;border-radius:0;background:transparent; }
.support-contact-list li + li { border-top:1px solid #edf1f5; }
.support-contact-list a { width:100%;gap:11px;padding:10px 3px;color:#334e68;font-size:12px;box-sizing:border-box; }
.support-contact-list a:hover { color:#6f3ddb;text-decoration:none; }
.support-contact-list a > span:last-child { display:block;font-weight:600;line-height:1.4; }
.support-contact-list small { display:block;margin-bottom:2px;color:#8a9aaf;font-size:9px;font-weight:650;letter-spacing:.055em;text-transform:uppercase; }
.support-contact-icon { flex-basis:32px;width:32px;height:32px;border-radius:9px;background:#f6f3fd;color:#7545de;box-shadow:none; }
.support-contact-icon svg { width:16px;height:16px; }
.support-department .support-ticket-link { justify-content:space-between;min-height:42px;padding:10px 13px;border-radius:9px;font-size:12px;box-shadow:0 6px 14px rgba(111,61,219,.15); }
.support-portal-note { display:flex;align-items:flex-start;gap:14px;margin:22px 0 0;padding:18px 20px;border:1px solid #d7e6f5;border-radius:13px;background:#f7fbff;text-align:left; }
.support-portal-note-icon { display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eee8fd;color:#7545de;font-size:18px; }
.support-portal-note strong { display:block;color:#193b5d;font-size:13px; }
.support-portal-note p { margin:5px 0 0;color:#60758c;font-size:12px;line-height:1.6; }
@media (max-width:1050px) {
    .support-departments { grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;margin:0;gap:16px; }
    .support-department { padding:22px; }
    .support-department h2 { font-size:18px; }
    .support-department-description { max-width:none; }
    .support-contact-list { padding:0; }
    .support-contact-list a { gap:11px;font-size:12px; }
    .support-contact-intro { margin-bottom:24px; }
    .support-contact-intro p { font-size:13px; }
}
@media (max-width:700px) {
    .support-contact-intro,.support-hero { align-items:flex-start;flex-direction:column; }
    .support-availability { align-self:flex-start; }
    .support-hero { padding:23px 20px; }
    .support-hero-action { width:100%;box-sizing:border-box; }
    .support-departments { grid-template-columns:1fr; }
}
@media (max-width:480px) {
    .support-heading { align-items:flex-start; }
    .support-heading-icon { flex-basis:43px;width:43px;height:43px; }
    .support-contact-intro h1 { font-size:24px; }
    .support-department { padding:20px; }
    .support-department-icon { flex-basis:48px;width:48px;height:48px;margin:0; }
}
