@property --shine-x {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 28%;
}

@property --shine-y {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 0%;
}

:root {
    --tez-font: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --tez-radius: 22px;
    --tez-radius-sm: 14px;
    --tez-blur: 28px;
    --tez-saturate: 180%;
    --tez-text: #102033;
    --tez-muted: #5b6b80;
    --tez-primary: #1e3a5f;
    --tez-primary-hover: #16304d;
    --tez-success: #0f766e;
    --tez-error: #b91c1c;
    --tez-warning: #b45309;
    --tez-info: #1d4ed8;
    --tez-surface: #d7e6f4;
    --tez-bg-solid: #ffffff;
    --tez-scene: #c9dcf0;
    --tez-orb-1: rgba(56, 189, 248, 0.48);
    --tez-orb-2: rgba(45, 212, 191, 0.42);
    --tez-orb-3: rgba(30, 64, 175, 0.22);
    --tez-orb-4: rgba(255, 255, 255, 0.72);
    --tez-glass-fill: color-mix(in srgb, white 46%, transparent);
    --tez-glass-shine: rgba(255, 255, 255, 0.62);
    --tez-glass-edge: rgba(255, 255, 255, 0.68);
    --tez-glass-edge-dark: rgba(15, 23, 42, 0.08);
    --tez-glass-shadow:
        0 18px 50px rgba(15, 36, 64, 0.12),
        0 2px 8px rgba(15, 36, 64, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(15, 23, 42, 0.05);
    --tez-bg: var(--tez-glass-fill);
    --tez-border: var(--tez-glass-edge);
    --tez-border-muted: rgba(15, 23, 42, 0.08);
    --tez-shadow: var(--tez-glass-shadow);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--tez-font);
    color: var(--tez-text);
    background: var(--tez-scene);
    isolation: isolate;
}

body:has(.tez-guest) {
    --tez-scene: #071525;
    --tez-orb-1: rgba(45, 212, 191, 0.58);
    --tez-orb-2: rgba(56, 189, 248, 0.5);
    --tez-orb-3: rgba(129, 140, 248, 0.42);
    --tez-orb-4: rgba(255, 255, 255, 0.28);
}

.tez-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(1200px 620px at 8% -12%, rgba(30, 58, 95, 0.18), transparent 56%),
        radial-gradient(900px 520px at 100% 0%, rgba(15, 118, 110, 0.14), transparent 52%),
        var(--tez-scene);
}

body:has(.tez-guest) .tez-atmosphere {
    background:
        radial-gradient(1000px 540px at 12% -8%, rgba(45, 212, 191, 0.18), transparent 50%),
        radial-gradient(900px 480px at 108% 12%, rgba(56, 189, 248, 0.16), transparent 48%),
        radial-gradient(800px 500px at 50% 120%, rgba(30, 58, 95, 0.55), transparent 52%),
        var(--tez-scene);
}

.tez-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.95;
    will-change: transform;
}

body:has(.tez-guest) .tez-orb {
    mix-blend-mode: screen;
}

body:has(.tez-guest) .tez-orb-b {
    top: 16vmax;
    right: -10vmax;
    width: 46vmax;
    height: 46vmax;
}

body:has(.tez-guest) .tez-orb-d {
    top: 28%;
    left: 58%;
    width: 30vmax;
    height: 30vmax;
}

.tez-orb-a {
    width: 58vmax;
    height: 58vmax;
    top: -20vmax;
    left: -14vmax;
    background: radial-gradient(circle, var(--tez-orb-1), transparent 68%);
    animation: tez-orb-drift 22s ease-in-out infinite;
}

.tez-orb-b {
    width: 50vmax;
    height: 50vmax;
    top: 8vmax;
    right: -18vmax;
    background: radial-gradient(circle, var(--tez-orb-2), transparent 70%);
    animation: tez-orb-drift 28s ease-in-out infinite reverse;
}

.tez-orb-c {
    width: 38vmax;
    height: 38vmax;
    bottom: -12vmax;
    left: 18%;
    background: radial-gradient(circle, var(--tez-orb-3), transparent 68%);
    animation: tez-orb-drift 20s ease-in-out infinite;
}

.tez-orb-d {
    width: 26vmax;
    height: 26vmax;
    top: 36%;
    left: 42%;
    background: radial-gradient(circle, var(--tez-orb-4), transparent 70%);
    animation: tez-orb-drift 18s ease-in-out infinite reverse;
}

.tez-atmosphere-sheen {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 32%, rgba(255, 255, 255, 0.05) 58%, transparent 74%),
        radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.22), transparent 42%);
    mix-blend-mode: soft-light;
}

@keyframes tez-orb-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(4%, 6%) scale(1.08);
    }
}

.tez-glass,
.tez-card,
.tez-table-card,
.tez-sidebar,
.tez-header,
.tez-guest-card,
.tez-modal-card,
.tez-toast.swal2-popup {
    --shine-x: 28%;
    --shine-y: 0%;
    background-color: var(--tez-glass-fill);
    background-image:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), var(--tez-glass-shine), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(var(--tez-blur)) saturate(var(--tez-saturate));
    -webkit-backdrop-filter: blur(var(--tez-blur)) saturate(var(--tez-saturate));
    border: 1px solid var(--tez-glass-edge);
    box-shadow: var(--tez-glass-shadow);
    border-radius: var(--tez-radius);
}

.tez-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.9rem;
}

.tez-sidebar {
    position: sticky;
    top: 0.9rem;
    align-self: start;
    height: calc(100vh - 1.8rem);
    display: flex;
    flex-direction: column;
    padding: 1.1rem 0.9rem;
}

.tez-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem 1.15rem;
    color: var(--tez-text);
    text-decoration: none;
}

.tez-brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
        var(--tez-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 10px 22px rgba(30, 58, 95, 0.28);
}

.tez-brand-name {
    font-weight: 650;
    line-height: 1.2;
}

.tez-brand-sub {
    display: block;
    color: var(--tez-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

.tez-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 0.28rem;
}

.tez-nav a {
    --shine-x: 20%;
    --shine-y: 0%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    color: var(--tez-muted);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.925rem;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tez-nav a:hover,
.tez-nav a.is-active {
    color: var(--tez-primary);
    background:
        radial-gradient(120% 120% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.7), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 18px rgba(15, 36, 64, 0.08);
}

.tez-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tez-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
}

.tez-header h1 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

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

.tez-content {
    padding: 0.15rem 0.2rem 0.6rem;
}

.tez-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.tez-page-head h2 {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.tez-page-head p {
    margin: 0.3rem 0 0;
    color: var(--tez-muted);
}

.tez-card {
    padding: 1.25rem;
}

.tez-card > h3:first-child {
    margin-top: 0;
}

.tez-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tez-card-link:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 50px rgba(15, 36, 64, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.tez-card-link h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.tez-btn {
    --shine-x: 50%;
    --shine-y: 0%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.58rem 1.05rem;
    font: inherit;
    font-weight: 650;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease;
}

.tez-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.tez-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.tez-btn-primary {
    color: #fff;
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%),
        var(--tez-primary);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 10px 22px rgba(30, 58, 95, 0.28);
}

.tez-btn-primary:hover:not(:disabled) {
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.32), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%),
        var(--tez-primary-hover);
}

.tez-btn-ghost {
    color: var(--tez-text);
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.5), transparent 48%),
        rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.tez-btn-ghost:hover:not(:disabled) {
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.7), transparent 48%),
        rgba(255, 255, 255, 0.4);
}

.tez-btn-danger {
    color: #fff;
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.24), transparent 42%),
        var(--tez-error);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 10px 22px rgba(185, 28, 28, 0.22);
}

.tez-btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.tez-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.tez-label {
    font-size: 0.85rem;
    font-weight: 650;
}

.tez-input,
.tez-select,
.tez-textarea,
select.tez-input,
input.tez-input,
textarea.tez-input {
    --shine-x: 20%;
    --shine-y: 0%;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--tez-radius-sm);
    padding: 0.68rem 0.85rem;
    background:
        radial-gradient(120% 120% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.55), transparent 48%),
        rgba(255, 255, 255, 0.42);
    color: var(--tez-text);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tez-input:focus,
.tez-select:focus,
.tez-textarea:focus {
    outline: 2px solid rgba(30, 58, 95, 0.22);
    outline-offset: 1px;
    border-color: rgba(30, 58, 95, 0.35);
}

.tez-input.is-invalid {
    border-color: rgba(185, 28, 28, 0.55);
}

.tez-error {
    color: var(--tez-error);
    font-size: 0.8rem;
}

.tez-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.4);
    color: var(--tez-muted);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tez-badge-success,
.tez-badge-active {
    background: rgba(15, 118, 110, 0.14);
    color: var(--tez-success);
}

.tez-badge-error,
.tez-badge-inactive,
.tez-badge-unread {
    background: rgba(185, 28, 28, 0.12);
    color: var(--tez-error);
}

.tez-badge-warning {
    background: rgba(180, 83, 9, 0.14);
    color: var(--tez-warning);
}

.tez-badge-info,
.tez-badge-read {
    background: rgba(29, 78, 216, 0.12);
    color: var(--tez-info);
}

.tez-badge-muted {
    background: rgba(100, 116, 139, 0.14);
    color: var(--tez-muted);
}

.tez-table-card {
    padding: 1rem;
}

.tez-item-list-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.tez-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: 100%;
}

.tez-tab {
    --shine-x: 20%;
    --shine-y: 0%;
    --tez-tab-accent: var(--tez-muted);
    --tez-tab-fill: rgba(100, 116, 139, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid color-mix(in srgb, var(--tez-tab-accent) 22%, white);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-weight: 550;
    font-size: 0.85rem;
    line-height: 1.2;
    color: var(--tez-tab-accent);
    background:
        radial-gradient(120% 120% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.55), transparent 48%),
        var(--tez-tab-fill);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.tez-tab-info {
    --tez-tab-accent: var(--tez-info);
    --tez-tab-fill: rgba(29, 78, 216, 0.16);
}

.tez-tab-success {
    --tez-tab-accent: var(--tez-success);
    --tez-tab-fill: rgba(15, 118, 110, 0.16);
}

.tez-tab-warning {
    --tez-tab-accent: var(--tez-warning);
    --tez-tab-fill: rgba(180, 83, 9, 0.16);
}

.tez-tab-error {
    --tez-tab-accent: var(--tez-error);
    --tez-tab-fill: rgba(185, 28, 28, 0.14);
}

.tez-tab-muted {
    --tez-tab-accent: #64748b;
    --tez-tab-fill: rgba(100, 116, 139, 0.16);
}

.tez-tab-count {
    display: inline-flex;
    min-width: 1.25rem;
    justify-content: center;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: color-mix(in srgb, var(--tez-tab-accent) 14%, white);
    color: inherit;
}

.tez-tab.is-active .tez-tab-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.tez-tab:hover {
    filter: brightness(0.97);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 18px rgba(15, 36, 64, 0.08);
}

.tez-tabs a.tez-tab.is-active,
.tez-tabs a.tez-tab.is-active:hover,
.tez-tabs a.tez-tab.is-active:visited,
.tez-tab.is-active {
    color: #fff;
    -webkit-text-fill-color: #fff;
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%),
        var(--tez-tab-accent);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 10px 22px color-mix(in srgb, var(--tez-tab-accent) 32%, transparent);
}

.tez-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1rem;
}

.tez-table-toolbar .tez-field {
    margin: 0;
    min-width: 10rem;
}

.tez-table-scroll {
    position: relative;
}

.tez-table-empty {
    padding: 2rem 1rem;
}

.tez-empty {
    text-align: center;
    color: var(--tez-muted);
}

.tez-empty-title {
    margin: 0;
    color: var(--tez-text);
    font-weight: 650;
}

.tez-empty-message {
    margin: 0.35rem 0 0;
}

table.dataTable.tez-datatable,
table.dataTable {
    border-collapse: collapse !important;
    font-size: 0.9rem;
    background: transparent !important;
}

table.dataTable thead th {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: var(--tez-muted);
    font-weight: 650;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    background: transparent !important;
}

table.dataTable tbody td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    padding: 0.85rem 0.75rem !important;
    vertical-align: middle;
    background: transparent !important;
}

table.dataTable tbody tr:hover td {
    background: rgba(255, 255, 255, 0.28) !important;
}

div.dt-container .dt-search input,
div.dt-container .dt-length select {
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--tez-radius-sm);
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

div.dt-container .dt-paging .dt-paging-button {
    border-radius: 999px !important;
    border: 1px solid transparent !important;
}

div.dt-container .dt-paging .dt-paging-button.current {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 40%),
        var(--tez-primary) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.tez-actions {
    display: flex;
    gap: 0.4rem;
}

.tez-userchip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--tez-text);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tez-userchip-copy {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
}

.tez-userchip span {
    color: var(--tez-muted);
}

.tez-userchip.is-active,
.tez-userchip:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tez-sidebar-logout {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--tez-glass-edge-dark);
}

.tez-sidebar-logout-btn {
    --shine-x: 20%;
    --shine-y: 0%;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--tez-muted);
    font: inherit;
    font-weight: 550;
    font-size: 0.925rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tez-sidebar-logout-btn:hover {
    color: var(--tez-error);
    background:
        radial-gradient(120% 120% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.7), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 18px rgba(15, 36, 64, 0.08);
}

.tez-content a:not(.tez-btn):not(.tez-card):not(.tez-card-link):not(.tez-userchip):not(.tez-feed-item):not(.tez-funnel-row) {
    color: var(--tez-primary);
}

.tez-guest {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 46%) 1fr;
}

.tez-guest-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 2.6rem;
    color: #e8eef6;
}

.tez-guest-panel-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tez-guest-panel .tez-brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tez-guest-panel .tez-brand-name {
    color: #fff;
}

.tez-guest-panel .tez-brand-sub {
    color: rgba(232, 238, 246, 0.68);
}

.tez-guest-panel-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5eead4;
}

.tez-guest-panel-title {
    margin: 0 0 0.85rem;
    max-width: 22rem;
    color: #fff;
    font-size: clamp(1.55rem, 2.3vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.tez-guest-panel-copy {
    margin: 0;
    max-width: 28rem;
    color: rgba(232, 238, 246, 0.78);
    line-height: 1.6;
}

.tez-guest-panel-list {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.tez-guest-panel-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    color: rgba(232, 238, 246, 0.92);
    font-size: 0.925rem;
}

.tez-guest-panel-list svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: #5eead4;
    filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.35));
}

.tez-guest-panel-foot {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(232, 238, 246, 0.55);
}

.tez-guest-main {
    display: grid;
    place-items: center;
    padding: 2.5rem 1.5rem;
}

.tez-guest-card {
    width: min(420px, 100%);
    padding: 1.85rem 1.7rem 1.6rem;
    --tez-text: #102033;
    --tez-muted: #3e5166;
    color: #102033;
    background-color: rgba(255, 255, 255, 0.94);
    background-image:
        radial-gradient(120% 80% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.55), transparent 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 22px 50px rgba(0, 10, 30, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tez-guest-card .tez-label,
.tez-guest-card .tez-login-title,
.tez-guest-card .tez-remember {
    color: #102033;
}

.tez-guest-card .tez-login-lead,
.tez-guest-card .tez-login-meta,
.tez-guest-card .tez-password-toggle {
    color: #33475c;
}

.tez-guest-card .tez-input {
    appearance: none;
    background: #fff;
    border: 1px solid #8b9db0;
    color: #102033;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.tez-guest-card .tez-input:focus {
    border-color: var(--tez-primary);
    outline: 2px solid rgba(30, 58, 95, 0.18);
}

.tez-guest-card .tez-input:-webkit-autofill,
.tez-guest-card .tez-input:-webkit-autofill:hover,
.tez-guest-card .tez-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #102033;
    box-shadow: 0 0 0 1000px #fff inset;
    caret-color: #102033;
}

.tez-login-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tez-success);
}

.tez-login-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.tez-login-lead {
    margin: 0.45rem 0 1.5rem;
    color: var(--tez-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tez-alert {
    border-radius: var(--tez-radius-sm);
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.45;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tez-alert-error {
    background: rgba(185, 28, 28, 0.12);
    border: 1px solid rgba(185, 28, 28, 0.2);
    color: var(--tez-error);
}

.tez-remember {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    color: var(--tez-text);
    cursor: pointer;
    user-select: none;
}

.tez-remember input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--tez-primary);
    cursor: pointer;
}

.tez-password {
    position: relative;
}

.tez-password .tez-input {
    padding-right: 2.85rem;
}

.tez-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tez-muted);
    cursor: pointer;
}

.tez-password-toggle:hover {
    color: var(--tez-text);
    background: rgba(255, 255, 255, 0.42);
}

.tez-password-toggle svg {
    width: 1.15rem;
    height: 1.15rem;
}

.tez-password-toggle .tez-icon-hide {
    display: none;
}

.tez-password-toggle.is-visible .tez-icon-show {
    display: none;
}

.tez-password-toggle.is-visible .tez-icon-hide {
    display: block;
}

.tez-btn-block {
    width: 100%;
    padding: 0.85rem 1rem;
}

.tez-login-meta {
    margin: 1.5rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--tez-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.tez-swal-popup,
div.swal2-popup.tez-swal-popup {
    color: var(--tez-text);
    font-family: var(--tez-font);
    padding: 1.5rem !important;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--tez-radius);
    box-shadow:
        0 24px 60px rgba(15, 36, 64, 0.24),
        0 4px 16px rgba(15, 36, 64, 0.12);
}

div.swal2-container.swal2-backdrop-show,
div.swal2-container.swal2-noanimation {
    background-color: rgba(7, 21, 37, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.swal2-toast-shown div.swal2-container {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.tez-swal-title {
    color: var(--tez-text) !important;
    font-size: 1.2rem !important;
    font-weight: 650 !important;
}

.tez-swal-html,
.tez-swal-validation {
    color: #3d4f63 !important;
}

.tez-swal-actions {
    gap: 0.6rem !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-question {
    border-color: var(--tez-info) !important;
    color: var(--tez-info) !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-question .swal2-icon-content {
    color: var(--tez-info) !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-success {
    border-color: var(--tez-success) !important;
    color: var(--tez-success) !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-warning {
    border-color: var(--tez-warning) !important;
    color: var(--tez-warning) !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-error {
    border-color: var(--tez-error) !important;
    color: var(--tez-error) !important;
}

div.swal2-popup.tez-swal-popup .swal2-icon.swal2-info {
    border-color: var(--tez-info) !important;
    color: var(--tez-info) !important;
}

.tez-toast.swal2-popup {
    font-family: var(--tez-font);
    border-radius: var(--tez-radius-sm) !important;
}

.tez-toast-title {
    font-size: 0.95rem !important;
    font-weight: 650 !important;
    color: var(--tez-text) !important;
}

.tez-toast-message {
    color: var(--tez-muted) !important;
}

.tez-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tez-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.tez-stat {
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
}

.tez-stat-label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
}

.tez-stat-hint {
    margin: 0.28rem 0 0;
    color: var(--tez-muted);
    font-size: 0.82rem;
}

.tez-stat-value {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tez-stat-warning .tez-stat-value {
    color: var(--tez-warning);
}

.tez-stat-success .tez-stat-value {
    color: var(--tez-success);
}

.tez-stat-info .tez-stat-value {
    color: var(--tez-info);
}

.tez-stat-delta {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--tez-muted);
}

.tez-stat-delta-up {
    color: var(--tez-success);
}

.tez-stat-delta-down {
    color: var(--tez-error);
}

.tez-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tez-insight {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: var(--tez-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.28);
    font-size: 0.9rem;
    line-height: 1.45;
}

.tez-insight-warning {
    background: rgba(180, 83, 9, 0.1);
    border-color: rgba(180, 83, 9, 0.18);
}

.tez-insight-info {
    background: rgba(29, 78, 216, 0.08);
    border-color: rgba(29, 78, 216, 0.14);
}

.tez-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.tez-card-head h3 {
    margin: 0;
    font-size: 1.02rem;
}

.tez-card-kicker {
    margin: 0.28rem 0 0;
    color: var(--tez-muted);
    font-size: 0.85rem;
}

.tez-dashboard-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tez-chart {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    align-items: end;
    gap: 0.35rem;
    min-height: 11rem;
}

.tez-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 11rem;
}

.tez-chart-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 0.15rem;
    width: 100%;
    height: 8.5rem;
}

.tez-chart-bar {
    display: block;
    width: 45%;
    min-height: 0;
    border-radius: 6px 6px 2px 2px;
}

.tez-chart-bar-submitted {
    background: var(--tez-info);
}

.tez-chart-bar-certified {
    background: var(--tez-success);
}

.tez-chart-label {
    color: var(--tez-muted);
    font-size: 0.68rem;
    white-space: nowrap;
}

.tez-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--tez-muted);
    font-size: 0.78rem;
}

.tez-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tez-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
}

.tez-dot-info {
    background: var(--tez-info);
}

.tez-dot-success {
    background: var(--tez-success);
}

.tez-funnel {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tez-funnel-row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.tez-funnel-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.tez-funnel-copy span {
    color: var(--tez-muted);
    font-size: 0.75rem;
}

.tez-funnel-track {
    display: block;
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.tez-funnel-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tez-primary);
}

.tez-funnel-count {
    font-variant-numeric: tabular-nums;
}

.tez-outcome-bar {
    display: flex;
    overflow: hidden;
    height: 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.tez-outcome-slice {
    display: block;
    height: 100%;
}

.tez-outcome-success {
    background: var(--tez-success);
}

.tez-outcome-warning {
    background: var(--tez-warning);
}

.tez-outcome-error {
    background: var(--tez-error);
}

.tez-feed {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tez-feed-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--tez-radius-sm);
    border: 1px solid transparent;
    color: inherit;
    text-decoration: none;
}

.tez-feed-item:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.32);
}

.tez-feed-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.tez-feed-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tez-feed-copy span {
    color: var(--tez-muted);
    font-size: 0.85rem;
}

.tez-feed-remarks {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--tez-warning) !important;
}

.tez-feed-meta {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    color: var(--tez-muted);
    font-size: 0.78rem;
}

.tez-wait {
    font-weight: 650;
    color: var(--tez-info);
}

.tez-wait.is-aged {
    color: var(--tez-warning);
}

.tez-status-meters {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tez-status-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.15rem;
    font-size: 0.88rem;
}

.tez-status-meter span {
    color: var(--tez-muted);
}

.tez-status-meter strong {
    font-variant-numeric: tabular-nums;
}

.tez-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.tez-item-list-form {
    max-width: none;
}

.tez-item-repeater {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0.25rem 0 1rem;
}

.tez-item-repeater-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.tez-item-repeater-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
}

.tez-item-repeater-help {
    margin: 0.25rem 0 0;
    color: var(--tez-muted);
    font-size: 0.9rem;
}

.tez-item-lines {
    overflow-x: auto;
}

.tez-item-line {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.9fr) minmax(11rem, 1.6fr) 5.5rem 4.5rem 6.5rem minmax(7rem, 1fr) minmax(9.5rem, 0.95fr) 2.5rem;
    gap: 0.5rem;
    align-items: start;
    min-width: 64rem;
}

.tez-item-line-head {
    padding: 0 0.1rem;
}

.tez-item-line-head span {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--tez-muted);
}

.tez-item-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tez-item-row {
    padding: 0 0 0.75rem;
    background: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, 0.14);
}

.tez-item-row .tez-field {
    margin-bottom: 0;
}

.tez-item-row .tez-input {
    padding: 0.5rem 0.65rem;
}

.tez-item-attachment {
    position: relative;
    min-width: 0;
    gap: 0.3rem;
}

.tez-item-attachment.is-invalid .tez-file-btn {
    border-color: rgba(185, 28, 28, 0.55);
}

.tez-file-chip,
.tez-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--tez-radius-sm);
    padding: 0.48rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}

.tez-file-chip svg,
.tez-file-btn svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.tez-file-chip span,
.tez-file-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tez-file-chip {
    color: var(--tez-info);
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.16);
}

.tez-file-btn {
    --shine-x: 20%;
    --shine-y: 0%;
    color: var(--tez-text);
    cursor: pointer;
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.5), transparent 48%),
        rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.tez-file-btn:hover {
    background:
        radial-gradient(120% 90% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.7), transparent 48%),
        rgba(255, 255, 255, 0.4);
}

.tez-item-attachment:focus-within .tez-file-btn {
    outline: 2px solid rgba(30, 58, 95, 0.22);
    outline-offset: 1px;
    border-color: rgba(30, 58, 95, 0.35);
}

.tez-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tez-item-attachment.has-file .tez-file-btn {
    color: var(--tez-primary);
}

.tez-item-line-action {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.1rem;
}

.tez-item-remove {
    min-width: 2.25rem;
    padding: 0.4rem 0.5rem;
    font-size: 1.05rem;
    line-height: 1;
}

.tez-item-empty {
    margin: 0;
    color: var(--tez-muted);
    font-size: 0.9rem;
}

.tez-item-lines:has([data-tez-item-row]) + .tez-item-empty {
    display: none;
}

.tez-item-lines:not(:has([data-tez-item-row])) .tez-item-line-head {
    display: none;
}

.tez-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tez-callout {
    border-radius: var(--tez-radius-sm);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tez-callout-warning {
    background: rgba(180, 83, 9, 0.1);
    border-color: rgba(180, 83, 9, 0.18);
}

.tez-modal {
    border: 0;
    padding: 0;
    background: transparent;
}

.tez-modal::backdrop {
    background: rgba(7, 21, 37, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tez-modal-card {
    min-width: min(480px, 92vw);
    padding: 1.25rem;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tez-glass,
    .tez-card,
    .tez-table-card,
    .tez-sidebar,
    .tez-header,
    .tez-guest-card,
    .tez-modal-card,
    .tez-toast.swal2-popup,
    .tez-input,
    .tez-btn-ghost {
        background: rgba(255, 255, 255, 0.92);
    }
}

@media (prefers-reduced-transparency: reduce) {
    :root {
        --tez-blur: 0px;
        --tez-glass-fill: rgba(255, 255, 255, 0.94);
        --tez-glass-shine: rgba(255, 255, 255, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tez-orb,
    .tez-card-link,
    .tez-btn,
    .tez-nav a,
    .tez-tab,
    .tez-feed-item,
    .tez-funnel-row {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .tez-shell {
        grid-template-columns: 1fr;
        padding: 0.7rem;
        gap: 0.7rem;
    }

    .tez-sidebar {
        position: static;
        height: auto;
    }

    .tez-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.15rem;
    }

    .tez-nav a {
        white-space: nowrap;
    }

    .tez-sidebar-logout {
        margin-top: 0.5rem;
    }

    .tez-grid-2,
    .tez-dashboard-split,
    .tez-insights {
        grid-template-columns: 1fr;
    }

    .tez-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tez-funnel-row {
        grid-template-columns: 1fr auto;
    }

    .tez-funnel-track {
        grid-column: 1 / -1;
    }

    .tez-guest {
        grid-template-columns: 1fr;
    }

    .tez-guest-panel {
        min-height: auto;
        padding: 1.25rem 1.5rem 0.4rem;
        gap: 0;
    }

    .tez-guest-panel-intro,
    .tez-guest-panel-foot {
        display: none;
    }

    .tez-guest-main {
        align-items: start;
        padding: 1.25rem 1.25rem 2.5rem;
    }
}

@media (max-width: 600px) {
    .tez-stats {
        grid-template-columns: 1fr;
    }

    .tez-feed-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}
