/*
 * StratTrade Support Center UI — My Account parity
 * Loaded only on /help-center/ and /contact/ by functions.php.
 * SupportCandy remains untouched and update-safe.
 */

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container {
    --st-support-blue: #1267f2;
    --st-support-blue-hover: #0e5bdc;
    --st-support-text: #111827;
    --st-support-muted: #667085;
    --st-support-line: #e3e6ea;
    --st-support-soft: #f7f8fa;
    --st-support-surface: #ffffff;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--st-support-text) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container #wpsc-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 12px !important;
    background: var(--st-support-surface) !important;
    color: var(--st-support-text) !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .025) !important;
}

/* SupportCandy navigation becomes a compact portal sub-navigation. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    overflow-x: auto !important;
    border: 0 !important;
    border-bottom: 1px solid var(--st-support-line) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #475467 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header > *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header span {
    color: #475467 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [role="button"] {
    min-height: 38px !important;
    padding: 8px 11px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: background-color .16s ease, color .16s ease !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header button:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [role="button"]:hover {
    background: #eef5ff !important;
    color: var(--st-support-blue) !important;
}

/* Main content matches the existing My Account panels. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
    margin: 0 !important;
    padding: 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--st-support-text) !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h1,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h2,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h3,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h4 {
    margin-top: 0 !important;
    color: #111827 !important;
    letter-spacing: -.015em !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h2,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body h3 {
    font-size: 17px !important;
    line-height: 1.35 !important;
}

/* Form labels and helper text follow the account portal typography. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container [class*="label"] {
    color: #344054 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container small,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .description,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container [class*="description"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container [class*="help-text"] {
    color: var(--st-support-muted) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

/* Inputs use the same border/radius language as My Account. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="text"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="email"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="number"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="search"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="url"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container select,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid #d5dde7 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #111827 !important;
    font: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .16s ease, box-shadow .16s ease !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container textarea {
    min-height: 150px !important;
    resize: vertical !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="text"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="email"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="number"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="search"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="url"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container select:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container textarea:focus {
    border-color: #8fb6ff !important;
    box-shadow: 0 0 0 3px rgba(18, 103, 242, .075) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input::placeholder,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container textarea::placeholder {
    color: #98a2b3 !important;
}

/* Rich text editor: fix v101 toolbar inflation and keep WordPress defaults compact. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tinymce {
    overflow: hidden !important;
    border: 1px solid #d5dde7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-panel,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar-grp,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-editor-header,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar {
    border-color: #e3e6ea !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tbtn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar .button {
    min-width: 28px !important;
    min-height: 28px !important;
    margin: 2px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-btn button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tbtn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar .button {
    width: auto !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 3px 6px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #475467 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-btn:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tbtn:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar .button:hover {
    border-color: #d5dde7 !important;
    background: #eef5ff !important;
}

/* Keep action buttons deliberate. Do not target generic .mce-btn or editor buttons. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container button[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-button {
    min-height: 40px !important;
    padding: 9px 16px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #1d2939 !important;
    font: inherit !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .035) !important;
    cursor: pointer !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container button[type="submit"] {
    border-color: var(--st-support-blue) !important;
    background: var(--st-support-blue) !important;
    color: #fff !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container button[type="submit"]:hover {
    border-color: var(--st-support-blue-hover) !important;
    background: var(--st-support-blue-hover) !important;
    color: #fff !important;
}

/* Vendor-recommended cleanup for the confusing reset action. */
body.strattrade-site-v3 .v3-support-account-page #wpsc-ct-reset {
    display: none !important;
}

/* Attachments and consent controls. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="file"] {
    max-width: 100% !important;
    color: #667085 !important;
    font-size: 13px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="checkbox"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="radio"] {
    width: 15px !important;
    height: 15px !important;
    margin-right: 7px !important;
    accent-color: var(--st-support-blue) !important;
}

/* Ticket lists use the exact My Account table language. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--st-support-line) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #344054 !important;
    font-size: 12px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table th,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table td {
    padding: 12px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--st-support-line) !important;
    text-align: left !important;
    vertical-align: middle !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table thead th,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table th {
    background: #fafbfc !important;
    color: #344054 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container a {
    color: var(--st-support-blue) !important;
    text-underline-offset: 2px !important;
}

/* Keep SupportCandy dialogs usable while matching the portal corners. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container [role="dialog"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container [class*="modal"] {
    border-radius: 12px !important;
}

/* Standalone Contact page keeps a clean full-width support form without My Account shell. */
body.strattrade-site-v3 .v3-page-content .wpsc-shortcode-container {
    width: 100% !important;
    max-width: 920px !important;
    margin: 0 auto !important;
}

@media (max-width: 900px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
        padding: 20px !important;
    }
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
        min-height: 50px !important;
        padding: 6px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
        padding: 16px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table {
        font-size: 11px !important;
    }
}

/* =========================================================
   v103 — Support Center refinement / My Account visual parity
   Presentation only. SupportCandy remains untouched.
   ========================================================= */

/* Split the plugin shell into the same light cards used across My Account. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container #wpsc-container {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
    min-height: 52px !important;
    margin: 0 0 14px !important;
    padding: 7px 9px !important;
    gap: 3px !important;
    overflow-x: auto !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 12px !important;
    background: var(--st-support-surface) !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .025) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header > *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header span {
    white-space: nowrap !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [role="button"] {
    min-height: 36px !important;
    padding: 7px 10px !important;
    border-radius: 7px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header .active,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [aria-current="page"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [class*="active"] {
    background: #eef5ff !important;
    color: var(--st-support-blue) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
    margin: 0 !important;
    padding: 26px 30px 30px !important;
    overflow: hidden !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 12px !important;
    background: var(--st-support-surface) !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .025) !important;
}

/* Remove the hard, plugin-like framing from nested ticket sections. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="ticket-container"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="form-container"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="create-ticket"] {
    max-width: 100% !important;
    border-color: var(--st-support-line) !important;
    box-shadow: none !important;
}

/* Form rhythm mirrors the restrained WooCommerce account forms. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="label"] {
    margin-bottom: 5px !important;
    color: #344054 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body small,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .description,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="description"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="help-text"] {
    display: block !important;
    margin: 2px 0 7px !important;
    color: #7a8695 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="text"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="email"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="number"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="search"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="url"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body select,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body textarea {
    min-height: 42px !important;
    padding: 9px 11px !important;
    border-color: #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1d2939 !important;
    font-size: 13px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body textarea {
    min-height: 170px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="text"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="email"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="number"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="search"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="url"]:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body select:focus,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body textarea:focus {
    border-color: #9abfff !important;
    box-shadow: 0 0 0 3px rgba(18, 103, 242, .07) !important;
}

/* Keep the editor as one clean field instead of a second nested card. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tinymce {
    border-color: #d8dee8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-panel,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar-grp,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-editor-header,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar {
    min-height: 34px !important;
    background: #fafbfc !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-tbtn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .quicktags-toolbar .button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-btn button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-toolbar button {
    min-width: 26px !important;
    min-height: 26px !important;
    margin: 2px 1px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

/* Primary support action now uses the exact account portal button language. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-button {
    min-height: 40px !important;
    padding: 0 17px !important;
    border: 1px solid var(--st-support-blue) !important;
    border-radius: 6px !important;
    background: var(--st-support-blue) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(18, 103, 242, .12) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-button:hover {
    border-color: var(--st-support-blue-hover) !important;
    background: var(--st-support-blue-hover) !important;
    color: #fff !important;
}

/* Tiny utility/action links remain links instead of becoming oversized buttons. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body a {
    color: var(--st-support-blue) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

/* File selector gets a restrained secondary-button treatment where supported. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="file"] {
    color: #667085 !important;
    font-size: 12.5px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container input[type="file"]::file-selector-button {
    margin-right: 10px !important;
    padding: 7px 11px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #344054 !important;
    font: inherit !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* Consent/options become visually calm rows, not loose text floating under the form. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="checkbox"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="radio"] {
    width: 15px !important;
    height: 15px !important;
    margin: 0 7px 0 0 !important;
    vertical-align: -2px !important;
    accent-color: var(--st-support-blue) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="checkbox"] + label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="radio"] + label {
    color: #475467 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}

/* Ticket list rows match the existing account tables more closely. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table {
    border-color: var(--st-support-line) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table thead th,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container table th {
    background: #fafbfc !important;
    color: #344054 !important;
}

/* The standalone Contact form gets the same card/field design but no account sidebar. */
body.strattrade-site-v3 .v3-page-content .wpsc-shortcode-container #wpsc-container {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-page-content .wpsc-shortcode-container .wpsc-body {
    padding: 26px 30px 30px !important;
    border: 1px solid #e3e6ea !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .025) !important;
}

@media (max-width: 900px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body,
    body.strattrade-site-v3 .v3-page-content .wpsc-shortcode-container .wpsc-body {
        padding: 22px !important;
    }
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body,
    body.strattrade-site-v3 .v3-page-content .wpsc-shortcode-container .wpsc-body {
        padding: 17px !important;
        border-radius: 10px !important;
    }
}

/* =========================================================
   v104 — Ticket list/navigation cleanup for My Account parity
   ========================================================= */

/* Kill any remaining dark vendor framing inside the support canvas. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container #wpsc-container,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > div,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="container"] {
    border-color: var(--st-support-line) !important;
}

/* One account card, not nested plugin cards. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > div {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
}

/* Compact two-tab support navigation. Redundant items are removed by support-center.js. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
    justify-content: flex-start !important;
    min-height: 48px !important;
    margin: 0 0 14px !important;
    padding: 5px !important;
    gap: 4px !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header [role="button"] {
    min-height: 36px !important;
    padding: 7px 12px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

/* Internal SupportCandy section bars become quiet account-section headings. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > div:first-child,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="header"] {
    border-color: var(--st-support-line) !important;
    background: #fff !important;
    color: #1d2939 !important;
    box-shadow: none !important;
}

/* Ticket list search/filter area: compact, aligned, and consistent with account controls. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="search"] {
    min-width: 200px !important;
    min-height: 38px !important;
    padding: 8px 11px !important;
    font-size: 12.5px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body select {
    min-height: 38px !important;
    padding: 7px 30px 7px 10px !important;
    font-size: 12px !important;
}

/* Secondary list actions should not compete visually with the primary workflow. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-button:not([type="submit"]),
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button:not([type="submit"]) {
    min-height: 36px !important;
    padding: 7px 11px !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #344054 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-button:not([type="submit"]):hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button:not([type="submit"]):hover {
    border-color: #b9c8dc !important;
    background: #f8fafc !important;
    color: var(--st-support-blue) !important;
}

/* Ticket table must fit the desktop account content without a horizontal scrollbar. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table th,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table td {
    padding: 11px 9px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    border-color: var(--st-support-line) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table th {
    font-size: 10.5px !important;
    letter-spacing: .01em !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table td {
    font-size: 11.5px !important;
}

/* Neutralize vendor overflow wrappers on desktop once the table is fixed-layout. */
@media (min-width: 901px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="table"],
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="list"] {
        max-width: 100% !important;
        overflow-x: visible !important;
    }
}

/* Empty state should look like My Account empty-state text, not a boxed plugin error. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body td[colspan],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-no-records {
    padding: 20px 12px !important;
    color: #667085 !important;
    text-align: left !important;
    background: #fff !important;
}

/* Keep the account canvas airy but not oversized. */
body.strattrade-site-v3 .v3-support-account-page .support-account-content {
    margin-top: 6px !important;
}

@media (max-width: 900px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header {
        overflow-x: auto !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
        overflow-x: auto !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table {
        min-width: 760px !important;
        table-layout: auto !important;
    }
}

/* =========================================================
   v105 — Final My Account parity refinement
   Ticket list + support navigation only
   ========================================================= */

/* SupportCandy should behave like content inside My Account, not a nested app shell. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container #wpsc-container {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Lightweight portal tabs, matching the account sidebar interaction language. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    gap: 6px !important;
    overflow-x: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs [role="button"] {
    min-height: 38px !important;
    padding: 8px 13px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #475467 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.025) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs a:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs button:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs [role="button"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs [class*="active"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs [aria-current="page"] {
    border-color: #cfe0ff !important;
    background: #eef5ff !important;
    color: var(--st-support-blue) !important;
}

/* Single clean account panel. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
    padding: 18px !important;
    overflow: visible !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(16,24,40,.025) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > div,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="container"] {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove the duplicated vendor section title / menu bar once the page already says Support. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-redundant-title {
    display: none !important;
}

/* Search and filter controls stay compact and line up like My Account controls. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-filter-control {
    margin: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="search"] {
    min-width: 220px !important;
    max-width: 320px !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body select {
    min-height: 40px !important;
    padding: 8px 30px 8px 10px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
}

/* List action buttons should read as utilities, not primary calls to action. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button:not([type="submit"]),
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body .wpsc-button:not([type="submit"]) {
    min-height: 36px !important;
    padding: 7px 11px !important;
    border: 1px solid #d8dee7 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #475467 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    box-shadow: none !important;
}

/* My Account-style table: light header, quiet rows, no desktop horizontal scrollbar. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    overflow: hidden !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 9px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table thead th,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table th {
    padding: 11px 10px !important;
    background: #fafbfc !important;
    color: #475467 !important;
    font-size: 10.5px !important;
    font-weight: 750 !important;
    letter-spacing: .015em !important;
    white-space: nowrap !important;
    border-bottom: 1px solid var(--st-support-line) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table td {
    padding: 12px 10px !important;
    color: #344054 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-bottom: 1px solid #edf0f4 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table tbody tr:hover td {
    background: #fbfcfe !important;
}

@media (min-width: 901px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="table"],
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body [class*="list"] {
        max-width: 100% !important;
        overflow-x: visible !important;
    }
}

@media (max-width: 900px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body {
        padding: 16px !important;
        overflow-x: auto !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body table {
        min-width: 760px !important;
        table-layout: auto !important;
    }
}

/* =========================================================
   v106 — Support navigation/button refinement
   Organizes Ticket List / New Ticket / Agent Profile and
   the inner section header to match StratTrade My Account.
   ========================================================= */

/* Header becomes a deliberate action strip instead of loose plugin links. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    margin: 0 0 14px !important;
    padding: 6px !important;
    gap: 8px !important;
    overflow-x: auto !important;
    border: 1px solid var(--st-support-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(16,24,40,.025) !important;
}

/* Normalize clickable tab wrappers regardless of SupportCandy markup. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #475467 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
    color: currentColor !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab:hover {
    border-color: #bfd4f8 !important;
    background: #f7faff !important;
    color: var(--st-support-blue) !important;
    box-shadow: 0 2px 6px rgba(18,103,242,.06) !important;
}

/* Ticket List is the calm secondary navigation action. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets {
    background: #fff !important;
    color: #344054 !important;
}

/* New Ticket is the primary support action. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new {
    border-color: #cfe0ff !important;
    background: #eef5ff !important;
    color: var(--st-support-blue) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new:hover {
    border-color: #a9c8ff !important;
    background: #e7f1ff !important;
}

/* Agent-only control is visually separated from customer workflow. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent {
    margin-left: auto !important;
    border-color: transparent !important;
    background: #f8fafc !important;
    color: #667085 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent:hover {
    border-color: #e2e8f0 !important;
    background: #f1f5f9 !important;
    color: #344054 !important;
}

/* Active state takes precedence while preserving role hierarchy. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab.st-support-current {
    border-color: var(--st-support-blue) !important;
    background: var(--st-support-blue) !important;
    color: #fff !important;
    box-shadow: 0 2px 7px rgba(18,103,242,.16) !important;
}

/* The inner plugin bar (e.g. second “New Ticket”) becomes a section heading, not another button. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    margin: -18px -18px 18px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--st-support-line) !important;
    border-radius: 12px 12px 0 0 !important;
    background: #fafbfc !important;
    color: #1d2939 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar svg {
    width: 15px !important;
    height: 15px !important;
    color: #667085 !important;
    stroke: currentColor !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar span,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar div {
    color: #1d2939 !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
}

/* Keep the right-side menu trigger compact. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar [role="button"] {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin-left: auto !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #667085 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar button:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar [role="button"]:hover {
    border-color: #e1e7ef !important;
    background: #fff !important;
    color: #344054 !important;
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs {
        padding: 5px !important;
        gap: 5px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab {
        min-height: 36px !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent {
        margin-left: 0 !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar {
        margin: -16px -16px 16px !important;
        padding: 0 13px !important;
    }
}

/* =========================================================
   v107 — Navigation typography/color parity + compact form
   Matches the existing My Account button language.
   ========================================================= */

/* Use one typography system for every support navigation label and icon wrapper. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab * {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: inherit !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab {
    min-height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1d2939 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.035) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
}

/* Calm secondary ticket navigation. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent {
    background: #fff !important;
    color: #1d2939 !important;
    border-color: #d5dce5 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent:hover {
    background: #fbfcfd !important;
    border-color: #bfc8d4 !important;
    color: #1267f2 !important;
}

/* New Ticket follows the exact My Account primary-button language. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new {
    border-color: #1267f2 !important;
    background: #1267f2 !important;
    color: #fff !important;
    font-weight: 750 !important;
    box-shadow: 0 2px 5px rgba(18,103,242,.12) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new svg {
    color: #fff !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new:hover {
    border-color: #0b56ce !important;
    background: #0b56ce !important;
    color: #fff !important;
}

/* Current secondary tab uses the same light-blue active state as My Account sidebar. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets.st-support-current,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent.st-support-current {
    border-color: #cfe0ff !important;
    background: #eef5ff !important;
    color: #1267f2 !important;
    box-shadow: none !important;
}

/* Inner section heading typography is no longer a second button style. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar * {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    color: #344054 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar a,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar span,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar div {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

/* Keep Description useful but remove the oversized empty editor area. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .tox-edit-area iframe {
    height: 190px !important;
    min-height: 190px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body textarea {
    min-height: 150px !important;
}

/* Submit uses the same size/type/color as My Account primary actions. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button[type="submit"] {
    min-height: 40px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    background: #1267f2 !important;
    border-color: #1267f2 !important;
    color: #fff !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body input[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body button[type="submit"]:hover {
    background: #0b56ce !important;
    border-color: #0b56ce !important;
    color: #fff !important;
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab * {
        font-size: 13px !important;
    }
}

/* =========================================================
   v108 — Unified support navigation palette
   Match My Account selected-row language: light blue active,
   neutral secondary tabs, no solid blue/black mismatch.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent {
    border-color: transparent !important;
    background: transparent !important;
    color: #475467 !important;
    box-shadow: none !important;
    font-weight: 650 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent * {
    color: inherit !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent:hover {
    border-color: transparent !important;
    background: #f7faff !important;
    color: #1267f2 !important;
    box-shadow: none !important;
}

/* One consistent active state, identical in spirit to the My Account sidebar. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab.st-support-current,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets.st-support-current,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new.st-support-current,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent.st-support-current {
    border-color: transparent !important;
    background: #eef5ff !important;
    color: #1267f2 !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab.st-support-current *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-new.st-support-current *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-tickets.st-support-current *,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent.st-support-current * {
    color: #1267f2 !important;
}

/* Keep the agent-only tab separated by position, not by a different color system. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.st-support-tabs .st-support-tab-agent {
    margin-left: auto !important;
}

/* =========================================================
   v109 — Compact New Ticket form + duplicate heading cleanup
   Keep SupportCandy functional while matching My Account.
   ========================================================= */

/* The plugin repeats “New Ticket” / “Ticket List” under the real tabs.
   Keep any utility menu trigger, but remove the duplicate heading chrome. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-new,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-list {
    min-height: 32px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar .st-support-section-title {
    display: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-no-actions {
    display: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-new button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-new [role="button"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-list button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-body > .st-support-section-bar.st-support-section-list [role="button"] {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #667085 !important;
}

/* Compact the rich editor. SupportCandy/TinyMCE may set inline iframe heights,
   so cover the editor wrappers as well as the iframe itself. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce {
    margin-bottom: 10px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area {
    min-height: 172px !important;
    max-height: 172px !important;
    height: 172px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="editor"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="content"] {
    min-height: 172px !important;
    max-height: 172px !important;
    height: 172px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
    min-height: 140px !important;
    max-height: 260px !important;
}

/* Agent/customer utility actions use one restrained My Account secondary style. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-attach-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-macro-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #344054 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-attach-action:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-macro-action:hover {
    border-color: #bfd4f8 !important;
    background: #f7faff !important;
    color: #1267f2 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-owner-notify {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #667085 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-owner-notify input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
}

/* Final submit treatment mirrors Account primary actions without becoming oversized. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view button[type="submit"] {
    min-width: 112px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 1px solid #1267f2 !important;
    border-radius: 7px !important;
    background: #1267f2 !important;
    color: #fff !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.05) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-action:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view input[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view button[type="submit"]:hover {
    border-color: #0b56ce !important;
    background: #0b56ce !important;
    color: #fff !important;
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe {
        min-height: 150px !important;
        max-height: 150px !important;
        height: 150px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-action,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view input[type="submit"],
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view button[type="submit"] {
        width: 100% !important;
    }
}

/* =========================================================
   v110 — New Ticket form parity / robust compact layout
   ========================================================= */

/* Robustly hide the repeated section heading text while preserving
   the vendor utility/menu trigger on the right. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-duplicate-new-title,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-duplicate-list-title {
    display: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-utility-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 32px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-utility-bar button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-utility-bar [role="button"] {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #667085 !important;
    box-shadow: none !important;
}

/* Compact New Ticket spacing to match My Account card density. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body {
    padding-top: 20px !important;
    padding-bottom: 22px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body form,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body [class*="create-ticket"] {
    margin-top: 0 !important;
}

/* Force the visual editor itself to a sensible support-message height.
   These selectors cover both classic TinyMCE and newer editor wrappers. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view [class*="rich-text"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view [class*="text-editor"] {
    margin-bottom: 10px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe {
    min-height: 155px !important;
    max-height: 180px !important;
    height: 180px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="editor"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="content"] {
    min-height: 155px !important;
    max-height: 180px !important;
    height: 180px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
    min-height: 150px !important;
    max-height: 220px !important;
}

/* Keep attachment + macro actions together as one tidy secondary action row. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 10px 0 14px !important;
    padding: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-actions .st-support-attach-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-actions .st-support-macro-action {
    margin: 0 !important;
}

/* Bottom form options read as one quiet My Account-style block. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-options {
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 12px 0 16px !important;
    padding: 12px 14px !important;
    border: 1px solid #e7ebf0 !important;
    border-radius: 8px !important;
    background: #fafbfc !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-options label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-options .st-support-owner-notify {
    margin: 0 !important;
    color: #667085 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

/* Submit gets its own aligned row instead of floating under vendor controls. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 14px !important;
    padding-top: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row .st-support-submit-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row button[type="submit"] {
    min-width: 126px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

@media (max-width: 680px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe {
        min-height: 145px !important;
        max-height: 160px !important;
        height: 160px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-actions {
        align-items: stretch !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-form-actions > * {
        flex: 1 1 auto !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row .st-support-submit-action,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row input[type="submit"],
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-submit-row button[type="submit"] {
        width: 100% !important;
    }
}

/* =========================================================
   v111 — Final New Ticket form compression and footer parity
   Presentation only. SupportCandy remains untouched.
   ========================================================= */

/* Remove the plugin's repeated inner page heading completely. The JS clears
   text nodes while retaining any vendor utility/menu trigger. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-cleared-duplicate-title,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-ticket-list-view .st-support-cleared-duplicate-title {
    display: none !important;
}

/* If the vendor leaves an otherwise-empty title row, collapse it; keep a row
   only when it still contains a real utility button. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-title-row-empty {
    display: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-title-row-utility-only {
    min-height: 30px !important;
    height: 30px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Compact the Description editor to a My Account-sized field instead of a
   large blank canvas. Cover both classic TinyMCE and modern TinyMCE markup. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce {
    min-height: 0 !important;
    margin: 0 0 10px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-container-body,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe {
    min-height: 128px !important;
    height: 128px !important;
    max-height: 128px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="editor"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="content"] {
    display: block !important;
    min-height: 128px !important;
    height: 128px !important;
    max-height: 128px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
    min-height: 128px !important;
    height: 128px !important;
    max-height: 220px !important;
}

/* Pull the post-editor controls together into one compact account-style footer. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-ticket-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px 20px !important;
    align-items: end !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e7ebf0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-ticket-footer-left {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-options {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* Any checkbox option in the new-ticket footer uses the account text rhythm. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-options label,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-options .st-support-owner-notify,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-ticket-footer label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    color: #667085 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-ticket-footer input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
}

/* Secondary actions use the exact My Account button language. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-actions .st-support-attach-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-actions .st-support-macro-action {
    min-height: 36px !important;
    padding: 0 13px !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #1d2939 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.035) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-actions .st-support-attach-action:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-form-actions .st-support-macro-action:hover {
    border-color: #bfc8d4 !important;
    background: #fbfcfd !important;
    color: #1267f2 !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Primary Submit now exactly follows My Account primary button geometry. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row .st-support-submit-action,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row input[type="submit"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row button[type="submit"] {
    min-width: 126px !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #1267f2 !important;
    border-radius: 6px !important;
    background: #1267f2 !important;
    color: #fff !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(18,103,242,.12) !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row .st-support-submit-action:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row input[type="submit"]:hover,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row button[type="submit"]:hover {
    background: #0e5bdc !important;
    border-color: #0e5bdc !important;
    color: #fff !important;
}

/* Reduce miscellaneous vertical gaps introduced by SupportCandy rows inside
   the create form while preserving the field grouping itself. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body form > * {
    margin-bottom: 12px !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body form > .st-support-ticket-footer,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wpsc-body form > :last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 760px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-ticket-footer {
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row .st-support-submit-action,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row input[type="submit"],
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .st-support-submit-row button[type="submit"] {
        width: 100% !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-container-body,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe {
        min-height: 118px !important;
        height: 118px !important;
        max-height: 118px !important;
    }
}

/* =========================================================
   v112 — Remove duplicate inner New Ticket action reliably
   Handles SupportCandy button/link variants outside .wpsc-body while
   preserving the independent utility/hamburger control when present.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-inner-duplicate-action {
    display: none !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-title-row-utility-only {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}



/* =========================================================
   v113 — hard removal of SupportCandy duplicate New Ticket bar
   JS marks only the non-header compact vendor row. Keeping this
   explicit CSS rule also wins against vendor !important styles.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .st-support-force-remove-duplicate-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* =========================================================
   v114 — SupportCandy responsive header conflict fix
   Root cause: the StratTrade theme globally forces every
   .wpsc-header to display:flex!important. SupportCandy also
   uses .wpsc-header for its XS/mobile current-section bar,
   which must stay hidden on desktop. Restore the vendor's
   responsive visibility without touching SupportCandy files.
   ========================================================= */
@media (min-width: 768px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.wpsc-visible-xs,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header[class*="header-xs"] {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container .wpsc-header.wpsc-hidden-xs {
        display: none !important;
    }
}

/* =========================================================
   v116 — Support message editor visible border
   Make the Description/message body visually obvious on desktop and mobile,
   using the same border language as Subject and Category fields.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce {
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* The editable message canvas itself must remain visible even when
   SupportCandy/TinyMCE changes its outer wrapper markup. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe {
    border-top: 1px solid #d8dee8 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="editor"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="content"] {
    border: 1px solid #d8dee8 !important;
    border-radius: 0 0 7px 7px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* Text/HTML mode fallback uses the same field boundary. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
}

/* =========================================================
   v117 — Support editor interaction and layout fix
   Final authoritative TinyMCE layout for New Ticket only.
   Earlier compacting rules forced both the TinyMCE container body and
   editable iframe to fixed heights, which can collapse/clip the editable
   canvas under the toolbar. Keep the toolbar in normal flow and size only
   the actual editable area.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 10px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Critical reset: never force the whole editor body to the same fixed
   height as the editable canvas. The body also contains the toolbar. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-container-body,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-editor-container,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-sidebar-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Toolbar stays in normal document flow and must never cover the editor. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-toolbar-grp,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-panel,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-editor-header,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-toolbar-overlord,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .quicktags-toolbar {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 38px !important;
    max-height: none !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: #fafbfc !important;
    box-sizing: border-box !important;
}

/* Only the actual writing surface receives a fixed useful height. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe {
    position: relative !important;
    display: block !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    border-top: 1px solid #d8dee8 !important;
    background: #fff !important;
    overflow: hidden !important;
    z-index: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="editor"],
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe[id*="content"] {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    z-index: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

/* Do not let theme button/layout rules create an overlay above the canvas. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-toolbar .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-btn,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-btn button,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tbtn {
    position: relative !important;
    z-index: 3 !important;
}

/* Visual focus cue comparable to Subject/Category. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap:focus-within,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce:focus-within,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce:focus-within {
    border-color: #8fb6ff !important;
    box-shadow: 0 0 0 3px rgba(18, 103, 242, .075) !important;
}

/* Text/HTML-mode fallback. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 170px !important;
    height: 170px !important;
    max-height: 260px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 760px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea {
        min-height: 150px !important;
        height: 150px !important;
        max-height: 220px !important;
    }
}

/* =========================================================
   v118 — Support editor duplicate source textarea fix
   WordPress TinyMCE uses textarea.wp-editor-area as the source/fallback.
   v117's generic textarea fallback made that normally-hidden source field
   visible under the rich editor. Restore WordPress's Visual/Text contract.
   ========================================================= */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap.tmce-active textarea.wp-editor-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap.tmce-active .wp-editor-container > textarea.wp-editor-area {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* If WordPress switches to Text/HTML mode, the source textarea is the real
   editor and must become usable again. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap.html-active textarea.wp-editor-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap:not(.tmce-active):not(.html-active) textarea.wp-editor-area {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 170px !important;
    height: 170px !important;
    max-height: 260px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: auto !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 760px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap.html-active textarea.wp-editor-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .wp-editor-wrap:not(.tmce-active):not(.html-active) textarea.wp-editor-area {
        min-height: 150px !important;
        height: 150px !important;
        max-height: 220px !important;
    }
}

/* =========================================================
   v119 — SupportCandy Description editor source/fallback fix
   SupportCandy 3.5.2 source field is #description.wpsc_textarea.
   Hide only that source field while its real TinyMCE iframe is active.
   ========================================================= */

/* Safe fallback: if TinyMCE is absent or hidden, the real SupportCandy
   textarea remains a normal usable Description field. This exact selector
   supersedes older generic textarea rules without touching other fields. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea#description.wpsc_textarea {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 260px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: auto !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

/* Active rich editor: source textarea is still kept in the DOM for
   SupportCandy submission/fallback, but must not appear as a second box. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view.st-support-description-rich-ready textarea#description.wpsc_textarea {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Final authoritative TinyMCE shell for Description only. */
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 10px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-container-body,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-editor-container,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-sidebar-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-toolbar-grp,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-editor-header,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .quicktags-toolbar {
    position: relative !important;
    height: auto !important;
    min-height: 38px !important;
    max-height: none !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: #fafbfc !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe#description_ifr {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid #d8dee8 !important;
    background: #fff !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-tinymce:focus-within,
body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-tinymce:focus-within {
    border-color: #8fb6ff !important;
    box-shadow: 0 0 0 3px rgba(18, 103, 242, .075) !important;
}

@media (max-width: 760px) {
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view textarea#description.wpsc_textarea,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .mce-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view .tox-edit-area__iframe,
    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view iframe#description_ifr {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    body.strattrade-site-v3 .v3-support-account-page .wpsc-shortcode-container.st-support-new-ticket-view.st-support-description-rich-ready textarea#description.wpsc_textarea {
        height: 1px !important;
        min-height: 0 !important;
        max-height: 1px !important;
    }
}

/* ==========================================================================
   STRATTRADE SUPPORTCANDY 3.5.3 TICKET HEADER SORT ICON FIX V1
   Scope: WooCommerce My Account > Support > Ticket List only.
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th svg,
body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th i,
body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th [class*="sort"] svg,
body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th [class*="sort"] i {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    display: inline-block !important;
    flex: 0 0 12px !important;
    position: static !important;
    inset: auto !important;
    margin: 0 0 0 5px !important;
    padding: 0 !important;
    transform: none !important;
    vertical-align: middle !important;
    object-fit: contain !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th [class*="sort"] {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    font-size: 11px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    clip-path: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th [class*="sort"]::before,
body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th [class*="sort"]::after {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 12px !important;
    max-height: 12px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    clip-path: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .wpsc-shortcode-container table thead th {
    vertical-align: middle !important;
}

/* Additional SupportCandy ticket-list class variants. */
body.woocommerce-account .woocommerce-MyAccount-content [class*="wpsc"] table thead th .fa-sort,
body.woocommerce-account .woocommerce-MyAccount-content [class*="wpsc"] table thead th .fa-sort-up,
body.woocommerce-account .woocommerce-MyAccount-content [class*="wpsc"] table thead th .fa-sort-down,
body.woocommerce-account .woocommerce-MyAccount-content [class*="wpsc"] table thead th .material-icons,
body.woocommerce-account .woocommerce-MyAccount-content [class*="wpsc"] table thead th .material-symbols-outlined {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    font-size: 11px !important;
    line-height: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    transform: none !important;
    margin-left: 4px !important;
}

