:root {
    --ug-navy: #303f60;
    --ug-primary: #5567ff;
    --ug-primary-soft: #eef0ff;
    --ug-text: #253148;
    --ug-muted: #6b778c;
    --ug-border: #e2e7ef;
    --ug-surface: #ffffff;
    --ug-page: #f5f7fb;
    --ug-success: #20a779;
    --ug-warning: #ee9f19;
    --ug-danger: #dc4f5f;
}

.preloader {
    display: none !important;
}

.page-content {
    background: var(--ug-page);
}

.ug-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 11000;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    color: var(--ug-navy);
    box-shadow: 0 4px 18px rgba(20, 31, 54, .2);
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.ug-skip-link:focus {
    transform: translateY(0);
}

.ug-navbar-search {
    position: relative;
    width: min(390px, 42vw);
}

.ug-navbar-search .material-icons {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    color: rgba(255, 255, 255, .7);
    font-size: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.ug-navbar-search input {
    width: 100%;
    height: 38px;
    padding: 0 36px 0 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    outline: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ug-navbar-search input::placeholder {
    color: rgba(255, 255, 255, .65);
}

.ug-navbar-search input:focus {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}

.ug-navbar-search .ug-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    transform: translateY(-50%);
    cursor: pointer;
}

.ug-navbar-search .ug-search-clear .material-icons {
    position: static;
    color: inherit;
    font-size: 18px;
    transform: none;
}

.ug-hero {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    background: linear-gradient(128deg, #202c48 0%, #303f60 54%, #435886 100%);
}

.ug-hero::before,
.ug-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ug-hero::before {
    top: -125px;
    right: 8%;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 0 0 44px rgba(255, 255, 255, .025), 0 0 0 88px rgba(255, 255, 255, .018);
}

.ug-hero::after {
    bottom: -90px;
    left: 12%;
    width: 210px;
    height: 210px;
    background: rgba(85, 103, 255, .22);
    filter: blur(2px);
}

.ug-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 236px;
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 34px;
}

.ug-hero__copy {
    max-width: 760px;
}

.ug-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .85);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ug-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-family: "Exo 2", "Roboto", sans-serif;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 700;
    line-height: 1.08;
}

.ug-hero p {
    max-width: 670px;
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    line-height: 1.65;
}

.ug-hero__mark {
    display: flex;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px rgba(8, 14, 28, .25);
    color: #fff;
    backdrop-filter: blur(8px);
}

.ug-hero__mark .material-icons {
    font-size: 56px;
}

.ug-rolebar {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--ug-border);
    background: #fff;
    box-shadow: 0 2px 10px rgba(32, 44, 72, .04);
}

.ug-rolebar__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ug-role-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ug-role-label {
    margin-right: 6px;
    color: var(--ug-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ug-role-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--ug-border);
    border-radius: 8px;
    background: #fff;
    color: #44516a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
}

.ug-role-btn:hover {
    border-color: #b8c0ff;
    color: var(--ug-primary);
}

.ug-role-btn.active,
.ug-role-btn[aria-pressed="true"] {
    border-color: var(--ug-primary);
    background: var(--ug-primary-soft);
    color: var(--ug-primary);
    box-shadow: 0 3px 10px rgba(85, 103, 255, .12);
}

.ug-role-btn .material-icons {
    font-size: 18px;
}

.ug-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.ug-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--ug-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(32, 44, 72, .045);
}

.ug-stat__icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ug-primary-soft);
    color: var(--ug-primary);
}

.ug-stat--success .ug-stat__icon {
    background: #eaf8f3;
    color: var(--ug-success);
}

.ug-stat--warning .ug-stat__icon {
    background: #fff6e5;
    color: var(--ug-warning);
}

.ug-stat--favorite .ug-stat__icon {
    background: #fff7df;
    color: #db9515;
}

.ug-stat__value {
    color: var(--ug-text);
    font-family: "Exo 2", "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.ug-stat__label {
    margin-top: 4px;
    overflow: hidden;
    color: var(--ug-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ug-toolbar {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid var(--ug-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(32, 44, 72, .04);
}

.ug-toolbar__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ug-search {
    position: relative;
    min-width: 260px;
    flex: 1;
}

.ug-search .material-icons {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #8792a6;
    font-size: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.ug-search .form-control {
    height: 42px;
    padding-left: 42px;
}

.ug-filter {
    min-width: 165px;
    height: 42px;
}

.ug-toolbar__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef1f5;
    color: var(--ug-muted);
    font-size: 12px;
}

.ug-toolbar__meta strong {
    color: var(--ug-text);
}

.ug-clear-btn {
    border: 0;
    background: transparent;
    color: var(--ug-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ug-zone {
    margin-bottom: 28px;
}

.ug-zone__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ug-zone__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--ug-text);
    font-family: "Exo 2", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.ug-zone__title .material-icons {
    color: var(--ug-primary);
    font-size: 20px;
}

.ug-zone__count {
    color: var(--ug-muted);
    font-size: 12px;
}

.ug-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ug-app-card {
    position: relative;
    display: flex;
    min-height: 242px;
    flex-direction: column;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--ug-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 43, 69, .055);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ug-app-card:hover {
    border-color: #c7ceff;
    box-shadow: 0 12px 26px rgba(38, 50, 80, .1);
    transform: translateY(-2px);
}

.ug-app-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ug-app-icon {
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(145deg, #5567ff, #6f7cff);
    box-shadow: 0 7px 16px rgba(85, 103, 255, .2);
    color: #fff;
}

.ug-app-icon .material-icons {
    font-size: 24px;
}

.ug-app-card__heading {
    min-width: 0;
    flex: 1;
}

.ug-app-card h3 {
    min-height: 39px;
    margin: 1px 0 6px;
    color: var(--ug-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ug-app-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ug-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f0f2f6;
    color: #68758b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.ug-badge--active {
    background: #e8f7f1;
    color: #13855f;
}

.ug-badge--dev {
    background: #fff4df;
    color: #ad6e06;
}

.ug-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ug-favorite {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ug-border);
    border-radius: 8px;
    background: #fff;
    color: #9aa3b3;
    cursor: pointer;
}

.ug-favorite:hover,
.ug-favorite.active {
    border-color: #f0cf78;
    background: #fff9e9;
    color: #db9515;
}

.ug-favorite .material-icons {
    font-size: 19px;
}

.ug-app-card__description {
    display: -webkit-box;
    min-height: 58px;
    margin: 14px 0 12px;
    overflow: hidden;
    color: var(--ug-muted);
    font-size: 13px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ug-app-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #edf0f4;
}

.ug-app-card__dept {
    min-width: 0;
    margin-right: auto;
    overflow: hidden;
    color: var(--ug-muted);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ug-app-card__dept .material-icons {
    margin-right: 3px;
    font-size: 15px;
    vertical-align: -3px;
}

.ug-card-action {
    display: inline-flex;
    height: 35px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid var(--ug-border);
    border-radius: 7px;
    background: #fff;
    color: #516078;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ug-card-action:hover {
    border-color: #bdc6d5;
    color: var(--ug-text);
    text-decoration: none;
}

.ug-card-action--primary {
    border-color: var(--ug-primary);
    background: var(--ug-primary);
    color: #fff;
}

.ug-card-action--primary:hover {
    border-color: #4356ec;
    background: #4356ec;
    color: #fff;
}

.ug-card-action .material-icons {
    font-size: 16px;
}

.ug-empty {
    padding: 48px 20px;
    border: 1px dashed #ccd3df;
    border-radius: 11px;
    background: #fff;
    text-align: center;
}

.ug-empty .material-icons {
    margin-bottom: 10px;
    color: #9aa5b8;
    font-size: 42px;
}

.ug-empty h3 {
    margin-bottom: 6px;
    color: var(--ug-text);
    font-size: 17px;
}

.ug-empty p {
    margin: 0 auto 16px;
    max-width: 480px;
    color: var(--ug-muted);
    font-size: 13px;
}

.ug-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(23, 32, 51, .66);
    backdrop-filter: blur(3px);
}

.ug-modal.open {
    display: flex;
}

.ug-modal__dialog {
    width: min(680px, 100%);
    max-height: min(86vh, 760px);
    overflow-y: auto;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(17, 28, 49, .28);
}

.ug-modal__header,
.ug-modal__body,
.ug-modal__footer {
    padding: 20px 24px;
}

.ug-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--ug-border);
}

.ug-modal__title {
    min-width: 0;
    flex: 1;
}

.ug-modal__title h2 {
    margin: 0 0 5px;
    color: var(--ug-text);
    font-size: 19px;
}

.ug-modal__close {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ug-border);
    border-radius: 8px;
    background: #fff;
    color: var(--ug-muted);
    cursor: pointer;
}

.ug-modal__section + .ug-modal__section {
    margin-top: 20px;
}

.ug-modal__section h3 {
    margin: 0 0 7px;
    color: var(--ug-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ug-modal__section p {
    margin: 0;
    color: #4c5970;
    font-size: 14px;
    line-height: 1.62;
}

.ug-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ug-detail-item {
    padding: 12px;
    border: 1px solid #ebeff4;
    border-radius: 8px;
    background: #f9fafc;
}

.ug-detail-item span {
    display: block;
    margin-bottom: 3px;
    color: var(--ug-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ug-detail-item strong {
    color: var(--ug-text);
    font-size: 13px;
}

.ug-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--ug-border);
    background: #fbfcfd;
}

body.ug-modal-open {
    overflow: hidden;
}

.ug-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ug-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ug-admin-table-card {
    overflow: hidden;
    border: 1px solid var(--ug-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 43, 69, .05);
}

.ug-admin-table-card .table {
    min-width: 1040px;
}

.ug-admin-table-card .table th {
    border-top: 0;
    color: #758197;
    font-size: 10px;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ug-admin-table-card .table td {
    vertical-align: middle;
}

.ug-admin-app {
    display: flex;
    min-width: 260px;
    align-items: center;
    gap: 10px;
}

.ug-admin-app__copy {
    min-width: 0;
}

.ug-admin-app__copy strong,
.ug-admin-app__copy small {
    display: block;
}

.ug-admin-app__copy small {
    max-width: 310px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ug-order-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ug-order-controls .btn {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ug-order-controls .material-icons {
    font-size: 16px;
}

.ug-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.ug-form-grid .ug-span-2 {
    grid-column: span 2;
}

.ug-field-error {
    display: none;
    margin-top: 5px;
    color: var(--ug-danger);
    font-size: 11px;
}

.form-control.is-invalid + .ug-field-error,
.ug-field-error.show {
    display: block;
}

.ug-icon-picker {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
    max-height: 170px;
    padding: 9px;
    overflow-y: auto;
    border: 1px solid var(--ug-border);
    border-radius: 8px;
    background: #f8fafc;
}

.ug-icon-option {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #5b687d;
    cursor: pointer;
}

.ug-icon-option:hover,
.ug-icon-option.selected {
    border-color: #aeb8ff;
    background: var(--ug-primary-soft);
    color: var(--ug-primary);
}

.ug-icon-option .material-icons {
    font-size: 22px;
}

.ug-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    display: flex;
    max-width: min(390px, calc(100vw - 32px));
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-left: 4px solid var(--ug-success);
    border-radius: 8px;
    background: #26344f;
    box-shadow: 0 14px 34px rgba(25, 35, 56, .28);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: .22s ease;
}

.ug-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ug-toast.danger {
    border-left-color: var(--ug-danger);
}

.ug-toast.warning {
    border-left-color: var(--ug-warning);
}

.ug-toast .material-icons {
    font-size: 20px;
}

.ug-import-drop {
    display: block;
    padding: 22px;
    border: 1px dashed #bcc6d6;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--ug-muted);
    text-align: center;
    cursor: pointer;
}

.ug-import-drop:hover {
    border-color: var(--ug-primary);
    background: var(--ug-primary-soft);
    color: var(--ug-primary);
}

.ug-import-drop .material-icons {
    display: block;
    margin-bottom: 5px;
    font-size: 32px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(85, 103, 255, .28) !important;
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .ug-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ug-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ug-hero,
    .ug-hero__content {
        min-height: 210px;
    }

    .ug-hero__mark {
        display: none;
    }

    .ug-rolebar__inner,
    .ug-role-switcher,
    .ug-toolbar__row,
    .ug-admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ug-rolebar__inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .ug-role-switcher {
        width: 100%;
        gap: 7px;
    }

    .ug-role-label {
        margin: 0 0 2px;
    }

    .ug-role-btn {
        justify-content: center;
    }

    .ug-search,
    .ug-filter {
        width: 100%;
        min-width: 0;
    }

    .ug-app-grid {
        grid-template-columns: 1fr;
    }

    .ug-app-card {
        min-height: 225px;
    }

    .ug-detail-grid,
    .ug-form-grid {
        grid-template-columns: 1fr;
    }

    .ug-form-grid .ug-span-2 {
        grid-column: auto;
    }

    .ug-icon-picker {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ug-modal__header,
    .ug-modal__body,
    .ug-modal__footer {
        padding: 17px;
    }
}

@media (max-width: 479.98px) {
    .ug-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .ug-stat {
        padding: 12px;
    }

    .ug-stat__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .ug-stat__value {
        font-size: 20px;
    }

    .ug-stat__label {
        font-size: 9px;
    }

    .ug-app-card__footer {
        flex-wrap: wrap;
    }

    .ug-app-card__dept {
        width: 100%;
        flex-basis: 100%;
    }

    .ug-card-action {
        flex: 1;
    }

    .ug-modal {
        padding: 10px;
    }

    .ug-modal__dialog {
        max-height: 94vh;
    }

    .ug-modal__footer {
        flex-direction: column-reverse;
    }

    .ug-modal__footer .btn {
        width: 100%;
    }

    .ug-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* UNIGATE visual refresh — scoped to the two UNIGATE screens. */
.ug-page {
    --ug-navy: #2f3b5a;
    --ug-primary: #5064ee;
    --ug-primary-soft: #eef1ff;
    --ug-text: #26324a;
    --ug-muted: #68758b;
    --ug-border: #dfe5ee;
    --ug-page: #f3f6fa;
}

.ug-page .page__container {
    width: 100%;
}

.ug-page .navbar {
    min-height: 64px;
}

.ug-navbar-context {
    align-items: center;
    gap: 10px;
    color: #fff;
}

.ug-navbar-context__icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
}

.ug-navbar-context__icon .material-icons {
    font-size: 19px;
}

.ug-navbar-context strong,
.ug-navbar-context small {
    display: block;
}

.ug-navbar-context strong {
    font-family: "Exo 2", "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.2;
}

.ug-navbar-context small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    line-height: 1.2;
}

.ug-page .sidebar {
    border-right: 1px solid #e4e8ef;
    box-shadow: 5px 0 22px rgba(30, 43, 69, .035);
}

.ug-page .sidebar-heading {
    color: #7c8798;
    font-size: 10px;
    letter-spacing: .13em;
}

.ug-page .sidebar-light .sidebar-menu-button {
    color: #4c586d;
    opacity: 1;
}

.ug-page .sidebar-light .sidebar-menu-icon {
    color: #7b8698;
    opacity: 1;
}

.ug-page .sidebar-light .sidebar-menu-button:hover {
    background: #f3f5f9;
    color: #2f3b52;
}

.ug-page .sidebar-light .sidebar-menu-item.active > .sidebar-menu-button {
    border-radius: 0 8px 8px 0;
    background: #eef1ff;
    color: var(--ug-primary);
    box-shadow: inset 3px 0 0 var(--ug-primary);
}

.ug-page .sidebar-light .sidebar-menu-item.active .sidebar-menu-icon {
    color: var(--ug-primary);
}

.ug-page .ug-hero,
.ug-page .ug-hero__content {
    min-height: 184px;
}

.ug-page .ug-hero {
    background: linear-gradient(120deg, #24314e 0%, #33466e 62%, #405887 100%);
}

.ug-page .ug-hero::before {
    top: -165px;
    right: 5%;
    width: 390px;
    height: 390px;
}

.ug-page .ug-hero::after {
    right: 30%;
    bottom: -135px;
    left: auto;
    width: 240px;
    height: 240px;
    background: rgba(80, 100, 238, .16);
    filter: none;
}

.ug-page .ug-hero__content {
    padding-top: 27px;
    padding-bottom: 27px;
}

.ug-page .ug-hero__copy {
    max-width: 720px;
}

.ug-page .ug-eyebrow {
    margin-bottom: 10px;
}

.ug-page .ug-hero h1 {
    margin-bottom: 6px;
    font-size: clamp(28px, 3.2vw, 38px);
}

.ug-page .ug-hero p {
    font-size: 14px;
    line-height: 1.55;
}

.ug-page .ug-hero__mark {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(8, 14, 28, .2);
}

.ug-page .ug-hero__mark .material-icons {
    font-size: 42px;
}

.ug-page .ug-rolebar {
    margin-bottom: 0;
}

.ug-page .ug-rolebar__inner {
    min-height: 66px;
}

.ug-page .ug-role-switcher {
    gap: 4px;
    padding: 4px;
    border: 1px solid #e3e8f0;
    border-radius: 11px;
    background: #f4f6fa;
}

.ug-page .ug-role-label {
    margin: 0 12px 0 8px;
}

.ug-page .ug-role-btn {
    min-width: 130px;
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    background: transparent;
}

.ug-page .ug-role-btn:hover {
    border-color: transparent;
    background: #e9edf5;
}

.ug-page .ug-role-btn.active,
.ug-page .ug-role-btn[aria-pressed="true"] {
    border-color: transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(34, 47, 74, .1);
}

.ug-content-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 0 16px;
}

.ug-section-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--ug-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ug-content-heading h2 {
    margin: 0 0 3px;
    color: var(--ug-text);
    font-size: 22px;
    line-height: 1.3;
}

.ug-content-heading p {
    margin: 0;
    color: var(--ug-muted);
    font-size: 13px;
}

.ug-page .ug-stat-grid {
    gap: 12px;
    margin-bottom: 16px;
}

.ug-page .ug-stat {
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(30, 43, 69, .04);
}

.ug-page .ug-stat__icon {
    border-radius: 11px;
}

.ug-page .ug-toolbar {
    margin-bottom: 26px;
    border-radius: 12px;
}

.ug-page .ug-toolbar__row {
    gap: 12px;
}

.ug-page .ug-zone {
    margin-bottom: 32px;
}

.ug-page .ug-zone__header {
    margin-bottom: 14px;
    padding: 0 2px;
}

.ug-zone__heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ug-zone__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ug-primary-soft);
    color: var(--ug-primary);
}

.ug-zone__icon .material-icons {
    font-size: 19px;
}

.ug-page .ug-zone__title {
    display: block;
    margin: 0;
    font-size: 14px;
    letter-spacing: .055em;
}

.ug-zone__heading p {
    margin: 2px 0 0;
    color: var(--ug-muted);
    font-size: 12px;
}

.ug-page .ug-zone__count {
    padding: 5px 9px;
    border-radius: 999px;
    background: #e9edf4;
}

.ug-page .ug-app-grid {
    gap: 18px;
}

.ug-page .ug-app-card {
    min-height: 260px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(30, 43, 69, .045);
}

.ug-page .ug-app-card:hover {
    box-shadow: 0 14px 30px rgba(38, 50, 80, .1);
    transform: translateY(-3px);
}

.ug-page .ug-app-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    background: linear-gradient(145deg, #5064ee, #6d7df5);
}

.ug-page .ug-app-card h3 {
    min-height: 0;
    margin: 1px 0 5px;
    font-size: 16px;
}

.ug-page .ug-app-card__badges {
    margin-bottom: 15px;
}

.ug-page .ug-favorite {
    border-radius: 9px;
}

.ug-page .ug-app-card__description {
    margin: 16px 0 13px;
}

.ug-page .ug-app-card__footer {
    justify-content: flex-end;
    gap: 9px;
}

.ug-page .ug-app-card__dept {
    margin-right: 0;
    color: #7a8699;
}

.ug-page .ug-card-action {
    height: 37px;
    border-radius: 8px;
}

.ug-page .ug-card-action--primary {
    min-width: 104px;
}

.ug-app-card--baocao .ug-app-icon,
.ug-zone--baocao .ug-zone__icon {
    background: #e7f7f4;
    box-shadow: none;
    color: #178d75;
}

.ug-app-card--danhgia .ug-app-icon,
.ug-zone--danhgia .ug-zone__icon {
    background: #f1ecff;
    box-shadow: none;
    color: #7a54d7;
}

.ug-app-card--ftc .ug-app-icon,
.ug-zone--ftc .ug-zone__icon {
    background: #fff2df;
    box-shadow: none;
    color: #c77d12;
}

.ug-page .ug-admin-table-card {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(30, 43, 69, .045);
}

@media (min-width: 1200px) {
    .ug-page .page__container {
        max-width: 1280px;
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 991.98px) {
    .ug-page .ug-hero,
    .ug-page .ug-hero__content {
        min-height: 168px;
    }

    .ug-page .ug-role-btn {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .ug-page .ug-hero,
    .ug-page .ug-hero__content {
        min-height: 158px;
    }

    .ug-page .ug-role-switcher {
        padding: 6px;
    }

    .ug-page .ug-role-label {
        margin: 2px 4px 5px;
    }

    .ug-content-heading {
        padding: 22px 0 14px;
    }

    .ug-content-heading h2 {
        font-size: 19px;
    }

    .ug-page .ug-app-card {
        min-height: 230px;
    }
}
