body.site-body {
    background: #edf4ff;
    background-attachment: fixed;
    color: #172033;
}

body.site-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.42);
    opacity: 1;
}

body.site-body .bg-hero-mesh {
    background: rgba(255, 255, 255, 0.34) !important;
}

body.site-body .text-white,
body.site-body .\!text-white {
    color: #172033 !important;
}

body.site-body .text-white\/80 {
    color: #425370 !important;
}

body.site-body .text-white\/75,
body.site-body .text-white\/70 {
    color: #536581 !important;
}

body.site-body .text-white\/60 {
    color: #657694 !important;
}

body.site-body .text-slate-500 {
    color: #667892 !important;
}

body.site-body .text-slate-600 {
    color: #4f617d !important;
}

body.site-body .text-slate-700 {
    color: #32445f !important;
}

body.site-body .text-slate-800,
body.site-body .text-slate-900 {
    color: #172033 !important;
}

body.site-body .text-brand-lime,
body.site-body .text-brand-blue {
    color: #446ec9 !important;
}

body.site-body .border-white\/10,
body.site-body .border-white\/15,
body.site-body .border-white\/5 {
    border-color: rgba(123, 150, 192, 0.2) !important;
}

body.site-body .border-slate-200,
body.site-body .border-slate-300,
body.site-body .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(123, 150, 192, 0.18) !important;
}

body.site-body .bg-white\/10,
body.site-body .bg-white\/5,
body.site-body .bg-slate-950,
body.site-body .bg-slate-950\/40,
body.site-body .\!bg-slate-950,
body.site-body .\!bg-slate-950\/80 {
    background: rgba(255, 255, 255, 0.68) !important;
    backdrop-filter: blur(28px) saturate(142%) !important;
}

body.site-body .bg-slate-50,
body.site-body .bg-slate-100,
body.site-body .bg-white {
    background: rgba(255, 255, 255, 0.82) !important;
}

body.site-body .rounded-full,
body.site-body .rounded-\[1\.5rem\],
body.site-body .rounded-\[1\.75rem\],
body.site-body .rounded-\[2rem\],
body.site-body .rounded-3xl,
body.site-body .rounded-2xl {
    border-radius: 0.92rem !important;
}

body.site-body .panel {
    border-radius: 1rem !important;
    border: 1px solid rgba(123, 150, 192, 0.18) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 24px 48px rgba(138, 160, 194, 0.18) !important;
    backdrop-filter: blur(32px) saturate(145%);
}

body.site-body .shadow-panel {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 24px 48px rgba(138, 160, 194, 0.18) !important;
}

body.site-body .input {
    border-radius: 0.88rem !important;
    border-color: rgba(123, 150, 192, 0.22) !important;
    background: rgba(255, 255, 255, 0.84) !important;
    color: #172033 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 22px rgba(135, 158, 192, 0.12) !important;
}

body.site-body .input::placeholder {
    color: #7a88a1 !important;
}

body.site-body .input:focus {
    border-color: rgba(115, 162, 234, 0.9) !important;
    box-shadow: 0 0 0 2px rgba(147, 192, 255, 0.22), 0 16px 28px rgba(135, 158, 192, 0.16) !important;
}

body.site-body .label {
    color: #3a4d68 !important;
}

body.site-body .badge {
    border-radius: 0.72rem !important;
    border: 1px solid rgba(123, 150, 192, 0.18);
    background: rgba(244, 248, 255, 0.78) !important;
    color: #426ac2 !important;
    padding: 0.42rem 0.78rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .btn-primary,
body.site-body .btn-secondary,
body.site-body .btn-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.58rem;
    border-radius: 0.72rem !important;
    padding: 0.82rem 1.28rem !important;
    box-shadow: 0 14px 28px rgba(137, 158, 191, 0.16) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body.site-body .btn-icon,
.admin-body .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    min-width: 1rem;
    margin-right: 0;
    line-height: 1;
}

body.site-body .btn-primary > span,
body.site-body .btn-secondary > span,
body.site-body .btn-danger > span,
.admin-body .btn-primary > span,
.admin-body .btn-secondary > span,
.admin-body .btn-account > span,
.admin-body .btn-danger > span {
    display: inline-block;
}

body.site-body .auth-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

body.site-body .link-icon,
.admin-body .link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    min-width: 0.95rem;
    line-height: 1;
}

body.site-body .site-flash-stack {
    margin-top: 0.35rem;
}

body.site-body .site-flash-bar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 14px 28px rgba(138, 160, 194, 0.12);
}

body.site-body .btn-primary {
    border: 1px solid rgba(34, 83, 175, 0.2) !important;
    background: linear-gradient(135deg, #2f5fb8 0%, #4f8fe0 100%) !important;
    color: #ffffff !important;
}

body.site-body .btn-secondary {
    border: 1px solid rgba(217, 156, 60, 0.24) !important;
    background: linear-gradient(135deg, rgba(255, 247, 228, 0.96) 0%, rgba(255, 236, 193, 0.96) 100%) !important;
    color: #855200 !important;
}

body.site-body .btn-danger {
    border: 1px solid rgba(190, 48, 74, 0.28) !important;
    background: linear-gradient(135deg, rgba(255, 238, 242, 0.98) 0%, rgba(255, 212, 221, 0.98) 100%) !important;
    color: #a3203b !important;
}

body.site-body .btn-primary:hover,
body.site-body .btn-secondary:hover,
body.site-body .btn-danger:hover {
    transform: translateY(-1px);
}

body.site-body .btn-primary:hover {
    background: linear-gradient(135deg, #2853a4 0%, #437fd0 100%) !important;
    box-shadow: 0 18px 34px rgba(71, 112, 184, 0.24) !important;
}

body.site-body .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 241, 205, 0.98) 0%, rgba(255, 226, 160, 0.98) 100%) !important;
    box-shadow: 0 18px 34px rgba(190, 144, 59, 0.18) !important;
}

body.site-body .btn-danger:hover {
    background: linear-gradient(135deg, rgba(255, 229, 235, 1) 0%, rgba(255, 199, 211, 1) 100%) !important;
    box-shadow: 0 18px 34px rgba(184, 76, 103, 0.18) !important;
}

body.site-body .site-danger-panel {
    border-color: rgba(192, 112, 129, 0.2) !important;
    background: linear-gradient(180deg, rgba(255, 250, 251, 0.9) 0%, rgba(255, 242, 245, 0.86) 100%) !important;
}

body.site-body .hover\:text-white:hover {
    color: #355da9 !important;
}

body.site-body .hover\:bg-white\/5:hover {
    background: rgba(238, 245, 255, 0.7) !important;
}

body.site-body .site-brand-mark {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #2b4d8d;
    overflow: visible;
    padding: 0;
}

body.site-body .site-brand-icon,
.admin-brand-icon {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    object-fit: cover;
}

body.site-body .site-chip,
body.site-body .site-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 0.72rem;
    border: 1px solid rgba(120, 153, 214, 0.22);
    background: rgba(244, 248, 255, 0.78);
    padding: 0.38rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #355da9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-status-badge.status-new,
.admin-status-badge.status-new {
    border-color: rgba(93, 122, 184, 0.24);
    background: rgba(235, 241, 255, 0.96);
    color: #39558f;
}

body.site-body .site-status-badge.status-open,
.admin-status-badge.status-open,
body.site-body .site-status-badge.status-active,
.admin-status-badge.status-active {
    border-color: rgba(79, 150, 214, 0.24);
    background: rgba(230, 244, 255, 0.96);
    color: #1f5e96;
}

body.site-body .site-status-badge.status-in-progress,
.admin-status-badge.status-in-progress,
body.site-body .site-status-badge.status-pending-verification,
.admin-status-badge.status-pending-verification {
    border-color: rgba(222, 161, 72, 0.28);
    background: rgba(255, 244, 224, 0.96);
    color: #8c5d12;
}

body.site-body .site-status-badge.status-waiting-user,
.admin-status-badge.status-waiting-user {
    border-color: rgba(222, 161, 72, 0.28);
    background: rgba(255, 244, 224, 0.96);
    color: #8c5d12;
}

body.site-body .site-status-badge.status-resolved,
.admin-status-badge.status-resolved,
body.site-body .site-status-badge.status-completed,
.admin-status-badge.status-completed {
    border-color: rgba(74, 159, 118, 0.26);
    background: rgba(232, 248, 239, 0.96);
    color: #1f6a4a;
}

body.site-body .site-status-badge.status-closed,
.admin-status-badge.status-closed {
    border-color: rgba(123, 136, 160, 0.24);
    background: rgba(239, 242, 247, 0.96);
    color: #4e5f79;
}

.admin-status-badge.visibility-public {
    border-color: rgba(74, 159, 118, 0.24);
    background: rgba(232, 248, 239, 0.96);
    color: #1f6a4a;
}

.admin-status-badge.visibility-internal {
    border-color: rgba(181, 114, 171, 0.24);
    background: rgba(248, 236, 246, 0.96);
    color: #7a3e73;
}

body.site-body .site-locale-switcher {
    display: inline-flex;
    align-items: center;
}

body.site-body .site-locale-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.2rem;
    border-radius: 0.82rem;
    border: 1px solid rgba(120, 153, 214, 0.2);
    background: rgba(255, 255, 255, 0.76);
    padding: 0.32rem 0.45rem 0.32rem 0.62rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-locale-caption {
    color: #5c6f8d;
    font-size: 0.78rem;
    font-weight: 600;
}

body.site-body .site-locale-select {
    min-width: 4.8rem;
    border: 0;
    background: transparent;
    color: #294263;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    outline: none;
}

body.site-body .site-locale-select option {
    color: #172033;
}

body.site-body .site-menu-button {
    border-radius: 0.82rem;
    border: 1px solid rgba(123, 150, 192, 0.2);
    background: rgba(255, 255, 255, 0.78);
    color: #324863;
    padding: 0.72rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-mobile-panel,
body.site-body .site-soft-panel {
    border-radius: 0.94rem;
    border: 1px solid rgba(123, 150, 192, 0.18);
    background: rgba(255, 255, 255, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-action-card,
body.site-body .site-quick-item {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    border-radius: 0.96rem;
    border: 1px solid rgba(123, 150, 192, 0.18);
    background: rgba(255, 255, 255, 0.6);
    padding: 0.95rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-action-card {
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

body.site-body .site-action-card:hover {
    transform: translateY(-1px);
    border-color: rgba(100, 140, 208, 0.26);
    background: rgba(255, 255, 255, 0.72);
}

body.site-body .site-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 153, 214, 0.18);
    background: rgba(244, 248, 255, 0.7);
    color: #3d62ad;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body.site-body .site-action-icon svg {
    width: 0.92rem;
    height: 0.92rem;
}

body.site-body .site-action-icon.is-tiny {
    width: 1.75rem;
    height: 1.75rem;
}

body.site-body .site-quick-item {
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.56);
}

body.site-body .site-quick-item.is-link {
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

body.site-body .site-quick-item.is-link:hover {
    transform: translateY(-1px);
    border-color: rgba(100, 140, 208, 0.24);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 16px 28px rgba(138, 160, 194, 0.12);
}

body.site-body .site-action-title,
body.site-body .site-quick-title {
    color: #1d2b44;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

body.site-body .site-action-copy,
body.site-body .site-quick-copy {
    margin-top: 0.25rem;
    color: #556781;
    font-size: 0.8rem;
    line-height: 1.6;
}

body.site-body .site-emphasis-panel {
    border: 1px solid rgba(120, 153, 214, 0.22) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 22px 42px rgba(138, 160, 194, 0.18) !important;
}

body.site-body .site-inline-check {
    border-radius: 0.9rem !important;
    border: 1px solid rgba(123, 150, 192, 0.18) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    color: #4d607b !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-footer {
    border-color: rgba(123, 150, 192, 0.18) !important;
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(26px) saturate(142%);
}

body.site-body .site-lookup-intro {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.site-body .site-lookup-intro p {
    margin: 0;
}

body.site-body .site-action-row .btn-primary,
body.site-body .site-action-row .btn-secondary {
    width: auto !important;
    justify-self: start;
}

body.site-body .site-lookup-form {
    display: block;
}

body.site-body .site-lookup-field {
    min-width: 0;
}

body.site-body .site-lookup-label-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

body.site-body .site-lookup-label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    white-space: nowrap;
}

body.site-body .site-lookup-control-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem;
}

body.site-body .site-lookup-input {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 2.9rem;
    padding: 0.78rem 1rem !important;
    margin: 0;
}

body.site-body .site-lookup-submit {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.9rem;
    padding: 0.78rem 1rem !important;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 639px) {
    body.site-body .site-lookup-control-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    body.site-body .site-lookup-submit {
        width: 100%;
        justify-content: center;
    }
}

body.site-body .site-meta-grid {
    display: grid;
    gap: 0.85rem;
}

body.site-body .site-meta-item {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    border-radius: 0.9rem;
    border: 1px solid rgba(123, 150, 192, 0.16);
    background: rgba(255, 255, 255, 0.58);
    padding: 0.9rem 1rem;
}

body.site-body .site-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #3d62ad;
    box-shadow: none;
}

body.site-body .site-meta-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

body.site-body .site-meta-icon.is-compact {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0;
}

body.site-body .site-meta-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6780a6;
}

body.site-body .site-meta-value {
    margin-top: 0.2rem;
    color: #1a2942;
    line-height: 1.55;
}

body.site-body .site-inline-hint {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(84, 116, 184, 0.18);
    background: linear-gradient(180deg, rgba(236, 243, 255, 0.98), rgba(221, 233, 255, 0.96));
    color: #3158a8;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    box-shadow: 0 4px 10px rgba(74, 106, 170, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    vertical-align: middle;
}

body.site-body .site-inline-hint:hover,
body.site-body .site-inline-hint:focus {
    border-color: rgba(68, 106, 186, 0.28);
    background: linear-gradient(180deg, rgba(245, 249, 255, 1), rgba(228, 238, 255, 0.98));
    color: #234796;
}

body.site-body .site-inline-hint::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 40;
    left: 50%;
    bottom: calc(100% + 0.6rem);
    width: min(18rem, 70vw);
    transform: translateX(-50%) translateY(0.25rem);
    border-radius: 0.9rem;
    background: rgba(26, 41, 66, 0.94);
    color: #f7fbff;
    padding: 0.7rem 0.85rem;
    font-size: 0.76rem;
    line-height: 1.5;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
    box-shadow: 0 18px 36px rgba(39, 60, 98, 0.24);
}

.global-inline-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    max-width: min(20rem, calc(100vw - 1.5rem));
    transform: translate(-50%, calc(-100% - 0.35rem));
    border-radius: 0.9rem;
    background: rgba(26, 41, 66, 0.96);
    color: #f8fbff;
    padding: 0.72rem 0.9rem;
    font-size: 0.76rem;
    line-height: 1.5;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 18px 36px rgba(39, 60, 98, 0.22);
    transition: opacity 0.14s ease;
}

.global-inline-tooltip.is-visible {
    opacity: 1;
}

body.site-body .site-inline-hint:hover::after,
body.site-body .site-inline-hint:focus::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ticket-message-row {
    display: flex;
}

.ticket-message-stack {
    display: grid;
    gap: 0.45rem;
    max-width: min(100%, 48rem);
}

.ticket-message-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
}

.ticket-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    min-width: 0;
}

.ticket-message-author-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.ticket-message-author-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.ticket-message-role {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-message-bubble {
    width: fit-content;
    max-width: min(100%, 48rem);
    min-width: min(22rem, 100%);
    border-radius: 1.2rem;
    padding: 1rem 1.1rem;
}

.ticket-message-body {
    word-break: break-word;
}

.ticket-message-attachments {
    display: grid;
    gap: 0.55rem;
}

.ticket-message-attachment-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticket-message-attachment-link {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    border-radius: 0.95rem;
    padding: 0.82rem 0.95rem;
    text-decoration: none;
}

.ticket-message-bubble-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    margin-top: 0.85rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
}

.ticket-message-edited,
.ticket-message-time {
    white-space: nowrap;
}

body.site-body .site-message-head {
    align-items: center;
}

body.site-body .site-message-author {
    gap: 0.5rem;
    min-height: 1.75rem;
}

body.site-body .site-message-author-name {
    color: #355da9;
}

body.site-body .site-message-time {
    color: inherit;
    white-space: nowrap;
}

body.site-body .site-message-meta-line {
    color: #667186;
}

body.site-body .site-message-edited {
    color: inherit;
}

body.site-body .site-chat-thread {
    display: grid;
    gap: 0.9rem;
}

body.site-body .site-chat-row.is-team {
    justify-content: flex-start;
}

body.site-body .site-chat-row.is-customer {
    justify-content: flex-end;
}

body.site-body .site-chat-stack.is-team {
    justify-items: start;
}

body.site-body .site-chat-stack.is-customer {
    justify-items: end;
}

body.site-body .site-chat-bubble {
    border: 1px solid rgba(123, 150, 192, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .site-chat-bubble.is-team {
    background: rgba(255, 255, 255, 0.62);
}

body.site-body .site-chat-bubble.is-customer {
    background: rgba(226, 238, 255, 0.88);
    border-color: rgba(115, 152, 224, 0.24);
}

body.site-body .portal-stack {
    display: grid;
    gap: 1.5rem;
}

body.site-body .portal-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

body.site-body .portal-copy {
    max-width: 44rem;
    color: #5c677d;
    font-size: 0.97rem;
    line-height: 1.8;
}

body.site-body .portal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

body.site-body .portal-actions.is-compact {
    justify-content: flex-start;
}

body.site-body .portal-stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.site-body .portal-stat-card,
body.site-body .portal-mini-card,
body.site-body .portal-link-card,
body.site-body .portal-ticket-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border: 1px solid rgba(137, 160, 197, 0.2);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.76);
}

body.site-body .portal-stat-card {
    padding: 1rem 1.05rem;
}

body.site-body .portal-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0;
    color: #1f5fae;
    background: transparent;
    flex: 0 0 auto;
}

body.site-body .portal-stat-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

body.site-body .portal-stat-icon.is-small {
    width: 2.35rem;
    height: 2.35rem;
}

body.site-body .portal-stat-label,
body.site-body .portal-mini-label {
    color: #667186;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.site-body .portal-stat-value,
body.site-body .portal-mini-value,
body.site-body .portal-link-title,
body.site-body .portal-ticket-ref,
body.site-body .portal-ticket-subject {
    color: #172033;
}

body.site-body .portal-stat-value {
    margin-top: 0.25rem;
    font-size: 1.18rem;
    font-weight: 700;
}

body.site-body .portal-ticket-list,
body.site-body .portal-quick-links,
body.site-body .portal-mini-grid {
    display: grid;
    gap: 0.9rem;
}

body.site-body .portal-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.site-body .portal-mini-card,
body.site-body .portal-link-card {
    padding: 1rem;
}

body.site-body .portal-link-card {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

body.site-body .portal-link-card:hover {
    border-color: rgba(82, 123, 193, 0.34);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(39, 60, 98, 0.08);
}

body.site-body .portal-link-copy,
body.site-body .portal-ticket-meta,
body.site-body .portal-ticket-time,
body.site-body .portal-form-hint,
body.site-body .portal-empty-state,
body.site-body .portal-table-link {
    color: #667186;
    font-size: 0.92rem;
}

body.site-body .portal-ticket-row {
    justify-content: space-between;
    padding: 1rem 1.05rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

body.site-body .portal-ticket-row:hover {
    border-color: rgba(82, 123, 193, 0.34);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(39, 60, 98, 0.08);
}

body.site-body .portal-ticket-main,
body.site-body .portal-ticket-side {
    display: grid;
    gap: 0.3rem;
}

body.site-body .portal-ticket-side {
    justify-items: end;
    text-align: right;
}

body.site-body .portal-ticket-ref {
    font-size: 0.83rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f5fae;
}

body.site-body .portal-ticket-subject {
    font-size: 1rem;
    font-weight: 700;
}

body.site-body .portal-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
}

body.site-body .portal-empty-state {
    padding: 1.2rem 1rem;
    border: 1px dashed rgba(137, 160, 197, 0.36);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.46);
}

body.site-body .portal-inline-reply {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(137, 160, 197, 0.18);
}

body.site-body .portal-reply-card {
    border-radius: 1.25rem;
}

body.site-body .portal-reply-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.site-body .portal-reply-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

body.site-body .portal-reply-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 150, 192, 0.18);
    background: rgba(244, 248, 255, 0.82);
    color: #426ac2;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.site-body .portal-reply-label {
    display: inline-block;
    margin-bottom: -0.5rem;
}

body.site-body .portal-reply-form .textarea {
    min-height: 10rem;
}

body.site-body .portal-reply-textarea {
    min-height: 10rem;
    resize: vertical;
}

body.site-body .portal-reply-textarea:focus {
    transform: none;
}

body.site-body .portal-reply-hint {
    max-width: 34rem;
}

body.site-body .portal-thread-card,
body.site-body .portal-reply-section {
    scroll-margin-top: 1.5rem;
}

body.site-body .portal-edit-reply {
    display: grid;
    gap: 1.25rem;
}

body.site-body .portal-edit-reply-inline {
    margin-top: 1rem;
}

body.site-body .portal-reply-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
}

body.site-body .portal-reply-summary.is-inline {
    align-items: center;
}

body.site-body .portal-edit-trigger {
    color: #24519a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.site-body .portal-reply-summary::-webkit-details-marker {
    display: none;
}

body.site-body .portal-edit-reply[open] .portal-reply-summary {
    margin-bottom: 0.25rem;
}

body.site-body .portal-edit-reply > .portal-reply-card {
    margin-top: 0;
}

body.site-body .portal-inline-reply {
    border-radius: 1rem;
    border: 1px solid rgba(123, 150, 192, 0.16);
    background: rgba(255, 255, 255, 0.62);
}

body.site-body .site-ticket-message-actions,
.admin-ticket-message-actions {
    margin-top: 0.9rem;
    display: flex;
    justify-content: flex-end;
}

body.site-body .site-ticket-message-actions.is-customer {
    justify-content: flex-start;
}

body.site-body .portal-thread-action,
.admin-thread-action {
    min-height: 2.2rem;
    padding: 0.52rem 0.9rem !important;
    font-size: 0.78rem;
}

body.site-body .portal-file-input {
    padding: 0.78rem 0.95rem !important;
}

body.site-body .portal-file-input::file-selector-button {
    margin-right: 0.75rem;
    border: 0;
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.98);
    color: #21304c;
    padding: 0.5rem 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(124, 145, 177, 0.14);
}

body.site-body .portal-file-input::file-selector-button:hover {
    background: rgba(255, 255, 255, 1);
}

body.site-body .site-attachment-manage,
body.site-body .site-attachment-list,
.admin-attachment-manage,
.admin-attachment-list {
    display: grid;
    gap: 0.75rem;
}

body.site-body .site-attachment-title,
.admin-attachment-title {
    color: #51637d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.site-body .site-attachment-link,
body.site-body .site-attachment-check,
.admin-attachment-check {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    border: 1px solid rgba(123, 150, 192, 0.18);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.82rem 0.95rem;
    text-decoration: none;
}

body.site-body .site-attachment-link {
    color: #27497f;
    transition: border-color 0.14s ease, transform 0.14s ease, background-color 0.14s ease;
}

body.site-body .site-attachment-link:hover {
    border-color: rgba(82, 123, 193, 0.34);
    background: rgba(255, 255, 255, 0.84);
    transform: translateY(-1px);
}

body.site-body .site-attachment-check input,
.admin-attachment-check input {
    margin-top: 0.15rem;
}

body.site-body .site-attachment-check-main,
.admin-attachment-check-main {
    display: grid;
    gap: 0.12rem;
}

body.site-body .site-attachment-check-name,
.admin-attachment-check-name {
    color: #172033;
    font-weight: 600;
    line-height: 1.45;
}

body.site-body .site-attachment-check-action,
.admin-attachment-check-action {
    color: #6a7891;
    font-size: 0.82rem;
}

.admin-attachment-check {
    background: rgba(255, 255, 255, 0.82);
}

body.site-body .portal-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.site-body .portal-form-foot.is-end {
    justify-content: flex-end;
}

body.site-body .portal-table-link {
    font-weight: 600;
    color: #1f5fae;
    text-decoration: none;
}

body.site-body .portal-table-link:hover {
    text-decoration: underline;
}

@media (max-width: 639px) {
    body.site-body .site-chat-bubble {
        width: 100%;
    }

    body.site-body .portal-hero,
    body.site-body .portal-form-foot,
    body.site-body .portal-reply-head {
        flex-direction: column;
        align-items: stretch;
    }

    body.site-body .portal-reply-head-actions,
    .admin-reply-head,
    .admin-reply-head-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.site-body .portal-actions,
    body.site-body .portal-actions.is-compact {
        justify-content: stretch;
    }

    body.site-body .portal-actions > * {
        width: 100%;
    }

    body.site-body .portal-stat-grid,
    body.site-body .portal-mini-grid {
        grid-template-columns: 1fr;
    }

    body.site-body .portal-ticket-row {
        flex-direction: column;
    }

    body.site-body .portal-ticket-side {
        justify-items: start;
        text-align: left;
    }
}

body.site-body .font-semibold {
    font-weight: 700;
}

body.site-body .font-medium {
    font-weight: 600;
}

body.site-body .text-4xl {
    font-size: 2.5rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

body.site-body .text-3xl {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

body.site-body .text-2xl {
    font-size: 1.72rem;
    line-height: 1.14;
    letter-spacing: -0.018em;
}

body.site-body .text-xl {
    font-size: 1.34rem;
    line-height: 1.3;
    letter-spacing: -0.012em;
}

.admin-body {
    background:
        radial-gradient(circle at top left, rgba(141, 205, 255, 0.5), transparent 24%),
        radial-gradient(circle at 86% 14%, rgba(214, 231, 255, 0.72), transparent 20%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.88), transparent 30%),
        #e8f0fb;
    background-attachment: fixed;
    color: #172033 !important;
}

.admin-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.32), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 16%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.36), transparent 18%);
    opacity: 0.95;
}

.admin-body .text-white,
.admin-body.text-white,
.admin-body .text-slate-100,
.admin-body.text-slate-100,
.admin-body .text-slate-200,
.admin-body .\!text-slate-200 {
    color: #172033 !important;
}

.admin-body .text-slate-300 {
    color: #475874 !important;
}

.admin-body .text-slate-400,
.admin-body .text-slate-500 {
    color: #61728f !important;
}

.admin-body .border-white\/10,
.admin-body .border-white\/5 {
    border-color: rgba(117, 142, 181, 0.18) !important;
}

.admin-body .divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(117, 142, 181, 0.18) !important;
}

.admin-body.bg-slate-950,
.admin-body .bg-slate-950,
.admin-body .bg-white\/5,
.admin-body .bg-slate-950\/40,
.admin-body .bg-slate-950\/80,
.admin-body .bg-black\/30 {
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(30px) saturate(140%) !important;
}

.admin-body .bg-rose-500\/10 {
    background: rgba(255, 236, 238, 0.88) !important;
}

.admin-body .border-rose-200\/20 {
    border-color: rgba(232, 122, 139, 0.28) !important;
}

.admin-body .text-rose-200 {
    color: #9d2e45 !important;
}

.admin-body .bg-emerald-500\/10 {
    background: rgba(232, 249, 241, 0.92) !important;
}

.admin-body .border-emerald-200\/20 {
    border-color: rgba(51, 156, 114, 0.24) !important;
}

.admin-body .text-emerald-200 {
    color: #20674d !important;
}

.admin-body .rounded-full,
.admin-body .rounded-\[1\.5rem\],
.admin-body .rounded-\[1\.75rem\],
.admin-body .rounded-3xl,
.admin-body .rounded-2xl,
.admin-body .rounded-\[2rem\] {
    border-radius: 0.9rem !important;
}

.admin-body table,
.admin-body th,
.admin-body td,
.admin-body label,
.admin-body summary {
    color: #23324c;
}

.admin-body .hover\:bg-white\/5:hover {
    background: rgba(235, 242, 252, 0.66) !important;
}

.admin-body .hover\:text-white:hover {
    color: #1f417c !important;
}

.input-dark,
.select-dark,
.textarea-dark,
.file-input-dark {
    border-color: rgba(125, 149, 183, 0.24) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #172033 !important;
    border-radius: 0.82rem !important;
    backdrop-filter: blur(26px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 28px rgba(125, 146, 179, 0.16);
}

.input-dark::placeholder,
.textarea-dark::placeholder {
    color: rgba(95, 111, 137, 0.8) !important;
}

.input-dark:focus,
.select-dark:focus,
.textarea-dark:focus,
.file-input-dark:focus {
    border-color: rgba(125, 175, 236, 0.85) !important;
    box-shadow: 0 0 0 2px rgba(143, 192, 255, 0.24), 0 16px 30px rgba(123, 145, 177, 0.18) !important;
}

.select-dark option {
    background-color: #f5f9ff;
    color: #172033;
}

.checkbox-dark {
    accent-color: #6fa0ff;
}

.file-input-dark::file-selector-button {
    margin-right: 0.75rem;
    border: 0;
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.98);
    color: #21304c;
    padding: 0.5rem 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(124, 145, 177, 0.14);
}

.file-input-dark::file-selector-button:hover {
    background: rgba(255, 255, 255, 1);
}

.prose-support {
    color: inherit;
}

.prose-support h1,
.prose-support h2,
.prose-support h3,
.prose-support h4,
.prose-support h5,
.prose-support h6 {
    margin-top: 1.4rem;
    margin-bottom: 0.45rem;
    color: #172033;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.prose-support h1:first-child,
.prose-support h2:first-child,
.prose-support h3:first-child,
.prose-support h4:first-child,
.prose-support h5:first-child,
.prose-support h6:first-child {
    margin-top: 0;
}

.prose-support h1 {
    font-size: 2rem;
}

.prose-support h2 {
    font-size: 1.65rem;
}

.prose-support h3 {
    font-size: 1.4rem;
}

.prose-support h4 {
    font-size: 1.18rem;
}

.prose-support h5 {
    font-size: 1rem;
}

.prose-support h6 {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.prose-support p,
.prose-support ul,
.prose-support ol,
.prose-support pre,
.prose-support blockquote {
    margin-top: 0.75rem;
}

.prose-support p:first-child,
.prose-support ul:first-child,
.prose-support ol:first-child,
.prose-support pre:first-child,
.prose-support blockquote:first-child {
    margin-top: 0;
}

.prose-support ul,
.prose-support ol {
    padding-left: 1.25rem;
}

.prose-support ul {
    list-style: disc;
}

.prose-support ol {
    list-style: decimal;
}

.prose-support a {
    color: #356fe0;
    text-decoration: underline;
}

.prose-support code {
    border-radius: 0.5rem;
    background-color: rgba(220, 231, 245, 0.9);
    color: #20304d;
    padding: 0.15rem 0.35rem;
}

.prose-support pre {
    overflow: auto;
    border-radius: 1rem;
    background-color: rgba(231, 239, 249, 0.96);
    padding: 1rem;
    color: #1d2a43;
}

.prose-support pre code {
    background-color: transparent;
    padding: 0;
}

.prose-support blockquote {
    border-left: 3px solid rgba(117, 152, 212, 0.42);
    padding-left: 1rem;
    color: #536787;
}

.admin-section-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid rgba(126, 149, 183, 0.18);
    background: rgba(255, 255, 255, 0.74);
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 24px 48px rgba(143, 161, 191, 0.18);
    backdrop-filter: blur(32px) saturate(145%);
}

.admin-section-card::before,
.admin-metric-card::before,
.admin-panel-card::before,
.admin-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
}

.admin-shell {
    display: block;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.admin-sidebar {
    border-right: 1px solid rgba(145, 165, 198, 0.18);
    background: rgba(255, 255, 255, 0.58);
    padding: 1.5rem;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(34px) saturate(145%);
}

.admin-main {
    min-width: 0;
    padding: 1.5rem;
}

.admin-sidebar-panel {
    display: grid;
    gap: 1.5rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-brand-mark {
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    color: #325dcb;
    font-weight: 700;
    border: 1px solid rgba(132, 162, 209, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 26px rgba(127, 148, 184, 0.16);
    overflow: hidden;
    padding: 0.18rem;
}

.admin-sidebar-group {
    display: grid;
    gap: 0.75rem;
}

.admin-nav-link {
    display: block;
    border-radius: 0.82rem;
    border: 1px solid rgba(132, 155, 190, 0.16);
    padding: 0.88rem 1rem;
    color: #30415f;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.admin-nav-link:hover {
    border-color: rgba(119, 149, 197, 0.26);
    background: rgba(255, 255, 255, 0.88);
    color: #20314e;
    transform: translateY(-1px);
}

.admin-nav-link.is-active {
    border-color: rgba(115, 150, 214, 0.28);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 30px rgba(135, 158, 194, 0.2);
    color: #173053;
}

.admin-nav-link-label {
    min-width: 0;
}

.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    min-height: 1.9rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(95, 132, 205, 0.18);
    background: rgba(227, 237, 255, 0.96);
    color: #274689;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-topbar {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid rgba(132, 156, 192, 0.18);
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 40px rgba(142, 163, 194, 0.18);
    backdrop-filter: blur(32px) saturate(140%);
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 0.72rem;
    border: 1px solid rgba(124, 156, 212, 0.24);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.38rem 0.8rem;
    font-size: 0.71rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2c4b89;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-subtle-block {
    border-radius: 0.9rem;
    border: 1px solid rgba(132, 156, 192, 0.18);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.admin-inline-check {
    border-radius: 0.88rem !important;
    border: 1px solid rgba(132, 156, 192, 0.18) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    color: #40506c !important;
}

.admin-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.admin-dashboard-stats {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.admin-dashboard-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.admin-metric-card,
.admin-panel-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid rgba(132, 156, 192, 0.18);
    background: rgba(255, 255, 255, 0.78);
    padding: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 42px rgba(142, 163, 194, 0.18);
    backdrop-filter: blur(32px) saturate(140%);
}

.admin-ticket-layout {
    display: grid;
    gap: 1.5rem;
}

.admin-ticket-workbench {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.admin-ticket-toolbar {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.admin-workbench-grid {
    display: grid;
    gap: 1.5rem;
}

.admin-control-card,
.admin-reply-card {
    padding: 1.25rem;
}

.admin-control-card {
    width: 100%;
}

.admin-control-grid {
    display: grid;
    gap: 0.9rem;
}

.admin-control-form {
    display: grid;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(140, 167, 205, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 249, 255, 0.88) 100%);
    padding: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-control-form.is-separated {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.9rem;
}

.admin-control-form.is-status {
    border-color: rgba(69, 132, 211, 0.2);
    background: linear-gradient(180deg, rgba(238, 246, 255, 0.94) 0%, rgba(247, 251, 255, 0.9) 100%);
}

.admin-control-form.is-priority {
    border-color: rgba(210, 154, 57, 0.24);
    background: linear-gradient(180deg, rgba(255, 247, 228, 0.96) 0%, rgba(255, 252, 244, 0.9) 100%);
}

.admin-control-form.is-assignment {
    border-color: rgba(80, 150, 136, 0.22);
    background: linear-gradient(180deg, rgba(235, 249, 245, 0.95) 0%, rgba(247, 252, 250, 0.9) 100%);
}

.admin-control-copy {
    margin-top: 0.1rem;
    color: #5a6e8f;
    font-size: 0.82rem;
    line-height: 1.6;
}

.admin-tag-toolbar {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tag-toolbar.is-compact {
    margin: 0.75rem 0 0.9rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.95rem;
}

.admin-tag-toolbar-head {
    display: grid;
    gap: 0.2rem;
}

.admin-tag-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.62rem 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-tag-chip:hover,
.admin-tag-chip:focus-visible {
    border-color: rgba(163, 230, 53, 0.46);
    background: rgba(132, 204, 22, 0.12);
    transform: translateY(-1px);
}

.admin-tag-chip.is-static {
    cursor: default;
}

.admin-tag-chip.is-static:hover,
.admin-tag-chip.is-static:focus-visible {
    transform: none;
}

.admin-tag-chip-code {
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    color: #8ec234;
    white-space: nowrap;
}

.admin-tag-chip-label {
    color: #383a3c;
}

.admin-tag-chip-preview {
    min-width: 0;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-tag-toolbar-preview {
    margin-top: 0.2rem;
}

.admin-control-label {
    margin-bottom: 0.1rem;
}

.admin-control-submit {
    width: 100%;
}

.admin-reply-form {
    gap: 0.9rem;
}

.admin-reply-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-reply-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.admin-reply-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(255, 255, 255, 0.76);
    color: #40506c;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-reply-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.admin-toolbar-card {
    width: 100%;
    max-width: 24rem;
}

.admin-topbar-meta {
    display: grid;
    gap: 0.25rem;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.68rem;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.45rem 0.82rem;
    font-size: 0.75rem;
    color: #40506c;
}

.admin-locale-switcher {
    display: inline-flex;
    align-items: center;
}

.admin-locale-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.6rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(255, 255, 255, 0.76);
    padding: 0.35rem 0.45rem 0.35rem 0.65rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-locale-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.68rem;
    background: rgba(247, 250, 255, 0.92);
    color: #4565a5;
}

.admin-locale-icon svg {
    width: 1rem;
    height: 1rem;
}

.admin-locale-select {
    min-width: 8rem;
    min-height: 1.95rem;
    padding: 0 1.8rem 0 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #5074bf;
}

.admin-form-grid {
    display: grid;
    gap: 1.5rem;
}

.admin-settings-summary {
    display: grid;
    gap: 1.25rem;
}

body.site-body .locale-tab-trigger,
body.admin-body .locale-tab-trigger {
    position: relative;
    min-width: 6.5rem;
    padding: 0.9rem 1.15rem !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(132, 156, 192, 0.2) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #324863 !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 20px rgba(137, 158, 191, 0.1) !important;
    transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

body.site-body .locale-tab-trigger:hover,
body.admin-body .locale-tab-trigger:hover {
    border-color: rgba(89, 128, 205, 0.34) !important;
    background: rgba(239, 245, 255, 0.98) !important;
    color: #214783 !important;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 26px rgba(133, 155, 193, 0.16) !important;
}

body.site-body .locale-tab-trigger:focus-visible,
body.admin-body .locale-tab-trigger:focus-visible {
    outline: none;
    border-color: rgba(76, 123, 212, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(137, 179, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 28px rgba(133, 155, 193, 0.18) !important;
}

.locale-tab-trigger.is-active {
    border-color: rgba(68, 108, 184, 0.48) !important;
    background: linear-gradient(180deg, rgba(222, 234, 255, 0.98) 0%, rgba(206, 223, 255, 0.98) 100%) !important;
    color: #16396d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 18px 32px rgba(120, 145, 191, 0.22) !important;
}

.locale-tab-trigger.is-active::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.55rem;
    height: 0.18rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3f6ecf 0%, #6b95e6 100%);
}

.locale-tab-pane[hidden] {
    display: none !important;
}

textarea[data-markdown-editor][data-markdown-editor-ready='1'] {
    display: none !important;
}

body.site-body .markdown-editor-shell,
body.admin-body .markdown-editor-shell {
    display: grid;
    gap: 0.65rem;
}

body.site-body .EasyMDEContainer,
body.admin-body .EasyMDEContainer {
    border-radius: 0.9rem;
}

body.site-body .EasyMDEContainer.sided--no-fullscreen,
body.admin-body .EasyMDEContainer.sided--no-fullscreen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

body.site-body .EasyMDEContainer .editor-toolbar,
body.admin-body .EasyMDEContainer .editor-toolbar {
    border: 1px solid rgba(123, 150, 192, 0.2);
    border-bottom: 0;
    border-radius: 0.9rem 0.9rem 0 0;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.site-body .EasyMDEContainer.sided--no-fullscreen .editor-toolbar,
body.site-body .EasyMDEContainer.sided--no-fullscreen .editor-statusbar,
body.admin-body .EasyMDEContainer.sided--no-fullscreen .editor-toolbar,
body.admin-body .EasyMDEContainer.sided--no-fullscreen .editor-statusbar {
    grid-column: 1 / -1;
}

body.site-body .EasyMDEContainer .editor-toolbar button,
body.admin-body .EasyMDEContainer .editor-toolbar button {
    color: #4c6387 !important;
    border-radius: 0.55rem;
}

body.site-body .EasyMDEContainer .editor-toolbar button:hover,
body.site-body .EasyMDEContainer .editor-toolbar button.active,
body.admin-body .EasyMDEContainer .editor-toolbar button:hover,
body.admin-body .EasyMDEContainer .editor-toolbar button.active {
    background: rgba(227, 237, 255, 0.96);
    border-color: rgba(95, 132, 205, 0.22);
}

body.site-body .EasyMDEContainer .CodeMirror,
body.site-body .EasyMDEContainer .CodeMirror-scroll,
body.admin-body .EasyMDEContainer .CodeMirror,
body.admin-body .EasyMDEContainer .CodeMirror-scroll {
    min-height: inherit;
}

body.site-body .EasyMDEContainer .CodeMirror,
body.admin-body .EasyMDEContainer .CodeMirror,
body.site-body .EasyMDEContainer .editor-preview,
body.site-body .EasyMDEContainer .editor-preview-side,
body.admin-body .EasyMDEContainer .editor-preview,
body.admin-body .EasyMDEContainer .editor-preview-side {
    border: 1px solid rgba(123, 150, 192, 0.2);
    border-top: 0;
    border-radius: 0 0 0.9rem 0.9rem;
    background: rgba(255, 255, 255, 0.84);
    color: #172033;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(135, 158, 192, 0.08);
}

body.site-body .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided,
body.admin-body .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided {
    width: auto !important;
    min-width: 0;
    border-right: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0.9rem;
}

body.site-body .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side,
body.admin-body .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side {
    width: auto;
    min-width: 0;
    margin: 0;
    border-left: 1px solid rgba(123, 150, 192, 0.16);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0.9rem;
}

body.site-body .EasyMDEContainer .CodeMirror-cursor,
body.admin-body .EasyMDEContainer .CodeMirror-cursor {
    border-color: #355da9;
}

body.site-body .EasyMDEContainer .editor-statusbar,
body.admin-body .EasyMDEContainer .editor-statusbar {
    padding: 0.72rem 0.9rem 0;
    color: #667892;
}

body.site-body .EasyMDEContainer.sided--no-fullscreen .editor-statusbar,
body.admin-body .EasyMDEContainer.sided--no-fullscreen .editor-statusbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    padding-top: 0.8rem;
}

body.site-body .EasyMDEContainer .editor-statusbar span,
body.admin-body .EasyMDEContainer .editor-statusbar span {
    min-width: 0;
    margin-left: 0;
}

@media (max-width: 900px) {
    body.site-body .EasyMDEContainer.sided--no-fullscreen,
    body.admin-body .EasyMDEContainer.sided--no-fullscreen {
        grid-template-columns: minmax(0, 1fr);
    }

    body.site-body .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided,
    body.admin-body .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided {
        border-right: 1px solid rgba(123, 150, 192, 0.2);
        border-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    body.site-body .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side,
    body.admin-body .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side {
        border-left: 1px solid rgba(123, 150, 192, 0.2);
        border-top: 0;
        border-bottom-left-radius: 0.9rem;
    }
}

.admin-form-actions {
    position: sticky;
    bottom: 1rem;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(255, 255, 255, 0.76);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 20px 34px rgba(142, 163, 194, 0.16);
    backdrop-filter: blur(32px) saturate(140%);
}

.admin-log-card {
    display: grid;
    gap: 0.9rem;
}

.admin-log-path {
    display: inline-block;
    margin-left: 0.35rem;
    word-break: break-all;
    color: #20314e;
}

.admin-log-output {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    border-radius: 1rem;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(17, 24, 39, 0.9);
    padding: 1rem;
    font-size: 0.78rem;
    line-height: 1.65;
    color: #c5f5df;
}

.admin-body .btn-primary,
.admin-body .btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.58rem;
    border-radius: 0.72rem !important;
    padding: 0.82rem 1.28rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(137, 158, 191, 0.16);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.admin-body .btn-account,
.admin-body .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    border-radius: 0.72rem !important;
    padding: 0.82rem 1.28rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(137, 158, 191, 0.16);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.admin-body .btn-account {
    border: 1px solid rgba(77, 123, 207, 0.22) !important;
    background: linear-gradient(135deg, rgba(232, 239, 255, 0.96) 0%, rgba(210, 223, 255, 0.96) 100%) !important;
    color: #254a96 !important;
}

.admin-body .btn-danger {
    border: 1px solid rgba(193, 77, 92, 0.22) !important;
    background: linear-gradient(135deg, rgba(255, 236, 239, 0.96) 0%, rgba(255, 214, 221, 0.96) 100%) !important;
    color: #9a2037 !important;
    min-width: 6.25rem;
}

.admin-body .btn-account:hover,
.admin-body .btn-danger:hover {
    transform: translateY(-1px);
}

.admin-body .btn-danger[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.admin-body .btn-primary {
    border: 1px solid rgba(53, 95, 177, 0.2) !important;
    background: linear-gradient(135deg, #355db1 0%, #5f88d6 100%) !important;
    color: #ffffff !important;
}

.admin-body .btn-secondary {
    border: 1px solid rgba(91, 154, 136, 0.22) !important;
    background: linear-gradient(135deg, rgba(232, 247, 242, 0.96) 0%, rgba(210, 238, 229, 0.96) 100%) !important;
    color: #1d6256 !important;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    align-items: end;
    gap: 0.75rem;
}

.admin-rect-action {
    min-width: 6.5rem;
    justify-content: center;
}

.admin-body .btn-primary:hover,
.admin-body .btn-secondary:hover {
    transform: translateY(-1px);
}

.admin-body .btn-primary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 34px rgba(74, 110, 179, 0.24);
}

.admin-body .btn-secondary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 34px rgba(88, 149, 133, 0.18);
}

.admin-body .text-brand-lime {
    color: #5578c8 !important;
}

.admin-body .font-semibold,
.admin-body .font-medium {
    color: #1b2941;
}

.admin-body .text-brand-lime.font-semibold,
.admin-body .text-brand-lime.font-medium {
    color: #355fae !important;
}

.admin-inline-list {
    display: grid;
    gap: 0.75rem;
}

.admin-meta-grid {
    display: grid;
    gap: 0.85rem;
}

.admin-meta-item {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    border-radius: 0.94rem;
    border: 1px solid rgba(132, 156, 192, 0.16);
    background: rgba(255, 255, 255, 0.58);
    padding: 0.9rem 1rem;
}

.admin-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #4565a5;
    box-shadow: none;
}

.admin-meta-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.admin-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c81a4;
}

.admin-meta-value {
    margin-top: 0.18rem;
    color: #1d2b44;
    line-height: 1.5;
}

.admin-inline-hint {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(108, 141, 205, 0.22);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.98), rgba(223, 234, 255, 0.96));
    color: #395ca5;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    box-shadow: 0 4px 10px rgba(74, 106, 170, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    vertical-align: middle;
}

.admin-inline-hint:hover,
.admin-inline-hint:focus {
    border-color: rgba(97, 133, 206, 0.3);
    background: linear-gradient(180deg, rgba(248, 251, 255, 1), rgba(231, 239, 255, 0.98));
    color: #26498f;
}

.admin-inline-hint::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 40;
    right: 0;
    bottom: calc(100% + 0.6rem);
    width: min(20rem, 70vw);
    transform: translateY(0.25rem);
    border-radius: 0.9rem;
    background: rgba(26, 41, 66, 0.94);
    color: #f8fbff;
    padding: 0.72rem 0.9rem;
    font-size: 0.76rem;
    line-height: 1.5;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
    box-shadow: 0 18px 36px rgba(39, 60, 98, 0.22);
}

.admin-auth-body {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.admin-auth-shell {
    display: flex;
    width: min(100%, 76rem);
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.admin-auth-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.admin-auth-frame {
    width: min(100%, 34rem);
}

.admin-auth-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-auth-card {
    border-radius: 1.2rem;
    border: 1px solid rgba(126, 149, 183, 0.18);
    background: rgba(255, 255, 255, 0.74);
    padding: 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 24px 48px rgba(143, 161, 191, 0.18);
    backdrop-filter: blur(32px) saturate(145%);
}

.admin-auth-copy {
    max-width: 28rem;
}

.admin-auth-submit {
    width: 100%;
}

.admin-inline-hint:hover::after,
.admin-inline-hint:focus::after {
    opacity: 1;
    transform: translateY(0);
}

.admin-chat-thread {
    display: grid;
    gap: 1rem;
}

.admin-chat-row.is-team {
    justify-content: flex-end;
}

.admin-chat-row.is-customer {
    justify-content: flex-start;
}

.admin-chat-stack {
    justify-items: start;
}

.admin-chat-stack.is-team {
    justify-items: end;
}

.admin-chat-author-name {
    color: #1b2941;
}

.admin-chat-author-role {
    border: 1px solid rgba(132, 156, 192, 0.18);
    background: rgba(247, 250, 255, 0.92);
    color: #5a7094;
}

.admin-chat-edited {
    color: #6b7c97;
}

.admin-chat-bubble-meta {
    color: #6b7c97;
}

.admin-chat-bubble {
    border: 1px solid rgba(132, 156, 192, 0.18);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-chat-bubble.is-team {
    background: rgba(227, 237, 255, 0.92);
    border-color: rgba(124, 156, 212, 0.24);
}

@media (max-width: 639px) {
    .ticket-message-bubble {
        width: 100%;
        min-width: 0;
    }

    .ticket-message-stack {
        width: 100%;
        max-width: none;
    }

    .ticket-message-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-chat-bubble {
        width: 100%;
        min-width: 0;
    }

    .admin-chat-stack {
        width: 100%;
        max-width: none;
    }

    .admin-chat-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-compact-actions .btn-primary,
.admin-compact-actions .btn-secondary {
    width: auto !important;
}

@media (min-width: 1024px) {
    .admin-shell {
        display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        padding: 2rem 1.5rem;
    }

    .admin-main {
        padding: 2rem 2.25rem;
    }

    .admin-form-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
        align-items: start;
    }

    .admin-settings-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-dashboard-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    }

    .admin-ticket-layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .admin-ticket-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-workbench-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .admin-control-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .admin-control-form.is-separated {
        border-top: 0;
        padding-top: 0;
    }

    body.site-body .site-meta-grid,
    .admin-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
