html[data-layout="vertical"] #page-topbar {
    left: var(--vz-vertical-menu-width);
    right: 0;
    top: 0;
    border-radius: 0;
}

html[data-layout="vertical"][data-sidebar-visibility="hidden"] #page-topbar {
    left: 0;
}

html[data-layout="vertical"] .layout-width,
html[data-layout="vertical"] .main-content .container-fluid {
    max-width: none !important;
    width: 100%;
}

html[data-layout="vertical"] .layout-width {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

html[data-layout="vertical"] .main-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin-left: var(--vz-vertical-menu-width);
}

html[data-layout="vertical"][data-sidebar-visibility="hidden"] .main-content {
    margin-left: 0;
}

#page-topbar .navbar-header > .d-flex:first-child {
    align-items: center;
    gap: 0.25rem;
}

#page-topbar .app-search {
    padding-top: 0;
    padding-bottom: 0;
}

#page-topbar .app-search .position-relative {
    display: flex;
    align-items: center;
}

#page-topbar .app-search .position-relative > .ri-search-line {
    position: absolute;
    left: 11px;
    top: 50%;
    z-index: 2;
    color: var(--vz-header-item-sub-color);
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.triox-topbar-support-cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 34px;
    margin-left: 0.25rem;
    margin-right: 0.75rem;
    padding: 0.35rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7455 0%, #6576ff 100%);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 20px rgba(101, 118, 255, 0.2);
    white-space: nowrap;
}

.triox-topbar-support-cta:hover,
.triox-topbar-support-cta:focus {
    background: linear-gradient(135deg, #f06548 0%, #5567ef 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(101, 118, 255, 0.26);
}

.triox-topbar-support-cta i {
    font-size: 1rem;
    line-height: 1;
}

html[data-layout="vertical"] .page-content {
    flex: 1 0 auto;
    padding-bottom: 7rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

html[data-layout="vertical"] .footer {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    height: auto !important;
    margin-top: auto;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--vz-border-color);
    background-color: var(--vz-body-bg);
    z-index: 3;
}

@media (max-width: 991.98px) {
    html[data-layout="vertical"] #page-topbar,
    html[data-layout="vertical"] .main-content {
        left: 0;
        margin-left: 0;
    }

    html[data-layout="vertical"] .layout-width,
    html[data-layout="vertical"] .page-content {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    html[data-layout="vertical"] .footer {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .triox-dashboard-page > .row {
        --vz-gutter-x: 1rem;
        --vz-gutter-y: 1rem;
    }

    .triox-dashboard-page > .row + .row {
        margin-top: 0.25rem;
    }

    .triox-dashboard-page .card-header,
    .triox-dashboard-page .card-body,
    .triox-dashboard-hero .card-body {
        padding: 1.05rem;
    }

    .triox-task-title-cell,
    .triox-ticket-title-cell {
        min-width: 0;
    }

    .triox-row-actions {
        opacity: 1;
        pointer-events: auto;
        transform: none;
        min-width: 0;
    }

    .triox-dashboard-calendar-item {
        padding: 0.95rem;
    }

    .triox-dashboard-next-card .btn {
        width: 100%;
        margin-top: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .triox-topbar-support-cta {
        min-height: 32px;
        margin-left: 0;
        margin-right: 0.35rem;
        padding: 0.3rem 0.62rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 399.98px) {
    .triox-topbar-support-cta {
        width: 32px;
        padding-left: 0;
        padding-right: 0;
    }

    .triox-topbar-support-cta span {
        display: none !important;
    }
}

.triox-workspace .page-title-box {
    margin-bottom: 1rem;
}

.triox-dashboard-page {
    padding-bottom: 0.75rem;
}

.triox-dashboard-page > .row {
    --vz-gutter-x: 1.4rem;
    --vz-gutter-y: 1.4rem;
}

.triox-dashboard-page > .row + .row {
    margin-top: 0.45rem;
}

.triox-dashboard-page .page-title-box {
    margin-bottom: 0.5rem;
}

.triox-dashboard-page .card {
    border-radius: 1rem;
}

.triox-dashboard-page .card-header {
    padding: 1.15rem 1.35rem;
}

.triox-dashboard-page .card-body {
    padding: 1.35rem;
}

.triox-dashboard-page .border.rounded.p-3,
.triox-dashboard-page a.border.rounded.p-3 {
    padding: 1rem 1.1rem !important;
}

.triox-dashboard-page .vstack.gap-3,
.triox-dashboard-page .d-flex.flex-column.gap-3 {
    gap: 1rem !important;
}

.triox-dashboard-page .table > :not(caption) > * > * {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.triox-dashboard-hero .card-body {
    padding: 1.65rem 1.65rem 1.8rem;
}

.triox-dashboard-calendar-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.triox-dashboard-calendar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(var(--vz-primary-rgb), 0.04), rgba(var(--vz-light-rgb), 0.72));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.triox-dashboard-calendar-item:hover {
    border-color: rgba(var(--vz-primary-rgb), 0.22);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.triox-dashboard-calendar-empty {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border: 1px dashed rgba(var(--vz-primary-rgb), 0.2);
    border-radius: 0.95rem;
    background: rgba(var(--vz-primary-rgb), 0.03);
}

.triox-dashboard-stat-card,
.triox-dashboard-next-card {
    border: 1px solid var(--vz-border-color);
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(var(--vz-light-rgb), 0.55), rgba(255, 255, 255, 0.98));
}

.triox-dashboard-stat-card {
    height: 100%;
    padding: 1rem 1rem 0.95rem;
}

.triox-dashboard-next-card {
    padding: 1rem 1.05rem;
}

.triox-workspace .card {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.triox-workspace .card-header + .card-body {
    padding-top: 1rem;
}

.triox-module-summary .avatar-title {
    font-size: 1.1rem;
}

.triox-view-switch .nav-link {
    border: 1px solid var(--vz-border-color);
    color: var(--vz-body-color);
    background-color: var(--vz-secondary-bg);
    min-width: 104px;
    text-align: center;
    font-weight: 600;
}

.triox-view-switch .nav-link.active {
    border-color: var(--vz-primary);
    background-color: rgba(var(--vz-primary-rgb), 0.12);
    color: var(--vz-primary);
}

.triox-list-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.triox-list-segments .btn {
    border-radius: 999px;
    border: 1px solid var(--vz-border-color);
    background: rgba(var(--vz-light-rgb), 0.55);
    color: var(--vz-body-color);
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.triox-list-segments .btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    min-height: 1.55rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(var(--vz-dark-rgb), 0.06);
    font-size: 0.78rem;
}

.triox-list-segments .btn.active,
.triox-list-segments .btn:hover {
    border-color: rgba(var(--vz-primary-rgb), 0.24);
    background: rgba(var(--vz-primary-rgb), 0.1);
    color: var(--vz-primary);
}

.triox-filter-trigger {
    min-width: 124px;
}

.triox-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.triox-shell-card {
    border: 1px solid var(--vz-border-color);
}

.triox-toolbar-note {
    padding: 0.85rem 1rem;
    border-radius: var(--vz-border-radius);
    background: linear-gradient(135deg, rgba(var(--vz-primary-rgb), 0.07), rgba(var(--vz-success-rgb), 0.08));
    border: 1px solid rgba(var(--vz-primary-rgb), 0.14);
}

.triox-ticket-hero,
.triox-task-hero,
.triox-project-hero,
.triox-meeting-hero {
    overflow: hidden;
}

.triox-ticket-hero .triox-hero-band,
.triox-task-hero .triox-hero-band,
.triox-project-hero .triox-hero-band,
.triox-meeting-hero .triox-hero-band {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(var(--vz-dark-rgb), 0.06);
}

.triox-ticket-hero .triox-hero-band {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 248, 225, 0.95));
}

.triox-task-hero .triox-hero-band {
    background: linear-gradient(135deg, rgba(var(--vz-info-rgb), 0.18), rgba(245, 250, 255, 0.98));
}

.triox-project-hero .triox-hero-band {
    background: linear-gradient(135deg, rgba(var(--vz-success-rgb), 0.14), rgba(245, 252, 247, 0.98));
}

.triox-meeting-hero .triox-hero-band {
    background: linear-gradient(135deg, rgba(var(--vz-warning-rgb), 0.16), rgba(255, 250, 242, 0.98));
}

.triox-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    color: var(--vz-secondary-color);
    font-size: 0.875rem;
}

.triox-meta-list .vr {
    opacity: 0.35;
}

.triox-table-card .table > :not(caption) > * > * {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.triox-table-card .table tbody tr.table-active > * {
    --vz-table-accent-bg: rgba(var(--vz-primary-rgb), 0.08);
}

.triox-status-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.triox-thread {
    max-height: 540px;
    overflow: auto;
}

.triox-thread-bubble {
    max-width: 100%;
    border-radius: 1rem;
}

.triox-thread-bubble.is-mine {
    background: rgba(var(--vz-primary-rgb), 0.11);
    border-color: rgba(var(--vz-primary-rgb), 0.2);
}

.triox-thread-bubble.is-other {
    background: var(--vz-secondary-bg);
}

.triox-comment-stream {
    max-height: 420px;
    padding-right: 0.25rem;
}

.triox-clickable-row {
    cursor: pointer;
}

.triox-ticket-create-panel,
.triox-task-overview-card,
.triox-ticket-detail-hero {
    overflow: hidden;
}

.triox-velzon-task-row .tasks-list-menu {
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.triox-velzon-task-row:hover .tasks-list-menu,
.triox-velzon-task-row:focus-within .tasks-list-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.triox-velzon-task-row .tasks_name {
    min-width: 220px;
}

.triox-ticket-detail-layout .card,
.triox-task-overview-card,
.triox-ticket-detail-hero {
    border-radius: 1rem;
}

.triox-ticket-detail-hero.triox-task-overview-card .nav-tabs-custom {
    display: none;
}

.triox-ticket-detail-hero.triox-task-overview-card .card-body {
    padding-bottom: 1.5rem !important;
}

#tasksTable th.sort,
#ticketTable th.sort,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable {
    position: relative;
    cursor: pointer;
    padding-right: 1.5rem;
    user-select: none;
}

#tasksTable th.sort::before,
#tasksTable th.sort::after,
#ticketTable th.sort::before,
#ticketTable th.sort::after,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable::before,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable::after {
    position: absolute;
    right: 0.45rem;
    font-size: 0.46rem;
    line-height: 1;
    color: rgba(var(--vz-dark-rgb), 0.32);
    transition: color 0.18s ease, transform 0.18s ease;
}

#tasksTable th.sort::before,
#ticketTable th.sort::before,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable::before {
    content: "\25B2";
    top: calc(50% - 0.38rem);
}

#tasksTable th.sort::after,
#ticketTable th.sort::after,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable::after {
    content: "\25BC";
    top: calc(50% + 0.02rem);
}

#tasksTable th.sort.asc::before,
#tasksTable th.sort.sort-asc::before,
#ticketTable th.sort.asc::before,
#ticketTable th.sort.sort-asc::before,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable.sort-asc::before {
    color: rgba(var(--vz-dark-rgb), 0.82);
    transform: translateY(-1px);
}

#tasksTable th.sort.asc::after,
#tasksTable th.sort.sort-asc::after,
#ticketTable th.sort.asc::after,
#ticketTable th.sort.sort-asc::after,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable.sort-asc::after {
    color: rgba(var(--vz-dark-rgb), 0.2);
}

#tasksTable th.sort.desc::after,
#tasksTable th.sort.sort-desc::after,
#ticketTable th.sort.desc::after,
#ticketTable th.sort.sort-desc::after,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable.sort-desc::after {
    color: rgba(var(--vz-dark-rgb), 0.82);
    transform: translateY(1px);
}

#tasksTable th.sort.desc::before,
#tasksTable th.sort.sort-desc::before,
#ticketTable th.sort.desc::before,
#ticketTable th.sort.sort-desc::before,
.triox-table-card[id$="List"] table.table-nowrap thead th.triox-sortable.sort-desc::before {
    color: rgba(var(--vz-dark-rgb), 0.2);
}

.triox-ticket-detail-layout .card-body .border.rounded-3 {
    border-style: dashed !important;
}

.triox-ticket-create-panel .form-control,
.triox-ticket-create-panel .form-select {
    background-color: var(--vz-secondary-bg);
}

.triox-ticket-create-panel .triox-ticket-create-attachment-row {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(220px, 1fr);
    gap: 1rem;
    align-items: start;
}

.triox-ticket-create-panel .triox-ticket-create-attachment-row > .form-control,
.triox-ticket-create-panel .triox-ticket-create-submit {
    height: calc(1.5em + 0.9rem + 2px);
    min-height: calc(1.5em + 0.9rem + 2px);
    margin-top: 0 !important;
}

@media (max-width: 991.98px) {
    .triox-ticket-create-panel .triox-ticket-create-attachment-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.triox-task-overview-card .nav-tabs-custom .nav-link.disabled {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .triox-velzon-task-row .tasks-list-menu {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
}

.triox-comment-entry {
    align-items: flex-start;
}

.triox-comment-avatar {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.triox-comment-body {
    line-height: 1.8;
}

.triox-comment-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.triox-comment-attachment-item {
    min-width: 180px;
}

.triox-comment-attachments a:hover {
    border-color: rgba(var(--vz-primary-rgb), 0.28);
    background-color: rgba(var(--vz-primary-rgb), 0.06);
}

.triox-attachment-list .triox-attachment-item {
    border: 1px dashed var(--vz-border-color);
    border-radius: var(--vz-border-radius);
    padding: 0.75rem;
    background: rgba(var(--vz-light-rgb), 0.45);
}

.triox-side-table td:first-child {
    color: var(--vz-secondary-color);
    width: 42%;
}

.triox-task-board-header small.badge,
.triox-ticket-summary-badge {
    font-size: 0.75rem;
}

.triox-task-quick-create .form-control,
.triox-task-quick-create .form-select,
.triox-ticket-create .form-control,
.triox-ticket-create .form-select {
    background-color: rgba(var(--vz-light-rgb), 0.5);
    border-color: var(--vz-border-color);
}

.triox-task-list-toolbar .form-control,
.triox-task-list-toolbar .form-select,
.triox-support-list-toolbar .form-control,
.triox-support-list-toolbar .form-select {
    min-height: 44px;
}

.triox-listjs-table .pagination-wrap {
    align-items: center;
}

.triox-listjs-table .pagination-wrap .page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.55rem;
    border: 1px solid var(--vz-border-color);
    background-color: var(--vz-secondary-bg);
    color: var(--vz-body-color);
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.triox-listjs-table .pagination-wrap .page-item:hover {
    border-color: rgba(var(--vz-primary-rgb), 0.28);
    color: var(--vz-primary);
}

.triox-listjs-table .pagination-wrap .page-item.disabled {
    opacity: 0.55;
    pointer-events: none;
}

.triox-listjs-table .listjs-pagination .page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    color: var(--vz-body-color);
    text-decoration: none;
}

.triox-listjs-table .listjs-pagination .page.active a {
    background-color: rgba(var(--vz-primary-rgb), 0.12);
    color: var(--vz-primary);
    font-weight: 700;
}

.triox-task-title-cell,
.triox-ticket-title-cell {
    min-width: 260px;
}

.triox-title-with-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.triox-title-content {
    min-width: 0;
    flex: 1 1 auto;
}

.triox-title-content > a:hover {
    color: var(--vz-primary) !important;
}

.triox-table-row {
    cursor: pointer;
}

.triox-task-title-cell .small,
.triox-ticket-title-cell .small {
    line-height: 1.55;
    max-width: 360px;
    white-space: normal;
}

.triox-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 6.8rem;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.triox-row-actions.triox-row-actions-persistent {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
}

.triox-row-actions .triox-inline-action-form {
    display: inline-flex;
    margin: 0;
}

.triox-row-actions .btn.btn-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(var(--vz-dark-rgb), 0.06);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.125rem 0.4rem rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.triox-row-actions .triox-quick-action {
    min-height: 2rem;
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.triox-row-actions .btn.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.08);
}

.triox-table-card .table > :not(caption) > * > * {
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.triox-table-card .table thead th {
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
}

.triox-table-card .table thead th:last-child,
.triox-table-card .table tbody td:last-child {
    width: 86px;
}

.triox-table-card .table .form-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.triox-table-card .dropdown-menu {
    border-radius: 0.85rem;
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.12);
    border-color: rgba(var(--vz-dark-rgb), 0.06);
}

.triox-table-card .dropdown-item {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.triox-table-card .table tbody tr {
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.triox-table-card .table tbody tr:hover > * {
    --vz-table-accent-bg: rgba(var(--vz-primary-rgb), 0.04);
}

.triox-table-card .table tbody tr:hover .triox-row-actions,
.triox-table-card .table tbody tr.table-active .triox-row-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.triox-task-list-focus,
.triox-ticket-list-focus {
    border-color: rgba(var(--vz-primary-rgb), 0.12) !important;
}

.triox-task-noresult {
    border: 1px dashed var(--vz-border-color);
    border-radius: var(--vz-border-radius-lg);
    background: rgba(var(--vz-light-rgb), 0.3);
}

.triox-empty-state {
    border: 1px dashed var(--vz-border-color);
    border-radius: var(--vz-border-radius);
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: var(--vz-secondary-color);
    background: rgba(var(--vz-light-rgb), 0.35);
}

.triox-task-detail-grid .card {
    height: 100%;
}

.triox-project-detail-grid > [class*="col-"] {
    align-self: flex-start;
}

.triox-project-detail-grid .card {
    height: auto;
}

.triox-work-log-detail-grid > [class*="col-"],
.triox-approval-detail-grid > [class*="col-"],
.triox-daily-summary-detail-grid > [class*="col-"],
.triox-daily-report-detail-grid > [class*="col-"],
.triox-process-note-detail-grid > [class*="col-"],
.triox-customer-detail-grid > [class*="col-"],
.triox-assigned-customer-detail-grid > [class*="col-"],
.triox-assignment-detail-grid > [class*="col-"],
.triox-order-detail-grid > [class*="col-"],
.triox-invoice-detail-grid > [class*="col-"],
.triox-ledger-detail-grid > [class*="col-"],
.triox-report-detail-grid > [class*="col-"],
.triox-management-report-grid > [class*="col-"],
.triox-insight-grid > [class*="col-"],
.triox-activity-detail-grid > [class*="col-"],
.triox-export-detail-grid > [class*="col-"],
.triox-settings-grid > [class*="col-"],
.triox-demo-detail-grid > [class*="col-"],
.triox-notification-detail-grid > [class*="col-"],
.triox-profile-grid > [class*="col-"],
.triox-user-manage-grid > [class*="col-"],
.triox-admin-tools-grid > [class*="col-"] {
    align-self: flex-start;
}

.triox-work-log-detail-grid .card,
.triox-approval-detail-grid .card,
.triox-daily-summary-detail-grid .card,
.triox-daily-report-detail-grid .card,
.triox-process-note-detail-grid .card,
.triox-customer-detail-grid .card,
.triox-assigned-customer-detail-grid .card,
.triox-assignment-detail-grid .card,
.triox-order-detail-grid .card,
.triox-invoice-detail-grid .card,
.triox-ledger-detail-grid .card,
.triox-report-detail-grid .card,
.triox-management-report-grid .card,
.triox-insight-grid .card,
.triox-activity-detail-grid .card,
.triox-export-detail-grid .card,
.triox-settings-grid .card,
.triox-demo-detail-grid .card,
.triox-notification-detail-grid .card,
.triox-profile-grid .card,
.triox-user-manage-grid .card,
.triox-admin-tools-grid .card {
    height: auto;
}

.triox-meeting-detail-grid > [class*="col-"] {
    align-self: flex-start;
}

.triox-project-logo {
    width: 4rem;
    height: 4rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.triox-meeting-calendar {
    width: 4.5rem;
    min-width: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.6rem 0.45rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(var(--vz-warning-rgb), 0.22);
    color: var(--vz-heading-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.triox-meeting-calendar .day {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 700;
}

.triox-meeting-calendar .month,
.triox-meeting-calendar .time {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--vz-secondary-color);
}

.triox-meeting-focus-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.triox-project-card .card-footer {
    margin-top: auto;
}

.triox-ticket-detail-grid > [class*="col-"] {
    align-self: flex-start;
}

.triox-ticket-detail-grid .card {
    height: auto;
}

.triox-section-title {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--vz-secondary-color);
    font-weight: 700;
}

.triox-status-update .form-select,
.triox-status-update .btn {
    min-height: 38px;
}

.triox-mini-stat {
    padding: 0.85rem 1rem;
    border-radius: var(--vz-border-radius);
    border: 1px solid var(--vz-border-color);
    background-color: var(--vz-secondary-bg);
}

.triox-mini-stat .label {
    color: var(--vz-secondary-color);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.triox-mini-stat .value {
    font-weight: 700;
    color: var(--vz-heading-color);
}

.triox-side-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.triox-side-list-item {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: var(--vz-border-radius);
    border: 1px solid var(--vz-border-color);
    background-color: var(--vz-secondary-bg);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.triox-side-list-item:hover {
    border-color: rgba(var(--vz-primary-rgb), 0.28);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.triox-side-note {
    padding: 0.9rem 1rem;
    border-radius: var(--vz-border-radius);
    border: 1px solid var(--vz-border-color);
}

.triox-side-note-secondary {
    background: rgba(var(--vz-secondary-rgb), 0.08);
}

.triox-side-note-primary {
    background: rgba(var(--vz-primary-rgb), 0.08);
    border-color: rgba(var(--vz-primary-rgb), 0.18);
}

.triox-side-note-info {
    background: rgba(var(--vz-info-rgb), 0.08);
    border-color: rgba(var(--vz-info-rgb), 0.18);
}

.triox-side-note-warning {
    background: rgba(var(--vz-warning-rgb), 0.14);
    border-color: rgba(var(--vz-warning-rgb), 0.24);
}

.triox-side-note-danger {
    background: rgba(var(--vz-danger-rgb), 0.08);
    border-color: rgba(var(--vz-danger-rgb), 0.18);
}

.triox-side-note-success {
    background: rgba(var(--vz-success-rgb), 0.08);
    border-color: rgba(var(--vz-success-rgb), 0.18);
}

.triox-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.triox-inline-form .form-select {
    min-width: 150px;
}

.triox-task-board-scroll {
    max-height: calc(100vh - 355px);
    overflow: auto;
    padding-right: 0.25rem;
}

.triox-task-board-scroll::-webkit-scrollbar,
.triox-thread::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.triox-task-board-scroll::-webkit-scrollbar-thumb,
.triox-thread::-webkit-scrollbar-thumb {
    background: rgba(var(--vz-dark-rgb), 0.12);
    border-radius: 999px;
}

.module-support .page-title-box,
.module-support-center .page-title-box,
.module-tasks .page-title-box,
.module-projects .page-title-box,
.module-work-logs .page-title-box,
.module-customer-approvals .page-title-box,
.module-notifications .page-title-box,
.module-daily-summary .page-title-box,
.module-daily-reports .page-title-box,
.module-process-notes .page-title-box,
.module-customers .page-title-box,
.module-assigned-customers .page-title-box,
.module-consultant-assignments .page-title-box,
.module-orders .page-title-box,
.module-invoices .page-title-box,
.module-ledger .page-title-box,
.module-reports .page-title-box,
.module-management-reports .page-title-box,
.module-system-insights .page-title-box,
.module-activity-logs .page-title-box,
.module-settings .page-title-box,
.module-demo-requests .page-title-box,
.module-profile .page-title-box,
.module-exports .page-title-box,
.module-open-actions .page-title-box,
.module-meetings .page-title-box {
    margin-bottom: 0.75rem;
}

.triox-profile-media-card .profile-user .avatar-xl,
.triox-profile-media-card .profile-user .avatar-title,
.triox-profile-media-card .profile-user .user-profile-image,
.triox-profile-avatar-image {
    width: 7rem;
    height: 7rem;
}

.triox-company-logo-stage {
    min-height: 132px;
    border: 1px dashed var(--vz-border-color);
    border-radius: var(--vz-border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--vz-light-rgb), 0.35);
}

.triox-company-logo-stage img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.triox-company-logo-image {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.triox-profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

img.triox-profile-avatar-img.avatar-xxs {
    width: 1.5rem;
    height: 1.5rem;
}

img.triox-profile-avatar-img.avatar-xs {
    width: 2rem;
    height: 2rem;
}

img.triox-profile-avatar-img.avatar-sm {
    width: 3rem;
    height: 3rem;
}

img.triox-profile-avatar-img.avatar-md {
    width: 4.5rem;
    height: 4.5rem;
}

img.triox-profile-avatar-img.avatar-lg {
    width: 6rem;
    height: 6rem;
}

.triox-assignee-mini-avatar,
.triox-assignee-mini-avatar-img {
    width: 15px;
    height: 15px;
    min-width: 15px;
    border-radius: 50%;
}

.triox-assignee-mini-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 9px;
    line-height: 1;
}

.triox-assignee-mini-avatar-img {
    display: inline-block;
    object-fit: cover;
}

.triox-form-dropdown .btn {
    min-height: 38px;
    border-color: var(--vz-border-color);
    background-color: rgba(var(--vz-light-rgb), 0.5);
}

.triox-form-dropdown .dropdown-menu {
    max-height: 260px;
    overflow: auto;
}

.module-work-logs .triox-worklog-list-shell > .col-xxl-8 {
    display: none;
}

.module-work-logs .triox-worklog-list-shell > .col-xxl-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.module-work-logs .triox-worklog-customer-hero {
    display: none;
}

.module-customer-approvals #approvalCreatePanel > .row > .col-xxl-8,
.module-process-notes #processNoteCreateForm > .row > .col-xxl-8,
.module-consultant-assignments #assignmentCreateForm > .row > .col-xxl-8 {
    display: none;
}

.module-customer-approvals #approvalCreatePanel > .row > .col-xxl-4,
.module-process-notes #processNoteCreateForm > .row > .col-xxl-4,
.module-consultant-assignments #assignmentCreateForm > .row > .col-xxl-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.module-customer-approvals .triox-view-switch,
.module-customers .triox-view-switch,
.module-orders .triox-view-switch,
.module-invoices .triox-view-switch,
.module-ledger .triox-view-switch,
.module-open-actions .triox-view-switch,
.module-work-logs .triox-view-switch {
    display: none !important;
}

.module-customer-approvals #approvalCreatePanel .card.triox-shell-card,
.module-process-notes #processNoteCreateForm .card.triox-shell-card,
.module-consultant-assignments #assignmentCreateForm .card.triox-shell-card,
.module-work-logs #workLogCreateForm .card.triox-shell-card {
    margin-bottom: 0;
}

.module-work-logs #workLogCreateForm.collapse:not(.show) {
    display: none;
}

@media (max-width: 767.98px) {
    #ticketsList .card-header > .d-flex,
    #tasksList .card-header > .d-flex {
        gap: 0.85rem;
    }

    .triox-listjs-table .card-header > .d-flex,
    .triox-table-card .card-header > .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .triox-listjs-table .card-header .flex-grow-1,
    .triox-listjs-table .card-header .flex-shrink-0,
    .triox-table-card .card-header .flex-grow-1,
    .triox-table-card .card-header .flex-shrink-0 {
        width: 100%;
    }

    .triox-listjs-table .card-header .flex-shrink-0 > .d-flex,
    .triox-table-card .card-header .flex-shrink-0 > .d-flex {
        width: 100%;
        justify-content: stretch;
        gap: 0.75rem !important;
    }

    .triox-listjs-table .card-header .flex-shrink-0 > .d-flex > .btn,
    .triox-listjs-table .card-header .flex-shrink-0 > .d-flex > a.btn,
    .triox-table-card .card-header .flex-shrink-0 > .d-flex > .btn,
    .triox-table-card .card-header .flex-shrink-0 > .d-flex > a.btn {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
        justify-content: center;
        white-space: normal;
    }

    .triox-filter-trigger,
    .add-btn {
        min-width: 0;
    }

    .triox-list-card-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem !important;
    }

    #ticketsList .triox-list-card-actions,
    #tasksList .triox-list-card-actions {
        align-items: stretch;
    }

    .triox-list-card-actions > * {
        width: 100%;
    }

    .triox-list-card-actions .btn,
    .triox-list-card-actions a.btn {
        min-height: 44px;
    }

    #ticketsList .triox-list-card-actions > .btn,
    #ticketsList .triox-list-card-actions > a.btn,
    #tasksList .triox-list-card-actions > .btn,
    #tasksList .triox-list-card-actions > a.btn {
        justify-content: center;
        text-align: center;
        white-space: normal;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .triox-support-list-toolbar .row,
    .triox-task-list-toolbar .row {
        --vz-gutter-y: 0.75rem;
    }

    .triox-support-list-toolbar .btn,
    .triox-task-list-toolbar .btn {
        width: 100%;
    }

    .triox-listjs-table .pagination-wrap {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .triox-table-card .table thead th:last-child,
    .triox-table-card .table tbody td:last-child {
        width: auto;
    }

    .triox-view-switch .nav-link {
        min-width: 0;
    }

    .triox-title-with-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .triox-ticket-hero .triox-hero-band,
    .triox-task-hero .triox-hero-band,
    .triox-project-hero .triox-hero-band,
    .triox-meeting-hero .triox-hero-band {
        padding: 1rem;
    }

    [class*="detail-grid"] {
        --vz-gutter-y: 1rem;
    }

    [class*="detail-grid"] .card-header,
    [class*="detail-grid"] .card-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .triox-inline-form,
    .triox-status-stack,
    .triox-meta-list {
        gap: 0.5rem;
    }

    .triox-ticket-hero .triox-hero-band .d-flex.flex-column.flex-lg-row,
    .triox-task-hero .triox-hero-band .d-flex.flex-column.flex-lg-row,
    .triox-project-hero .triox-hero-band .d-flex.flex-column.flex-lg-row,
    .triox-meeting-hero .triox-hero-band .d-flex.flex-column.flex-lg-row,
    .triox-ticket-detail-hero .triox-hero-band .d-flex.flex-column.flex-lg-row,
    .triox-task-overview-card .triox-hero-band .d-flex.flex-column.flex-lg-row {
        align-items: stretch !important;
    }

    .triox-ticket-hero .triox-status-stack,
    .triox-task-hero .triox-status-stack,
    .triox-project-hero .triox-status-stack,
    .triox-meeting-hero .triox-status-stack,
    .triox-ticket-detail-hero .triox-status-stack,
    .triox-task-overview-card .triox-status-stack {
        width: 100%;
    }

    .triox-ticket-hero .triox-status-stack > .btn,
    .triox-ticket-hero .triox-status-stack > a.btn,
    .triox-task-hero .triox-status-stack > .btn,
    .triox-task-hero .triox-status-stack > a.btn,
    .triox-project-hero .triox-status-stack > .btn,
    .triox-project-hero .triox-status-stack > a.btn,
    .triox-meeting-hero .triox-status-stack > .btn,
    .triox-meeting-hero .triox-status-stack > a.btn,
    .triox-ticket-detail-hero .triox-status-stack > .btn,
    .triox-ticket-detail-hero .triox-status-stack > a.btn,
    .triox-task-overview-card .triox-status-stack > .btn,
    .triox-task-overview-card .triox-status-stack > a.btn {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
        text-align: center;
        min-height: 42px;
        white-space: normal;
    }

    .triox-ticket-detail-grid .btn.w-100,
    .triox-work-log-detail-grid .btn.w-100,
    .triox-project-detail-grid .btn.w-100,
    .triox-meeting-detail-grid .btn.w-100,
    .triox-approval-detail-grid .btn.w-100,
    .triox-report-detail-grid .btn.w-100,
    .triox-notification-detail-grid .btn.w-100,
    .triox-demo-detail-grid .btn.w-100 {
        min-height: 42px;
        white-space: normal;
        justify-content: center;
        text-align: center;
    }

    .triox-side-list-item {
        padding: 0.8rem 0.9rem;
    }

    .triox-side-table td:first-child,
    .triox-side-table td:last-child {
        display: block;
        width: 100%;
    }

    .triox-side-table td:first-child {
        padding-bottom: 0.2rem;
    }

    .triox-side-table td:last-child {
        padding-top: 0;
    }

    .triox-meeting-calendar {
        width: 4rem;
        min-width: 4rem;
    }
}

@media (max-width: 575.98px) {
    .triox-list-card-actions {
        grid-template-columns: 1fr;
    }

    .triox-ticket-hero .triox-status-stack > .btn,
    .triox-ticket-hero .triox-status-stack > a.btn,
    .triox-task-hero .triox-status-stack > .btn,
    .triox-task-hero .triox-status-stack > a.btn,
    .triox-project-hero .triox-status-stack > .btn,
    .triox-project-hero .triox-status-stack > a.btn,
    .triox-meeting-hero .triox-status-stack > .btn,
    .triox-meeting-hero .triox-status-stack > a.btn,
    .triox-ticket-detail-hero .triox-status-stack > .btn,
    .triox-ticket-detail-hero .triox-status-stack > a.btn,
    .triox-task-overview-card .triox-status-stack > .btn,
    .triox-task-overview-card .triox-status-stack > a.btn {
        flex-basis: 100%;
    }

    .triox-listjs-table .card-header .flex-shrink-0 > .d-flex > .btn,
    .triox-listjs-table .card-header .flex-shrink-0 > .d-flex > a.btn,
    .triox-table-card .card-header .flex-shrink-0 > .d-flex > .btn,
    .triox-table-card .card-header .flex-shrink-0 > .d-flex > a.btn {
        flex-basis: 100%;
    }

    .triox-listjs-table .card-header .badge,
    .triox-table-card .card-header .badge {
        white-space: normal;
    }
}

.triox-calendar-page #external-events {
    display: grid;
    gap: 0.75rem;
}

.triox-calendar-page .triox-calendar-stats {
    --vz-gutter-x: 0.65rem;
    --vz-gutter-y: 0.65rem;
}

.triox-calendar-page .triox-calendar-stat-card {
    border: 1px solid rgba(10, 38, 64, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 249, 0.92));
    padding: 0.8rem 0.55rem;
    min-height: 86px;
    text-align: center;
}

.triox-calendar-page .triox-calendar-stat-card span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.triox-calendar-page .triox-calendar-stat-card strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--vz-heading-color);
}

.triox-calendar-page .external-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    cursor: grab;
    border: 1px dashed rgba(10, 38, 64, 0.12);
    position: relative;
}

.triox-calendar-page .external-event:active {
    cursor: grabbing;
}

.triox-calendar-page .external-event::after {
    content: "\ea13";
    font-family: remixicon;
    font-size: 1rem;
    opacity: 0.35;
}

.triox-calendar-page .upcoming-event-item {
    border-radius: 1rem;
    background: #fff;
    width: 100%;
    border: 1px solid rgba(10, 38, 64, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.triox-calendar-page .upcoming-event-item:hover,
.triox-calendar-page .upcoming-event-item:focus {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.4rem rgba(10, 38, 64, 0.08);
    border-color: rgba(64, 201, 196, 0.45);
    outline: none;
}

.triox-calendar-page .triox-calendar-empty-state {
    border-style: dashed;
    background: rgba(243, 246, 249, 0.72);
}

.triox-calendar-page .triox-calendar-day-badge {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-weight: 700;
    line-height: 1;
}

.triox-calendar-page .triox-calendar-day-badge small {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.triox-calendar-page .fc .fc-toolbar {
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.triox-calendar-page .fc .fc-toolbar.fc-header-toolbar {
    flex-wrap: wrap;
}

.triox-calendar-page .fc .fc-button {
    border-radius: 0.85rem;
    text-transform: none;
    box-shadow: none !important;
}

.triox-calendar-page .fc .fc-toolbar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vz-heading-color);
}

.triox-calendar-page .fc .fc-button-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.triox-calendar-page .fc .fc-daygrid-event,
.triox-calendar-page .fc .fc-timegrid-event,
.triox-calendar-page .fc .fc-list-event {
    border-radius: 0.7rem;
    border-width: 0;
    overflow: hidden;
}

.triox-calendar-page .triox-calendar-event-inner,
.triox-calendar-page .triox-calendar-list-event,
.triox-calendar-page .triox-calendar-cell-event {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.triox-calendar-page .triox-calendar-event-body,
.triox-calendar-page .triox-calendar-list-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.triox-calendar-page .triox-calendar-event-time,
.triox-calendar-page .triox-calendar-list-meta {
    font-size: 0.72rem;
    line-height: 1.1;
    opacity: 0.86;
}

.triox-calendar-page .triox-calendar-event-title,
.triox-calendar-page .triox-calendar-list-title,
.triox-calendar-page .triox-calendar-cell-title {
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.triox-calendar-page .triox-calendar-event-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: currentColor;
}

.triox-calendar-page .triox-calendar-tone-info {
    color: #299cdb;
}

.triox-calendar-page .triox-calendar-tone-success {
    color: #0ab39c;
}

.triox-calendar-page .triox-calendar-tone-warning {
    color: #f7b84b;
}

.triox-calendar-page .triox-calendar-tone-danger {
    color: #f06548;
}

.triox-calendar-page .triox-calendar-tone-primary {
    color: #405189;
}

.triox-calendar-page .triox-calendar-tone-dark {
    color: #212529;
}

.triox-calendar-page .fc .fc-daygrid-event-harness {
    margin-top: 0.2rem;
}

.triox-calendar-page .fc .fc-list-event-title,
.triox-calendar-page .fc .fc-list-event-time {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.triox-calendar-page .fc .fc-multimonth {
    gap: 1rem;
}

.triox-calendar-page .fc .fc-multimonth-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vz-heading-color);
}

.triox-calendar-page .event-details h6,
.triox-calendar-page .event-details p {
    margin-bottom: 0;
}

.triox-calendar-page .event-details .badge {
    font-weight: 600;
}

.triox-calendar-page .event-details #event-people-tag .badge {
    padding: 0.5rem 0.75rem;
}

.triox-calendar-page .fc .fc-daygrid-day.fc-day-today,
.triox-calendar-page .fc .fc-timegrid-col.fc-day-today {
    background: rgba(64, 201, 196, 0.08);
}

.triox-calendar-page .event-form .choices {
    width: 100%;
}

.triox-calendar-page .event-form .choices__inner,
.triox-calendar-page .event-form .form-control,
.triox-calendar-page .event-form .input-group-text {
    border-radius: 0.85rem;
}

.triox-calendar-page .triox-calendar-plan-card {
    border: 1px dashed rgba(64, 81, 137, 0.18);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(244, 251, 250, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 1rem;
}

.triox-calendar-page .triox-calendar-plan-summary .triox-calendar-plan-card {
    padding: 0.9rem 1rem;
}

.triox-calendar-page .triox-calendar-plan-summary .badge {
    font-weight: 600;
}

.triox-calendar-page #work-plan-panel .choices,
.triox-calendar-page #work-plan-panel .form-control {
    width: 100%;
}

@media (max-width: 991.98px) {
    .triox-calendar-page .fc .fc-toolbar-chunk {
        width: 100%;
    }

    .triox-calendar-page .fc .fc-toolbar-title {
        text-align: left;
    }

    .triox-calendar-page .fc .fc-toolbar-chunk:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .triox-calendar-page .fc .fc-toolbar-chunk:last-child .fc-button {
        flex: 1 1 auto;
    }

    .triox-calendar-page .triox-calendar-stat-card {
        min-height: 78px;
    }

    .triox-calendar-page .upcoming-event-item .card-body {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .triox-calendar-page .fc .fc-multimonth {
        gap: 0.75rem;
    }

    .triox-calendar-page .triox-calendar-plan-card {
        padding: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .triox-calendar-page .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .triox-calendar-page .fc .fc-button-group {
        width: 100%;
    }

    .triox-calendar-page .fc .fc-button-group .fc-button {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .triox-calendar-page .fc .fc-list-event-title,
    .triox-calendar-page .fc .fc-list-event-time {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

.triox-settings-stack .triox-mail-master-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.triox-mail-group + .triox-mail-group {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(10, 38, 64, 0.08);
}

.triox-mail-switch-card {
    border: 1px solid rgba(10, 38, 64, 0.1);
    border-radius: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
}

.triox-mail-switch-card:hover {
    border-color: rgba(10, 38, 64, 0.18);
    box-shadow: 0 12px 32px rgba(10, 38, 64, 0.08);
    transform: translateY(-1px);
}

.triox-mail-switch-card.is-active {
    border-color: rgba(64, 201, 196, 0.45);
    box-shadow: 0 14px 30px rgba(64, 201, 196, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 251, 250, 0.92) 100%);
}

.triox-mail-switch-card .form-check-input {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .triox-settings-stack .triox-mail-master-switch {
        width: 100%;
        justify-content: space-between;
    }

    .triox-mail-switch-card .card-body {
        padding: 1rem;
    }
}

.triox-shepherd-theme {
    max-width: min(380px, calc(100vw - 32px));
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24) !important;
    overflow: hidden;
}

.triox-shepherd-theme .shepherd-header {
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(64, 201, 196, 0.16), rgba(99, 102, 241, 0.12));
    padding: 1rem 1.15rem 0.85rem;
}

.triox-shepherd-theme .shepherd-title {
    color: #24364f;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.triox-shepherd-theme .shepherd-cancel-icon {
    color: #64748b;
    font-size: 1.6rem;
    line-height: 1;
}

.triox-shepherd-theme .shepherd-text {
    color: #5f6f89;
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 1rem 1.15rem 0.25rem;
}

.triox-shepherd-theme .shepherd-footer {
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 1.15rem 1.15rem;
}

.triox-shepherd-theme .shepherd-button {
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    min-width: 86px;
    padding: 0.55rem 1rem;
}

.triox-shepherd-theme .shepherd-button.btn-primary {
    background: linear-gradient(135deg, #ff7356, #6366f1);
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.18);
}

.triox-shepherd-theme .shepherd-button.btn-light {
    background: #f4f7fb;
    color: #4b5871;
}

.triox-tour-copy {
    display: grid;
    gap: 0.85rem;
}

.triox-tour-step-count {
    align-self: start;
    background: #f4f7fb;
    border-radius: 999px;
    color: #61708a;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.42rem 0.65rem;
}
