/* GETCOURSE — USER CARD / Desktop + Mobile v1.9.6 */
:root {
    --usercard-primary: #3499FD; --usercard-primary-hover: #218AF4; --usercard-primary-soft: #EAF4FF;
    --usercard-bg: #F7F9FC; --usercard-card: #FFFFFF; --usercard-text: #171C26; --usercard-secondary: #667085;
    --usercard-muted: #98A2B3; --usercard-border: #E8ECF2; --usercard-border-strong: #DDE3EA;
}
/* PAGE */
body:has(#userForm) .gc-main-content, body:has(#userForm) .main-page-block {
    background: var(--usercard-bg) !important;
}
body:has(#userForm) .main-page-block > .container {
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 28px 28px 64px !important;
    box-sizing: border-box !important; font-family: Manrope, Arial, sans-serif !important;
}
body:has(#userForm) .gc-account-logo, body:has(#userForm) .empty-breadcrumbs {
    display: none !important;
}
/* TITLE */
body:has(#userForm) .main-page-block > .container > h1 {
    margin: 0 0 20px !important; padding: 0 !important; color: var(--usercard-text) !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 28px !important; line-height: 1.2 !important;
    font-weight: 700 !important; letter-spacing: -.025em !important;
}
/* TOP TABS */
body:has(#userForm) .content-menu {
    width: 100% !important; margin: 0 0 22px !important;
}
body:has(#userForm) .page-menu {
    display: flex !important; align-items: center !important; gap: 4px !important; width: 100% !important;
    margin: 0 !important; padding: 5px !important; box-sizing: border-box !important; list-style: none !important;
    background: #FFFFFF !important; border: 1px solid var(--usercard-border) !important; border-radius: 13px !important;
    box-shadow: 0 4px 16px rgba(23, 28, 38, .025) !important;
}
body:has(#userForm) .page-menu > li {
    float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
    background: transparent !important;
}
body:has(#userForm) .page-menu > li > a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    min-height: 38px !important; padding: 0 13px !important; border: 0 !important; border-radius: 9px !important;
    background: transparent !important; color: var(--usercard-secondary) !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 12px !important; line-height: 1 !important;
    font-weight: 550 !important; white-space: nowrap !important; text-decoration: none !important;
}
body:has(#userForm) .page-menu > li:not(.active) > a:hover {
    background: #F6F8FB !important; color: var(--usercard-text) !important;
}
body:has(#userForm) .page-menu > li.active > a {
    background: var(--usercard-primary-soft) !important; color: var(--usercard-primary) !important;
    font-weight: 650 !important;
}
/* PANELS */
body:has(#userForm) #userForm .panel {
    margin: 0 0 14px !important; overflow: hidden !important; background: var(--usercard-card) !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(23, 28, 38, .035) !important;
}
body:has(#userForm) #userForm .panel-heading {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    min-height: 52px !important; margin: 0 !important; padding: 0 16px !important; background: #FFFFFF !important;
    border: 0 !important; border-bottom: 1px solid var(--usercard-border) !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 13px !important; line-height: 1.3 !important; font-weight: 650 !important;
}
body:has(#userForm) #userForm .panel.closed .panel-heading {
    border-bottom-color: transparent !important;
}
body:has(#userForm) #userForm .panel-heading-icon {
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin-left: 10px !important; color: var(--usercard-muted) !important;
}
body:has(#userForm) #userForm .panel-body {
    padding: 16px !important; background: #FFFFFF !important; color: var(--usercard-secondary) !important;
    font-size: 12px !important; line-height: 1.5 !important;
}
/* PROFILE PANEL */
body:has(#userForm) #userFormProfile {
    border-color: #DDE7F1 !important; box-shadow: 0 8px 26px rgba(23, 28, 38, .05) !important;
}
body:has(#userForm) #userFormProfile .panel-heading {
    min-height: 56px !important; font-size: 14px !important;
}
/* TABLES */
body:has(#userForm) #userForm .values-table {
    width: 100% !important; margin: 0 !important; border-collapse: collapse !important;
}
body:has(#userForm) #userForm .values-table tr {
    border: 0 !important;
}
body:has(#userForm) #userForm .values-table td {
    padding: 8px 6px !important; vertical-align: middle !important; border: 0 !important;
    border-bottom: 1px solid #F0F2F5 !important; color: var(--usercard-secondary) !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 12px !important; line-height: 1.45 !important;
}
body:has(#userForm) #userForm .values-table tr:last-child td {
    border-bottom: 0 !important;
}
body:has(#userForm) #userForm .values-table td.key, body:has(#userForm) #userFormInfo .values-table td:first-child:not([colspan]) {
    width: 118px !important; color: var(--usercard-muted) !important; font-weight: 500 !important;
}
/* PROFILE HERO */
body:has(#userForm) #userFormProfile .values-table tr:first-child td {
    padding-top: 4px !important; padding-bottom: 16px !important;
}
body:has(#userForm) #userFormProfile .values-table tr:first-child td.key {
    width: 82px !important;
}
body:has(#userForm) #userFormProfile .user-profile-image {
    width: 68px !important; height: 68px !important; object-fit: cover !important; border-radius: 18px !important;
    background: #F2F4F7 !important;
}
body:has(#userForm) #userFormProfile h3 {
    margin: 0 !important; color: var(--usercard-text) !important; font-size: 18px !important;
    line-height: 1.3 !important; font-weight: 700 !important;
}
/* FORM CONTROLS */
body:has(#userForm) #userForm input[type="text"], body:has(#userForm) #userForm input[type="email"], body:has(#userForm) #userForm input[type="tel"], body:has(#userForm) #userForm textarea, body:has(#userForm) #userForm .select2-choice {
    min-height: 38px !important; box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 9px !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important; box-shadow: none !important;
}
body:has(#userForm) #userForm input[type="text"], body:has(#userForm) #userForm input[type="email"], body:has(#userForm) #userForm input[type="tel"], body:has(#userForm) #userForm textarea {
    width: 100% !important; padding: 8px 10px !important;
}
body:has(#userForm) #userForm textarea {
    min-height: 78px !important; resize: vertical !important;
}
body:has(#userForm) #userForm input:focus, body:has(#userForm) #userForm textarea:focus, body:has(#userForm) #userForm select:focus, body:has(#userForm) #userForm .select2-container-active .select2-choice {
    border-color: var(--usercard-primary) !important; outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(52, 153, 253, .1) !important;
}
/* CHECKBOXES */
body.psych-user-card-enhanced #userForm input[type="checkbox"] {
    appearance: none !important; -webkit-appearance: none !important; position: relative !important;
    display: inline-block !important; flex: 0 0 17px !important; width: 17px !important; min-width: 17px !important;
    height: 17px !important; min-height: 17px !important; margin: 0 7px 0 0 !important; padding: 0 !important;
    box-sizing: border-box !important; background: #FFFFFF !important; border: 1.5px solid #C8D0DA !important;
    border-radius: 5px !important; vertical-align: -3px !important; outline: 0 !important; box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:hover {
    border-color: #AEB8C5 !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:checked {
    background: var(--usercard-primary) !important; border-color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:checked::after {
    content: "" !important; position: absolute !important; top: 2px !important; left: 5px !important;
    width: 4px !important; height: 8px !important; border-right: 2px solid #FFFFFF !important;
    border-bottom: 2px solid #FFFFFF !important; transform: rotate(45deg) !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:focus-visible {
    border-color: var(--usercard-primary) !important; box-shadow: 0 0 0 3px rgba(52, 153, 253, .12) !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:disabled {
    background: #F2F4F7 !important; border-color: #DDE3EA !important; cursor: not-allowed !important;
    opacity: .7 !important;
}
body.psych-user-card-enhanced #userForm input[type="checkbox"]:disabled:checked {
    background: #98A2B3 !important; border-color: #98A2B3 !important;
}
/* CUSTOM SELECTS */
body.psych-user-card-enhanced .psych-user-select {
    position: relative !important; width: 100% !important; margin: 0 !important;
    font-family: Manrope, Arial, sans-serif !important; z-index: 1 !important;
}
body.psych-user-card-enhanced .psych-user-select.is-open {
    z-index: 100 !important;
}
body.psych-user-card-enhanced #userForm select.psych-user-select__native {
    position: absolute !important; width: 1px !important; height: 1px !important; min-height: 1px !important;
    margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; border-radius: 0 !important;
    opacity: 0 !important; pointer-events: none !important;
}
body.psych-user-card-enhanced .psych-user-select__control {
    position: relative !important; display: flex !important; align-items: center !important; width: 100% !important;
    height: 40px !important; min-height: 40px !important; margin: 0 !important; padding: 0 40px 0 12px !important;
    box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 10px !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important; line-height: 1.4 !important; font-weight: 500 !important; text-align: left !important;
    outline: 0 !important; box-shadow: none !important; cursor: pointer !important;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}
body.psych-user-card-enhanced .psych-user-select__control:hover {
    border-color: #C8D0DA !important;
}
body.psych-user-card-enhanced .psych-user-select.is-open .psych-user-select__control, body.psych-user-card-enhanced .psych-user-select__control:focus-visible {
    border-color: var(--usercard-primary) !important; box-shadow: 0 0 0 3px rgba(52, 153, 253, .1) !important;
}
body.psych-user-card-enhanced .psych-user-select__value {
    display: block !important; min-width: 0 !important; overflow: hidden !important; color: inherit !important;
    text-overflow: ellipsis !important; white-space: nowrap !important;
}
body.psych-user-card-enhanced .psych-user-select__arrow {
    position: absolute !important; top: 50% !important; right: 15px !important; width: 7px !important;
    height: 7px !important; margin-top: -5px !important; border-right: 1.5px solid #98A2B3 !important;
    border-bottom: 1.5px solid #98A2B3 !important; transform: rotate(45deg) !important; pointer-events: none !important;
    transition: transform .16s ease, margin-top .16s ease, border-color .16s ease !important;
}
body.psych-user-card-enhanced .psych-user-select.is-open .psych-user-select__arrow {
    margin-top: -2px !important; border-color: var(--usercard-primary) !important; transform: rotate(225deg) !important;
}
body.psych-user-card-enhanced .psych-user-select__menu {
    position: absolute !important; top: calc(100% + 6px) !important; right: 0 !important; left: 0 !important;
    display: none !important; max-height: 240px !important; margin: 0 !important; padding: 6px !important;
    box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(23, 28, 38, .14) !important; overflow-x: hidden !important;
    overflow-y: auto !important; z-index: 5000 !important;
}
body.psych-user-card-enhanced .psych-user-select.is-open .psych-user-select__menu {
    display: block !important;
}
body.psych-user-card-enhanced .psych-user-select__option {
    display: flex !important; align-items: center !important; width: 100% !important; min-height: 36px !important;
    margin: 0 !important; padding: 8px 10px !important; box-sizing: border-box !important;
    background: transparent !important; border: 0 !important; border-radius: 8px !important;
    color: var(--usercard-secondary) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important; line-height: 1.4 !important; font-weight: 500 !important; text-align: left !important;
    white-space: normal !important; cursor: pointer !important;
}
body.psych-user-card-enhanced .psych-user-select__option:hover, body.psych-user-card-enhanced .psych-user-select__option:focus-visible {
    background: #F7F9FC !important; color: var(--usercard-text) !important; outline: 0 !important;
}
body.psych-user-card-enhanced .psych-user-select__option.is-selected {
    background: var(--usercard-primary-soft) !important; color: var(--usercard-primary) !important;
    font-weight: 650 !important;
}
body.psych-user-card-enhanced .psych-user-select__option:disabled {
    color: var(--usercard-muted) !important; cursor: not-allowed !important; opacity: .65 !important;
}
body.psych-user-card-enhanced .psych-user-select.is-disabled .psych-user-select__control {
    background: #F7F9FC !important; border-color: var(--usercard-border) !important;
    color: var(--usercard-muted) !important; cursor: not-allowed !important;
}
body.psych-user-card-enhanced .psych-user-select.is-disabled .psych-user-select__arrow {
    border-color: #C8D0DA !important;
}
body.psych-user-card-enhanced #userForm .panel:has(.psych-user-select.is-open) {
    overflow: visible !important; position: relative !important; z-index: 100 !important;
}
body.psych-user-card-enhanced #userForm .panel:has(.psych-user-select.is-open) .panel-body, body.psych-user-card-enhanced #userForm .values-table:has(.psych-user-select.is-open), body.psych-user-card-enhanced #userForm .values-table tr:has(.psych-user-select.is-open), body.psych-user-card-enhanced #userForm .values-table td:has(.psych-user-select.is-open) {
    overflow: visible !important;
}
body.psych-user-card-enhanced .psych-user-select__menu::-webkit-scrollbar {
    width: 6px !important;
}
body.psych-user-card-enhanced .psych-user-select__menu::-webkit-scrollbar-track {
    background: transparent !important;
}
body.psych-user-card-enhanced .psych-user-select__menu::-webkit-scrollbar-thumb {
    background: #DDE3EA !important; border-radius: 999px !important;
}
@media (max-width: 767px) {
body.psych-user-card-enhanced .psych-user-select__control {
    height: 42px !important; min-height: 42px !important; font-size: 13px !important;
}
body.psych-user-card-enhanced .psych-user-select__option {
    min-height: 40px !important; font-size: 13px !important;
}
body.psych-user-card-enhanced .psych-user-select__menu {
    max-height: 260px !important;
}
}
/* SELECT2 */
body.psych-user-card-enhanced #userForm .select2-container {
    display: block !important; width: 100% !important; height: 40px !important; margin: 0 !important;
}
body.psych-user-card-enhanced #userForm .select2-container > .select2-choice {
    position: relative !important; display: flex !important; align-items: center !important; width: 100% !important;
    height: 40px !important; padding: 0 38px 0 12px !important; background: #FFFFFF !important;
    background-image: none !important; border: 1px solid var(--usercard-border-strong) !important;
    border-radius: 10px !important;
}
body.psych-user-card-enhanced #userForm .select2-container .select2-arrow {
    display: none !important;
}
body.psych-user-card-enhanced #userForm .select2-container > .select2-choice::after {
    content: "" !important; position: absolute !important; top: 50% !important; right: 15px !important;
    width: 7px !important; height: 7px !important; margin-top: -5px !important;
    border-right: 1.5px solid #98A2B3 !important; border-bottom: 1.5px solid #98A2B3 !important;
    transform: rotate(45deg) !important;
}
body.psych-user-card-enhanced .select2-drop {
    margin-top: 5px !important; padding: 6px !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(23, 28, 38, .14) !important; overflow: hidden !important;
}
body.psych-user-card-enhanced .select2-search {
    padding: 2px 2px 7px !important;
}
body.psych-user-card-enhanced .select2-search input {
    height: 36px !important; padding: 0 10px !important; background: #FFFFFF !important;
    background-image: none !important; border: 1px solid var(--usercard-border) !important;
    border-radius: 8px !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .select2-results {
    margin: 0 !important; padding: 0 !important;
}
body.psych-user-card-enhanced .select2-results > li {
    margin: 2px 0 !important; border-radius: 8px !important; overflow: hidden !important;
}
body.psych-user-card-enhanced .select2-results .select2-result-label {
    min-height: 34px !important; padding: 8px 10px !important; border-radius: 8px !important;
    color: var(--usercard-secondary) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important;
}
body.psych-user-card-enhanced .select2-results .select2-highlighted, body.psych-user-card-enhanced .select2-results .select2-highlighted > .select2-result-label {
    background: var(--usercard-primary-soft) !important; border-radius: 8px !important;
    color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .psych-user-manager-row td {
    padding-top: 10px !important; padding-bottom: 10px !important;
}
body.psych-user-card-enhanced .psych-user-manager-row .select2-container {
    margin: 6px 0 8px !important;
}
/* LINKS */
body:has(#userForm) #userForm a {
    color: var(--usercard-primary) !important;
}
body:has(#userForm) #userForm a:hover {
    color: var(--usercard-primary-hover) !important; text-decoration: none !important;
}
/* BUTTONS */
body.psych-user-card-enhanced .btn, body.psych-user-card-enhanced button.btn {
    min-height: 38px !important; padding: 0 13px !important; border-radius: 9px !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 12px !important; font-weight: 600 !important;
    text-shadow: none !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .btn-default {
    background: #FFFFFF !important; border: 1px solid var(--usercard-border-strong) !important;
    color: var(--usercard-secondary) !important;
}
body.psych-user-card-enhanced .btn-default:hover {
    background: var(--usercard-primary-soft) !important; border-color: #CCE6FF !important;
    color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .btn-primary {
    background: var(--usercard-primary) !important; border-color: var(--usercard-primary) !important;
    color: #FFFFFF !important;
}
body.psych-user-card-enhanced .btn-primary:hover {
    background: var(--usercard-primary-hover) !important; border-color: var(--usercard-primary-hover) !important;
}
body.psych-user-card-enhanced .btn-success {
    background: #16A66A !important; border-color: #16A66A !important; color: #FFFFFF !important;
}
/* SAVE AREA */
body:has(#userForm) #userForm > .row.buttons {
    display: flex !important; align-items: center !important; gap: 12px !important; margin: 12px 0 0 !important;
    padding: 16px !important; background: #FFFFFF !important; border: 1px solid var(--usercard-border) !important;
    border-radius: 14px !important;
}
/* MAIN DEALS */
body.psych-user-card-enhanced #userFormDeals .deal-row {
    padding: 12px 0 !important; border-bottom: 1px solid #F0F2F5 !important;
}
body.psych-user-card-enhanced #userFormDeals .deal-row:last-child {
    border-bottom: 0 !important;
}
body.psych-user-card-enhanced #userFormDeals .deal-status {
    display: inline-flex !important; align-items: center !important; min-height: 24px !important;
    padding: 0 9px !important; border-radius: 999px !important; font-size: 10px !important; line-height: 1 !important;
    font-weight: 650 !important;
}
.psych-deal-status-success {
    background: #E9F9F1 !important; color: #0D8A55 !important;
}
.psych-deal-status-warning {
    background: #FFF7E6 !important; color: #B76E00 !important;
}
.psych-deal-status-danger {
    background: #FFF0F0 !important; color: #D64545 !important;
}
.psych-deal-status-info {
    background: #EAF4FF !important; color: #218AF4 !important;
}
.psych-deal-status-neutral {
    background: #F2F4F7 !important; color: #667085 !important;
}
/* RIGHT PANEL — SHELL */
body.psych-user-card-enhanced .gc-right-active-block {
    font-family: Manrope, Arial, sans-serif !important;
}
body.psych-user-card-enhanced .gc-right-active-block .content-block {
    position: relative !important; background: #FFFFFF !important;
    border-left: 1px solid var(--usercard-border) !important; box-shadow: -8px 0 24px rgba(23, 28, 38, .06) !important;
}
/* RIGHT PANEL — HEADER */
body.psych-user-card-enhanced .gc-right-active-block .user-block-header {
    padding: 12px 12px 0 !important; background: #FFFFFF !important;
    border-bottom: 1px solid var(--usercard-border) !important; color: var(--usercard-secondary) !important;
    font-size: 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-title {
    display: flex !important; align-items: flex-start !important; width: 100% !important;
    padding: 0 28px 10px 0 !important; box-sizing: border-box !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-avatar {
    float: none !important; flex: 0 0 42px !important; width: 42px !important; height: 42px !important;
    margin: 0 10px 0 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-avatar img {
    width: 42px !important; height: 42px !important; object-fit: cover !important; border-radius: 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info {
    flex: 1 1 auto !important; min-width: 0 !important; color: var(--usercard-secondary) !important;
    font-size: 11px !important; line-height: 1.4 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-name {
    margin: 0 0 1px !important; color: var(--usercard-text) !important; font-size: 14px !important;
    line-height: 1.3 !important; font-weight: 700 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-name a {
    color: inherit !important; font-size: inherit !important; font-weight: inherit !important;
    text-decoration: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-email {
    color: var(--usercard-secondary) !important; font-size: 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info .btn {
    float: none !important; display: inline-flex !important; align-items: center !important;
    justify-content: center !important; min-height: 30px !important; height: 30px !important;
    margin: 7px 0 5px !important; padding: 0 9px !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 8px !important;
    color: var(--usercard-secondary) !important; font-size: 10.5px !important; line-height: 1 !important;
    font-weight: 600 !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info .editable-link-wrapper {
    display: block !important; width: 100% !important; margin: 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info .editable-link-wrapper > a.link.small, body.psych-user-card-enhanced .gc-right-active-block .user-info > .text-right > a.link.small {
    float: none !important; display: block !important; width: fit-content !important; margin: 2px 0 0 !important;
    padding: 0 !important; color: var(--usercard-secondary) !important; font-size: 11px !important;
    line-height: 1.4 !important; font-weight: 600 !important; text-align: left !important;
    text-decoration: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info > .text-right {
    float: none !important; display: block !important; width: 100% !important; margin: 0 !important;
    text-align: left !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-info .editable-link-wrapper textarea {
    width: 100% !important; min-height: 74px !important; margin: 7px 0 5px !important; padding: 8px 9px !important;
    box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 9px !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.4 !important; resize: vertical !important;
}
/* RIGHT PANEL — CLOSE BUTTON */
body.psych-user-card-enhanced .gc-right-active-block .content-block > .btn-close {
    position: absolute !important; top: 10px !important; right: 10px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; width: 28px !important; height: 28px !important;
    margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; background: #F7F9FC !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 8px !important; color: #667085 !important;
    line-height: 1 !important; visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
    box-shadow: none !important; transform: none !important; z-index: 50 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .content-block > .btn-close > .fa {
    margin: 0 !important; color: inherit !important; font-size: 14px !important; line-height: 1 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .content-block > .btn-close:hover {
    background: var(--usercard-primary-soft) !important; border-color: #CCE6FF !important;
    color: var(--usercard-primary) !important;
}
/* RIGHT PANEL — TABS */
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu {
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
    justify-content: flex-start !important; gap: 4px !important; width: 100% !important; margin: 0 !important;
    padding: 8px 12px !important; box-sizing: border-box !important; background: #FFFFFF !important;
    border-top: 1px solid #F0F2F5 !important; border-bottom: 1px solid var(--usercard-border) !important;
    overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu::-webkit-scrollbar {
    display: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu > .pull-right {
    display: contents !important; float: none !important; width: auto !important; margin: 0 !important;
    padding: 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li {
    position: static !important; float: none !important; flex: 0 0 30px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; width: 30px !important;
    min-width: 30px !important; max-width: 30px !important; height: 30px !important; min-height: 30px !important;
    margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; background: #F8FAFC !important;
    border: 1px solid #E8ECF2 !important; border-radius: 8px !important; color: #8B96A7 !important;
    box-shadow: none !important; transform: none !important; cursor: pointer !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li.hidden {
    display: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li:hover {
    background: #F2F8FE !important; border-color: #D5E9FC !important; color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li.active {
    background: var(--usercard-primary-soft) !important; border-color: #C7E3FD !important;
    color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li > span, body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li > i, body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li > a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    color: inherit !important; font-size: 13px !important; line-height: 1 !important; text-decoration: none !important;
}
/* RIGHT PANEL — CONTENT */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body {
    background: #F7F9FC !important; color: var(--usercard-secondary) !important;
    font-family: Manrope, Arial, sans-serif !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body > .content {
    padding: 10px !important;
}
/* CLIENT DATA */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table {
    width: 100% !important; margin: 0 !important; border-collapse: separate !important; border-spacing: 0 !important;
    background: #FFFFFF !important; border: 1px solid var(--usercard-border) !important;
    border-radius: 0 0 12px 12px !important; overflow: hidden !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table td {
    padding: 9px 10px !important; background: #FFFFFF !important; border: 0 !important;
    border-bottom: 1px solid #F0F2F5 !important; color: var(--usercard-secondary) !important;
    font-size: 11px !important; line-height: 1.4 !important; vertical-align: middle !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table tr:first-child td {
    border-radius: 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table tr:last-child td {
    border-bottom: 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table tr:last-child td:first-child {
    border-bottom-left-radius: 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body table tr:last-child td:last-child {
    border-bottom-right-radius: 11px !important;
}
/* RIGHT PANEL CONTROLS */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="text"], body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="email"], body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="tel"], body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="number"], body.psych-user-card-enhanced .gc-right-active-block .user-block-body textarea, body.psych-user-card-enhanced .gc-right-active-block .user-block-body select, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .form-control:not(.select2-container) {
    width: 100% !important; min-height: 38px !important; padding: 8px 11px !important;
    box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 10px !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.4 !important; outline: 0 !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body textarea {
    min-height: 96px !important; resize: vertical !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input:focus, body.psych-user-card-enhanced .gc-right-active-block .user-block-body textarea:focus, body.psych-user-card-enhanced .gc-right-active-block .user-block-body select:focus {
    border-color: var(--usercard-primary) !important; box-shadow: 0 0 0 3px rgba(52, 153, 253, .1) !important;
}
/* RIGHT PANEL BUTTONS */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    gap: 5px !important; width: auto !important; min-height: 34px !important; height: 34px !important;
    margin: 0 !important; padding: 0 11px !important; box-sizing: border-box !important; border-radius: 9px !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 10.5px !important; line-height: 1 !important;
    font-weight: 600 !important; text-shadow: none !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-default, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-link {
    background: #FFFFFF !important; border: 1px solid var(--usercard-border-strong) !important;
    color: var(--usercard-secondary) !important; text-decoration: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-primary, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-success {
    background: var(--usercard-primary) !important; border: 1px solid var(--usercard-primary) !important;
    color: #FFFFFF !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-primary:hover, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .btn-success:hover {
    background: var(--usercard-primary-hover) !important; border-color: var(--usercard-primary-hover) !important;
}
/* DEAL GROUPS */
body.psych-user-card-enhanced .gc-right-active-block .info-panel-group {
    margin: 0 0 10px !important; overflow: hidden !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 12px !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .info-panel-group .info-group-title {
    overflow: hidden !important; border-radius: 11px 11px 0 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .info-panel-group .body {
    overflow: hidden !important; border-radius: 0 0 11px 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .status-deal-status {
    margin: 0 !important; padding: 11px 12px !important; background: #FFFFFF !important; border: 0 !important;
    border-bottom: 1px solid #F0F2F5 !important; border-radius: 11px 11px 0 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .info-panel-group:not(:has(.body)) .status-deal-status {
    border-bottom: 0 !important; border-radius: 11px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .status-deal-status .row {
    margin: 7px -4px 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .status-deal-status .row > div {
    padding-left: 4px !important; padding-right: 4px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .status-deal-status .text-right > div {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-width: 54px !important; min-height: 23px !important; padding: 0 9px !important; border-radius: 999px !important;
    font-size: 9px !important; line-height: 1 !important; font-weight: 650 !important;
}
/* DEAL STATUS BADGES */
body.psych-user-card-enhanced .gc-right-active-block .deal-status-label.deal-status {
    float: right !important; display: inline-flex !important; align-items: center !important;
    justify-content: center !important; width: auto !important; min-width: 54px !important; min-height: 24px !important;
    margin: 5px 0 0 !important; padding: 0 9px !important; box-sizing: border-box !important; border: 0 !important;
    border-radius: 999px !important; font-family: Manrope, Arial, sans-serif !important; font-size: 10px !important;
    line-height: 1 !important; font-weight: 650 !important; white-space: nowrap !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .deal-status.psych-deal-status-success {
    background: #E9F9F1 !important; color: #0D8A55 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .deal-status.psych-deal-status-warning {
    background: #FFF7E6 !important; color: #B76E00 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .deal-status.psych-deal-status-danger {
    background: #FFF0F0 !important; color: #D64545 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .deal-status.psych-deal-status-info {
    background: #EAF4FF !important; color: #218AF4 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .deal-status.psych-deal-status-neutral {
    background: #F2F4F7 !important; color: #667085 !important;
}
/* OPEN PROFILE */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .panel, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .well {
    margin: 0 0 10px !important; overflow: hidden !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 12px !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body .panel > a, body.psych-user-card-enhanced .gc-right-active-block .user-block-body .well > a {
    display: flex !important; align-items: center !important; min-height: 42px !important; padding: 0 11px !important;
    box-sizing: border-box !important; background: #FFFFFF !important; border-radius: 11px !important;
    color: var(--usercard-primary) !important; font-size: 11px !important; line-height: 1.35 !important;
    font-weight: 600 !important; text-decoration: none !important;
}
/* PHONE ALERT */
body.psych-user-card-enhanced .gc-right-active-block .alert {
    margin: 0 !important; padding: 11px 12px !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.45 !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .alert-danger {
    background: #FFF1F1 !important; border: 1px solid #F2CCCC !important; border-radius: 12px 12px 0 0 !important;
    color: #B54747 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .alert-danger + div, body.psych-user-card-enhanced .gc-right-active-block .alert-danger + .alert {
    margin-top: 0 !important; background: #FFFFFF !important; border: 1px solid var(--usercard-border) !important;
    border-top: 0 !important; border-radius: 0 0 12px 12px !important;
}
/* =========================================================
RIGHT PANEL — ACTION FORMS ========================================================= */ body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg, body.psych-user-card-enhanced .gc-right-active-block .user-add-entity-block {
    width: 100% !important; margin: 0 !important; padding: 14px !important; box-sizing: border-box !important;
    background: #FFFFFF !important; border: 1px solid var(--usercard-border) !important; border-radius: 14px !important;
    color: var(--usercard-secondary) !important; box-shadow: 0 3px 12px rgba(23, 28, 38, .025) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-add-entity-block-bg {
    background: #FFFFFF !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg > b {
    display: inline !important; color: var(--usercard-text) !important;
    font-family: Manrope, Arial, sans-serif !important; font-size: 13px !important; line-height: 1.4 !important;
    font-weight: 700 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg .mission-select-switcher {
    margin-left: 4px !important; color: var(--usercard-primary) !important; font-size: 11px !important;
    font-weight: 500 !important;
}
/* Task type */
body.psych-user-card-enhanced .gc-right-active-block .task-type-list {
    margin: 11px 0 12px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .task-type-list > div {
    display: flex !important; flex-direction: column !important; gap: 6px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .task-type-list label {
    display: flex !important; align-items: center !important; width: 100% !important; min-height: 38px !important;
    margin: 0 !important; padding: 8px 10px !important; box-sizing: border-box !important;
    background: #F8FAFC !important; border: 1px solid #E8ECF2 !important; border-radius: 10px !important;
    color: var(--usercard-secondary) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.35 !important; font-weight: 500 !important; cursor: pointer !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
}
body.psych-user-card-enhanced .gc-right-active-block .task-type-list label:hover {
    background: #F3F8FE !important; border-color: #D6E9FC !important; color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .task-type-list label:has(input[type="radio"]:checked) {
    background: var(--usercard-primary-soft) !important; border-color: #C8E4FD !important;
    color: var(--usercard-primary) !important;
}
/* Radio */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="radio"] {
    appearance: none !important; -webkit-appearance: none !important; flex: 0 0 17px !important; width: 17px !important;
    height: 17px !important; min-width: 17px !important; min-height: 17px !important; margin: 0 8px 0 0 !important;
    padding: 0 !important; background: #FFFFFF !important; border: 1.5px solid #C8D0DA !important;
    border-radius: 50% !important; vertical-align: -3px !important; outline: 0 !important; box-shadow: none !important;
    cursor: pointer !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="radio"]:checked {
    background: var(--usercard-primary) !important; border-color: var(--usercard-primary) !important;
    box-shadow: inset 0 0 0 4px #FFFFFF !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="radio"]:focus, body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="radio"]:focus-visible {
    outline: 0 !important; box-shadow: inset 0 0 0 4px #FFFFFF, 0 0 0 3px rgba(52, 153, 253, .12) !important;
}
/* Checkbox */
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="checkbox"] {
    appearance: none !important; -webkit-appearance: none !important; position: relative !important;
    width: 17px !important; height: 17px !important; margin: 0 7px 0 0 !important; padding: 0 !important;
    background: #FFFFFF !important; border: 1.5px solid #C8D0DA !important; border-radius: 5px !important;
    vertical-align: -3px !important; outline: 0 !important; box-shadow: none !important; cursor: pointer !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="checkbox"]:checked {
    background: var(--usercard-primary) !important; border-color: var(--usercard-primary) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body input[type="checkbox"]:checked::after {
    content: "" !important; position: absolute !important; top: 3px !important; left: 5px !important;
    width: 4px !important; height: 7px !important; border-right: 2px solid #FFFFFF !important;
    border-bottom: 2px solid #FFFFFF !important; transform: rotate(45deg) !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body label {
    color: var(--usercard-secondary) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.45 !important; font-weight: 500 !important;
}
/* Manager Select2 */
body.psych-user-card-enhanced .gc-right-active-block #managerUserIdInput {
    display: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput.select2-container {
    display: block !important; width: 100% !important; height: 38px !important; min-height: 38px !important;
    margin: 8px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput > .select2-choice {
    position: relative !important; display: flex !important; align-items: center !important; width: 100% !important;
    height: 38px !important; min-height: 38px !important; padding: 0 38px 0 11px !important;
    box-sizing: border-box !important; background: #FFFFFF !important; background-image: none !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 10px !important;
    color: var(--usercard-text) !important; box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput .select2-arrow, body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput .select2-arrow b {
    display: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput > .select2-choice::after {
    content: "" !important; position: absolute !important; top: 50% !important; right: 15px !important;
    width: 7px !important; height: 7px !important; margin-top: -5px !important;
    border-right: 1.5px solid #98A2B3 !important; border-bottom: 1.5px solid #98A2B3 !important;
    transform: rotate(45deg) !important; pointer-events: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block #s2id_managerUserIdInput.select2-container-active > .select2-choice {
    border-color: var(--usercard-primary) !important; box-shadow: 0 0 0 3px rgba(52, 153, 253, .1) !important;
}
/* =========================================================
RIGHT PANEL — TASK TITLE ========================================================= */ body.psych-user-card-enhanced .gc-right-active-block .gc-active-form .task-title-input {
    width: 100% !important; min-height: 38px !important; margin: 8px 0 0 !important; padding: 8px 11px !important;
    box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 10px !important;
    color: var(--usercard-text) !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important; line-height: 1.4 !important; font-weight: 400 !important; outline: 0 !important;
    box-shadow: none !important; transition: border-color .16s ease, box-shadow .16s ease !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form .task-title-input:hover {
    border-color: #C8D0DA !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form .task-title-input:focus, body.psych-user-card-enhanced .gc-right-active-block .gc-active-form .task-title-input:focus-visible {
    outline: 0 !important; border: 1px solid var(--usercard-primary) !important; border-radius: 10px !important;
    box-shadow: 0 0 0 3px rgba(52, 153, 253, .1) !important;
}
/* =========================================================
RIGHT PANEL — FORM SPACING ========================================================= */ body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg textarea {
    margin-top: 8px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg .add-task-date {
    margin-top: 8px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-active-form.user-add-entity-block-bg .btn-do-add-task {
    min-height: 38px !important; height: 38px !important; margin-top: 10px !important; padding: 0 15px !important;
    background: var(--usercard-primary) !important; border: 1px solid var(--usercard-primary) !important;
    border-radius: 10px !important; color: #FFFFFF !important; font-size: 11px !important; font-weight: 650 !important;
    box-shadow: none !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body textarea {
    display: block !important; width: 100% !important; min-height: 100px !important; margin: 8px 0 12px !important;
    padding: 10px 11px !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border-strong) !important; border-radius: 10px !important;
    color: var(--usercard-text) !important; font-size: 11px !important; line-height: 1.45 !important;
    box-shadow: none !important;
}
/* HISTORY */
body.psych-user-card-enhanced .gc-right-active-block .date-panel {
    display: inline-flex !important; align-items: center !important; min-height: 22px !important;
    margin: 6px 0 !important; padding: 0 8px !important; background: #EEF2F6 !important;
    border-radius: 999px !important; color: #667085 !important; font-size: 9px !important; line-height: 1 !important;
    font-weight: 600 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .group-item {
    padding: 9px 10px !important; background: #FFFFFF !important; border-bottom: 1px solid #F0F2F5 !important;
}
body.psych-user-card-enhanced .gc-right-active-block .group-item:last-child {
    border-bottom: 0 !important;
}
/* DESKTOP COLUMNS */
@media (min-width: 992px) {
body:has(#userForm) #userForm > .row.row-margins {
    display: flex !important; align-items: flex-start !important; flex-wrap: nowrap !important; gap: 16px !important;
    width: 100% !important; margin: 0 !important;
}
body:has(#userForm) #userForm > .row.row-margins::before, body:has(#userForm) #userForm > .row.row-margins::after {
    display: none !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4 {
    float: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(1) {
    flex: 1 1 38% !important; width: auto !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(2) {
    flex: 1 1 38% !important; width: auto !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(3) {
    flex: 0 1 24% !important; width: auto !important;
}
}
/* TABLET */
@media (min-width: 768px) and (max-width: 991px) {
body:has(#userForm) #userForm > .row.row-margins {
    display: flex !important; flex-wrap: wrap !important; align-items: flex-start !important; gap: 14px !important;
    width: 100% !important; margin: 0 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4 {
    float: none !important; width: calc(50% - 7px) !important; min-width: 0 !important; margin: 0 !important;
    padding: 0 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(3) {
    width: 100% !important;
}
}
/* MOBILE */
@media (max-width: 767px) {
body:has(#userForm) .main-page-block > .container {
    padding: 18px 12px 42px !important;
}
body:has(#userForm) .main-page-block > .container > h1 {
    margin-bottom: 16px !important; font-size: 24px !important;
}
body:has(#userForm) .content-menu {
    margin: 0 0 16px !important; overflow: hidden !important;
}
body:has(#userForm) .page-menu {
    display: flex !important; gap: 6px !important; width: 100% !important; margin: 0 !important;
    padding: 0 0 5px !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
    overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none !important;
}
body:has(#userForm) .page-menu::-webkit-scrollbar {
    display: none !important;
}
body:has(#userForm) .page-menu > li {
    flex: 0 0 auto !important;
}
body:has(#userForm) .page-menu > li > a {
    min-height: 38px !important; padding: 0 13px !important; background: #FFFFFF !important;
    border: 1px solid var(--usercard-border) !important; border-radius: 10px !important;
}
body:has(#userForm) #userForm > .row.row-margins {
    display: flex !important; flex-direction: column !important; gap: 0 !important; width: 100% !important;
    margin: 0 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4 {
    width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(2) {
    order: 1 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(1) {
    order: 2 !important;
}
body:has(#userForm) #userForm > .row.row-margins > .col-md-4:nth-child(3) {
    order: 3 !important;
}
body:has(#userForm) #userForm .panel {
    margin-bottom: 10px !important; border-radius: 14px !important; box-shadow: none !important;
}
body:has(#userForm) #userForm .panel-heading {
    min-height: 50px !important; padding: 0 14px !important;
}
body:has(#userForm) #userForm .panel-body {
    padding: 14px !important;
}
body:has(#userForm) #userForm .values-table, body:has(#userForm) #userForm .values-table tbody {
    display: block !important; width: 100% !important;
}
body:has(#userForm) #userForm .values-table tr {
    display: grid !important; grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr) !important;
    align-items: start !important; gap: 8px !important; width: 100% !important; padding: 10px 0 !important;
    border-bottom: 1px solid #F0F2F5 !important;
}
body:has(#userForm) #userForm .values-table td {
    display: block !important; width: auto !important; min-width: 0 !important; padding: 0 !important;
    border: 0 !important; overflow-wrap: anywhere !important;
}
body:has(#userForm) #userForm .values-table td[colspan="2"] {
    grid-column: 1 / -1 !important;
}
body:has(#userForm) #userFormProfile .values-table tr:first-child {
    grid-template-columns: 64px minmax(0, 1fr) !important; align-items: center !important;
}
body:has(#userForm) #userFormProfile .user-profile-image {
    width: 58px !important; height: 58px !important; border-radius: 15px !important;
}
body:has(#userForm) #userFormProfile h3 {
    font-size: 17px !important;
}
body:has(#userForm) #userForm > .row.buttons {
    position: sticky !important; bottom: 10px !important; z-index: 30 !important; display: grid !important;
    grid-template-columns: 1fr !important; gap: 8px !important; padding: 10px !important;
    border-radius: 13px !important; box-shadow: 0 8px 28px rgba(23, 28, 38, .12) !important;
}
body:has(#userForm) #userForm > .row.buttons .btn-primary {
    width: 100% !important; min-height: 44px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu {
    gap: 3px !important; padding: 7px 10px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu li {
    flex-basis: 28px !important; width: 28px !important; min-width: 28px !important; max-width: 28px !important;
    height: 28px !important; min-height: 28px !important; border-radius: 7px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body > .content {
    padding: 8px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body [style*="255, 255, 204"], body.psych-user-card-enhanced .gc-right-active-block .user-block-body [style*="lightyellow"] {
    padding: 11px !important; border-radius: 12px !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body textarea {
    min-height: 90px !important;
}
}
/* USER CARD — MOBILE BELOW CONTENT */
@media (max-width: 760px) {
body.psych-user-card-enhanced .gc-right-active-block {
    position: relative !important; top: auto !important; right: auto !important; bottom: auto !important;
    left: auto !important; display: block !important; width: 100% !important; max-width: none !important;
    height: auto !important; max-height: none !important; margin: 18px 0 0 !important;
    box-sizing: border-box !important; background: #FFFFFF !important; overflow: visible !important;
    z-index: auto !important;
}
body.psych-user-card-enhanced .gc-right-active-block > .items-menu {
    position: relative !important; width: 100% !important; margin: 0 !important;
}
body.psych-user-card-enhanced .gc-right-active-block > .content-block {
    position: relative !important; top: auto !important; right: auto !important; bottom: auto !important;
    left: auto !important; display: block !important; width: 100% !important; max-width: none !important;
    height: auto !important; max-height: none !important; margin: 0 !important; box-sizing: border-box !important;
    background: #FFFFFF !important; overflow: visible !important;
}
body.psych-user-card-enhanced .gc-right-active-block .gc-user-block {
    display: block !important; width: 100% !important; max-width: none !important; height: auto !important;
    max-height: none !important; margin: 0 !important; overflow: visible !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-header {
    width: 100% !important; box-sizing: border-box !important;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu {
    display: flex !important; width: 100% !important; margin: 0 !important; box-sizing: border-box !important;
    overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch;
}
body.psych-user-card-enhanced .gc-right-active-block .block-items-menu > .pull-right {
    display: contents !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body {
    position: relative !important; width: 100% !important; max-width: none !important; height: auto !important;
    min-height: 0 !important; max-height: none !important; margin: 0 !important; box-sizing: border-box !important;
    overflow: visible !important;
}
body.psych-user-card-enhanced .gc-right-active-block .user-block-body > .content {
    width: 100% !important; max-width: none !important; height: auto !important; min-height: 0 !important;
    max-height: none !important; box-sizing: border-box !important; overflow: visible !important;
}
body.psych-user-card-enhanced .gc-right-active-block .content-block > .btn-close {
    position: absolute !important; top: 10px !important; right: 10px !important; z-index: 50 !important;
}
}
@media (max-width: 760px) {
#user-panel-history {
    margin-bottom: 80px !important;
}
}
/* AUTH DROPDOWN — MOBILE */
@media (max-width: 768px) {
body.psych-user-card-enhanced .page-actions .btn-group {
    position: static !important;
}
body.psych-user-card-enhanced .page-actions .btn-group.open .dropdown-menu {
    position: absolute !important; top: auto !important; right: 18px !important; left: 18px !important;
    width: auto !important; min-width: 0 !important; max-width: none !important; margin-top: 8px !important;
    padding: 8px !important; box-sizing: border-box !important; background: #FFFFFF !important;
    border: 1px solid #E8ECF2 !important; border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(23, 28, 38, .12) !important; overflow: hidden !important; z-index: 2000 !important;
}
body.psych-user-card-enhanced .page-actions .dropdown-menu > li {
    margin: 0 !important; padding: 0 !important;
}
body.psych-user-card-enhanced .page-actions .dropdown-menu > li > a {
    display: flex !important; align-items: center !important; gap: 9px !important; min-height: 40px !important;
    padding: 8px 10px !important; box-sizing: border-box !important; background: transparent !important;
    border-radius: 8px !important; color: #171C26 !important; font-family: Manrope, Arial, sans-serif !important;
    font-size: 13px !important; line-height: 1.35 !important; font-weight: 500 !important;
    white-space: normal !important; text-decoration: none !important;
}
body.psych-user-card-enhanced .page-actions .dropdown-menu > li > a:hover, body.psych-user-card-enhanced .page-actions .dropdown-menu > li > a:focus {
    background: #F7F9FC !important; color: #218AF4 !important; text-decoration: none !important;
}
body.psych-user-card-enhanced .page-actions .dropdown-menu > li > a .glyphicon, body.psych-user-card-enhanced .page-actions .dropdown-menu > li > a .fa {
    flex: 0 0 auto !important; width: 16px !important; color: #98A2B3 !important; text-align: center !important;
}
body.psych-user-card-enhanced .page-actions .dropdown-menu > li.divider {
    height: 1px !important; min-height: 1px !important; margin: 6px 4px !important; background: #E8ECF2 !important;
}
}
