:root {
    --tuleer-blue: #1769ff;
    --tuleer-blue-soft: #edf4ff;
    --tuleer-navy: #071a3d;
    --tuleer-text: #42516b;
    --tuleer-border: #e2e9f3;
    --tuleer-bg: #f7faff;
}

body.fi-body {
    background: var(--tuleer-bg);
    color: var(--tuleer-navy);
}

.fi-sidebar,
.fi-topbar nav,
.fi-simple-main {
    border-color: var(--tuleer-border);
    box-shadow: none;
}

.fi-sidebar {
    background: rgba(255, 255, 255, .98);
}

.fi-sidebar-item-button {
    border-radius: 10px;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-button {
    background: var(--tuleer-blue-soft);
    color: var(--tuleer-blue);
}

.fi-topbar nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
}

.fi-main {
    min-height: calc(100vh - 4rem);
}

.fi-header-heading {
    color: var(--tuleer-navy);
    letter-spacing: -.025em;
}

.fi-section,
.fi-wi-stats-overview-stat,
.fi-wi-chart,
.fi-ta-ctn {
    border: 1px solid var(--tuleer-border);
    border-radius: 14px;
    box-shadow: 0 10px 34px rgba(24, 65, 125, .05);
}

button.fi-btn.fi-color-primary,
a.fi-btn.fi-color-primary {
    background: var(--tuleer-blue);
}

.fi-simple-main {
    width: min(100%, 30rem);
    border: 1px solid var(--tuleer-border);
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(24, 65, 125, .1);
}

.fi-simple-header {
    align-items: center;
    text-align: center;
}

.fi-simple-header .fi-logo {
    margin-inline: auto;
}

.tuleer-panel-back-to-top {
    position: fixed;
    z-index: 50;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(23, 101, 255, .18);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #2877ff, #0e5be8);
    box-shadow: 0 14px 32px rgba(23, 101, 255, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, box-shadow .2s ease;
}

.tuleer-panel-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.tuleer-panel-back-to-top:hover {
    box-shadow: 0 18px 40px rgba(23, 101, 255, .35);
    transform: translateY(-2px);
}

.tuleer-panel-back-to-top:focus-visible {
    outline: 3px solid rgba(23, 101, 255, .22);
    outline-offset: 3px;
}

.tuleer-panel-back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tuleer-verification {
    display: grid;
    gap: .7rem;
}

.tuleer-verification-trigger {
    display: flex;
    width: 100%;
    min-height: 4.2rem;
    align-items: center;
    gap: .85rem;
    padding: .75rem .9rem;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    color: #243650;
    background: linear-gradient(135deg, #fff, #f8fbff);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tuleer-verification-trigger:hover {
    border-color: #9fbbec;
    box-shadow: 0 10px 26px rgba(24, 81, 172, .09);
    transform: translateY(-1px);
}

.tuleer-verification-trigger.is-verified {
    border-color: #a9dfcb;
    background: linear-gradient(135deg, #f7fffb, #effbf6);
}

.tuleer-verification-trigger.has-error {
    border-color: #f1b9be;
    background: #fffafa;
}

.tuleer-verification-trigger:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.tuleer-verification-shield {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    place-items: center;
    border-radius: 11px;
    color: var(--tuleer-blue);
    background: var(--tuleer-blue-soft);
}

.tuleer-verification-trigger.is-verified .tuleer-verification-shield {
    color: #079568;
    background: #e4f8ef;
}

.tuleer-verification-shield svg,
.tuleer-verification-action svg,
.tuleer-verification-panel-head button svg,
.tuleer-slider-thumb svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tuleer-verification-copy {
    min-width: 0;
    flex: 1;
}

.tuleer-verification-copy strong,
.tuleer-verification-copy small {
    display: block;
}

.tuleer-verification-copy strong {
    color: #1b2d49;
    font-size: .84rem;
}

.tuleer-verification-copy small {
    overflow: hidden;
    margin-top: .12rem;
    color: #8390a4;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-verification-action {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 1.8rem;
    place-items: center;
    border-radius: 8px;
    color: #8b99ad;
    background: #f0f4f9;
}

.tuleer-verification-action svg {
    width: 1rem;
    height: 1rem;
}

.tuleer-verification-panel {
    overflow: hidden;
    padding: .9rem;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(17, 51, 101, .12);
}

.tuleer-verification-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.tuleer-verification-panel-head strong,
.tuleer-verification-panel-head small {
    display: block;
}

.tuleer-verification-panel-head strong {
    color: #172a47;
    font-size: .8rem;
}

.tuleer-verification-panel-head small {
    margin-top: .15rem;
    color: #8996aa;
    font-size: .65rem;
}

.tuleer-verification-panel-head button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #687991;
    background: #f1f5fa;
    cursor: pointer;
    line-height: 1;
}

.tuleer-verification-panel-head button svg {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0;
    transform-origin: center;
}

.tuleer-verification-refresh.is-loading svg {
    animation: tuleer-verification-spin .8s linear infinite;
}

@keyframes tuleer-verification-spin {
    to { transform: rotate(360deg); }
}

.tuleer-puzzle {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 320 / 150;
    border-radius: 10px;
    background: #eaf1fa;
    user-select: none;
}

.tuleer-puzzle-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.tuleer-puzzle-piece {
    position: absolute;
    z-index: 2;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 6px 14px rgba(7, 25, 56, .25);
    pointer-events: none;
    user-select: none;
}

.tuleer-puzzle-badge {
    position: absolute;
    right: .55rem;
    bottom: .5rem;
    padding: .2rem .4rem;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    background: rgba(7, 25, 56, .38);
    backdrop-filter: blur(8px);
    font-size: .55rem;
    font-weight: 700;
}

.tuleer-slider {
    position: relative;
    height: 2.85rem;
    margin-top: .75rem;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    background: #f4f7fb;
    touch-action: none;
    user-select: none;
}

.tuleer-slider-progress {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, #dce9ff, #edf4ff);
}

.tuleer-slider-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-left: 2.8rem;
    color: #8491a5;
    font-size: .68rem;
    pointer-events: none;
}

.tuleer-slider-thumb {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    display: grid;
    width: 3rem;
    height: 100%;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #2877ff, #0f5be9);
    box-shadow: 0 7px 17px rgba(23, 101, 255, .25);
    cursor: grab;
    touch-action: none;
}

.tuleer-slider.is-dragging .tuleer-slider-thumb {
    cursor: grabbing;
}

.tuleer-verification-message {
    min-height: 1rem;
    margin: .55rem 0 0;
    color: #7a899f;
    font-size: .65rem;
}

.tuleer-verification-message.has-error {
    color: #dc3f4d;
}

.tuleer-auth-legal-shortcuts {
    color: #919caf;
    font-size: .66rem;
    line-height: 1.7;
    text-align: center;
}

.tuleer-auth-legal-shortcuts a,
.tuleer-legal-link {
    color: var(--tuleer-blue);
    font-weight: 650;
    text-decoration: none;
}

.tuleer-auth-legal-shortcuts a:hover,
.tuleer-legal-link:hover {
    text-decoration: underline;
}

[x-cloak] {
    display: none !important;
}

.tuleer-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tuleer-breakdown-grid--devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tuleer-panel-card {
    overflow: hidden;
    border: 1px solid var(--tuleer-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(24, 65, 125, .05);
}

.tuleer-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    border-bottom: 1px solid #eef2f7;
}

.tuleer-card-heading h3 {
    margin: 0;
    color: var(--tuleer-navy);
    font-size: .95rem;
    font-weight: 700;
}

.tuleer-card-heading p {
    margin: .25rem 0 0;
    color: #8b98ad;
    font-size: .75rem;
}

.tuleer-card-heading a,
.tuleer-refresh-label {
    color: var(--tuleer-blue);
    font-size: .75rem;
    font-weight: 600;
}

.tuleer-ranking-list {
    display: grid;
    gap: .9rem;
    padding: 1.125rem;
}

.tuleer-ranking-row {
    display: grid;
    grid-template-columns: minmax(85px, 1fr) 2fr auto;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.tuleer-ranking-row > span {
    overflow: hidden;
    color: #3e4d67;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-ranking-row > div {
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf2fa;
}

.tuleer-ranking-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tuleer-blue);
}

.tuleer-ranking-row strong {
    min-width: 2.8rem;
    color: #33425d;
    font-size: .75rem;
    text-align: right;
}

.tuleer-empty {
    margin: .5rem 0;
    color: #8b98ad;
    font-size: .8rem;
}

.tuleer-analytics-page {
    display: grid;
    gap: 1rem;
}

.tuleer-metric-grid {
    display: grid;
    gap: 1rem;
}

.tuleer-metric-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tuleer-live-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid var(--tuleer-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(24, 65, 125, .05);
}

.tuleer-live-card small {
    display: block;
    margin-bottom: .35rem;
    color: #687792;
    font-weight: 600;
}

.tuleer-live-card strong {
    display: block;
    color: var(--tuleer-navy);
    font-size: 2rem;
    line-height: 1.1;
}

.tuleer-live-card p {
    margin: .45rem 0 0;
    color: #92a0b5;
    font-size: .75rem;
}

.tuleer-live-dot,
.tuleer-live-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--tuleer-blue-soft);
    color: var(--tuleer-blue);
    font-size: 1.15rem;
}

.tuleer-live-dot::after {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: #16b978;
    box-shadow: 0 0 0 6px rgba(22, 185, 120, .12);
    content: '';
}

.tuleer-data-table {
    overflow-x: auto;
}

.tuleer-table-head,
.tuleer-table-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 100px 100px;
    align-items: center;
    min-width: 520px;
    gap: 1rem;
    padding: .85rem 1.125rem;
}

.tuleer-table-head--wide,
.tuleer-table-row--wide {
    grid-template-columns: minmax(160px, .8fr) minmax(220px, 1.2fr) 90px 90px;
    min-width: 720px;
}

.tuleer-table-head {
    color: #8a98ae;
    background: #fbfcfe;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.tuleer-table-row {
    border-top: 1px solid #eef2f7;
    color: #52617a;
    font-size: .8rem;
}

.tuleer-table-row strong,
.tuleer-table-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-table-row strong {
    color: #253653;
}

.tuleer-empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.tuleer-empty-state strong {
    color: var(--tuleer-navy);
}

.tuleer-empty-state p {
    margin: .45rem 0 0;
    color: #8b98ad;
    font-size: .8rem;
}

.tuleer-installation-card {
    overflow: hidden;
    padding: 1.4rem;
    border: 1px solid #d9e5f8;
    border-radius: 17px;
    background: linear-gradient(135deg, #fff, #f6f9ff);
    box-shadow: 0 16px 46px rgba(23, 76, 159, .08);
}

.tuleer-installation-card.is-installed {
    border-color: #c8eadc;
    background: linear-gradient(135deg, #fff, #f3fbf7);
}

.tuleer-installation-card.is-unavailable {
    border-color: #e4e8ef;
    background: linear-gradient(135deg, #fff, #f8f9fb);
}

.tuleer-installation-head,
.tuleer-installation-title,
.tuleer-installation-actions,
.tuleer-installation-code {
    display: flex;
    align-items: center;
}

.tuleer-installation-head {
    justify-content: space-between;
    gap: 1.25rem;
}

.tuleer-installation-title {
    min-width: 0;
    align-items: flex-start;
    gap: .9rem;
}

.tuleer-installation-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 2.8rem;
    place-items: center;
    border-radius: 12px;
    color: var(--tuleer-blue);
    background: #e9f1ff;
}

.is-installed .tuleer-installation-icon {
    color: #079568;
    background: #e3f7ee;
}

.tuleer-installation-icon svg,
.tuleer-installation-actions svg,
.tuleer-installation-code button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tuleer-installation-eyebrow {
    display: block;
    margin-bottom: .18rem;
    color: var(--tuleer-blue);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.tuleer-installation-title h2 {
    margin: 0;
    color: var(--tuleer-navy);
    font-size: 1rem;
    font-weight: 760;
    letter-spacing: -.015em;
}

.tuleer-installation-title p {
    margin: .35rem 0 0;
    color: #73839b;
    font-size: .75rem;
    line-height: 1.65;
}

.tuleer-installation-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .38rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    color: #66758c;
    background: #edf1f6;
    font-size: .68rem;
    font-weight: 750;
}

.tuleer-installation-badge i {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: currentColor;
}

.tuleer-installation-badge.is-warning {
    color: #b66c00;
    background: #fff3db;
}

.tuleer-installation-badge.is-success {
    color: #07835e;
    background: #e3f7ee;
}

.tuleer-installation-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.25rem;
}

.tuleer-installation-steps::before {
    position: absolute;
    z-index: 0;
    top: 1rem;
    right: 11%;
    left: 11%;
    height: 1px;
    background: #dfe7f3;
    content: '';
}

.tuleer-installation-steps > div {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.tuleer-installation-steps span {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin: 0 auto .5rem;
    place-items: center;
    border: 5px solid #f8faff;
    border-radius: 50%;
    color: #fff;
    background: var(--tuleer-blue);
    box-sizing: content-box;
    font-size: .66rem;
    font-weight: 800;
}

.tuleer-installation-steps strong,
.tuleer-installation-steps small {
    display: block;
}

.tuleer-installation-steps strong {
    color: #2b3d59;
    font-size: .72rem;
}

.tuleer-installation-steps small {
    margin-top: .18rem;
    color: #93a0b3;
    font-size: .62rem;
}

.tuleer-installation-code {
    gap: .9rem;
    margin-top: 1.2rem;
    padding: .9rem;
    border: 1px solid #dfe7f2;
    border-radius: 12px;
    background: #fff;
}

.tuleer-installation-code > div {
    flex: 0 0 auto;
}

.tuleer-installation-code > div span,
.tuleer-installation-code > div small {
    display: block;
}

.tuleer-installation-code > div span {
    color: #2b3c57;
    font-size: .68rem;
    font-weight: 750;
}

.tuleer-installation-code > div small {
    max-width: 11rem;
    overflow: hidden;
    margin-top: .15rem;
    color: #96a2b4;
    font-size: .58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-installation-code code {
    min-width: 0;
    flex: 1;
    overflow-x: auto;
    padding: .7rem .8rem;
    border-radius: 9px;
    color: #d9e6ff;
    background: #081a38;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: .65rem;
    white-space: nowrap;
}

.tuleer-installation-code button,
.tuleer-installation-actions button,
.tuleer-installation-actions a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.35rem;
    padding: 0 .8rem;
    border-radius: 9px;
    font-size: .68rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.tuleer-installation-code button {
    border: 0;
    color: #fff;
    background: var(--tuleer-blue);
}

.tuleer-installation-actions {
    justify-content: flex-end;
    gap: .55rem;
    margin-top: 1rem;
}

.tuleer-installation-actions a {
    border: 1px solid #dbe4f0;
    color: #43546e;
    background: #fff;
}

.tuleer-installation-actions button {
    border: 1px solid var(--tuleer-blue);
    color: #fff;
    background: var(--tuleer-blue);
}

.tuleer-installation-actions button:disabled {
    cursor: wait;
    opacity: .68;
}

@media (max-width: 1024px) {
    .tuleer-breakdown-grid--devices {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .tuleer-breakdown-grid,
    .tuleer-metric-grid--two {
        grid-template-columns: 1fr;
    }

    .tuleer-ranking-row {
        grid-template-columns: minmax(82px, 1fr) 1.35fr auto;
    }

    .fi-simple-main {
        border-radius: 16px;
    }

    .tuleer-verification-panel {
        padding: .72rem;
    }

    .tuleer-verification-copy small {
        max-width: 13rem;
    }

    .tuleer-panel-back-to-top {
        right: 14px;
        bottom: 16px;
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .tuleer-installation-card {
        padding: 1.05rem;
    }

    .tuleer-installation-head {
        align-items: flex-start;
    }

    .tuleer-installation-badge {
        padding: .35rem .55rem;
        font-size: .62rem;
    }

    .tuleer-installation-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem .55rem;
    }

    .tuleer-installation-steps::before {
        display: none;
    }

    .tuleer-installation-code {
        align-items: stretch;
        flex-direction: column;
    }

    .tuleer-installation-code > div small {
        max-width: 100%;
    }

    .tuleer-installation-code button {
        width: 100%;
    }

    .tuleer-installation-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .tuleer-installation-actions button,
    .tuleer-installation-actions a {
        width: 100%;
    }
}
.tuleer-app-language-switcher {
    align-items: center;
    display: flex;
    gap: .35rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.tuleer-app-language-switcher a {
    border: 1px solid transparent;
    border-radius: .55rem;
    color: #64748b;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    padding: .48rem .62rem;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.tuleer-app-language-switcher a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.tuleer-app-language-switcher a.is-current {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1769ff;
}

/* Multi-site workspace */
.tuleer-sites-page {
    display: grid;
    gap: 1.15rem;
    font-size: 15px;
}

.tuleer-sites-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 9rem;
    padding: 1.5rem 1.65rem;
    border: 1px solid #dce7f5;
    border-radius: 18px;
    background:
        radial-gradient(circle at 82% 0, rgba(36, 116, 255, .15), transparent 31%),
        linear-gradient(122deg, #fff 0%, #f7faff 58%, #edf5ff 100%);
    box-shadow: 0 18px 45px rgba(34, 75, 132, .07);
}

.tuleer-sites-hero::after {
    position: absolute;
    right: -3rem;
    bottom: -6rem;
    width: 17rem;
    height: 17rem;
    border: 1px solid rgba(23, 105, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 2.5rem rgba(23, 105, 255, .035), 0 0 0 5rem rgba(23, 105, 255, .025);
    content: "";
}

.tuleer-sites-eyebrow,
.tuleer-sites-live {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 800;
}

.tuleer-sites-eyebrow {
    color: var(--tuleer-blue);
    letter-spacing: .08em;
}

.tuleer-sites-eyebrow svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.tuleer-sites-hero h2 {
    margin-top: .45rem;
    color: #071a3d;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.tuleer-sites-hero p {
    max-width: 43rem;
    margin-top: .45rem;
    color: #65758d;
    font-size: .94rem;
    line-height: 1.7;
}

.tuleer-sites-live {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: .6rem .8rem;
    border: 1px solid rgba(20, 184, 131, .2);
    border-radius: 999px;
    color: #087a59;
    background: rgba(239, 253, 248, .86);
}

.tuleer-sites-live span,
.tuleer-sites-status i {
    width: .43rem;
    height: .43rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 .22rem color-mix(in srgb, currentColor 15%, transparent);
}

.tuleer-sites-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .8rem;
}

.tuleer-sites-kpis article {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 1.15rem;
    border: 1px solid #e0e8f3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(30, 70, 125, .045);
}

.tuleer-sites-kpis article::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 0 0 0 100%;
    background: linear-gradient(135deg, rgba(23, 105, 255, .1), transparent);
    content: "";
}

.tuleer-sites-kpis span,
.tuleer-sites-kpis small {
    display: block;
}

.tuleer-sites-kpis span {
    color: #6b7b92;
    font-size: .82rem;
    font-weight: 700;
}

.tuleer-sites-kpis strong {
    display: block;
    margin: .32rem 0 .16rem;
    color: #071a3d;
    font-size: 1.72rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.tuleer-sites-kpis small {
    color: #9aa6b7;
    font-size: .74rem;
}

.tuleer-sites-table-card {
    overflow: hidden;
    border: 1px solid #dde6f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(30, 70, 125, .055);
}

.tuleer-sites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #e7edf5;
}

.tuleer-sites-toolbar h3 {
    color: #0b1e3d;
    font-size: 1.05rem;
    font-weight: 800;
}

.tuleer-sites-toolbar p {
    margin-top: .2rem;
    color: #8a98ab;
    font-size: .78rem;
}

.tuleer-sites-search {
    display: flex;
    width: min(100%, 19rem);
    align-items: center;
    gap: .5rem;
    padding: 0 .72rem;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f9fbfd;
}

.tuleer-sites-search:focus-within {
    border-color: #8eb6ff;
    box-shadow: 0 0 0 3px rgba(23, 105, 255, .09);
}

.tuleer-sites-search svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: none;
    stroke: #8594a9;
    stroke-width: 1.8;
}

.tuleer-sites-search input {
    width: 100%;
    min-height: 2.55rem;
    border: 0;
    outline: 0;
    color: #1a2d4a;
    background: transparent;
    font-size: .86rem;
}

.tuleer-sites-table-wrap {
    overflow-x: auto;
}

.tuleer-sites-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
    table-layout: fixed;
}

.tuleer-sites-table th {
    padding: .78rem .7rem;
    color: #69778d;
    background: #f5f8fc;
    font-size: .78rem;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
}

.tuleer-sites-table th:nth-child(1) { width: 17%; }
.tuleer-sites-table th:nth-child(2) { width: 10%; }
.tuleer-sites-table th:nth-child(3) { width: 8%; }
.tuleer-sites-table th:nth-child(4),
.tuleer-sites-table th:nth-child(5),
.tuleer-sites-table th:nth-child(6) { width: 8%; text-align: right; }
.tuleer-sites-table th:nth-child(7) { width: 13%; }
.tuleer-sites-table th:nth-child(8) { width: 20%; }

.tuleer-sites-table td {
    padding: 1rem .7rem;
    border-bottom: 1px solid #edf1f6;
    color: #5f6c80;
    font-size: .84rem;
    vertical-align: middle;
}

.tuleer-sites-table tbody tr:last-child td {
    border-bottom: 0;
}

.tuleer-sites-table tbody tr:not(.tuleer-sites-total-row):hover td {
    background: #fbfdff;
}

.tuleer-sites-total-row td {
    background: #edf2f8;
}

.tuleer-sites-total-row td:nth-child(4),
.tuleer-sites-total-row td:nth-child(5),
.tuleer-sites-total-row td:nth-child(6) {
    text-align: right;
}

.tuleer-sites-total-row td > strong,
.tuleer-sites-total-row td > span,
.tuleer-sites-stack > strong,
.tuleer-sites-stack > span {
    display: block;
    min-height: 1.25rem;
    line-height: 1.25rem;
}

.tuleer-sites-total-row td > strong,
.tuleer-sites-stack > strong {
    color: #142847;
    font-weight: 800;
}

.tuleer-sites-total-row td:first-child span,
.tuleer-sites-total-row td:nth-child(2) small {
    color: #8492a7;
}

.tuleer-sites-total-mark {
    display: inline-grid !important;
    width: 2rem;
    min-height: 2rem !important;
    place-items: center;
    border-radius: 8px;
    color: #fff !important;
    background: #12294c;
    font-size: .68rem;
    letter-spacing: .08em;
}

.tuleer-site-name {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .7rem;
}

.tuleer-site-name > span {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(145deg, #1769ff, #3f8cff);
    box-shadow: 0 7px 16px rgba(23, 105, 255, .2);
    font-size: .82rem;
    font-weight: 850;
}

.tuleer-site-name div {
    min-width: 0;
}

.tuleer-site-name strong,
.tuleer-site-name a,
.tuleer-sites-table td:nth-child(2) code,
.tuleer-sites-table td:nth-child(2) small,
.tuleer-sites-table td:nth-child(7) small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-site-name strong {
    color: #102543;
    font-size: .88rem;
    font-weight: 800;
}

.tuleer-site-name a {
    margin-top: .18rem;
    color: #8290a4;
    text-decoration: none;
}

.tuleer-site-name a:hover {
    color: var(--tuleer-blue);
}

.tuleer-sites-table td:nth-child(2) code {
    color: #354965;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-weight: 750;
}

.tuleer-sites-table td:nth-child(2) small,
.tuleer-sites-table td:nth-child(7) small {
    max-width: 9rem;
    margin-top: .2rem;
    color: #9aa5b5;
    font-size: .72rem;
}

.tuleer-sites-numbers {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.tuleer-sites-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .34rem .48rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.tuleer-sites-status--ok { color: #087a59; background: #eafaf4; }
.tuleer-sites-status--pending { color: #a56205; background: #fff5df; }
.tuleer-sites-status--paused { color: #6b7280; background: #f0f2f5; }
.tuleer-sites-status--error { color: #c24152; background: #fff0f2; }

.tuleer-sites-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .65rem;
}

.tuleer-sites-actions a,
.tuleer-sites-actions button {
    padding: 0;
    border: 0;
    color: #617087;
    background: none;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.tuleer-sites-actions a:hover,
.tuleer-sites-actions button:hover,
.tuleer-sites-actions .is-primary {
    color: var(--tuleer-blue);
}

.tuleer-sites-empty {
    padding: 3.5rem 1rem;
    text-align: center;
}

.tuleer-sites-empty strong {
    color: #233854;
    font-size: 1rem;
}

.tuleer-sites-empty p {
    margin-top: .3rem;
    color: #8b98aa;
}

.tuleer-sites-pagination {
    padding: 1rem 1.2rem;
    border-top: 1px solid #edf1f6;
}

/* Analytics command center */
.tuleer-screen {
    --screen-bg: #061125;
    --screen-panel: rgba(11, 28, 55, .86);
    --screen-border: rgba(118, 168, 237, .18);
    --screen-muted: #7990ad;
    --screen-text: #eaf5ff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: 1rem;
    min-height: calc(100vh - 9rem);
    padding: clamp(1rem, 2vw, 1.55rem);
    border: 1px solid rgba(49, 140, 255, .22);
    border-radius: 22px;
    color: var(--screen-text);
    background:
        radial-gradient(circle at 13% 0, rgba(16, 173, 255, .18), transparent 27%),
        radial-gradient(circle at 89% 8%, rgba(119, 75, 255, .18), transparent 30%),
        linear-gradient(145deg, #07162c 0%, #050d1d 52%, #08152b 100%);
    box-shadow: 0 28px 80px rgba(3, 13, 31, .32), inset 0 1px rgba(255, 255, 255, .04);
    font-size: 15px;
}

.tuleer-screen::before,
.tuleer-screen::after {
    position: absolute;
    z-index: -1;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .14;
    content: "";
}

.tuleer-screen::before { top: 18%; left: -12rem; background: #00d5ff; }
.tuleer-screen::after { right: -10rem; bottom: 4%; background: #7155ff; }

.tuleer-screen-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(89, 154, 230, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(89, 154, 230, .055) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.tuleer-screen-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .2rem .15rem .7rem;
}

.tuleer-screen-kicker {
    display: flex;
    align-items: center;
    gap: .48rem;
    color: #63dfff;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.tuleer-screen-kicker i,
.tuleer-screen-status span i,
.tuleer-screen-kpi em.is-live i,
.tuleer-screen-card-head b.is-live i {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: #24e4b2;
    box-shadow: 0 0 0 .25rem rgba(36, 228, 178, .12), 0 0 13px #24e4b2;
    animation: tuleer-screen-pulse 1.8s infinite;
}

@keyframes tuleer-screen-pulse {
    50% { opacity: .5; transform: scale(.85); }
}

.tuleer-screen-header h2 {
    margin-top: .35rem;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.045em;
    text-shadow: 0 0 30px rgba(90, 188, 255, .17);
}

.tuleer-screen-header p {
    margin-top: .3rem;
    color: var(--screen-muted);
    font-size: .9rem;
}

.tuleer-screen-status {
    display: grid;
    justify-items: end;
    gap: .45rem;
}

.tuleer-screen-status span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .65rem;
    border: 1px solid rgba(36, 228, 178, .2);
    border-radius: 999px;
    color: #70f0cb;
    background: rgba(10, 90, 72, .15);
    font-size: .74rem;
    font-weight: 800;
}

.tuleer-screen-status span.is-error { color: #ff8291; border-color: rgba(255, 91, 111, .2); background: rgba(112, 20, 41, .15); }
.tuleer-screen-status span.is-error i { background: #ff5b6f; box-shadow: 0 0 12px #ff5b6f; }
.tuleer-screen-status time { color: #7088a8; font: .75rem "SFMono-Regular", Consolas, monospace; }

.tuleer-screen-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.tuleer-screen-kpi,
.tuleer-screen-card {
    border: 1px solid var(--screen-border);
    background: linear-gradient(145deg, rgba(14, 36, 69, .88), rgba(7, 21, 43, .86));
    box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 16px 35px rgba(0, 6, 18, .17);
    backdrop-filter: blur(16px);
}

.tuleer-screen-kpi {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    min-height: 7.25rem;
    padding: 1rem;
    border-radius: 15px;
}

.tuleer-screen-kpi::after {
    position: absolute;
    right: -2.5rem;
    bottom: -3.5rem;
    width: 7rem;
    height: 7rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .11;
    box-shadow: 0 0 0 1rem currentColor;
    content: "";
}

.tuleer-screen-kpi--cyan { color: #22d3ee; }
.tuleer-screen-kpi--blue { color: #5793ff; }
.tuleer-screen-kpi--violet { color: #a887ff; }
.tuleer-screen-kpi--green { color: #36e7b2; }

.tuleer-screen-kpi-icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
    border-radius: 11px;
    background: color-mix(in srgb, currentColor 10%, transparent);
    box-shadow: inset 0 0 18px color-mix(in srgb, currentColor 8%, transparent);
}

.tuleer-screen-kpi-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tuleer-screen-kpi div:nth-child(2) span,
.tuleer-screen-kpi div:nth-child(2) small,
.tuleer-screen-kpi div:nth-child(2) strong {
    display: block;
}

.tuleer-screen-kpi div:nth-child(2) span { color: #9bb0ca; font-size: .82rem; font-weight: 700; }
.tuleer-screen-kpi div:nth-child(2) strong { margin: .18rem 0; color: #f4faff; font-size: 1.78rem; font-weight: 850; letter-spacing: -.04em; }
.tuleer-screen-kpi div:nth-child(2) small { color: #6d85a4; font-size: .75rem; }
.tuleer-screen-kpi em { align-self: start; color: #36e7b2; font-size: .75rem; font-style: normal; font-weight: 800; }
.tuleer-screen-kpi em.is-down { color: #ff7184; }
.tuleer-screen-kpi em.is-live { display: flex; align-items: center; gap: .35rem; color: #6ff0cb; letter-spacing: .08em; }
.tuleer-screen-kpi em.is-live i { width: .3rem; height: .3rem; }

.tuleer-screen-primary {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(17rem, .78fr);
    gap: .8rem;
}

.tuleer-screen-secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.tuleer-screen-card {
    min-width: 0;
    padding: 1rem;
    border-radius: 15px;
}

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

.tuleer-screen-card-head span,
.tuleer-screen-card-head h3 {
    display: block;
}

.tuleer-screen-card-head span {
    color: #31c6f5;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tuleer-screen-card-head h3 {
    margin-top: .18rem;
    color: #e9f4ff;
    font-size: 1rem;
    font-weight: 800;
}

.tuleer-screen-card-head b {
    color: #5f7796;
    font-size: .76rem;
    font-weight: 700;
}

.tuleer-screen-card-head b.is-live { display: flex; align-items: center; gap: .38rem; color: #69e7c2; }
.tuleer-screen-card-head b.is-live i { width: .28rem; height: .28rem; }

.tuleer-screen-legend {
    display: flex;
    gap: .8rem;
}

.tuleer-screen-legend span {
    display: flex;
    align-items: center;
    gap: .3rem;
    color: #7890ae;
    font-size: .76rem;
    letter-spacing: 0;
}

.tuleer-screen-legend span::before { width: .8rem; height: 2px; background: currentColor; content: ""; }
.tuleer-screen-legend .is-pv { color: #318cff; }
.tuleer-screen-legend .is-uv { color: #22d3ee; }
.tuleer-screen-legend .is-ip { color: #a887ff; }

.tuleer-screen-chart {
    height: 15.5rem;
}

.tuleer-screen-chart svg {
    width: 100%;
    height: calc(100% - 1.7rem);
    overflow: visible;
}

.tuleer-screen-chart-grid path { fill: none; stroke: rgba(124, 160, 205, .12); stroke-width: 1; }
.tuleer-screen-chart polyline { fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tuleer-screen-chart polyline.is-pv { stroke: #318cff; }
.tuleer-screen-chart polyline.is-uv { stroke: #22d3ee; stroke-dasharray: 6 5; }
.tuleer-screen-chart polyline.is-ip { stroke: #a887ff; stroke-dasharray: 2 5; }
.tuleer-screen-chart circle { fill: #07172f; stroke: #4da2ff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tuleer-screen-chart-labels { display: flex; justify-content: space-between; padding: 0 .25rem; color: #6d85a4; font: .72rem "SFMono-Regular", Consolas, monospace; }

.tuleer-screen-ranking {
    display: grid;
    gap: .72rem;
}

.tuleer-screen-rank-row {
    display: grid;
    grid-template-columns: 1.7rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .6rem;
}

.tuleer-screen-rank-row > i {
    color: #3d80c4;
    font: .7rem "SFMono-Regular", Consolas, monospace;
    font-style: normal;
}

.tuleer-screen-rank-row > div { min-width: 0; }
.tuleer-screen-rank-row > div strong { display: block; overflow: hidden; color: #c5d5e7; font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-screen-rank-row > div span { display: block; overflow: hidden; height: .2rem; margin-top: .28rem; border-radius: 999px; background: #142c4d; }
.tuleer-screen-rank-row > div u { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #126df1, #38c9f7); box-shadow: 0 0 9px rgba(38, 170, 255, .5); text-decoration: none; }
.tuleer-screen-rank-row > p { text-align: right; }
.tuleer-screen-rank-row > p strong,
.tuleer-screen-rank-row > p small { display: block; }
.tuleer-screen-rank-row > p strong { color: #e8f5ff; font-size: .8rem; }
.tuleer-screen-rank-row > p small { margin-top: .12rem; color: #6b83a1; font-size: .72rem; }

.tuleer-screen-list {
    display: grid;
    gap: .32rem;
}

.tuleer-screen-list > div:not(.tuleer-screen-empty) {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .45rem;
    min-height: 2rem;
    padding: .3rem .42rem;
    border-radius: 7px;
    background: rgba(14, 42, 77, .36);
}

.tuleer-screen-list i { display: grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 5px; color: #4da2ff; background: rgba(49, 140, 255, .11); font-size: .72rem; font-style: normal; }
.tuleer-screen-list strong { overflow: hidden; color: #bdcce0; font-size: .82rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-screen-list > div > span { color: #e1effb; font-size: .82rem; font-weight: 750; }
.tuleer-screen-list small { color: #7087a4; font-size: .72rem; }
.tuleer-screen-list--sources i { width: .4rem; height: .4rem; margin-left: .35rem; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 8px #22d3ee; }

.tuleer-screen-devices {
    display: grid;
    grid-template-columns: 7.4rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.tuleer-screen-donut {
    position: relative;
    display: grid;
    width: 7rem;
    height: 7rem;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(34, 211, 238, .08);
}

.tuleer-screen-donut::before { position: absolute; inset: 1rem; border-radius: 50%; background: #091a35; box-shadow: inset 0 0 20px rgba(0,0,0,.32); content: ""; }
.tuleer-screen-donut span { position: relative; text-align: center; }
.tuleer-screen-donut strong,
.tuleer-screen-donut small { display: block; }
.tuleer-screen-donut strong { color: #eaf6ff; font-size: 1.05rem; }
.tuleer-screen-donut small { margin-top: .1rem; color: #7189a6; font-size: .72rem; }
.tuleer-screen-device-legend { display: grid; gap: .42rem; }
.tuleer-screen-device-legend > div:not(.tuleer-screen-empty) { display: grid; grid-template-columns: .45rem 1fr auto; align-items: center; gap: .4rem; color: #91a7c1; font-size: .72rem; }
.tuleer-screen-device-legend i { width: .38rem; height: .38rem; border-radius: 50%; box-shadow: 0 0 7px currentColor; }
.tuleer-screen-device-legend strong { color: #d3e0ed; font-size: .76rem; }

.tuleer-screen-stream-table { min-width: 0; }
.tuleer-screen-stream-head,
.tuleer-screen-stream-row { display: grid; grid-template-columns: 5.5rem minmax(8rem, .9fr) 8rem minmax(10rem, 1.5fr) 9rem; align-items: center; gap: .7rem; }
.tuleer-screen-stream-head { padding: .55rem .6rem; border-bottom: 1px solid rgba(112, 156, 213, .14); color: #6f87a6; font-size: .75rem; font-weight: 750; }
.tuleer-screen-stream-row { min-height: 2.65rem; padding: .52rem .6rem; border-bottom: 1px solid rgba(112, 156, 213, .07); font-size: .8rem; }
.tuleer-screen-stream-row:last-child { border-bottom: 0; }
.tuleer-screen-stream-row time { color: #38c9f7; font-family: "SFMono-Regular", Consolas, monospace; }
.tuleer-screen-stream-row strong,
.tuleer-screen-stream-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-screen-stream-row strong { color: #aebfd4; }
.tuleer-screen-stream-row code { color: #8ba6c4; font-family: "SFMono-Regular", Consolas, monospace; }
.tuleer-screen-stream-row span { color: #d1ddeb; }
.tuleer-screen-stream-row em { color: #6e86a4; font-style: normal; }
.tuleer-screen-empty { display: grid; min-height: 4rem; place-items: center; color: #7087a3; font-size: .76rem; text-align: center; }

@media (max-width: 1280px) {
    .tuleer-sites-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tuleer-screen-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-screen-primary { grid-template-columns: 1fr; }
    .tuleer-screen-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-screen-secondary > :last-child { grid-column: span 2; }
}

@media (max-width: 760px) {
    .tuleer-sites-hero,
    .tuleer-sites-toolbar,
    .tuleer-screen-header { align-items: flex-start; flex-direction: column; }
    .tuleer-sites-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-sites-search { width: 100%; }
    .tuleer-screen { margin-inline: -.5rem; padding: .8rem; border-radius: 17px; }
    .tuleer-screen-status { justify-items: start; }
    .tuleer-screen-kpis,
    .tuleer-screen-secondary { grid-template-columns: 1fr; }
    .tuleer-screen-secondary > :last-child { grid-column: auto; }
    .tuleer-screen-devices { grid-template-columns: 6.5rem 1fr; }
    .tuleer-screen-donut { width: 6rem; height: 6rem; }
    .tuleer-screen-stream-table { overflow-x: auto; }
    .tuleer-screen-stream-head,
    .tuleer-screen-stream-row { min-width: 740px; }
}

/* Site overview */
.tuleer-overview {
    display: grid;
    gap: 1rem;
    color: #10233f;
}

.tuleer-overview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 4.5rem;
    padding: .2rem .1rem;
}

.tuleer-overview-heading,
.tuleer-overview-heading > div,
.tuleer-overview-controls,
.tuleer-overview-controls nav {
    display: flex;
    align-items: center;
}

.tuleer-overview-heading {
    flex-wrap: wrap;
    gap: .55rem .8rem;
}

.tuleer-overview-kicker {
    padding: .3rem .5rem;
    border: 1px solid #cfe0fa;
    border-radius: 7px;
    color: #2875ed;
    background: #edf5ff;
    font-size: .6rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.tuleer-overview-heading > div {
    min-width: 0;
    gap: .5rem;
}

.tuleer-overview-heading h2 {
    color: #0b1f3a;
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.tuleer-overview-heading a {
    overflow: hidden;
    max-width: 16rem;
    color: #7f8da1;
    font-size: .64rem;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tuleer-overview-connection {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .48rem;
    border-radius: 999px;
    font-size: .58rem;
    font-weight: 750;
}

.tuleer-overview-connection i {
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: currentColor;
}

.tuleer-overview-connection.is-connected { color: #098762; background: #eaf9f3; }
.tuleer-overview-connection.is-pending { color: #b06b08; background: #fff4de; }

.tuleer-overview-controls {
    flex: 0 0 auto;
    gap: .65rem;
}

.tuleer-overview-controls nav {
    gap: .16rem;
    padding: .22rem;
    border: 1px solid #dde5ef;
    border-radius: 10px;
    background: #f3f6fa;
}

.tuleer-overview-controls nav button {
    min-height: 2.05rem;
    padding: 0 .68rem;
    border: 0;
    border-radius: 7px;
    color: #68788f;
    background: transparent;
    font-size: .63rem;
    font-weight: 750;
    cursor: pointer;
}

.tuleer-overview-controls nav button:hover { color: #1b5fd1; }
.tuleer-overview-controls nav button.is-active { color: #1769ff; background: #fff; box-shadow: 0 3px 10px rgba(31, 72, 126, .09); }

.tuleer-overview-screen-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: .4rem;
    padding: 0 .8rem;
    border: 1px solid #1769ff;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #2478ff, #0d5fe8);
    box-shadow: 0 8px 18px rgba(23, 105, 255, .18);
    font-size: .64rem;
    font-weight: 800;
    text-decoration: none;
}

.tuleer-overview-screen-link svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tuleer-overview-alert,
.tuleer-overview-install {
    display: flex;
    align-items: center;
    gap: .8rem;
    border-radius: 14px;
}

.tuleer-overview-alert {
    padding: .8rem 1rem;
    border: 1px solid #f3c4cb;
    color: #933244;
    background: #fff5f6;
}

.tuleer-overview-alert > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 1.8rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #dd526a;
    font-weight: 850;
}

.tuleer-overview-alert strong { font-size: .7rem; }
.tuleer-overview-alert p { margin-top: .15rem; color: #b26875; font-size: .61rem; }

.tuleer-overview-install {
    flex-wrap: wrap;
    padding: .85rem 1rem;
    border: 1px solid #cfe0fb;
    background: linear-gradient(120deg, #f7fbff, #eef5ff);
    box-shadow: 0 10px 28px rgba(39, 94, 171, .055);
}

.tuleer-overview-install-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 2.6rem;
    place-items: center;
    border-radius: 10px;
    color: #1769ff;
    background: #e0edff;
}

.tuleer-overview-install-icon svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tuleer-overview-install-copy { min-width: 13rem; flex: 1; }
.tuleer-overview-install-copy span { color: #1769ff; font-size: .55rem; font-weight: 850; letter-spacing: .08em; }
.tuleer-overview-install-copy strong { display: block; margin-top: .12rem; color: #142a4a; font-size: .71rem; }
.tuleer-overview-install-copy p { margin-top: .12rem; color: #75859b; font-size: .59rem; }
.tuleer-overview-install code { overflow: hidden; max-width: 28rem; padding: .57rem .7rem; border-radius: 8px; color: #dce9ff; background: #0a1b39; font: .55rem "SFMono-Regular", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-overview-install button,
.tuleer-overview-install > a { padding: .58rem .72rem; border-radius: 8px; font-size: .59rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.tuleer-overview-install button { border: 0; color: #fff; background: #1769ff; }
.tuleer-overview-install > a { border: 1px solid #cdd9e9; color: #536780; background: #fff; }

.tuleer-overview-summary {
    display: grid;
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: .85rem;
}

.tuleer-overview-live {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 13.2rem;
    padding: 1rem;
    border: 1px solid #cde0f8;
    border-radius: 16px;
    background:
        radial-gradient(circle at 72% 52%, rgba(42, 151, 255, .22), transparent 28%),
        linear-gradient(145deg, #f8fcff, #e9f4ff);
    box-shadow: 0 14px 36px rgba(39, 92, 164, .08);
}

.tuleer-overview-live::after {
    position: absolute;
    z-index: -1;
    right: -3rem;
    bottom: -4rem;
    width: 11rem;
    height: 11rem;
    border: 1px solid rgba(23, 105, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 1.8rem rgba(23, 105, 255, .04), 0 0 0 3.6rem rgba(23, 105, 255, .025);
    content: "";
}

.tuleer-overview-live-top,
.tuleer-overview-live-top span,
.tuleer-overview-live-value {
    display: flex;
    align-items: center;
}

.tuleer-overview-live-top { justify-content: space-between; }
.tuleer-overview-live-top span { gap: .4rem; color: #1769ff; font-size: .62rem; font-weight: 850; }
.tuleer-overview-live-top span i { width: .42rem; height: .42rem; border-radius: 50%; background: #14c99b; box-shadow: 0 0 0 .25rem rgba(20, 201, 155, .12), 0 0 12px rgba(20, 201, 155, .55); animation: tuleer-screen-pulse 1.8s infinite; }
.tuleer-overview-live-top small { color: #8695a9; font-size: .55rem; }
.tuleer-overview-live-value { position: relative; z-index: 2; justify-content: center; flex-direction: column; margin-top: 2.1rem; }
.tuleer-overview-live-value strong { color: #0c2444; font-size: 2.5rem; font-weight: 880; line-height: 1; letter-spacing: -.06em; }
.tuleer-overview-live-value span { margin-top: .35rem; color: #667b96; font-size: .65rem; font-weight: 700; }
.tuleer-overview-live > a { position: absolute; z-index: 2; bottom: .85rem; left: 1rem; color: #416182; font-size: .59rem; font-weight: 750; text-decoration: none; }
.tuleer-overview-live > a span { color: #1769ff; }

.tuleer-overview-live-orbit { position: absolute; right: .9rem; bottom: 1.3rem; width: 7.8rem; height: 5.1rem; transform: rotate(-8deg); }
.tuleer-overview-live-orbit::before,
.tuleer-overview-live-orbit::after { position: absolute; border: 1px dashed rgba(23, 105, 255, .28); border-radius: 50%; content: ""; }
.tuleer-overview-live-orbit::before { inset: .6rem .4rem; }
.tuleer-overview-live-orbit::after { inset: 1.25rem 1.5rem; }
.tuleer-overview-live-orbit > i { position: absolute; width: .42rem; height: .42rem; border-radius: 50%; background: #4aa4ff; box-shadow: 0 0 9px #4aa4ff; }
.tuleer-overview-live-orbit > i:nth-child(1) { top: 1rem; left: .85rem; }
.tuleer-overview-live-orbit > i:nth-child(2) { top: .35rem; right: 1.2rem; }
.tuleer-overview-live-orbit > i:nth-child(3) { right: .7rem; bottom: .55rem; }
.tuleer-overview-live-orbit > span { position: absolute; right: 2.85rem; bottom: 1.3rem; width: 2.4rem; height: 2.4rem; border-radius: 9px 9px 14px 14px; background: linear-gradient(145deg, #5bb1ff, #1c72e9); box-shadow: -1.1rem .8rem 0 -.25rem #9fd3ff, 1.15rem .65rem 0 -.2rem #73baff, 0 1.2rem 1.8rem rgba(35, 116, 211, .26); transform: skewY(-20deg); }

.tuleer-overview-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.tuleer-overview-kpi {
    position: relative;
    overflow: hidden;
    min-height: 6.25rem;
    padding: .82rem .9rem;
    border: 1px solid #e0e7f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(38, 71, 117, .045);
}

.tuleer-overview-kpi > svg {
    position: absolute;
    right: .75rem;
    bottom: .68rem;
    width: 1.6rem;
    height: 1.6rem;
    padding: .35rem;
    border-radius: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .5;
    background: color-mix(in srgb, currentColor 9%, transparent);
}

.tuleer-overview-kpi.is-blue { color: #2f80ff; }
.tuleer-overview-kpi.is-cyan { color: #11aebf; }
.tuleer-overview-kpi.is-violet { color: #8060e8; }
.tuleer-overview-kpi.is-green { color: #12a77d; }
.tuleer-overview-kpi.is-orange { color: #e68027; }
.tuleer-overview-kpi.is-slate { color: #5b7393; }

.tuleer-overview-kpi-head,
.tuleer-overview-kpi-main,
.tuleer-overview-kpi-compare {
    display: flex;
    align-items: center;
}

.tuleer-overview-kpi-head { gap: .32rem; color: #748399; }
.tuleer-overview-kpi-head span { font-size: .61rem; font-weight: 750; }
.tuleer-overview-kpi-head i { display: grid; width: .8rem; height: .8rem; place-items: center; border: 1px solid #b8c2ce; border-radius: 50%; color: #8995a5; font-size: .45rem; font-style: normal; }
.tuleer-overview-kpi-main { gap: .45rem; margin-top: .28rem; }
.tuleer-overview-kpi-main strong { color: #0d203c; font-size: 1.22rem; font-weight: 850; letter-spacing: -.035em; }
.tuleer-overview-kpi-main span { padding: .14rem .3rem; border-radius: 4px; color: currentColor; background: color-mix(in srgb, currentColor 9%, transparent); font-size: .48rem; font-weight: 750; }
.tuleer-overview-kpi-compare { gap: .4rem; margin-top: .28rem; color: #9aa5b4; font-size: .5rem; }
.tuleer-overview-kpi-compare em { color: #99a6b7; font-style: normal; font-weight: 800; }
.tuleer-overview-kpi-compare em.is-good { color: #0aa878; }
.tuleer-overview-kpi-compare em.is-bad { color: #e45767; }

.tuleer-overview-tabs-note {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 2.2rem;
    padding: 0 .2rem;
}

.tuleer-overview-tabs-note span { color: #1769ff; font-size: .66rem; font-weight: 850; }
.tuleer-overview-tabs-note small { color: #909caf; font-size: .56rem; }

.tuleer-overview-insights {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(17rem, .75fr);
    gap: .85rem;
}

.tuleer-overview-card {
    min-width: 0;
    border: 1px solid #e0e7f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(33, 70, 123, .05);
}

.tuleer-overview-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding: .9rem 1rem .72rem;
    border-bottom: 1px solid #edf1f6;
}

.tuleer-overview-card-head > div,
.tuleer-overview-card-head > div > span {
    display: flex;
    align-items: center;
}

.tuleer-overview-card-head > div { gap: .6rem; }
.tuleer-overview-card-head > div > span { width: 1.75rem; height: 1.75rem; justify-content: center; border-radius: 7px; }
.tuleer-overview-card-head > div > span.is-blue { color: #2477ed; background: #e9f3ff; }
.tuleer-overview-card-head > div > span.is-green { color: #0ca77d; background: #e5f8f1; }
.tuleer-overview-card-head > div > span.is-orange { color: #ee872a; background: #fff0e2; }
.tuleer-overview-card-head > div > span.is-violet { color: #8060e8; background: #f0ebff; }
.tuleer-overview-card-head svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tuleer-overview-card-head h3 { color: #112642; font-size: .76rem; font-weight: 850; }
.tuleer-overview-card-head p { margin-top: .14rem; color: #95a0b0; font-size: .53rem; }
.tuleer-overview-card-head > small { color: #929fb1; font-size: .54rem; }

.tuleer-overview-metric-tabs {
    display: flex;
    gap: .12rem;
    padding: .18rem;
    border-radius: 7px;
    background: #f0f3f7;
}

.tuleer-overview-metric-tabs button {
    min-width: 2.5rem;
    padding: .35rem .45rem;
    border: 0;
    border-radius: 5px;
    color: #7e8b9f;
    background: transparent;
    font-size: .53rem;
    font-weight: 750;
    cursor: pointer;
}

.tuleer-overview-metric-tabs button.is-active { color: #1769ff; background: #fff; box-shadow: 0 2px 7px rgba(42, 76, 120, .09); }
.tuleer-overview-chart-legend { display: flex; justify-content: flex-end; gap: .85rem; padding: .55rem 1rem 0; }
.tuleer-overview-chart-legend span { display: inline-flex; align-items: center; gap: .3rem; color: #8592a5; font-size: .52rem; }
.tuleer-overview-chart-legend span::before { width: .9rem; height: 2px; background: currentColor; content: ""; }
.tuleer-overview-chart-legend .is-current { color: #2f80ff; }
.tuleer-overview-chart-legend .is-previous { color: #ff9d4d; }
.tuleer-overview-chart { height: 16rem; padding: .2rem 1rem .8rem; }
.tuleer-overview-chart svg { width: 100%; height: calc(100% - 1.45rem); overflow: visible; }
.tuleer-overview-chart svg g path { fill: none; stroke: #e9eef5; stroke-width: 1; }
.tuleer-overview-chart polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tuleer-overview-chart polyline.is-current { stroke: #2f80ff; }
.tuleer-overview-chart polyline.is-previous { stroke: #ff9d4d; stroke-dasharray: 5 5; opacity: .86; }
.tuleer-overview-chart-labels { display: flex; justify-content: space-between; gap: .2rem; color: #9aa6b6; font: .48rem "SFMono-Regular", Consolas, monospace; }
.tuleer-overview-chart-labels span { min-width: 0; }

.tuleer-overview-visitor-chart {
    display: grid;
    min-height: 15.2rem;
    grid-template-columns: 8rem minmax(0, 1fr);
    align-items: center;
    gap: .8rem;
    padding: 1rem;
}

.tuleer-overview-donut {
    position: relative;
    display: grid;
    width: 7.5rem;
    height: 7.5rem;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(42, 101, 184, .1);
}

.tuleer-overview-donut::before { position: absolute; inset: 1.05rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 18px rgba(36, 83, 150, .07); content: ""; }
.tuleer-overview-donut span { position: relative; text-align: center; }
.tuleer-overview-donut strong,
.tuleer-overview-donut small { display: block; }
.tuleer-overview-donut strong { color: #132844; font-size: 1.05rem; font-weight: 850; }
.tuleer-overview-donut small { margin-top: .12rem; color: #93a0b1; font-size: .51rem; }
.tuleer-overview-visitor-legend { display: grid; gap: .65rem; }
.tuleer-overview-visitor-legend > div { display: grid; grid-template-columns: .45rem 1fr auto; align-items: center; gap: .45rem; padding: .5rem; border-radius: 8px; background: #f7f9fc; }
.tuleer-overview-visitor-legend > div > i { width: .4rem; height: .4rem; border-radius: 50%; }
.tuleer-overview-visitor-legend > div > i.is-new { background: #2f80ff; box-shadow: 0 0 7px rgba(47, 128, 255, .45); }
.tuleer-overview-visitor-legend > div > i.is-returning { background: #ff9d4d; box-shadow: 0 0 7px rgba(255, 157, 77, .45); }
.tuleer-overview-visitor-legend span { color: #4c5f78; font-size: .58rem; font-weight: 750; }
.tuleer-overview-visitor-legend span small { display: block; margin-top: .1rem; color: #9aa5b4; font-size: .48rem; font-weight: 500; }
.tuleer-overview-visitor-legend strong { color: #172b47; font-size: .66rem; text-align: right; }
.tuleer-overview-visitor-legend strong em { display: block; margin-top: .08rem; color: #8795a9; font-size: .48rem; font-style: normal; }

.tuleer-overview-breakdowns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.tuleer-overview-ranking-head,
.tuleer-overview-ranking-list > div:not(.tuleer-overview-compact-empty) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.2rem 3.2rem;
    align-items: center;
    gap: .45rem;
}

.tuleer-overview-ranking-head { padding: .55rem 1rem; color: #9aa6b5; font-size: .49rem; }
.tuleer-overview-ranking-head span:not(:first-child) { text-align: right; }
.tuleer-overview-ranking-list { min-height: 13.5rem; padding: 0 .75rem .75rem; }
.tuleer-overview-ranking-list > div:not(.tuleer-overview-compact-empty) { grid-template-columns: 1.15rem minmax(0, 1fr) 3.2rem 3.2rem; min-height: 2.15rem; padding: .28rem .25rem; border-bottom: 1px solid #f0f3f7; }
.tuleer-overview-ranking-list > div:last-child { border-bottom: 0; }
.tuleer-overview-ranking-list > div > i { display: grid; width: 1rem; height: 1rem; place-items: center; border-radius: 4px; color: #6d85a4; background: #f0f4f9; font-size: .47rem; font-style: normal; }
.tuleer-overview-ranking-list > div:nth-child(-n+3) > i { color: #1769ff; background: #e9f2ff; }
.tuleer-overview-ranking-list > div > span { min-width: 0; }
.tuleer-overview-ranking-list strong { display: block; overflow: hidden; color: #42546d; font-size: .55rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-overview-ranking-list u { display: block; overflow: hidden; height: .16rem; margin-top: .2rem; border-radius: 999px; background: #edf2f8; text-decoration: none; }
.tuleer-overview-ranking-list u b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4a91ff, #7fb5ff); }
.tuleer-overview-ranking-list em { color: #53657d; font-size: .53rem; font-style: normal; text-align: right; }

.tuleer-overview-compact-empty {
    display: grid !important;
    min-height: 9rem;
    place-items: center;
    align-content: center;
    gap: .35rem !important;
    color: #a0adbd;
    text-align: center;
}

.tuleer-overview-compact-empty > span { font-size: 1.6rem; color: #c7d8ec; }
.tuleer-overview-compact-empty p { font-size: .58rem; }

.tuleer-overview-terminals .tuleer-overview-card-head { align-items: center; }
.tuleer-overview-terminal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; padding: 1rem; }
.tuleer-overview-terminal-grid h4 { margin-bottom: .7rem; color: #485a72; font-size: .62rem; font-weight: 800; }
.tuleer-overview-terminal-bars { display: grid; gap: .58rem; }
.tuleer-overview-terminal-bars > div:not(.tuleer-overview-compact-empty) { display: grid; grid-template-columns: 6rem minmax(0, 1fr) 3rem; align-items: center; gap: .55rem; }
.tuleer-overview-terminal-bars span { display: flex; min-width: 0; align-items: center; gap: .4rem; overflow: hidden; color: #65758a; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-overview-terminal-bars span i { width: .42rem; height: .42rem; flex: 0 0 .42rem; border-radius: 50%; }
.tuleer-overview-terminal-bars u { display: block; overflow: hidden; height: .32rem; border-radius: 999px; background: #eef2f7; text-decoration: none; }
.tuleer-overview-terminal-bars u b { display: block; height: 100%; border-radius: inherit; }
.tuleer-overview-terminal-bars strong { color: #4e6078; font-size: .54rem; text-align: right; }

@media (max-width: 1280px) {
    .tuleer-overview-summary { grid-template-columns: 12.5rem minmax(0, 1fr); }
    .tuleer-overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-overview-live { min-height: 20rem; }
    .tuleer-overview-insights { grid-template-columns: 1fr; }
    .tuleer-overview-visitor-chart { min-height: auto; grid-template-columns: 9rem 1fr; }
    .tuleer-overview-breakdowns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-overview-breakdowns > :last-child { grid-column: span 2; }
}

@media (max-width: 820px) {
    .tuleer-overview-header,
    .tuleer-overview-controls { align-items: flex-start; flex-direction: column; }
    .tuleer-overview-controls { width: 100%; }
    .tuleer-overview-controls nav { width: 100%; overflow-x: auto; }
    .tuleer-overview-controls nav button { flex: 1 0 auto; }
    .tuleer-overview-screen-link { width: 100%; justify-content: center; }
    .tuleer-overview-summary { grid-template-columns: 1fr; }
    .tuleer-overview-live { min-height: 12rem; }
    .tuleer-overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-overview-breakdowns,
    .tuleer-overview-terminal-grid { grid-template-columns: 1fr; }
    .tuleer-overview-breakdowns > :last-child { grid-column: auto; }
    .tuleer-overview-install code { order: 5; width: 100%; max-width: none; }
}

@media (max-width: 560px) {
    .tuleer-overview-heading > div { align-items: flex-start; flex-direction: column; gap: .1rem; }
    .tuleer-overview-kpis { grid-template-columns: 1fr; }
    .tuleer-overview-kpi { min-height: 5.8rem; }
    .tuleer-overview-card-head { align-items: flex-start; flex-direction: column; }
    .tuleer-overview-metric-tabs { width: 100%; }
    .tuleer-overview-metric-tabs button { flex: 1; }
    .tuleer-overview-chart { padding-inline: .55rem; }
    .tuleer-overview-chart-labels span:nth-child(even) { display: none; }
    .tuleer-overview-visitor-chart { grid-template-columns: 1fr; justify-items: center; }
    .tuleer-overview-visitor-legend { width: 100%; }
    .tuleer-overview-terminal-bars > div:not(.tuleer-overview-compact-empty) { grid-template-columns: 5rem 1fr 2.6rem; }
}

/* Readable member-panel typography */
body.fi-body { font-size: 15px; }
.fi-sidebar-item-label { font-size: .94rem; }
.fi-header-heading { font-size: clamp(1.65rem, 2.3vw, 2rem); }
.fi-header-subheading,
.fi-fo-field-wrp-helper-text,
.fi-sc-section-description { font-size: .875rem; line-height: 1.65; }
.fi-fo-field-wrp-label label,
.fi-input-wrp input,
.fi-input-wrp select,
.fi-select-input,
.fi-btn { font-size: .92rem; }
.fi-sc-tabs-tab button { font-size: .93rem; }

/* Overview uses normal website text sizes instead of reference-image scale. */
.tuleer-overview { font-size: 15px; }
.tuleer-overview-kicker { font-size: .76rem; }
.tuleer-overview-heading h2 { font-size: 1.55rem; }
.tuleer-overview-heading a { font-size: .84rem; }
.tuleer-overview-connection { font-size: .78rem; }
.tuleer-overview-controls nav button,
.tuleer-overview-screen-link { font-size: .84rem; }
.tuleer-overview-alert strong { font-size: .94rem; }
.tuleer-overview-alert p { font-size: .82rem; }
.tuleer-overview-install-copy span { font-size: .72rem; }
.tuleer-overview-install-copy strong { font-size: .96rem; }
.tuleer-overview-install-copy p { font-size: .82rem; line-height: 1.55; }
.tuleer-overview-install code { font-size: .72rem; }
.tuleer-overview-install button,
.tuleer-overview-install > a { font-size: .8rem; }
.tuleer-overview-live-top span { font-size: .84rem; }
.tuleer-overview-live-top small { font-size: .76rem; }
.tuleer-overview-live-value strong { font-size: 2.8rem; }
.tuleer-overview-live-value span { font-size: .86rem; }
.tuleer-overview-live > a { font-size: .82rem; }
.tuleer-overview-kpi { min-height: 7rem; padding: .95rem 1rem; }
.tuleer-overview-kpi-head span { font-size: .82rem; }
.tuleer-overview-kpi-head i { width: 1rem; height: 1rem; font-size: .62rem; }
.tuleer-overview-kpi-main { margin-top: .4rem; }
.tuleer-overview-kpi-main strong { font-size: 1.55rem; }
.tuleer-overview-kpi-main span { font-size: .66rem; }
.tuleer-overview-kpi-compare { margin-top: .4rem; font-size: .72rem; }
.tuleer-overview-tabs-note span { font-size: .88rem; }
.tuleer-overview-tabs-note small { font-size: .76rem; }
.tuleer-overview-card-head h3 { font-size: 1rem; }
.tuleer-overview-card-head p,
.tuleer-overview-card-head > small { font-size: .74rem; line-height: 1.5; }
.tuleer-overview-metric-tabs button { font-size: .75rem; }
.tuleer-overview-chart-legend span { font-size: .72rem; }
.tuleer-overview-chart-labels { font-size: .68rem; }
.tuleer-overview-donut strong { font-size: 1.35rem; }
.tuleer-overview-donut small { font-size: .72rem; }
.tuleer-overview-visitor-legend span { font-size: .82rem; }
.tuleer-overview-visitor-legend span small { font-size: .68rem; }
.tuleer-overview-visitor-legend strong { font-size: .9rem; }
.tuleer-overview-visitor-legend strong em { font-size: .68rem; }
.tuleer-overview-ranking-head { font-size: .7rem; }
.tuleer-overview-ranking-list > div:not(.tuleer-overview-compact-empty) { min-height: 2.75rem; }
.tuleer-overview-ranking-list > div > i { width: 1.25rem; height: 1.25rem; font-size: .65rem; }
.tuleer-overview-ranking-list strong,
.tuleer-overview-ranking-list em { font-size: .76rem; }
.tuleer-overview-compact-empty p { font-size: .8rem; }
.tuleer-overview-terminal-grid h4 { font-size: .86rem; }
.tuleer-overview-terminal-bars span,
.tuleer-overview-terminal-bars strong { font-size: .78rem; }

/* Visit intelligence */
.tuleer-visits { display: grid; gap: 1.15rem; color: #142844; font-size: .94rem; }
.tuleer-visits svg,
.tuleer-visit-modal svg,
.tuleer-settings-notice svg,
.tuleer-badge-builder svg,
.tuleer-delete-panel svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tuleer-visits-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.tuleer-visits-kicker { display: inline-flex; margin-bottom: .35rem; color: #1769ff; font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.tuleer-visits-header h2 { color: #0a1e3b; font-size: clamp(1.65rem, 2.4vw, 2.1rem); font-weight: 880; letter-spacing: -.04em; }
.tuleer-visits-header p { margin-top: .35rem; color: #6d7f98; font-size: .94rem; }
.tuleer-visits-status { display: flex; align-items: center; gap: .5rem; padding: .7rem .85rem; border: 1px solid #dce6f2; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(28, 65, 119, .05); }
.tuleer-visits-status i { width: .48rem; height: .48rem; border-radius: 50%; background: #19bd8e; box-shadow: 0 0 0 .28rem rgba(25, 189, 142, .12); }
.tuleer-visits-status span { font-weight: 800; }
.tuleer-visits-status strong { padding-left: .5rem; border-left: 1px solid #e2e8f0; color: #8290a4; font-size: .78rem; }
.tuleer-visits-alert { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid #f0bbc5; border-radius: 13px; color: #993a4b; background: #fff5f7; }
.tuleer-visits-alert > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: #fff; background: #e0526d; font-weight: 900; }
.tuleer-visits-alert p { margin-top: .15rem; color: #ae6774; font-size: .84rem; }
.tuleer-visits-live { display: grid; grid-template-columns: minmax(12rem, 1.2fr) repeat(3, minmax(9rem, .9fr)) minmax(15rem, 1.5fr); align-items: stretch; gap: .75rem; padding: 1rem; border: 1px solid #dfe7f1; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(33, 70, 123, .05); }
.tuleer-visits-live-title { display: flex; align-items: center; gap: .75rem; padding: .35rem .3rem; }
.tuleer-visits-live-icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border-radius: 10px; color: #1769ff; background: #eaf3ff; }
.tuleer-visits-live-icon svg { width: 1.3rem; }
.tuleer-visits-live-title h3 { font-size: 1.02rem; font-weight: 850; }
.tuleer-visits-live-title p { margin-top: .18rem; color: #8795a8; font-size: .78rem; }
.tuleer-visits-live article { position: relative; overflow: hidden; min-height: 6.2rem; padding: .8rem .9rem; border-radius: 12px; }
.tuleer-visits-live article.is-blue { color: #1769ff; background: linear-gradient(145deg, #eef6ff, #e4f1ff); }
.tuleer-visits-live article.is-cyan { color: #0ea9b7; background: linear-gradient(145deg, #effcfc, #e3f8f8); }
.tuleer-visits-live article.is-violet { color: #7357e8; background: linear-gradient(145deg, #f6f2ff, #eee9ff); }
.tuleer-visits-live article span { color: #697b93; font-size: .78rem; }
.tuleer-visits-live article strong { display: block; margin-top: .35rem; color: #0b213f; font-size: 1.7rem; line-height: 1; }
.tuleer-visits-live article svg { position: absolute; right: .7rem; bottom: .65rem; width: 3.9rem; height: 1.5rem; opacity: .8; }
.tuleer-visits-activity { display: flex; height: 6.2rem; align-items: end; gap: .23rem; padding: .55rem .65rem; border-radius: 12px; background: linear-gradient(180deg, #f9fbfe, #f3f6fa); }
.tuleer-visits-activity i { min-height: .45rem; flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #51a2ff, #1769ff); opacity: .42; transition: height .25s ease; }
.tuleer-visits-activity i:nth-last-child(-n+5) { opacity: .88; }
.tuleer-visits-notice { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border: 1px solid #cfe2ff; border-radius: 11px; color: #49637f; background: #f0f7ff; }
.tuleer-visits-notice svg { width: 1.1rem; color: #1769ff; }
.tuleer-visits-notice p { flex: 1; font-size: .86rem; }
.tuleer-visits-notice span { color: #1769ff; font-size: .78rem; font-weight: 800; }
.tuleer-visits-filters { display: grid; grid-template-columns: repeat(7, minmax(8.5rem, 1fr)) auto; align-items: end; gap: .8rem; padding: 1rem; border: 1px solid #e0e7f0; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(33, 70, 123, .045); }
.tuleer-visits-filters label { display: grid; min-width: 0; gap: .35rem; }
.tuleer-visits-filters label > span { color: #586b83; font-size: .8rem; font-weight: 750; }
.tuleer-visits-filters input,
.tuleer-visits-filters select { width: 100%; min-height: 2.65rem; padding: 0 .72rem; border: 1px solid #d7e0eb; border-radius: 9px; outline: 0; color: #1b304d; background: #fbfcfe; font-size: .88rem; }
.tuleer-visits-filters input:focus,
.tuleer-visits-filters select:focus { border-color: #6fa6ff; box-shadow: 0 0 0 3px rgba(23, 105, 255, .1); }
.tuleer-visits-filter-actions { display: flex; gap: .5rem; }
.tuleer-visits-filter-actions button { display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; gap: .35rem; padding: 0 .9rem; border: 0; border-radius: 9px; color: #fff; background: #1769ff; font-size: .86rem; font-weight: 800; cursor: pointer; }
.tuleer-visits-filter-actions button svg { width: 1rem; }
.tuleer-visits-filter-actions button.is-secondary { border: 1px solid #d7e0eb; color: #596b82; background: #fff; }
.tuleer-visits-table-card { overflow: hidden; border: 1px solid #e0e7f0; border-radius: 16px; background: #fff; box-shadow: 0 14px 38px rgba(33, 70, 123, .055); }
.tuleer-visits-table-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid #edf1f6; }
.tuleer-visits-table-title > div { display: flex; align-items: center; gap: .65rem; }
.tuleer-visits-table-title > div > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 8px; color: #1769ff; background: #eaf3ff; }
.tuleer-visits-table-title svg { width: 1.05rem; }
.tuleer-visits-table-title h3 { font-size: 1.05rem; font-weight: 850; }
.tuleer-visits-table-title p,
.tuleer-visits-table-title small { margin-top: .12rem; color: #8a98aa; font-size: .78rem; }
.tuleer-visits-table-scroll { overflow-x: auto; }
.tuleer-visits-table-card table { width: 100%; min-width: 1320px; border-collapse: collapse; }
.tuleer-visits-table-card th { padding: .78rem .8rem; color: #65758c; background: #f4f7fa; font-size: .78rem; font-weight: 800; text-align: left; white-space: nowrap; }
.tuleer-visits-table-card td { max-width: 15rem; padding: .82rem .8rem; border-bottom: 1px solid #edf1f5; color: #44566e; font-size: .84rem; vertical-align: middle; }
.tuleer-visits-table-card tbody tr:hover { background: #f9fbff; }
.tuleer-visits-table-card td strong,
.tuleer-visits-table-card td small { display: block; }
.tuleer-visits-table-card td strong { color: #243b58; font-size: .84rem; }
.tuleer-visits-table-card td small { margin-top: .15rem; color: #8b98a9; font-size: .72rem; }
.tuleer-visits-table-card td a { display: block; overflow: hidden; color: #1769ff; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-visits-table-card td code { color: #354a65; font: .78rem "SFMono-Regular", Consolas, monospace; }
.tuleer-visits-time { display: inline-flex; align-items: center; gap: .4rem; color: #334963; white-space: nowrap; }
.tuleer-visits-time i { width: .42rem; height: .42rem; border: 1.5px solid #5f7897; border-radius: 50%; box-shadow: 0 0 0 .2rem #edf3fa; }
.tuleer-visits-visitor { max-width: 10.5rem; overflow: hidden; border: 0; color: #1769ff; background: transparent; font: .8rem "SFMono-Regular", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.tuleer-visits-type { display: inline-flex; padding: .22rem .45rem; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.tuleer-visits-type.is-new { color: #058e79; background: #e3f8f3; }
.tuleer-visits-type.is-returning { color: #b86b19; background: #fff1df; }
.tuleer-visits-empty { display: grid; min-height: 18rem; place-items: center; align-content: center; gap: .4rem; color: #95a5b8; text-align: center; }
.tuleer-visits-empty > span { display: grid; width: 5rem; height: 5rem; place-items: center; border-radius: 22px; color: #6aa7ff; background: linear-gradient(145deg, #f0f7ff, #e3f0ff); }
.tuleer-visits-empty svg { width: 3rem; }
.tuleer-visits-empty strong { color: #536982; font-size: 1rem; }
.tuleer-visits-empty p { font-size: .84rem; }
.tuleer-visits-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: #7b899c; font-size: .82rem; }
.tuleer-visits-pagination div { display: flex; align-items: center; gap: .55rem; }
.tuleer-visits-pagination button { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #dce4ee; border-radius: 8px; color: #1769ff; background: #fff; font-size: 1.25rem; cursor: pointer; }
.tuleer-visits-pagination button:disabled { color: #b8c1cd; background: #f6f8fa; cursor: not-allowed; }
.tuleer-visits-pagination strong { color: #465970; font-size: .82rem; }

/* Visitor detail dialog */
.tuleer-visit-modal { position: fixed; z-index: 100; inset: 0; display: grid; overflow-y: auto; place-items: center; padding: 2rem; background: rgba(5, 15, 32, .58); backdrop-filter: blur(6px); }
.tuleer-visit-modal > section { width: min(76rem, 100%); max-height: calc(100vh - 4rem); overflow: auto; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; background: #fff; box-shadow: 0 38px 100px rgba(2, 15, 38, .32); }
.tuleer-visit-modal > section > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; border-bottom: 1px solid #e8edf4; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.tuleer-visit-modal > section > header > div { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.tuleer-visit-modal-mark { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #4d9cff, #1769ff); box-shadow: 0 9px 20px rgba(23, 105, 255, .24); }
.tuleer-visit-modal-mark svg { width: 1.3rem; }
.tuleer-visit-modal h2 { color: #10243f; font-size: 1.25rem; font-weight: 880; }
.tuleer-visit-modal header p { margin-top: .2rem; overflow: hidden; color: #8391a3; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.tuleer-visit-modal header code { color: #52657d; }
.tuleer-visit-modal header button { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 9px; color: #7e8b9c; background: #f2f5f8; font-size: 1.6rem; cursor: pointer; }
.tuleer-visit-modal-body { display: grid; gap: 1rem; padding: 1.1rem 1.3rem 1.3rem; }
.tuleer-visit-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.tuleer-visit-profile-grid article { min-width: 0; padding: 1rem; border: 1px solid #e2e8f1; border-radius: 14px; }
.tuleer-visit-profile-grid article.is-identity { background: linear-gradient(145deg, #f0fcf9, #f8fffd); }
.tuleer-visit-profile-grid article.is-client { background: linear-gradient(145deg, #f4f7fb, #fbfcfe); }
.tuleer-visit-profile-grid article.is-source { background: linear-gradient(145deg, #f1f7ff, #fafcff); }
.tuleer-visit-profile-grid h3 { display: flex; align-items: center; gap: .45rem; margin-bottom: .75rem; color: #203750; font-size: .94rem; font-weight: 850; }
.tuleer-visit-profile-grid h3 span { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 6px; color: #1769ff; background: rgba(23,105,255,.1); }
.tuleer-visit-profile-grid h3 svg { width: .9rem; }
.tuleer-visit-profile-grid dl { display: grid; gap: .48rem; }
.tuleer-visit-profile-grid dl div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .45rem; }
.tuleer-visit-profile-grid dt { color: #8795a7; font-size: .8rem; }
.tuleer-visit-profile-grid dd { overflow-wrap: anywhere; color: #30465f; font-size: .82rem; font-weight: 650; }
.tuleer-visit-profile-grid dd a { color: #1769ff; text-decoration: none; }
.tuleer-visit-journey { overflow: hidden; border: 1px solid #e1e8f1; border-radius: 14px; }
.tuleer-visit-journey-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid #e8edf3; }
.tuleer-visit-journey-head > div { display: flex; align-items: center; gap: .55rem; }
.tuleer-visit-journey-head > div > span { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 7px; color: #1769ff; background: #eaf3ff; }
.tuleer-visit-journey-head svg { width: 1rem; }
.tuleer-visit-journey-head h3 { font-size: .98rem; }
.tuleer-visit-journey-head p,
.tuleer-visit-journey-head strong { color: #8593a5; font-size: .76rem; }
.tuleer-visit-journey-table { min-width: 44rem; }
.tuleer-visit-journey-table > div { display: grid; grid-template-columns: 13rem 8rem minmax(0, 1fr); align-items: center; min-height: 3.3rem; padding: .55rem 1rem; border-bottom: 1px solid #edf1f5; color: #4f6178; font-size: .82rem; }
.tuleer-visit-journey-table > div.is-head { min-height: 2.5rem; color: #718096; background: #f5f7fa; font-size: .76rem; font-weight: 800; }
.tuleer-visit-journey-table > div > span:first-child { display: flex; align-items: center; gap: .55rem; }
.tuleer-visit-journey-table i { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border-radius: 50%; color: #1769ff; background: #e9f2ff; font-size: .68rem; font-style: normal; font-weight: 850; }
.tuleer-visit-journey-table a { color: #1769ff; font-weight: 700; text-decoration: none; }
.tuleer-visit-journey-table small { display: block; margin-top: .15rem; color: #98a4b4; }

/* Professional website settings */
.tuleer-settings-notice { display: grid; grid-template-columns: auto minmax(12rem, 1fr) minmax(18rem, 1.1fr); align-items: center; gap: 1rem; padding: 1rem; border: 1px solid #cce0ff; border-radius: 13px; color: #3f5874; background: linear-gradient(120deg, #f1f8ff, #fbfdff); }
.tuleer-settings-notice > span { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #4b9bff, #1769ff); box-shadow: 0 10px 22px rgba(23,105,255,.23); }
.tuleer-settings-notice svg { width: 1.35rem; }
.tuleer-settings-notice strong { color: #183554; font-size: .98rem; }
.tuleer-settings-notice p { margin-top: .25rem; font-size: .84rem; line-height: 1.55; }
.tuleer-settings-notice ul { display: grid; gap: .32rem; color: #5e738d; font-size: .82rem; }
.tuleer-settings-notice li::marker { color: #1769ff; }
.tuleer-settings-choice .fi-fo-toggle-buttons-btn-ctn label.fi-btn {
    min-height: 2.65rem;
    padding-inline: .9rem;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    color: #52647c;
    background: #fff;
    box-shadow: 0 2px 8px rgba(31, 65, 111, .035);
    font-size: .9rem;
    font-weight: 760;
    transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tuleer-settings-choice .fi-fo-toggle-buttons-btn-ctn label.fi-btn:hover {
    border-color: #9dbfff;
    color: #1769ff;
    background: #f7faff;
}
.tuleer-settings-choice .fi-fo-toggle-buttons-input:focus-visible + label.fi-btn {
    outline: 3px solid rgba(23, 105, 255, .16);
    outline-offset: 2px;
}
.tuleer-settings-choice .fi-fo-toggle-buttons-input:checked + label.fi-btn {
    border-color: #1769ff;
    color: #fff;
    background: linear-gradient(145deg, #2f7bff, #1769ff);
    box-shadow: 0 8px 18px rgba(23, 105, 255, .2);
    transform: translateY(-1px);
}
.tuleer-settings-choice label.fi-btn .fi-icon { width: 1.08rem; height: 1.08rem; }
.tuleer-badge-color-options .fi-fo-toggle-buttons-input[value="cyan"]:checked + label.fi-btn {
    border-color: #00a9c9;
    background: linear-gradient(145deg, #12bdd7, #009ab9);
    box-shadow: 0 8px 18px rgba(0, 169, 201, .2);
}
.tuleer-badge-color-options .fi-fo-toggle-buttons-input[value="violet"]:checked + label.fi-btn {
    border-color: #6847f5;
    background: linear-gradient(145deg, #7e61ff, #5e3ee0);
    box-shadow: 0 8px 18px rgba(104, 71, 245, .2);
}
.tuleer-badge-color-options .fi-fo-toggle-buttons-input[value="emerald"]:checked + label.fi-btn {
    border-color: #058b6f;
    background: linear-gradient(145deg, #11a987, #04775f);
    box-shadow: 0 8px 18px rgba(5, 139, 111, .2);
}
.tuleer-badge-color-options .fi-fo-toggle-buttons-input[value="obsidian"]:checked + label.fi-btn {
    border-color: #111827;
    background: linear-gradient(145deg, #263246, #0b101c);
    box-shadow: 0 8px 18px rgba(17, 24, 39, .22);
}
.tuleer-badge-builder { display: grid; grid-template-columns: minmax(19rem, .8fr) minmax(24rem, 1.2fr); gap: 1rem; }
.tuleer-badge-preview,
.tuleer-badge-code { min-width: 0; padding: 1rem; border: 1px solid #dfe7f1; border-radius: 14px; background: #fff; }
.tuleer-badge-preview > div:first-child,
.tuleer-badge-code > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tuleer-badge-preview > div:first-child span,
.tuleer-badge-code strong { color: #1b3552; font-size: .92rem; font-weight: 850; }
.tuleer-badge-preview small,
.tuleer-badge-code > div:first-child span { color: #8594a7; font-size: .76rem; }
.tuleer-badge-stage { position: relative; display: grid; overflow: hidden; min-height: 9rem; margin-top: .75rem; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 0, rgba(23,105,255,.16), transparent 45%), linear-gradient(135deg, #07162e, #102846); }
.tuleer-badge-stage::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(105,157,221,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(105,157,221,.08) 1px, transparent 1px); background-size: 22px 22px; content: ""; }
.tuleer-badge-stage img { position: relative; z-index: 1; max-width: 90%; filter: drop-shadow(0 12px 22px rgba(0,0,0,.25)); }
.tuleer-badge-stage i { position: absolute; width: 7rem; height: 7rem; border: 1px solid rgba(74,160,255,.2); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(74,160,255,.04), 0 0 0 4rem rgba(74,160,255,.02); }
.tuleer-badge-preview.is-disabled .tuleer-badge-stage { filter: grayscale(1); opacity: .62; }
.tuleer-badge-preview > p { margin-top: .65rem; color: #c26c23; font-size: .8rem; }
.tuleer-badge-code { display: grid; gap: .75rem; }
.tuleer-badge-code code { display: block; overflow: auto; min-height: 5.3rem; padding: .85rem; border-radius: 10px; color: #d8e8ff; background: #0a1b35; font: .78rem/1.65 "SFMono-Regular", Consolas, monospace; white-space: normal; overflow-wrap: anywhere; }
.tuleer-badge-code button { display: inline-flex; width: fit-content; min-height: 2.5rem; align-items: center; gap: .4rem; padding: 0 .85rem; border: 0; border-radius: 9px; color: #fff; background: #1769ff; font-size: .84rem; font-weight: 800; cursor: pointer; }
.tuleer-badge-code button svg { width: 1rem; }
.tuleer-delete-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.15rem; border: 1px solid #f0bdc5; border-radius: 14px; color: #783342; background: linear-gradient(135deg, #fff8f9, #fff1f3); }
.tuleer-delete-panel > span { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 12px; color: #d84b65; background: #ffe2e7; }
.tuleer-delete-panel svg { width: 1.45rem; }
.tuleer-delete-panel strong { font-size: 1rem; }
.tuleer-delete-panel p { margin-top: .25rem; color: #9a6370; font-size: .84rem; }
.tuleer-delete-panel code { display: inline-flex; margin-top: .45rem; color: #713443; font-size: .8rem; }
.tuleer-delete-panel button { min-height: 2.65rem; padding: 0 1rem; border: 0; border-radius: 9px; color: #fff; background: #d64560; font-size: .86rem; font-weight: 800; cursor: pointer; }

@media (max-width: 1500px) {
    .tuleer-visits-live { grid-template-columns: repeat(3, minmax(9rem, 1fr)); }
    .tuleer-visits-live-title { grid-column: span 1; }
    .tuleer-visits-activity { grid-column: span 2; }
    .tuleer-visits-filters { grid-template-columns: repeat(4, minmax(10rem, 1fr)); }
}

@media (max-width: 980px) {
    .tuleer-visits-live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-visits-live-title,
    .tuleer-visits-activity { grid-column: span 2; }
    .tuleer-visits-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tuleer-visit-profile-grid { grid-template-columns: 1fr; }
    .tuleer-badge-builder,
    .tuleer-settings-notice { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .tuleer-visits-header { align-items: flex-start; flex-direction: column; }
    .tuleer-visits-status { width: 100%; }
    .tuleer-visits-live { grid-template-columns: 1fr; }
    .tuleer-visits-live-title,
    .tuleer-visits-activity { grid-column: auto; }
    .tuleer-visits-filters { grid-template-columns: 1fr; }
    .tuleer-visits-filter-actions button { flex: 1; }
    .tuleer-visits-table-title,
    .tuleer-visits-pagination { align-items: flex-start; flex-direction: column; }
    .tuleer-visit-modal { padding: .5rem; }
    .tuleer-visit-modal > section { max-height: calc(100vh - 1rem); border-radius: 15px; }
    .tuleer-visit-modal-body { padding: .8rem; }
    .tuleer-visit-modal header p { max-width: 15rem; }
    .tuleer-delete-panel { grid-template-columns: 1fr; }
    .tuleer-delete-panel button { width: 100%; }
}
