@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.rz-body {
    background-image: url('/img/background01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

:root {
    --rz-layout-body-padding: 0;
    --rz-form-field-helper-padding: 0;
    
    --gifs-teal: #286a82;           
    --gifs-teal-dark: #2c5a71;      
    --gifs-teal-darker: #0f3c49;    
    --gifs-teal-deep: #0a2b34;      
    --gifs-teal-mid: #406d80;       
    --gifs-teal-light: #4093bf;     
    --gifs-teal-pale: #e0efef;      

    --gifs-lime: #aacf38;           
    --gifs-lime-dark: #90b030;      
    --gifs-lime-light: #abce83;     
    --gifs-lime-pale: #ebf4a4;      
    --gifs-green: #68ad45;          

    --gifs-surface: #ffffff;
    --gifs-surface-muted: #f5f5f5;  
    --gifs-amber: #f49935;          
    --gifs-red: #cf3f4a;            

    --rz-text-font-family: 'Montserrat', sans-serif;
    --rz-text-display-h1-font-size: 2.5rem;
    --rz-text-display-h1-font-weight: 600;

    --rz-primary: var(--gifs-teal);
    --rz-primary-light: #3a86a3;
    --rz-primary-lighter: rgba(40, 106, 130, 0.12);
    --rz-primary-dark: var(--gifs-teal-dark);
    --rz-primary-darker: var(--gifs-teal-darker);
    --rz-on-primary: #ffffff;
    --rz-on-primary-light: #ffffff;
    --rz-on-primary-lighter: var(--gifs-teal-darker);
    --rz-on-primary-dark: #ffffff;
    --rz-on-primary-darker: #ffffff;

    
    --rz-secondary: var(--gifs-lime);
    --rz-secondary-light: var(--gifs-lime-light);
    --rz-secondary-lighter: rgba(170, 207, 56, 0.18);
    --rz-secondary-dark: var(--gifs-lime-dark);
    --rz-secondary-darker: #7a9528;
    --rz-on-secondary: var(--gifs-teal-darker);
    --rz-on-secondary-light: var(--gifs-teal-darker);
    --rz-on-secondary-lighter: var(--gifs-teal-darker);
    --rz-on-secondary-dark: var(--gifs-teal-darker);
    --rz-on-secondary-darker: #ffffff;

    --rz-info: var(--gifs-teal-light);
    --rz-info-light: #6aabcd;
    --rz-info-lighter: rgba(64, 147, 191, 0.18);
    --rz-info-dark: #33769a;
    --rz-info-darker: #2a6280;

    --rz-success: var(--gifs-green);
    --rz-success-light: #86c168;
    --rz-success-lighter: rgba(104, 173, 69, 0.18);
    --rz-success-dark: #548a37;
    --rz-success-darker: #46742e;

    --rz-warning: var(--gifs-amber);
    --rz-warning-light: #f7b062;
    --rz-warning-lighter: rgba(244, 153, 53, 0.2);
    --rz-warning-dark: #c67a2a;
    --rz-warning-darker: #a46523;
    
    --rz-on-warning: var(--gifs-teal-darker);
    --rz-on-warning-light: var(--gifs-teal-darker);
    --rz-on-warning-lighter: var(--gifs-teal-darker);

    --rz-danger: var(--gifs-red);
    --rz-danger-light: #ff5964;
    --rz-danger-lighter: rgba(207, 63, 74, 0.18);
    --rz-danger-dark: #b0353f;
    --rz-danger-darker: #8f2b34;

    
    --rz-link-color: var(--gifs-teal);
    --rz-link-hover-color: var(--gifs-teal-darker);

    
    --rz-series-1: #286a82;
    --rz-series-2: #aacf38;
    --rz-series-3: #4093bf;
    --rz-series-4: #68ad45;
    --rz-series-5: #0f3c49;
    --rz-series-6: #f49935;
    --rz-series-7: #7fb8cd;
    --rz-series-8: #cbe37a;
}



.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 3px solid var(--gifs-lime);
}

.page-header-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.page-header-icon {
    color: var(--gifs-teal);
    font-size: 1.6rem;
}

.page-header-title {
    margin: 0;
    color: var(--gifs-teal-darker);
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.page-header-subtitle {
    align-self: flex-end;
    padding-bottom: 0.2rem;
    color: #4a6570;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.15;
    white-space: nowrap;
}

.page-header-description {
    margin: 0.35rem 0 0;
    color: #4a6570;
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640.98px) {
    .page-header-description {
        display: none;
    }
}

.support-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.support-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(40, 106, 130, 0.22);
    border-radius: 999px;
    background: var(--gifs-teal-pale);
    color: var(--gifs-teal-darker);
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.support-filter-chip:hover,
.support-filter-chip:focus-visible {
    border-color: var(--gifs-teal);
    background: #ffffff;
}

.support-filter-chip-remove {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.65;
}

.support-filter-chip-clear {
    background: transparent;
    border-style: dashed;
}

.support-queue-subject {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.support-queue-subject-overdue {
    border-inline-start: 4px solid var(--gifs-red);
    padding-inline-start: 0.5rem;
    margin-inline-start: -0.5rem;
}

.support-queue-subject-link {
    font-weight: 600;
}

.support-queue-message-count {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-inline-start: 0.4rem;
}

.support-queue-message-count .rzi {
    font-size: 0.9rem;
}

.support-queue-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 2.5rem 1rem;
    color: #4a6570;
}

.support-queue-empty-icon {
    color: var(--gifs-teal-mid);
    font-size: 2.4rem;
    opacity: 0.55;
}

.template-token-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 0.5rem 1.5rem;
}

.template-token {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.template-token-name {
    color: var(--gifs-teal-darker);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.template-token-description {
    color: #4a6570;
    font-size: 0.85rem;
}

.template-field-hint {
    color: #4a6570;
    font-size: 0.82rem;
}

.support-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.4rem 0.2rem 0.7rem;
    border: 1px solid rgba(40, 106, 130, 0.18);
    border-radius: 999px;
    background: var(--gifs-teal-pale);
    color: var(--gifs-teal-darker);
    font-size: 0.85rem;
}

.support-resolution-chip {
    border-color: rgba(170, 207, 56, 0.55);
    background: rgba(235, 244, 164, 0.55);
}

.support-chip a {
    color: inherit;
    text-decoration: none;
}

.support-chip a:hover {
    text-decoration: underline;
}

.support-queue-sub {
    color: #4a6570;
    font-size: 0.82rem;
}

.support-queue-flag {
    margin-inline-start: 0.35rem;
}

.student-email-body {
    background: #ffffff;
    border: 1px solid #e0e6ea;
    border-radius: 0.35rem;
    padding: 0.75rem 1rem;
    max-height: 28rem;
    overflow: auto;
}

.student-email-body img {
    max-width: 100%;
}

.email-account-inbox-unread-message {
    font-weight: 600;
}

.support-description {
    margin: 0;
    white-space: pre-wrap;
}



.support-thread {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 30rem;
    padding: 0.25rem;
    overflow-y: auto;
}

.support-message {
    max-width: min(85%, 40rem);
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(40, 106, 130, 0.16);
    border-radius: 0.9rem;
}


.support-message-student {
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
    background: #ffffff;
}

.support-message-staff {
    align-self: flex-end;
    border-color: rgba(170, 207, 56, 0.4);
    border-bottom-right-radius: 0.25rem;
    background: rgba(224, 239, 239, 0.7);
}

.support-message-meta {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.support-message-author {
    color: var(--gifs-teal-darker);
    font-size: 0.82rem;
    font-weight: 700;
}

.support-message-time {
    color: #6b8894;
    font-size: 0.74rem;
}

.support-message-body {
    color: #24333a;
    font-size: 0.94rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.support-message-attachments,
.service-desk-conversation-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.support-message-attachments a,
.service-desk-conversation-attachments a {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--gifs-teal);
    font-size: 0.82rem;
    text-decoration: none;
    word-break: break-all;
}

.support-message-attachments a:hover,
.service-desk-conversation-attachments a:hover {
    text-decoration: underline;
}



.support-history-row {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(40, 106, 130, 0.12);
}

.support-history-row:last-child {
    border-bottom: none;
}

.support-history-status {
    color: var(--gifs-teal-darker);
    font-size: 0.9rem;
    font-weight: 600;
}

.support-history-meta {
    color: #6b8894;
    font-size: 0.78rem;
}

.support-history-note {
    color: #4a6570;
    font-size: 0.85rem;
    font-style: italic;
}

@media (max-width: 640.98px) {
    .support-message {
        max-width: 100%;
    }
}

.account-lead {
    color: #4a6570;
    font-size: 0.95rem;
}

.account-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid rgba(40, 106, 130, 0.16);
    overflow-x: auto;
    
    scrollbar-width: thin;
}

.account-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: #4a6570;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.account-tab:hover {
    border-bottom-color: var(--gifs-lime);
    background: rgba(224, 239, 239, 0.45);
    color: var(--gifs-teal-darker);
    text-decoration: none;
}

.account-tab:focus-visible {
    outline: 2px solid var(--gifs-teal);
    outline-offset: -2px;
}

.account-tab-active {
    border-bottom-color: var(--gifs-teal);
    color: var(--gifs-teal-darker);
}

.account-tab-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.account-panel {
    
    border-start-start-radius: 0;
    border-start-end-radius: 0;
}


.account-panel .row > [class^="col-"] {
    max-width: 34rem;
}

@media (max-width: 640.98px) {
    .account-tab {
        padding: 0.6rem 0.75rem;
        font-size: 0.86rem;
    }

    .account-tab span {
        display: none;
    }

    
    .account-tab-icon {
        font-size: 1.3rem;
    }
}



.student-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.75rem;
}

.student-summary-tile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(40, 106, 130, 0.18);
    border-radius: 0.9rem;
    background: #ffffff;
}

.student-summary-icon {
    color: var(--gifs-teal);
    font-size: 1.6rem;
}

.student-summary-value {
    color: var(--gifs-teal-darker);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
}

.student-summary-label {
    color: #4a6570;
    font-size: 0.8rem;
}

.financial-amount-negative,
.student-summary-value.financial-amount-negative {
    color: var(--gifs-red);
}


.student-summary-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.85rem 1.5rem;
}

.student-fact {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.student-fact-label {
    color: #6b8894;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.student-fact-value {
    color: #24333a;
    font-size: 0.95rem;
}

.student-fact-empty {
    color: #9bb0b8;
}



.service-level-agreement-rules-intro {
    max-width: 60rem;
    margin: 0;
    color: #4d6570;
    font-size: 0.88rem;
    line-height: 1.5;
}

.service-level-agreement-rule-subtext,
.service-level-agreement-row-subtext {
    color: #6b8894;
    font-size: 0.78rem;
}

.service-level-agreement-row-overdue {
    color: var(--gifs-red);
    font-weight: 700;
}

.service-level-agreement-empty {
    margin: 0;
    padding: 2rem 0;
    color: #6b8894;
    text-align: center;
}

.service-level-agreement-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
}

.service-level-agreement-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(40, 106, 130, 0.14);
    
    border-inline-start: 4px solid var(--gifs-teal);
    border-radius: 0.85rem;
    background: var(--gifs-surface);
}

.service-level-agreement-metric-good {
    border-inline-start-color: var(--gifs-green);
}

.service-level-agreement-metric-warn {
    border-inline-start-color: var(--gifs-amber);
}

.service-level-agreement-metric-bad,
.service-level-agreement-metric-breach {
    border-inline-start-color: var(--gifs-red);
}

.service-level-agreement-metric-risk {
    border-inline-start-color: var(--gifs-lime);
}

.service-level-agreement-metric-value {
    color: var(--gifs-teal-darker);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.service-level-agreement-metric-label {
    color: var(--gifs-teal-darker);
    font-size: 0.86rem;
    font-weight: 600;
}

.service-level-agreement-metric-subtext {
    color: #6b8894;
    font-size: 0.76rem;
}

.service-level-agreement-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1rem;
}

.service-level-agreement-donut-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-level-agreement-donut-value {
    color: var(--gifs-teal-darker);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.service-level-agreement-donut-label {
    color: #6b8894;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.knowledge-base-lead {
    color: #6b8894;
    font-size: 0.85rem;
}

.knowledge-base-page {
    padding: 0 0 2rem;
}

.knowledge-base-layout-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.knowledge-base-sidebar,
.knowledge-base-filter-card {
    border: 1px solid rgba(40, 106, 130, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1rem 2.5rem rgba(15, 60, 73, 0.08);
}

.knowledge-base-sidebar {
    position: sticky;
    top: 1rem;
    padding: 1rem;
}

.knowledge-base-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.knowledge-base-sidebar-field .rz-form-field-content,
.knowledge-base-sidebar-field .rz-dropdown,
.knowledge-base-sidebar-field .rz-textbox {
    width: 100%;
}

.knowledge-base-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.knowledge-base-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(40, 106, 130, 0.14);
    border-radius: 999px;
    background: rgba(224, 239, 239, 0.7);
    color: var(--gifs-teal-darker);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
}

.knowledge-base-filter-hint {
    color: #6b8894;
    font-size: 0.84rem;
    line-height: 1.5;
}

.knowledge-base-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.knowledge-base-category-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    background: transparent;
    color: #4a6570;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.knowledge-base-category-button:hover,
.knowledge-base-category-button:focus-visible {
    border-color: rgba(40, 106, 130, 0.16);
    background: rgba(224, 239, 239, 0.8);
    color: var(--gifs-teal-darker);
}

.knowledge-base-category-button-active {
    border-color: rgba(170, 207, 56, 0.45);
    background: rgba(170, 207, 56, 0.2);
    color: var(--gifs-teal-darker);
}

.knowledge-base-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

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

.knowledge-base-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(12rem, 0.8fr));
    gap: 1rem;
}

.knowledge-base-search-field {
    grid-column: 1;
}

.knowledge-base-section-title {
    margin: 0;
    color: var(--gifs-teal-darker);
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.knowledge-base-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(40, 106, 130, 0.22);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.knowledge-base-empty-icon {
    color: var(--gifs-teal);
    font-size: 2.5rem;
}

.knowledge-base-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
}

.knowledge-base-article-card {
    border: 1px solid rgba(40, 106, 130, 0.12);
    border-radius: 1.15rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(224, 239, 239, 0.72));
    box-shadow: 0 1rem 2.5rem rgba(15, 60, 73, 0.08);
}

.knowledge-base-article-card-stack {
    height: 100%;
}

.knowledge-base-article-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.knowledge-base-article-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(170, 207, 56, 0.26), rgba(64, 147, 191, 0.22));
    color: var(--gifs-teal-darker);
}

.knowledge-base-article-icon {
    font-size: 1.4rem;
}

.knowledge-base-article-badges,
.knowledge-base-tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.knowledge-base-scope-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(40, 106, 130, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #4a6570;
    font-size: 0.8rem;
    line-height: 1.2;
}

.knowledge-base-article-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
}

.knowledge-base-article-title {
    margin: 0;
    color: var(--gifs-teal-darker);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
}

.knowledge-base-article-preview {
    margin: 0;
    color: #4a6570;
    line-height: 1.7;
}

.knowledge-base-article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(40, 106, 130, 0.08);
}

.knowledge-base-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 0.8fr);
    gap: 1.5rem;
    padding: 1.8rem;
    border: 1px solid rgba(40, 106, 130, 0.12);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(170, 207, 56, 0.22), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(224, 239, 239, 0.74));
    box-shadow: 0 1rem 2.5rem rgba(15, 60, 73, 0.08);
}

.knowledge-base-detail-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.knowledge-base-detail-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.knowledge-base-scope-pill-highlighted {
    background: rgba(224, 239, 239, 0.92);
}

.knowledge-base-detail-summary {
    max-width: 48rem;
    margin: 0;
    color: #4a6570;
    font-size: 1rem;
    line-height: 1.8;
}

.knowledge-base-detail-side-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.1rem;
    border: 1px solid rgba(40, 106, 130, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.knowledge-base-detail-meta-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.knowledge-base-detail-meta-label {
    color: #6b8894;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.knowledge-base-detail-meta-value {
    color: var(--gifs-teal-darker);
    font-size: 0.92rem;
    line-height: 1.6;
}

.knowledge-base-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 1rem;
    align-items: start;
}

.knowledge-base-detail-card,
.knowledge-base-detail-aside-card {
    border: 1px solid rgba(40, 106, 130, 0.12);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1rem 2.5rem rgba(15, 60, 73, 0.08);
}

.knowledge-base-detail-content {
    font-size: 1rem;
    line-height: 1.85;
}

.knowledge-base-detail-aside-title {
    margin: 0;
    color: var(--gifs-teal-darker);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.knowledge-base-article-content {
    color: var(--gifs-teal-darker);
    line-height: 1.55;
    white-space: pre-wrap;
}

.knowledge-base-article-summary {
    color: #4a6570;
    line-height: 1.5;
}

.knowledge-base-article-scope {
    color: #4a6570;
    font-size: 0.82rem;
}

.knowledge-base-article-meta {
    color: #6b8894;
    font-size: 0.78rem;
}

@media (max-width: 900px) {
    .knowledge-base-layout-grid,
    .knowledge-base-detail-hero,
    .knowledge-base-detail-layout {
        grid-template-columns: 1fr;
    }

    .knowledge-base-sidebar {
        position: static;
    }
}

@media (max-width: 640.98px) {
    .knowledge-base-filter-card {
        border-radius: 1rem;
    }

    .knowledge-base-articles-grid {
        grid-template-columns: 1fr;
    }
}



.service-desk-workspace {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr) 18rem;
    gap: 1rem;
    align-items: start;
}

.service-desk-properties,
.service-desk-requester {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-height: calc(100vh - 2rem);
    padding: 1rem;
    border: 1px solid rgba(40, 106, 130, 0.16);
    border-radius: 0.6rem;
    background: var(--gifs-surface);
    overflow-y: auto;
}

.service-desk-property {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-desk-property-label {
    color: #6b8894;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-desk-property-value {
    color: var(--gifs-teal-darker);
    font-size: 0.92rem;
    font-weight: 600;
}

.service-desk-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.service-desk-target {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}



.service-desk-conversation-pane {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: calc(100vh - 2rem);
    padding: 1rem;
    border: 1px solid rgba(40, 106, 130, 0.16);
    border-radius: 0.6rem;
    background: var(--gifs-surface);
}

.service-desk-pane-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(40, 106, 130, 0.12);
}

.service-desk-pane-heading {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.service-desk-pane-title {
    color: var(--gifs-teal-darker);
    font-size: 1.05rem;
    font-weight: 700;
}

.service-desk-pane-subtitle {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: #4a6570;
    font-size: 0.82rem;
}


.service-desk-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-inline-start: 0.35rem;
    border-radius: 50%;
    background: var(--gifs-green);
}

.service-desk-status-dot-closed {
    background: #98adb6;
}

.service-desk-pane-body {
    flex: 1 1 auto;
    min-height: 0;
}

.service-desk-original-request {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
    padding: 0.85rem;
    border-inline-start: 3px solid var(--gifs-lime);
    border-radius: 0 0.5rem 0.5rem 0;
    background: var(--gifs-surface-muted);
}



.service-desk-conversation {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.service-desk-conversation-empty {
    color: #6b8894;
}


.service-desk-conversation-entry {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.5rem;
}

.service-desk-conversation-entry-internal {
    border: 1px solid rgba(244, 153, 53, 0.35);
    background: rgba(244, 153, 53, 0.09);
}

.service-desk-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gifs-teal);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.service-desk-avatar-large {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
}

.service-desk-conversation-content {
    min-width: 0;
}

.service-desk-conversation-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.service-desk-conversation-author {
    color: var(--gifs-teal-darker);
    font-size: 0.85rem;
    font-weight: 700;
}

.service-desk-conversation-channel {
    color: #6b8894;
    font-size: 0.75rem;
}


.service-desk-conversation-time {
    margin-inline-start: auto;
    color: #6b8894;
    font-size: 0.74rem;
}

.service-desk-conversation-body {
    color: #24333a;
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.service-desk-conversation-delivery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.service-desk-conversation-delivery-reason {
    color: #a33a3a;
    font-size: 0.74rem;
}

.qualification-statistics-empty {
    margin: 0;
    padding: 2rem 0;
    color: #6b8894;
    text-align: center;
}

.qualification-statistics-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
}

.qualification-statistics-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(40, 106, 130, 0.14);
    border-inline-start: 4px solid var(--gifs-teal);
    border-radius: 0.85rem;
    background: var(--gifs-surface);
}

.qualification-statistics-metric-value {
    color: var(--gifs-teal-darker);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.qualification-statistics-metric-label {
    color: var(--gifs-teal-darker);
    font-size: 0.86rem;
    font-weight: 600;
}

.qualification-statistics-metric-subtext {
    color: #6b8894;
    font-size: 0.76rem;
}

.qualification-statistics-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1rem;
}

.repeat-students-empty {
    margin: 0;
    padding: 2rem 0;
    color: #6b8894;
    text-align: center;
}

.repeat-students-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
}

.repeat-students-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(40, 106, 130, 0.14);
    border-inline-start: 4px solid var(--gifs-teal);
    border-radius: 0.85rem;
    background: var(--gifs-surface);
}

.repeat-students-metric-value {
    color: var(--gifs-teal-darker);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.repeat-students-metric-label {
    color: var(--gifs-teal-darker);
    font-size: 0.86rem;
    font-weight: 600;
}

.repeat-students-metric-subtext {
    color: #6b8894;
    font-size: 0.76rem;
}

.service-desk-reference {
    margin-inline-end: 0.5rem;
    color: var(--gifs-teal);
    font-weight: 600;
}

.support-mailbox-intro {
    margin: 0;
    color: #4a626d;
    font-size: 0.86rem;
    line-height: 1.5;
}

.support-mailbox-intro code {
    display: block;
    margin-top: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.25rem;
    background: #eef3f5;
    font-size: 0.78rem;
    word-break: break-all;
}



.service-desk-composer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem;
    border: 1px solid rgba(40, 106, 130, 0.2);
    border-radius: 0.5rem;
    background: var(--gifs-surface-muted);
}


.service-desk-composer-internal {
    border-color: rgba(244, 153, 53, 0.5);
    background: rgba(244, 153, 53, 0.09);
}

.service-desk-composer-channel-label {
    margin-inline-start: 0.4rem;
}

.service-desk-composer-actions {
    display: flex;
    justify-content: flex-end;
}



.service-desk-requester-identity {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.service-desk-requester-name {
    color: var(--gifs-teal-darker);
    font-size: 1rem;
    font-weight: 700;
}

.service-desk-facts {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
}

.service-desk-fact {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-width: 0;
}

.service-desk-fact dt {
    display: flex;
    color: #6b8894;
}

.service-desk-fact dd {
    margin: 0;
    overflow: hidden;
    color: #24333a;
    font-size: 0.85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-desk-interactions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(40, 106, 130, 0.12);
}


.service-desk-interaction {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0.6rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.service-desk-interaction:hover,
.service-desk-interaction:focus-visible {
    background: var(--gifs-teal-pale);
}

.service-desk-interaction-active {
    background: var(--gifs-teal-pale);
    cursor: default;
}

.service-desk-interaction-subject {
    color: var(--gifs-teal-darker);
    font-size: 0.85rem;
    font-weight: 600;
}


@media (max-width: 1399.98px) {
    .service-desk-workspace {
        grid-template-columns: 16rem minmax(0, 1fr);
    }

    .service-desk-requester {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }
}

@media (max-width: 991.98px) {
    .service-desk-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-desk-properties {
        position: static;
        max-height: none;
    }

    .service-desk-conversation-pane {
        min-height: 0;
    }
}

.file-attachments,
.pending-file-picker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.file-attachment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.4rem;
    border-radius: 0.25rem;
    background: var(--gifs-surface-muted);
}

.file-attachment a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gifs-teal);
    text-decoration: none;
}

.file-attachment a:hover {
    text-decoration: underline;
}

.file-attachment-name {
    font-size: 0.86rem;
    word-break: break-all;
}

.file-attachment-size {
    margin-inline-start: auto;
    color: #6b8894;
    font-size: 0.74rem;
    white-space: nowrap;
}

.file-attachment-empty {
    margin: 0;
    color: #6b8894;
    font-size: 0.84rem;
}

.file-attachment-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-attachment-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(40, 106, 130, 0.18);
    border-radius: 0.25rem;
    background: #ffffff;
    color: #24333a;
    font-size: 0.84rem;
    cursor: pointer;
}

.file-attachment-label:hover {
    background: var(--gifs-teal-pale);
}

.rz-datagrid .rz-stack > p,
.file-attachment-name,
.file-attachment-size,
.support-message-author,
.support-message-time,
.support-queue-sub,
.service-level-agreement-rule-subtext,
.service-desk-conversation-author,
.service-desk-conversation-channel,
.service-desk-conversation-delivery-reason {
    margin: 0;
}
