@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================
   TENET ENTERPRISE GROWTH FRAMEWORK™
   PORTAL CSS — COMPLETE RESPONSIVE FOUNDATION

   BREAKPOINT SYSTEM

   LARGE DESKTOP             1400px+
   DESKTOP                   1200px–1399px
   LAPTOP / TABLET LANDSCAPE 901px–1199px
   TABLET                    601px–900px
   MOBILE                    401px–600px
   SMALL MOBILE              320px–400px
   ========================================================== */


/* ==========================================================
   01. DESIGN TOKENS
   ========================================================== */

:root {
    --navy: #010d23;
    --navy-2: #03152d;
    --panel: rgba(5, 22, 43, .82);
    --panel-2: rgba(7, 28, 52, .66);

    --cyan: #5bc8f5;
    --cyan-2: #92d7f8;

    --white: #f7fbff;
    --muted: #a8b5c6;

    --border: rgba(146, 215, 248, .22);
    --border-soft: rgba(255, 255, 255, .10);

    --sidebar: 290px;
    --content-pad: 5%;
    --mobile-pad: 20px;

    --radius: 10px;

    --mobile-header-height: 74px;
}


/* ==========================================================
   02. GLOBAL / RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;

    background: var(--navy);
    color: var(--white);

    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

body.modal-open {
    overflow: hidden;
}

body.sidebar-open {
    overflow: hidden;
}


/* ==========================================================
   03. BACKGROUND / PARTICLES
   ========================================================== */

#particles-js {
    position: fixed;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(0, 128, 255, .16),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(0, 190, 255, .08),
            transparent 34%
        );
}

#ts-particles {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    pointer-events: none;

    opacity: .55;
}


/* ==========================================================
   04. APPLICATION SHELL
   ========================================================== */

.app-shell {
    position: relative;

    z-index: 1;

    display: flex;

    width: 100%;
    min-height: 100vh;
}


/* ==========================================================
   05. SIDEBAR
   ========================================================== */

.sidebar {
    width: var(--sidebar);
    flex: 0 0 var(--sidebar);

    background: rgba(1, 13, 35, .94);

    border-right: 1px solid var(--border);

    min-height: 100vh;

    position: sticky;
    top: 0;

    height: 100vh;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;

    z-index: 50;
}


/* ==========================================================
   06. SIDEBAR BRAND / LOGO
   ========================================================== */

.brand {
    height: 96px;

    border-bottom: 1px solid var(--border-soft);

    display: flex;
    align-items: center;

    padding: 18px 24px;

    gap: 10px;

    position: relative;
}

.brand-link {
    display: block;

    max-width: 100%;
}

.ts-logo-container {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;

    min-width: 0;
}

.ts-logo {
    display: block;

    height: 85px;
    width: auto;

    max-width: 100%;

    margin-left: 15px;

    object-fit: contain;

    transition:
        height .25s ease,
        width .25s ease,
        margin .25s ease,
        opacity .25s ease;
}

.brand-mark {
    letter-spacing: .28em;

    color: var(--cyan-2);

    font-size: 25px;
    font-weight: 700;
}

.brand-sub {
    letter-spacing: .36em;

    color: #dce7f2;

    font-size: 10px;

    margin-top: 4px;
}


/* ==========================================================
   07. SIDEBAR MENU TOGGLE
   ========================================================== */

.sidebar-toggle {
    display: none;

    position: absolute;

    left: 20px;
    top: 31px;

    transform: translateX(-4px);

    opacity: .9;

    z-index: 6;
}

.icon-button {
    border: 0;

    background: transparent;

    cursor: pointer;

    font-size: 20px;

    padding: 6px;
}

.sidebar .brand .brand-link {
    margin-left: 42px;
}


/* ==========================================================
   08. SIDEBAR NAVIGATION
   ========================================================== */

.sidebar-section {
    padding: 18px 0;

    border-bottom: 1px solid var(--border-soft);
}

.section-label {
    color: var(--cyan);

    font-size: 12px;
    font-weight: 600;

    padding: 0 24px 10px;

    letter-spacing: .02em;
}

.nav-item {
    width: 100%;

    min-height: 36px;

    border: 0;

    background: transparent;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 20px 8px 28px;

    text-align: left;

    color: #e8eef5;

    cursor: pointer;

    font-size: 13px;
    line-height: 1.35;

    position: relative;

    transition:
        color .18s ease,
        background .18s ease;
}

.nav-item:hover,
.nav-item.active {
    background:
        linear-gradient(
            90deg,
            rgba(91, 200, 245, .12),
            transparent
        );

    color: white;
}

.nav-item.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--cyan);
}

.nav-number {
    color: var(--muted);

    min-width: 18px;
    flex: 0 0 18px;
}


/* ==========================================================
   09. MAIN CONTENT
   ========================================================== */

.main {
    flex: 1 1 auto;

    min-width: 0;

    width: 100%;
}


/* ==========================================================
   10. TOPBAR
   ========================================================== */

.topbar {
    min-height: 96px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 var(--content-pad);

    border-bottom: 1px solid var(--border-soft);

    background: rgba(1, 13, 35, .54);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    position: sticky;
    top: 0;

    z-index: 10;
}

.topnav {
    display: flex;

    gap: 31px;

    align-items: center;

    min-width: 0;
}

.topnav a {
    font-size: 15px;

    color: #f0f4f8;

    padding: 34px 20px 29px;

    border-bottom: 2px solid transparent;

    white-space: nowrap;

    transition:
        color .18s ease,
        border-color .18s ease;
}

.topnav a:hover,
.topnav a.active {
    color: var(--cyan);

    border-bottom-color: var(--cyan);
}

.top-actions {
    display: flex;

    align-items: center;

    gap: 20px;

    flex-shrink: 0;
}

.mobile-brand,
.mobile-nav-trigger {
    display: none;
}


/* ==========================================================
   11. BUTTONS
   ========================================================== */

.btn {
    border: 1px solid var(--border);

    background: transparent;

    color: var(--white);

    border-radius: 6px;

    min-height: 38px;

    padding: 0 22px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background-color .2s ease;

    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);

    border-color: var(--cyan);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #59c7f3,
            #3ea9dc
        );

    color: #fff;

    border-color: transparent;
}

.btn-outline {
    border-color: rgba(146, 215, 248, .55);
}

.btn-large {
    min-width: 250px;

    min-height: 54px;
}


/* ==========================================================
   12. HERO
   ========================================================== */

.hero {
    min-height: 570px;

    padding:
        62px
        var(--content-pad)
        44px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;
}

.hero-copy {
    width: 58%;

    max-width: 760px;

    position: relative;

    z-index: 2;
}

.eyebrow {
    color: var(--cyan);

    font-size: 11px;

    letter-spacing: .12em;

    font-weight: 600;
}

.hero h1 {
    font-size: clamp(42px, 4.1vw, 66px);

    line-height: 1.08;

    margin: 18px 0;

    letter-spacing: -.04em;
}

.hero h1 span {
    color: var(--cyan);
}

.accent-line {
    width: 70px;

    height: 2px;

    background: var(--cyan);

    margin: 26px 0;
}

.hero-copy > p {
    color: #d5dee8;

    max-width: 680px;

    font-size: 18px;

    line-height: 1.65;
}


/* ==========================================================
   13. LEGACY HERO PILLARS
   ========================================================== */

.hero-pillars {
    display: flex;

    gap: 0;

    margin: 34px 0;

    max-width: 100%;

    overflow-x: auto;

    scrollbar-width: thin;
}

.hero-pillars div {
    min-width: 150px;

    padding: 0 24px;

    border-right: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    gap: 12px;

    font-family: Inter, Arial, sans-serif;
}

.hero-pillars div:first-child {
    padding-left: 0;
}

.hero-pillars div:last-child {
    border-right: 0;
}

.hero-pillars strong {
    color: var(--cyan);

    font-size: 34px;

    font-weight: 400;
}

.hero-pillars span {
    color: #dbe4ee;

    font-size: 11px;

    white-space: nowrap;
}


/* ==========================================================
   14. HERO ACTIONS
   ========================================================== */

.hero-actions {
    display: flex;

    gap: 30px;

    flex-wrap: wrap;
}


/* ==========================================================
   15. HERO ART
   ========================================================== */

.hero-art {
    position: absolute;

    right: 1%;
    top: 2%;

    width: 50%;

    height: 95%;

    opacity: .9;

    pointer-events: none;
}

.orbital {
    position: absolute;

    border: 1px solid rgba(91, 200, 245, .75);

    border-radius: 50%;

    left: 26%;
    top: 28%;

    width: 54%;
    height: 48%;

    transform: rotate(22deg);

    box-shadow:
        0 0 20px rgba(91, 200, 245, .08);
}

.orbital-2 {
    transform: rotate(112deg);

    width: 48%;
    height: 63%;

    left: 29%;
    top: 18%;
}

.orbital-3 {
    transform: rotate(62deg);

    width: 34%;
    height: 75%;

    left: 36%;
    top: 12%;
}

.art-symbol {
    position: absolute;

    left: 48%;
    top: 42%;

    font-size: 170px;

    color: rgba(146, 215, 248, .65);

    font-weight: 200;

    transform: rotate(-15deg);

    text-shadow:
        0 0 30px rgba(91, 200, 245, .3);
}

.network {
    position: absolute;

    inset: 0;

    background-image:
        radial-gradient(
            circle at 68% 40%,
            rgba(91, 200, 245, .9) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 78% 52%,
            rgba(91, 200, 245, .8) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 55% 62%,
            rgba(91, 200, 245, .7) 0 2px,
            transparent 3px
        ),
        linear-gradient(
            28deg,
            transparent 49.8%,
            rgba(91, 200, 245, .12) 50%,
            transparent 50.2%
        ),
        linear-gradient(
            -24deg,
            transparent 49.8%,
            rgba(91, 200, 245, .10) 50%,
            transparent 50.2%
        );
}


/* ==========================================================
   16. JOURNEY
   ========================================================== */

.journey-card {
    margin: 0 4% 40px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: rgba(2, 17, 38, .7);

    padding: 28px 34px 34px;

    position: relative;

    overflow: hidden;
}

.journey-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 70%,
            rgba(0, 120, 255, .13),
            transparent 38%
        );

    pointer-events: none;
}

.journey-heading {
    position: relative;

    z-index: 2;
}

.journey-heading h2 {
    color: var(--cyan);

    font-size: 20px;

    margin: 0 0 8px;
}

.journey-heading p {
    color: #c5d0dc;

    max-width: 840px;

    line-height: 1.6;

    margin: 0;
}

.journey {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    margin-top: 30px;

    position: relative;

    z-index: 2;
}

.journey-step {
    flex: 1 1 0;

    text-align: center;

    max-width: 180px;
}

.journey-icon {
    width: 72px;

    height: 72px;

    margin: 0 auto 12px;

    border: 1px solid rgba(91, 200, 245, .45);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--cyan);

    font-size: 13px;

    box-shadow:
        inset 0 0 20px rgba(91, 200, 245, .04);
}

.journey-step h3 {
    font-size: 14px;

    margin: 0 0 8px;
}

.journey-step p {
    font-size: 11px;

    line-height: 1.45;

    color: var(--muted);
}

.journey-arrow {
    color: var(--cyan);

    padding-top: 27px;

    font-size: 25px;

    flex: 0 0 auto;
}


/* ==========================================================
   17. LOGIN MODAL
   ========================================================== */

.modal-backdrop {
    position: fixed;

    inset: 0;

    z-index: 2000;

    background: rgba(0, 7, 18, .78);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    overflow-y: auto;
}

.modal-backdrop.open {
    display: flex;
}

.login-modal {
    width: min(560px, 100%);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background:
        linear-gradient(
            145deg,
            #061a34,
            #020e21
        );

    border: 1px solid rgba(91, 200, 245, .38);

    border-radius: 14px;

    padding: 38px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .55);

    position: relative;
}

.modal-close {
    position: absolute;

    right: 20px;
    top: 15px;

    background: transparent;

    border: 0;

    color: var(--muted);

    font-size: 30px;

    cursor: pointer;

    line-height: 1;
}

.login-modal h2 {
    font-size: 28px;

    margin: 8px 0;

    padding-right: 30px;
}

.login-modal > p {
    color: var(--muted);

    line-height: 1.55;
}

.role-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 25px;
}

.role-card {
    min-height: 160px;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, .02);

    border-radius: 9px;

    cursor: pointer;

    padding: 20px 12px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    text-align: center;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

.role-card:hover {
    border-color: var(--cyan);

    background: rgba(91, 200, 245, .07);

    transform: translateY(-2px);
}

.role-icon {
    color: var(--cyan);

    font-size: 28px;
}

.role-card small {
    color: var(--muted);

    text-align: center;

    line-height: 1.35;
}

.login-form {
    display: grid;

    gap: 12px;

    margin-top: 22px;
}

.login-form label {
    color: var(--muted);

    display: grid;

    gap: 6px;

    font-size: 12px;
}

.login-form input {
    width: 100%;

    min-height: 46px;

    border: 1px solid var(--border);

    background: #010b1a;

    color: white;

    border-radius: 6px;

    padding: 0 13px;

    outline: none;
}

.login-form input:focus {
    border-color: var(--cyan);
}

.text-button {
    border: 0;

    background: transparent;

    color: var(--cyan);

    cursor: pointer;

    justify-self: start;
}

.demo-note {
    margin-top: 25px;

    padding: 12px 14px;

    border: 1px dashed var(--border);

    border-radius: 6px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.65;
}

.hidden {
    display: none !important;
}


/* ==========================================================
   18. DASHBOARD
   ========================================================== */

.dashboard-main {
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(20, 100, 160, .08),
            transparent 25%
        );
}

.dashboard-sidebar .brand {
    height: 82px;
}

.dashboard-sidebar .sidebar-bottom {
    padding: 20px;

    border-top: 1px solid var(--border-soft);

    margin-top: 10px;
}

.user-mini {
    display: flex;

    gap: 10px;

    align-items: center;
}

.avatar {
    width: 34px;

    height: 34px;

    border: 1px solid var(--cyan);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--cyan);

    flex: 0 0 34px;
}

.user-mini strong,
.user-mini small {
    display: block;
}

.user-mini small {
    color: var(--muted);

    font-size: 10px;

    margin-top: 3px;
}

.logout-link {
    display: inline-block;

    color: var(--cyan);

    font-size: 10px;

    margin-top: 16px;
}

.dashboard-content {
    padding:
        42px
        var(--content-pad);

    width: 100%;
}


/* ==========================================================
   19. DASHBOARD PAGE HEADING
   ========================================================== */

.page-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.page-heading h1 {
    font-size: 34px;

    margin: 7px 0;

    letter-spacing: -.025em;
}

.page-heading p {
    color: var(--muted);

    margin: 0;
}


/* ==========================================================
   20. METRICS
   ========================================================== */

.metric-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;

    margin-bottom: 16px;
}

.metric-card {
    min-height: 135px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--panel);

    display: flex;

    flex-direction: column;

    gap: 4px;

    overflow: hidden;
}

.metric-icon {
    color: var(--cyan);

    font-size: 20px;
}

.metric-card strong {
    font-size: 26px;

    margin-top: 5px;
}

.metric-label {
    color: #dbe5ee;

    font-size: 12px;
}

.metric-card small {
    color: var(--muted);

    font-size: 10px;

    margin-top: auto;
}


/* ==========================================================
   21. DASHBOARD GRID
   ========================================================== */

.dashboard-grid {
    display: grid;

    gap: 16px;

    width: 100%;
}

.dashboard-grid.two-col {
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);
}

.panel {
    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--panel);

    padding: 22px;

    min-width: 0;

    overflow: hidden;
}

.panel-heading {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 16px;
}

.panel-heading h2 {
    margin: 5px 0 0;

    font-size: 18px;
}

.panel-heading a,
.muted {
    color: var(--muted);

    font-size: 10px;
}

.status-badge {
    border: 1px solid rgba(91, 200, 245, .45);

    color: var(--cyan);

    border-radius: 30px;

    padding: 6px 10px;

    font-size: 9px;

    white-space: nowrap;
}


/* ==========================================================
   22. RADAR
   ========================================================== */

.radar-placeholder {
    width: 100%;

    height: 300px;

    position: relative;

    overflow: hidden;

    display: grid;

    place-items: center;
}

.radar-ring {
    position: absolute;

    border: 1px solid rgba(91, 200, 245, .17);

    transform: rotate(45deg);

    width: 180px;

    height: 180px;
}

.r1 {
    width: 210px;
    height: 210px;
}

.r2 {
    width: 165px;
    height: 165px;
}

.r3 {
    width: 120px;
    height: 120px;
}

.r4 {
    width: 75px;
    height: 75px;
}

.radar-shape {
    width: 155px;

    height: 155px;

    border: 2px solid var(--cyan);

    clip-path:
        polygon(
            50% 0%,
            91% 23%,
            84% 72%,
            54% 100%,
            18% 74%,
            6% 30%
        );

    transform: rotate(4deg);

    background: rgba(91, 200, 245, .08);
}

.radar-label {
    position: absolute;

    color: var(--muted);

    font-size: 8px;
}

.l1 {
    top: 5%;
}

.l2 {
    right: 7%;
    top: 27%;
}

.l3 {
    right: 10%;
    bottom: 14%;
}

.l4 {
    left: 6%;
    bottom: 17%;
}

.l5 {
    left: 5%;
    top: 27%;
}


/* ==========================================================
   23. SCORE SUMMARY
   ========================================================== */

.score-summary {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border-soft);

    padding-top: 15px;
}

.score-summary div {
    text-align: center;

    border-right: 1px solid var(--border-soft);

    min-width: 0;
}

.score-summary div:last-child {
    border: 0;
}

.score-summary small {
    display: block;

    color: var(--muted);

    font-size: 8px;
}

.score-summary strong {
    display: block;

    margin-top: 4px;

    font-size: 16px;
}


/* ==========================================================
   24. PRIORITIES
   ========================================================== */

.priority-list {
    display: grid;

    width: 100%;
}

.priority-row {
    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr)
        45px
        58px;

    gap: 8px;

    align-items: center;

    padding: 14px 0;

    border-bottom: 1px solid var(--border-soft);

    font-size: 11px;
}

.priority-row b {
    color: var(--cyan);

    font-weight: 500;
}

.priority-row em {
    color: #dfe8f0;

    font-style: normal;

    overflow-wrap: anywhere;
}

.priority-row label {
    font-size: 8px;

    color: var(--cyan);

    text-align: right;
}


/* ==========================================================
   25. PORTAL JOURNEY
   ========================================================== */

.journey-panel {
    margin: 16px 0;
}

.portal-journey {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    overflow-x: auto;

    padding: 10px 0;

    scrollbar-width: thin;
}

.portal-step {
    min-width: 80px;

    flex: 0 0 80px;

    text-align: center;

    color: #667789;
}

.portal-step span {
    display: grid;

    place-items: center;

    width: 38px;

    height: 38px;

    margin: 0 auto 8px;

    border-radius: 50%;

    border: 1px solid #35485b;

    font-size: 11px;
}

.portal-step small {
    font-size: 8px;
}

.portal-step.complete,
.portal-step.current {
    color: var(--cyan);
}

.portal-step.complete span,
.portal-step.current span {
    border-color: var(--cyan);

    box-shadow:
        0 0 15px rgba(91, 200, 245, .12);
}

.portal-journey i {
    color: #53697e;

    font-style: normal;

    flex: 0 0 auto;
}


/* ==========================================================
   26. ACTIVITY
   ========================================================== */

.activity p {
    padding: 13px 0;

    margin: 0;

    border-bottom: 1px solid var(--border-soft);
}

.activity b,
.activity span {
    display: block;
}

.activity b {
    font-size: 11px;
}

.activity span {
    color: var(--muted);

    font-size: 10px;

    margin-top: 4px;
}


/* ==========================================================
   27. ALERTS
   ========================================================== */

.alert-list {
    display: grid;

    gap: 10px;
}

.alert-list div {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px;

    border: 1px solid var(--border-soft);

    border-radius: 7px;

    background: rgba(255, 255, 255, .015);
}

.alert-list strong {
    color: var(--cyan);

    font-size: 19px;

    min-width: 30px;
}

.alert-list span {
    color: #dce5ee;

    font-size: 11px;

    overflow-wrap: anywhere;
}


/* ==========================================================
   28. TENET PILLARS
   ========================================================== */

.ts-pillars {
    margin-top: 20px;

    margin-bottom: 20px;

    display: flex;

    flex-direction: row;

    gap: 24px;

    width: 100%;
}

.ts-pillar {
    flex: 1 1 0;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 22px;

    background: transparent;

    border: 1px solid transparent;

    border-radius: 18px;

    text-align: center;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background-color .35s ease;
}

.ts-pillar:hover {
    transform: translateY(-6px);

    border-color: rgba(146, 215, 248, .25);

    background: rgba(255, 255, 255, .02);
}

.ts-pillar i {
    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #92d7f8;

    color: #010d23;

    font-size: 1.25rem;

    flex-shrink: 0;
}

.ts-pillar h5 {
    margin: 0;

    text-align: center;
}


/* ==========================================================
   29. LARGE DESKTOP
   1400px+
   ========================================================== */

@media (min-width: 1400px) {

    :root {
        --sidebar: 300px;
        --content-pad: 5.25%;
    }

    body {
        font-size: 14px;
    }

    .brand {
        height: 100px;
    }

    .ts-logo {
        height: 88px;
    }

    .topbar {
        min-height: 100px;
    }

    .topnav {
        gap: clamp(24px, 2vw, 36px);
    }

    .topnav a {
        font-size: 17px;

        padding-top: 36px;

        padding-bottom: 31px;
    }

    .hero {
        min-height: 590px;

        padding-top: 68px;

        padding-bottom: 50px;
    }

    .hero-copy {
        width: 60%;

        max-width: 820px;
    }

    .hero h1 {
        font-size: clamp(52px, 4vw, 70px);
    }

    .hero-copy > p {
        max-width: 720px;

        font-size: 18px;
    }

    .journey-card {
        margin-left: 4.5%;

        margin-right: 4.5%;
    }

    .dashboard-content {
        padding-left: 5%;

        padding-right: 5%;
    }

    .metric-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }
}


/* ==========================================================
   30. DESKTOP
   1200px–1399px
   ========================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

    :root {
        --sidebar: 280px;
        --content-pad: 4%;
    }

    .brand {
        padding-left: 20px;

        padding-right: 20px;
    }

    .sidebar .brand .brand-link {
        margin-left: 38px;
    }

    .ts-logo {
        height: 80px;

        margin-left: 8px;
    }

    .topnav {
        gap: 18px;
    }

    .topnav a {
        font-size: 13px;
    }

    .top-actions {
        gap: 12px;
    }

    .top-actions .btn {
        padding-left: 16px;

        padding-right: 16px;
    }

    .hero-copy {
        width: 64%;
    }

    .hero h1 {
        font-size: clamp(46px, 4.25vw, 60px);
    }

    .hero-art {
        width: 48%;

        opacity: .72;
    }

    .ts-pillars {
        gap: 12px;
    }

    .ts-pillar {
        padding: 18px 12px;
    }

    .metric-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

    .dashboard-grid.two-col {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(0, .95fr);
    }
}


/* ==========================================================
   31. LAPTOP / TABLET LANDSCAPE
   901px–1199px
   ========================================================== */

@media (min-width: 901px) and (max-width: 1199px) {

    :root {
        --sidebar: 238px;
        --content-pad: 28px;
    }

    .brand {
        height: 88px;

        padding: 14px;
    }

    .sidebar .brand .brand-link {
        margin-left: 30px;
    }

    .ts-logo {
        height: 67px;

        margin-left: 4px;
    }

    .section-label {
        padding-left: 18px;

        padding-right: 18px;

        font-size: 10px;
    }

    .nav-item {
        padding-left: 20px;

        padding-right: 14px;

        font-size: 11px;
    }

    .topbar {
        min-height: 88px;

        padding: 0 20px;

        gap: 12px;
    }

    .topnav {
        gap: 8px;

        min-width: 0;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        font-size: 9px;

        padding: 32px 2px 27px;
    }

    .top-actions {
        gap: 8px;
    }

    .top-actions .btn {
        min-height: 34px;

        padding: 0 10px;

        font-size: 9px;
    }

    .hero {
        min-height: 530px;

        padding:
            48px
            var(--content-pad)
            36px;
    }

    .hero-copy {
        width: 76%;

        max-width: 700px;
    }

    .hero h1 {
        font-size: clamp(38px, 4.8vw, 52px);
    }

    .hero-copy > p {
        font-size: 15px;

        max-width: 620px;
    }

    .hero-art {
        width: 54%;

        opacity: .35;
    }

    .hero-actions {
        gap: 12px;
    }

    .btn-large {
        min-width: 210px;

        min-height: 50px;

        padding: 0 16px;
    }

    .ts-pillars {
        gap: 8px;
    }

    .ts-pillar {
        padding: 14px 8px;

        gap: 10px;
    }

    .ts-pillar i {
        width: 52px;

        height: 52px;
    }

    .ts-pillar h5 {
        font-size: 10px;
    }

    .journey-card {
        margin:
            0
            22px
            30px;

        padding:
            24px
            22px
            28px;
    }

    .journey {
        gap: 8px;
    }

    .journey-step {
        max-width: 140px;
    }

    .journey-icon {
        width: 62px;

        height: 62px;
    }

    .journey-step p {
        font-size: 10px;
    }

    .journey-arrow {
        font-size: 20px;
    }

    .dashboard-content {
        padding: 32px 26px;
    }

    .metric-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid.two-col {
        grid-template-columns: 1fr;
    }

    .page-heading h1 {
        font-size: 30px;
    }
}


/* ==========================================================
   32. TABLET
   601px–900px

   IMPORTANT:
   - Logo remains visible.
   - Hamburger remains visible.
   - Sidebar brand becomes mobile header.
   - Main menu remains horizontally accessible.
   - Sidebar expands over content.
   ========================================================== */

@media (min-width: 601px) and (max-width: 900px) {

    :root {
        --sidebar: 0px;
        --content-pad: 24px;
        --mobile-pad: 24px;
        --mobile-header-height: 74px;
    }

    body {
        overflow-x: hidden;
    }

    .app-shell {
        display: block;

        min-height: 100vh;
    }


    /* ------------------------------------------------------
       MOBILE SIDEBAR HEADER
       ------------------------------------------------------ */

    .sidebar {
        position: fixed;

        inset:
            0
            auto
            auto
            0;

        width: 100%;

        height: 74px;

        min-height: 74px;

        overflow: hidden;

        background: rgba(1, 13, 35, .98);

        border-right: 0;

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 8px 30px rgba(0, 0, 0, .16);

        z-index: 1000;

        transition:
            width .22s ease,
            height .22s ease,
            box-shadow .22s ease;
    }

    .sidebar.open {
        width: min(360px, 88vw);

        height: 100dvh;

        min-height: 100vh;

        overflow-y: auto;
        overflow-x: hidden;

        border-right: 1px solid var(--border);

        border-bottom: 0;

        box-shadow:
            20px
            0
            60px
            rgba(0, 0, 0, .48);
    }

    .sidebar .brand {
        position: sticky;

        top: 0;

        z-index: 4;

        width: 100%;

        height: 74px;

        min-height: 74px;

        padding: 8px 18px;

        justify-content: center;

        background: rgba(1, 13, 35, .985);

        border-bottom: 1px solid var(--border-soft);
    }

    .sidebar .brand .brand-link {
        margin-left: 0;
    }

    .ts-logo-container {
        width: auto;

        max-width: calc(100% - 110px);
    }

    .ts-logo {
        height: 58px;

        width: auto;

        margin-left: 0;

        max-width: 100%;
    }

    .brand-mark {
        font-size: 20px;
    }

    .brand-sub {
        font-size: 8px;
    }


    /* ------------------------------------------------------
       MOBILE HAMBURGER
       ------------------------------------------------------ */

    .sidebar-toggle {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        position: absolute;

        left: 16px;

        top: 50%;

        transform: translateY(-50%);

        width: 42px;

        height: 42px;

        padding: 0;

        border: 1px solid rgba(146, 215, 248, .22);

        border-radius: 8px;

        background: rgba(255, 255, 255, .035);

        color: var(--cyan-2);

        font-size: 19px;

        opacity: 1;

        z-index: 6;
    }


    /* ------------------------------------------------------
       SIDEBAR CONTENT VISIBILITY
       ------------------------------------------------------ */

    .sidebar:not(.open) .sidebar-section,
    .sidebar:not(.open) .sidebar-bottom {
        display: none;
    }

    .sidebar.open .sidebar-section,
    .sidebar.open .sidebar-bottom {
        display: block;
    }

    .sidebar-section {
        padding: 15px 0;
    }

    .section-label {
        padding:
            0
            20px
            9px;
    }

    .nav-item {
        min-height: 42px;

        padding:
            10px
            20px
            10px
            24px;

        font-size: 12px;
    }


    /* ------------------------------------------------------
       MAIN
       ------------------------------------------------------ */

    .main {
        width: 100%;

        padding-top: 74px;
    }


    /* ------------------------------------------------------
       TOP MENU
       ------------------------------------------------------ */

    .topbar {
        top: 74px;

        min-height: 58px;

        height: 58px;

        padding: 0 18px;

        gap: 0;

        background: rgba(1, 13, 35, .90);

        z-index: 20;
    }

    .topnav {
        display: flex;

        width: 100%;

        min-width: 0;

        gap: 20px;

        overflow-x: auto;
        overflow-y: hidden;

        overscroll-behavior-inline: contain;

        scrollbar-width: none;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        flex: 0 0 auto;

        font-size: 10px;

        padding:
            20px
            10px
            16px;
    }

    .top-actions {
        display: none;
    }


    /* ------------------------------------------------------
       DASHBOARD TOPBAR
       ------------------------------------------------------ */

    .dashboard-page .topbar {
        justify-content: space-between;
    }

    .dashboard-page .mobile-brand {
        display: block;

        color: var(--cyan);

        font-size: 10px;

        font-weight: 700;

        letter-spacing: .08em;
    }

    .dashboard-page .top-context {
        display: none;
    }

    .dashboard-page .top-actions {
        display: flex;

        margin-left: auto;
    }

    .dashboard-page .top-user {
        font-size: 10px;

        white-space: nowrap;
    }


    /* ------------------------------------------------------
       HERO
       ------------------------------------------------------ */

    .hero {
        min-height: auto;

        padding:
            48px
            24px
            34px;

        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;

        max-width: 740px;
    }

    .hero h1 {
        font-size: clamp(38px, 7vw, 52px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-art {
        width: 100%;

        height: 100%;

        right: 0;

        top: 0;

        opacity: .16;
    }

    .art-symbol {
        font-size: 120px;
    }

    .hero-actions {
        gap: 12px;
    }


    /* ------------------------------------------------------
       TENET PILLARS
       ------------------------------------------------------ */

    .ts-pillars {
        flex-wrap: wrap;

        gap: 10px;
    }

    .ts-pillar {
        flex:
            1
            1
            calc(50% - 5px);

        padding: 18px 12px;
    }


    /* ------------------------------------------------------
       JOURNEY
       ------------------------------------------------------ */

    .journey-card {
        margin:
            0
            18px
            28px;

        padding:
            24px
            20px
            26px;
    }

    .journey {
        overflow-x: auto;

        justify-content: flex-start;

        gap: 18px;

        padding-bottom: 8px;

        scrollbar-width: thin;
    }

    .journey-step {
        flex: 0 0 145px;

        max-width: 145px;
    }

    .journey-arrow {
        display: none;
    }


    /* ------------------------------------------------------
       DASHBOARD
       ------------------------------------------------------ */

    .dashboard-content {
        padding: 28px 20px;
    }

    .dashboard-grid.two-col {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .page-heading {
        align-items: flex-start;
    }

    .radar-placeholder {
        height: 280px;
    }
}


/* ==========================================================
   33. MOBILE
   401px–600px
   ========================================================== */

@media (min-width: 401px) and (max-width: 600px) {

    :root {
        --sidebar: 0px;
        --content-pad: 18px;
        --mobile-pad: 18px;
        --mobile-header-height: 68px;
    }

    body {
        font-size: 13px;

        overflow-x: hidden;
    }

    .app-shell {
        display: block;

        min-height: 100vh;
    }


    /* ------------------------------------------------------
       MOBILE HEADER / SIDEBAR
       ------------------------------------------------------ */

    .sidebar {
        position: fixed;

        inset:
            0
            auto
            auto
            0;

        width: 100%;

        height: 68px;

        min-height: 68px;

        overflow: hidden;

        background: rgba(1, 13, 35, .985);

        border-right: 0;

        border-bottom: 1px solid var(--border);

        z-index: 1000;

        transition:
            width .22s ease,
            height .22s ease,
            box-shadow .22s ease;
    }

    .sidebar.open {
        width: min(330px, 90vw);

        height: 100dvh;

        min-height: 100vh;

        overflow-y: auto;
        overflow-x: hidden;

        border-right: 1px solid var(--border);

        border-bottom: 0;

        box-shadow:
            20px
            0
            60px
            rgba(0, 0, 0, .50);
    }

    .sidebar .brand {
        position: sticky;

        top: 0;

        z-index: 4;

        height: 68px;

        min-height: 68px;

        padding: 7px 14px;

        justify-content: center;

        background: rgba(1, 13, 35, .99);
    }

    .sidebar .brand .brand-link {
        margin-left: 0;
    }

    .ts-logo-container {
        width: auto;

        max-width: calc(100% - 96px);
    }

    .ts-logo {
        height: 52px;

        width: auto;

        margin-left: 0;

        max-width: 100%;
    }

    .brand-mark {
        font-size: 18px;
    }

    .brand-sub {
        font-size: 7px;
    }


    /* ------------------------------------------------------
       HAMBURGER
       ------------------------------------------------------ */

    .sidebar-toggle {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        position: absolute;

        left: 12px;

        top: 50%;

        transform: translateY(-50%);

        width: 40px;

        height: 40px;

        padding: 0;

        border: 1px solid rgba(146, 215, 248, .22);

        border-radius: 8px;

        background: rgba(255, 255, 255, .035);

        color: var(--cyan-2);

        opacity: 1;

        z-index: 6;
    }


    /* ------------------------------------------------------
       SIDEBAR OPEN/CLOSED
       ------------------------------------------------------ */

    .sidebar:not(.open) .sidebar-section,
    .sidebar:not(.open) .sidebar-bottom {
        display: none;
    }

    .sidebar.open .sidebar-section,
    .sidebar.open .sidebar-bottom {
        display: block;
    }

    .section-label {
        padding-left: 18px;

        padding-right: 18px;

        font-size: 10px;
    }

    .nav-item {
        min-height: 44px;

        padding:
            11px
            18px
            11px
            22px;

        font-size: 12px;
    }


    /* ------------------------------------------------------
       MAIN
       ------------------------------------------------------ */

    .main {
        width: 100%;

        padding-top: 68px;
    }


    /* ------------------------------------------------------
       MAIN MENU
       ------------------------------------------------------ */

    .topbar {
        top: 68px;

        min-height: 54px;

        height: 54px;

        padding: 0 14px;

        gap: 0;

        background: rgba(1, 13, 35, .92);

        z-index: 20;
    }

    .topnav {
        display: flex;

        width: 100%;

        min-width: 0;

        gap: 18px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        flex: 0 0 auto;

        font-size: 9px;

        padding:
            19px
            1px
            15px;
    }

    .top-actions {
        display: none;
    }


    /* ------------------------------------------------------
       DASHBOARD TOPBAR
       ------------------------------------------------------ */

    .dashboard-page .mobile-brand {
        display: block;

        color: var(--cyan);

        font-size: 9px;

        font-weight: 700;
    }

    .dashboard-page .top-context {
        display: none;
    }

    .dashboard-page .top-actions {
        display: flex;

        margin-left: auto;

        gap: 4px;
    }

    .dashboard-page .top-user {
        display: none;
    }

    .dashboard-page .icon-button {
        font-size: 17px;

        padding: 5px;
    }


    /* ------------------------------------------------------
       HERO
       ------------------------------------------------------ */

    .hero {
        padding:
            36px
            18px
            28px;

        min-height: auto;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size:
            clamp(
                35px,
                9vw,
                44px
            );

        line-height: 1.08;
    }

    .hero-copy > p {
        font-size: 15px;

        line-height: 1.6;
    }

    .eyebrow {
        font-size: 9px;
    }

    .accent-line {
        margin: 20px 0;
    }

    .hero-art {
        opacity: .10;
    }

    .art-symbol {
        font-size: 88px;
    }


    /* ------------------------------------------------------
       HERO ACTIONS
       ------------------------------------------------------ */

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;

        width: 100%;

        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .btn-large {
        min-width: 0;

        min-height: 50px;

        padding: 0 14px;
    }


    /* ------------------------------------------------------
       PILLARS
       ------------------------------------------------------ */

    .ts-pillars {
        flex-direction: column;

        gap: 8px;
    }

    .ts-pillar {
        width: 100%;

        flex: 1 1 auto;

        padding: 13px 12px;

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;

        gap: 14px;

        border-radius: 12px;
    }

    .ts-pillar h5 {
        text-align: left;

        font-size: 11px;
    }

    .ts-pillar i {
        width: 46px;

        height: 46px;

        font-size: 1rem;
    }


    /* ------------------------------------------------------
       JOURNEY
       ------------------------------------------------------ */

    .journey-card {
        margin:
            0
            12px
            24px;

        padding:
            20px
            16px
            22px;

        border-radius: 12px;
    }

    .journey-heading h2 {
        font-size: 17px;
    }

    .journey-heading p {
        font-size: 12px;
    }

    .journey {
        overflow-x: auto;

        justify-content: flex-start;

        gap: 14px;
    }

    .journey-step {
        flex: 0 0 132px;

        max-width: 132px;
    }

    .journey-arrow {
        display: none;
    }


    /* ------------------------------------------------------
       LOGIN MODAL
       ------------------------------------------------------ */

    .modal-backdrop {
        padding: 12px;
    }

    .login-modal {
        width: 100%;

        max-height: calc(100dvh - 24px);

        padding: 28px 20px;

        border-radius: 12px;
    }

    .login-modal h2 {
        font-size: 24px;
    }

    .role-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .role-card {
        min-height: 96px;

        padding: 15px;

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;
    }

    .role-card small {
        text-align: left;
    }


    /* ------------------------------------------------------
       DASHBOARD
       ------------------------------------------------------ */

    .dashboard-content {
        padding: 24px 16px;
    }

    .page-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-bottom: 20px;
    }

    .page-heading h1 {
        font-size: 27px;
    }

    .metric-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .metric-card {
        min-height: 105px;

        padding: 16px;
    }

    .metric-card strong {
        font-size: 22px;
    }

    .panel {
        padding: 17px;

        border-radius: 9px;
    }

    .panel-heading {
        gap: 10px;
    }

    .panel-heading h2 {
        font-size: 16px;
    }

    .status-badge {
        font-size: 8px;

        padding: 5px 8px;
    }

    .radar-placeholder {
        height: 240px;
    }

    .radar-ring.r1 {
        width: 180px;
        height: 180px;
    }

    .radar-ring.r2 {
        width: 140px;
        height: 140px;
    }

    .radar-ring.r3 {
        width: 100px;
        height: 100px;
    }

    .radar-ring.r4 {
        width: 62px;
        height: 62px;
    }

    .radar-shape {
        width: 130px;

        height: 130px;
    }

    .radar-label {
        font-size: 7px;
    }

    .score-summary strong {
        font-size: 14px;
    }

    .priority-row {
        grid-template-columns:
            24px
            minmax(0, 1fr)
            40px
            50px;

        gap: 6px;

        padding: 12px 0;

        font-size: 10px;
    }

    .priority-row label {
        font-size: 7px;
    }

    .portal-journey {
        justify-content: flex-start;
    }

    .alert-list div {
        align-items: flex-start;

        gap: 10px;
    }
}


/* ==========================================================
   34. SMALL MOBILE
   320px–400px
   ========================================================== */

@media (min-width: 320px) and (max-width: 400px) {

    :root {
        --sidebar: 0px;
        --content-pad: 14px;
        --mobile-pad: 14px;
        --mobile-header-height: 64px;
    }

    body {
        font-size: 12px;

        overflow-x: hidden;
    }

    .app-shell {
        display: block;

        min-height: 100vh;
    }


    /* ------------------------------------------------------
       MOBILE HEADER
       ------------------------------------------------------ */

    .sidebar {
        position: fixed;

        inset:
            0
            auto
            auto
            0;

        width: 100%;

        height: 64px;

        min-height: 64px;

        overflow: hidden;

        background: rgba(1, 13, 35, .99);

        border-right: 0;

        border-bottom: 1px solid var(--border);

        z-index: 1000;

        transition:
            width .22s ease,
            height .22s ease,
            box-shadow .22s ease;
    }

    .sidebar.open {
        width: min(300px, 92vw);

        height: 100dvh;

        min-height: 100vh;

        overflow-y: auto;
        overflow-x: hidden;

        border-right: 1px solid var(--border);

        border-bottom: 0;

        box-shadow:
            18px
            0
            55px
            rgba(0, 0, 0, .52);
    }

    .sidebar .brand {
        position: sticky;

        top: 0;

        z-index: 4;

        height: 64px;

        min-height: 64px;

        padding: 6px 10px;

        justify-content: center;

        background: rgba(1, 13, 35, .995);
    }

    .sidebar .brand .brand-link {
        margin-left: 0;
    }

    .ts-logo-container {
        width: auto;

        max-width: calc(100% - 84px);
    }

    .ts-logo {
        height: 46px;

        width: auto;

        margin-left: 0;

        max-width: 100%;
    }

    .brand-mark {
        font-size: 16px;
    }

    .brand-sub {
        font-size: 6px;

        letter-spacing: .28em;
    }


    /* ------------------------------------------------------
       HAMBURGER
       ------------------------------------------------------ */

    .sidebar-toggle {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        position: absolute;

        left: 9px;

        top: 50%;

        transform: translateY(-50%);

        width: 38px;

        height: 38px;

        padding: 0;

        border: 1px solid rgba(146, 215, 248, .22);

        border-radius: 8px;

        background: rgba(255, 255, 255, .035);

        color: var(--cyan-2);

        font-size: 18px;

        opacity: 1;

        z-index: 6;
    }


    /* ------------------------------------------------------
       SIDEBAR CONTENT
       ------------------------------------------------------ */

    .sidebar:not(.open) .sidebar-section,
    .sidebar:not(.open) .sidebar-bottom {
        display: none;
    }

    .sidebar.open .sidebar-section,
    .sidebar.open .sidebar-bottom {
        display: block;
    }

    .sidebar-section {
        padding: 13px 0;
    }

    .section-label {
        padding:
            0
            14px
            8px;

        font-size: 9px;
    }

    .nav-item {
        min-height: 43px;

        padding:
            10px
            14px
            10px
            18px;

        gap: 8px;

        font-size: 11px;
    }

    .nav-number {
        min-width: 16px;

        flex-basis: 16px;
    }


    /* ------------------------------------------------------
       MAIN
       ------------------------------------------------------ */

    .main {
        width: 100%;

        padding-top: 64px;
    }


    /* ------------------------------------------------------
       TOP MENU
       ------------------------------------------------------ */

    .topbar {
        top: 64px;

        min-height: 50px;

        height: 50px;

        padding: 0 10px;

        gap: 0;

        background: rgba(1, 13, 35, .94);

        z-index: 20;
    }

    .topnav {
        display: flex;

        width: 100%;

        min-width: 0;

        gap: 15px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        flex: 0 0 auto;

        font-size: 8px;

        padding:
            18px
            1px
            14px;
    }

    .top-actions {
        display: none;
    }


    /* ------------------------------------------------------
       DASHBOARD TOPBAR
       ------------------------------------------------------ */

    .dashboard-page .mobile-brand {
        display: block;

        color: var(--cyan);

        font-size: 8px;

        font-weight: 700;
    }

    .dashboard-page .top-context {
        display: none;
    }

    .dashboard-page .top-actions {
        display: flex;

        margin-left: auto;

        gap: 2px;
    }

    .dashboard-page .top-user {
        display: none;
    }

    .dashboard-page .icon-button {
        font-size: 16px;

        padding: 4px;
    }


    /* ------------------------------------------------------
       HERO
       ------------------------------------------------------ */

    .hero {
        padding:
            30px
            14px
            24px;

        min-height: auto;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size:
            clamp(
                30px,
                9.8vw,
                37px
            );

        line-height: 1.08;

        margin-top: 14px;
    }

    .hero-copy > p {
        font-size: 13px;

        line-height: 1.55;
    }

    .eyebrow {
        font-size: 8px;

        line-height: 1.5;
    }

    .accent-line {
        width: 58px;

        margin: 18px 0;
    }

    .hero-art {
        opacity: .08;
    }

    .art-symbol {
        font-size: 72px;
    }


    /* ------------------------------------------------------
       HERO BUTTONS
       ------------------------------------------------------ */

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;

        width: 100%;

        gap: 9px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .btn-large {
        min-width: 0;

        min-height: 48px;

        padding: 0 10px;

        font-size: 10px;

        gap: 8px;
    }


    /* ------------------------------------------------------
       PILLARS
       ------------------------------------------------------ */

    .ts-pillars {
        flex-direction: column;

        gap: 7px;

        margin-top: 16px;

        margin-bottom: 18px;
    }

    .ts-pillar {
        width: 100%;

        flex: 1 1 auto;

        padding: 11px 9px;

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;

        gap: 10px;

        border-radius: 10px;
    }

    .ts-pillar h5 {
        text-align: left;

        font-size: 10px;
    }

    .ts-pillar i {
        width: 40px;

        height: 40px;

        font-size: .9rem;
    }


    /* ------------------------------------------------------
       JOURNEY
       ------------------------------------------------------ */

    .journey-card {
        margin:
            0
            8px
            20px;

        padding:
            17px
            12px
            20px;

        border-radius: 10px;
    }

    .journey-heading h2 {
        font-size: 15px;
    }

    .journey-heading p {
        font-size: 11px;
    }

    .journey {
        overflow-x: auto;

        justify-content: flex-start;

        gap: 10px;
    }

    .journey-step {
        flex: 0 0 120px;

        max-width: 120px;
    }

    .journey-icon {
        width: 58px;

        height: 58px;
    }

    .journey-step h3 {
        font-size: 12px;
    }

    .journey-step p {
        font-size: 9px;
    }

    .journey-arrow {
        display: none;
    }


    /* ------------------------------------------------------
       LOGIN MODAL
       ------------------------------------------------------ */

    .modal-backdrop {
        padding: 8px;
    }

    .login-modal {
        width: 100%;

        max-height: calc(100dvh - 16px);

        padding: 24px 15px;

        border-radius: 10px;
    }

    .modal-close {
        right: 12px;

        top: 12px;
    }

    .login-modal h2 {
        font-size: 21px;
    }

    .role-grid {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .role-card {
        min-height: 88px;

        padding: 12px;

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;
    }

    .role-card small {
        text-align: left;
    }


    /* ------------------------------------------------------
       DASHBOARD
       ------------------------------------------------------ */

    .dashboard-content {
        padding: 20px 12px;
    }

    .page-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 9px;

        margin-bottom: 18px;
    }

    .page-heading h1 {
        font-size: 24px;
    }

    .metric-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .metric-card {
        min-height: 98px;

        padding: 14px;
    }

    .metric-card strong {
        font-size: 21px;
    }

    .panel {
        padding: 14px;

        border-radius: 8px;
    }

    .panel-heading {
        gap: 8px;
    }

    .panel-heading h2 {
        font-size: 15px;
    }

    .status-badge {
        font-size: 7px;

        padding: 4px 7px;
    }

    .radar-placeholder {
        height: 220px;
    }

    .radar-ring.r1 {
        width: 160px;

        height: 160px;
    }

    .radar-ring.r2 {
        width: 125px;

        height: 125px;
    }

    .radar-ring.r3 {
        width: 90px;

        height: 90px;
    }

    .radar-ring.r4 {
        width: 55px;

        height: 55px;
    }

    .radar-shape {
        width: 115px;

        height: 115px;
    }

    .radar-label {
        font-size: 6px;
    }

    .score-summary strong {
        font-size: 12px;
    }

    .priority-row {
        grid-template-columns:
            20px
            minmax(0, 1fr)
            34px
            42px;

        gap: 5px;

        padding: 10px 0;

        font-size: 9px;
    }

    .priority-row label {
        font-size: 6px;
    }

    .portal-journey {
        justify-content: flex-start;
    }

    .alert-list div {
        align-items: flex-start;

        gap: 8px;

        padding: 10px;
    }
}


/* ==========================================================
   35. BELOW 320PX SAFETY FALLBACK
   ========================================================== */

@media (max-width: 319px) {

    :root {
        --sidebar: 0px;
        --content-pad: 10px;
    }

    body {
        min-width: 280px;

        font-size: 11px;
    }

    .app-shell {
        display: block;
    }

    .sidebar {
        position: fixed;

        inset:
            0
            auto
            auto
            0;

        width: 100%;

        height: 60px;

        min-height: 60px;

        overflow: hidden;

        z-index: 1000;
    }

    .sidebar.open {
        width: 94vw;

        height: 100dvh;

        overflow-y: auto;
    }

    .sidebar .brand {
        height: 60px;

        min-height: 60px;

        padding: 5px 8px;

        justify-content: center;
    }

    .sidebar .brand .brand-link {
        margin-left: 0;
    }

    .ts-logo {
        height: 42px;

        margin-left: 0;
    }

    .sidebar-toggle {
        display: inline-flex;

        left: 6px;

        top: 50%;

        transform: translateY(-50%);
    }

    .sidebar:not(.open) .sidebar-section,
    .sidebar:not(.open) .sidebar-bottom {
        display: none;
    }

    .main {
        padding-top: 60px;
    }

    .topbar {
        top: 60px;

        min-height: 48px;

        height: 48px;

        padding: 0 8px;
    }

    .topnav {
        display: flex;

        gap: 12px;

        overflow-x: auto;
    }

    .topnav a {
        flex: 0 0 auto;

        font-size: 7px;

        padding:
            17px
            0
            13px;
    }

    .top-actions {
        display: none;
    }

    .hero {
        padding:
            26px
            10px
            20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .ts-pillars {
        flex-direction: column;
    }

    .ts-pillar {
        flex-direction: row;

        justify-content: flex-start;

        padding: 10px 8px;
    }

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .btn-large {
        min-width: 0;

        width: 100%;
    }

    .journey-card {
        margin:
            0
            6px
            16px;

        padding:
            14px
            10px
            18px;
    }

    .journey {
        overflow-x: auto;

        justify-content: flex-start;
    }

    .journey-step {
        flex: 0 0 112px;
    }

    .journey-arrow {
        display: none;
    }

    .metric-grid,
    .dashboard-grid.two-col {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   36. TOUCH DEVICE SAFETY
   ========================================================== */

@media (hover: none) and (pointer: coarse) {

    .btn:hover,
    .role-card:hover,
    .ts-pillar:hover {
        transform: none;
    }

    .nav-item,
    .btn,
    .role-card,
    .icon-button,
    .text-button {
        touch-action: manipulation;
    }
}


/* ==========================================================
   37. REDUCED MOTION ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}


/* =========================================================
   TENET CUSTOM SCROLLBAR
   ========================================================= */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #92d7f8 #010d23;
}


/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}


/* Scrollbar track */
*::-webkit-scrollbar-track {
    background: #010d23;
}


/* Draggable scrollbar */
*::-webkit-scrollbar-thumb {
    background: #92d7f8;
    border-radius: 20px;
    border: 2px solid #010d23;
}


/* Hover */
*::-webkit-scrollbar-thumb:hover {
    background: #5bc8f5;
}


/* Remove scrollbar arrow buttons */
*::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}


/* Scrollbar corner */
*::-webkit-scrollbar-corner {
    background: #010d23;
}
/* ==========================================================
   38. BENEFICIARY PORTAL — UX / ACCESSIBILITY BASELINE
   TEST 10A

   PURPOSE:
   Beneficiary-facing information must remain comfortably
   readable across desktop, tablet and mobile devices.

   IMPORTANT:
   This layer intentionally affects only .beneficiary-portal.
   ========================================================== */


/* ----------------------------------------------------------
   BASE READING SIZE
   ---------------------------------------------------------- */

.beneficiary-portal {
    font-size: 15px;
    line-height: 1.55;
}


/* ----------------------------------------------------------
   SIDEBAR NAVIGATION
   ---------------------------------------------------------- */

.beneficiary-portal .section-label {
    font-size: 11px;
}

.beneficiary-portal .nav-item {
    min-height: 44px;

    font-size: 13px;
    line-height: 1.4;
}

.beneficiary-portal .nav-number {
    font-size: 12px;
}


/* ----------------------------------------------------------
   USER / SESSION CONTROLS
   ---------------------------------------------------------- */

.beneficiary-portal .user-mini strong {
    font-size: 13px;
}

.beneficiary-portal .user-mini small,
.beneficiary-portal .logout-link {
    font-size: 11px;
}


/* ----------------------------------------------------------
   TOP PROGRAMME CONTEXT
   ---------------------------------------------------------- */

.beneficiary-portal .top-context {
    font-size: 12px;
}

.beneficiary-portal .top-user {
    font-size: 12px;
}


/* ----------------------------------------------------------
   PAGE HEADING
   ---------------------------------------------------------- */

.beneficiary-portal .module-page-heading .eyebrow {
    font-size: 11px;
}

.beneficiary-portal .module-page-heading h1 {
    font-size: clamp(28px, 3vw, 34px);
}

.beneficiary-portal .module-page-heading p {
    max-width: 820px;

    font-size: 14px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   COMMON DASHBOARD PANELS
   ---------------------------------------------------------- */

.beneficiary-portal .panel-heading h2 {
    font-size: 19px;
}

.beneficiary-portal .panel-heading a,
.beneficiary-portal .muted {
    font-size: 12px;
}


/* ----------------------------------------------------------
   STATUS BADGES
   ---------------------------------------------------------- */

.beneficiary-portal .status-badge {
    padding: 6px 10px;

    font-size: 11px;
    line-height: 1.2;
}


/* ----------------------------------------------------------
   METRICS
   ---------------------------------------------------------- */

.beneficiary-portal .metric-label {
    font-size: 13px;
}

.beneficiary-portal .metric-card small {
    font-size: 11px;
}


/* ----------------------------------------------------------
   ACTIVITY / ALERTS
   ---------------------------------------------------------- */

.beneficiary-portal .activity b {
    font-size: 13px;
}

.beneficiary-portal .activity span {
    font-size: 12px;
    line-height: 1.5;
}

.beneficiary-portal .alert-list span {
    font-size: 13px;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   TOUCH / ACTION TARGETS
   ---------------------------------------------------------- */

.beneficiary-portal .nav-item,
.beneficiary-portal .btn,
.beneficiary-portal .icon-button {
    min-height: 44px;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .beneficiary-portal {
        font-size: 15px;
    }

    .beneficiary-portal .nav-item {
        min-height: 46px;

        font-size: 14px;
    }

    .beneficiary-portal .section-label {
        font-size: 11px;
    }

    .beneficiary-portal .module-page-heading p {
        font-size: 14px;
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 600px) {

    .beneficiary-portal {
        font-size: 15px;
    }

    .beneficiary-portal .dashboard-content {
        padding:
            24px
            18px;
    }

    .beneficiary-portal .nav-item {
        min-height: 48px;

        font-size: 14px;
    }

    .beneficiary-portal .module-page-heading h1 {
        font-size: 27px;
    }

    .beneficiary-portal .module-page-heading p {
        font-size: 14px;
        line-height: 1.6;
    }

    .beneficiary-portal .panel-heading h2 {
        font-size: 18px;
    }

    .beneficiary-portal .status-badge {
        font-size: 11px;
    }

}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 400px) {

    .beneficiary-portal {
        font-size: 15px;
    }

    .beneficiary-portal .dashboard-content {
        padding:
            20px
            14px;
    }

    .beneficiary-portal .nav-item {
        font-size: 14px;
    }

    .beneficiary-portal .module-page-heading h1 {
        font-size: 25px;
    }

}