:root {
    --bg: #090b0e;
    --surface: #111419;
    --surface-2: #171b21;
    --line: rgba(255,255,255,.08);

    --text: #f5f7fa;
    --muted: #8d96a3;

    --red: #991900;
    --red-bright: #c62b13;
    --orange: #ff9900;
    --gold: #e6b54a;

    --radius: 22px;
    --shadow: 0 24px 70px rgba(0,0,0,.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 75% 0%,
            rgba(153,25,0,.17),
            transparent 35%
        ),
        radial-gradient(
            circle at 0% 35%,
            rgba(255,153,0,.04),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .17;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.app-shell {
    width: min(1600px, calc(100% - 44px));
    margin: auto;
}

.topbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;

    border: 1px solid rgba(255,153,0,.35);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(153,25,0,.9),
            rgba(80,12,0,.85)
        );

    color: #fff;
    font-weight: 900;
    letter-spacing: -.06em;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 10px 30px rgba(153,25,0,.18);
}

.brand-kicker {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.brand-title {
    margin-top: 2px;
    font-size: 15px;
    font-weight: 700;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;

    color: #d7dbe1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;

    border-radius: 50%;
    background: #54d98c;
    box-shadow: 0 0 13px rgba(84,217,140,.8);
}

.top-time {
    color: var(--muted);
    font-size: 12px;
}

.hero {
    min-height: 370px;
    padding: 60px 5%;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 28px;

    border: 1px solid var(--line);
    border-radius: 30px;

    background:
        linear-gradient(
            110deg,
            rgba(153,25,0,.30),
            transparent 47%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -120px;
    bottom: -280px;

    border-radius: 50%;
    background: rgba(255,153,0,.08);
    filter: blur(20px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow,
.panel-kicker {
    color: var(--orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.hero h1 {
    margin: 14px 0 14px;
    max-width: 700px;

    font-size: clamp(42px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 span {
    color: #c8cdd4;
}

.hero p {
    max-width: 650px;
    margin: 0;

    color: #aeb5bf;
    font-size: 16px;
}

.hero-meta {
    display: flex;
    gap: 42px;
    margin-top: 38px;
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-size: 20px;
}

.hero-meta span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.hero-orbit {
    width: 280px;
    height: 280px;
    position: relative;
    flex: 0 0 280px;
    margin-right: 5%;
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.orbit-one {
    animation: rotate 20s linear infinite;
}

.orbit-one::after {
    content: "";
    position: absolute;
    top: 31px;
    right: 28px;

    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 22px rgba(255,153,0,.8);
}

.orbit-two {
    inset: 35px;
    border-style: dashed;
    opacity: .6;
    animation: rotateReverse 28s linear infinite;
}

.orbit-core {
    position: absolute;
    inset: 76px;

    display: grid;
    place-items: center;
    align-content: center;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(255,153,0,.18),
            transparent 40%
        ),
        #111419;

    box-shadow:
        0 0 60px rgba(153,25,0,.2),
        inset 0 0 40px rgba(255,255,255,.025);
}

.orbit-core span {
    font-size: 31px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.orbit-core small {
    color: var(--muted);
    text-align: center;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.kpi-card,
.panel {
    border: 1px solid var(--line);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.038),
            rgba(255,255,255,.012)
        ),
        var(--surface);

    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.kpi-card {
    min-height: 180px;
    position: relative;
    overflow: hidden;
    padding: 24px;

    border-radius: var(--radius);
}

.kpi-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(153,25,0,.70),
            rgba(65,12,4,.8)
        );
}

.kpi-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    background: rgba(255,255,255,.045);
    color: #f1c15c;

    font-size: 10px;
    font-weight: 900;
}

.kpi-label {
    color: #a8afb8;
    font-size: 12px;
}

.kpi-value {
    margin-top: 2px;
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 850;
    letter-spacing: -.045em;
}

.kpi-note {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin: 16px 0 40px;
}

.panel {
    padding: 26px;
    border-radius: var(--radius);
}

.rup-panel {
    grid-column: span 7;
}

.policy-panel {
    grid-column: span 5;
}

.lifecycle-panel {
    grid-column: span 12;
}

.contract-panel {
    grid-column: span 5;
}

.satker-panel {
    grid-column: span 7;
}

.revision-panel {
    grid-column: span 12;
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.panel-head h2 {
    margin: 4px 0 0;
    font-size: 20px;
    letter-spacing: -.025em;
}

.panel-total {
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.panel-total small {
    display: block;
    color: var(--muted);
    text-align: right;
    font-size: 10px;
    font-weight: 500;
}

.panel-total.money {
    color: #f2c363;
    font-size: 22px;
}

.composition {
    display: grid;
    gap: 26px;
    margin-top: 34px;
}

.composition-title,
.composition-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.composition-title {
    font-size: 13px;
}

.composition-title strong {
    font-size: 18px;
}

.progress,
.rank-bar {
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

.progress {
    height: 8px;
    margin: 10px 0;
    border-radius: 999px;
}

.progress span,
.rank-bar span {
    height: 100%;
    display: block;
    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--red-bright),
            var(--orange)
        );
}

.progress.secondary span {
    background:
        linear-gradient(
            90deg,
            #a7782a,
            #e6b54a
        );
}

.composition-foot {
    color: var(--muted);
    font-size: 11px;
}

.composition-foot strong {
    color: #d8dde3;
    font-weight: 700;
}

.policy-circles {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 26px;
}

.ring {
    --value: 0;

    width: 138px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--orange)
            calc(var(--value) * 1%),
            rgba(255,255,255,.06) 0
        );
}

.ring.alt {
    background:
        conic-gradient(
            #e0b357
            calc(var(--value) * 1%),
            rgba(255,255,255,.06) 0
        );
}

.ring-inner {
    width: 112px;
    aspect-ratio: 1;

    display: grid;
    place-items: center;
    align-content: center;

    border-radius: 50%;
    background: var(--surface);
}

.ring-inner strong {
    font-size: 24px;
}

.ring-inner span {
    color: var(--muted);
    font-size: 10px;
}

.policy-caption,
.contract-note,
.flow-disclaimer {
    color: var(--muted);
    font-size: 10px;
}

.policy-caption {
    max-width: 360px;
    margin: 22px auto 0;
    text-align: center;
}

.flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 38px;
}

.flow-item {
    min-width: 110px;
    text-align: center;
}

.flow-dot {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;

    margin: 0 auto 10px;

    border: 1px solid rgba(255,153,0,.25);
    border-radius: 50%;

    color: var(--orange);
    font-size: 9px;
    font-weight: 900;
}

.flow-item strong {
    display: block;
    font-size: 25px;
}

.flow-item span {
    color: var(--muted);
    font-size: 10px;
}

.flow-line {
    height: 1px;
    flex: 1;
    margin: 0 12px;

    background:
        linear-gradient(
            90deg,
            rgba(255,153,0,.35),
            rgba(255,255,255,.05)
        );
}

.flow-disclaimer {
    margin-top: 25px;
    text-align: center;
}

.mini-kpis {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.mini-kpis div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.mini-kpis span {
    color: var(--muted);
    font-size: 11px;
}

.mini-kpis strong {
    font-size: 15px;
}

.contract-note {
    margin-top: 20px;
}

.head-note {
    color: var(--muted);
    font-size: 10px;
}

.ranking {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.rank-row {
    display: flex;
    gap: 13px;
}

.rank-number {
    width: 26px;
    flex: 0 0 26px;

    padding-top: 1px;

    color: #777f89;
    font-size: 11px;
    font-weight: 800;
}

.rank-main {
    flex: 1;
    min-width: 0;
}

.rank-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 11px;
}

.rank-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-title strong {
    flex: 0 0 auto;
    color: #d8dde3;
}

.rank-bar {
    height: 4px;
    margin-top: 7px;
    border-radius: 999px;
}

.rank-meta {
    margin-top: 4px;
    color: #707883;
    font-size: 9px;
}

.revision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.revision-stats div {
    padding: 20px;

    border: 1px solid var(--line);
    border-radius: 15px;

    background: rgba(255,255,255,.018);
}

.revision-stats strong {
    display: block;
    font-size: 26px;
}

.revision-stats span {
    color: var(--muted);
    font-size: 10px;
}

.revision-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.revision-types div {
    display: flex;
    justify-content: space-between;

    padding: 12px 14px;

    border-radius: 10px;
    background: rgba(255,255,255,.025);

    color: var(--muted);
    font-size: 10px;
}

.revision-types strong {
    color: #fff;
}

.footer {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--line);
    color: var(--muted);

    font-size: 11px;
}

.footer > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer strong {
    color: #dce0e5;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 1050px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rup-panel,
    .policy-panel,
    .contract-panel,
    .satker-panel {
        grid-column: span 12;
    }

    .hero-orbit {
        opacity: .45;
        position: absolute;
        right: -70px;
    }

    .hero-copy {
        max-width: 75%;
    }
}

@media (max-width: 700px) {
    .app-shell {
        width: min(100% - 24px, 1600px);
    }

    .topbar {
        min-height: 72px;
    }

    .brand-kicker {
        display: none;
    }

    .brand-title {
        max-width: 200px;
        font-size: 12px;
    }

    .top-time {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 42px 25px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-orbit {
        display: none;
    }

    .hero-meta {
        gap: 18px;
        flex-wrap: wrap;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        display: block;
    }

    .panel {
        margin-top: 16px;
    }

    .flow {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .flow-line {
        display: none;
    }

    .policy-circles {
        gap: 14px;
    }

    .ring {
        width: 125px;
    }

    .ring-inner {
        width: 101px;
    }

    .revision-types {
        grid-template-columns: 1fr 1fr;
    }

    .footer {
        gap: 20px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

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


/* =========================================================
   PROCUREMENT COMMAND CENTER
   v0.2 — Demo Polish
   ========================================================= */

.topbar {
    position: relative;
    z-index: 20;
}

.brand-mark {
    position: relative;
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.12),
            transparent 42%
        );

    pointer-events: none;
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 6px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--orange),
            transparent
        );

    opacity: .75;
}

.hero {
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 34px,
            rgba(255,255,255,.012) 35px,
            transparent 36px
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent 15%,
            #000 75%
        );

    pointer-events: none;
}

.hero-copy::before {
    content: "";
    display: block;

    width: 42px;
    height: 3px;
    margin-bottom: 20px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--orange),
            var(--red-bright)
        );

    box-shadow:
        0 0 18px rgba(255,153,0,.22);
}

.kpi-card {
    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,153,0,.20);
}

.kpi-card.featured:hover {
    border-color: rgba(255,153,0,.34);
}

.panel {
    position: relative;
    overflow: hidden;
}

.panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;

    width: 38px;
    height: 1px;

    background: var(--orange);
    opacity: .65;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.panel-kicker::before {
    content: "";
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: var(--orange);

    box-shadow:
        0 0 10px rgba(255,153,0,.5);
}

.kpi-value,
.panel-total,
.hero-meta strong,
.flow-item strong,
.revision-stats strong {
    font-variant-numeric: tabular-nums;
}

.command-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    margin-top: 1px;

    border-bottom: 1px solid var(--line);
}

.command-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.command-nav a {
    position: relative;

    padding: 19px 13px 17px;

    color: #858e9a;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;

    transition:
        color .18s ease,
        background .18s ease;
}

.command-nav a:hover,
.command-nav a.active {
    color: #fff;
}

.command-nav a.active::after {
    content: "";
    position: absolute;

    left: 13px;
    right: 13px;
    bottom: -1px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--red-bright),
            var(--orange)
        );
}

.command-nav-tools {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    border: 1px solid var(--line);
    border-radius: 999px;

    color: #8d96a3;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
}

.nav-chip-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--orange);

    box-shadow:
        0 0 9px rgba(255,153,0,.5);
}

.demo-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 23px;

    padding: 8px 11px;

    border:
        1px solid rgba(255,153,0,.16);

    border-radius: 999px;

    background:
        rgba(255,153,0,.035);

    color: #b9c0c8;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.demo-ribbon strong {
    color: #efbd59;
}

.hero-meta div {
    position: relative;
}

.hero-meta div:not(:last-child)::after {
    content: "";
    position: absolute;

    top: 3px;
    right: -21px;

    width: 1px;
    height: 35px;

    background: var(--line);
}

.footer {
    position: relative;
}

.footer::before {
    content: "INHIL PROCUREMENT INTELLIGENCE";
    position: absolute;

    right: 0;
    top: -24px;

    color: rgba(255,255,255,.025);

    font-size: clamp(24px, 4vw, 55px);
    font-weight: 900;
    letter-spacing: -.05em;

    pointer-events: none;
}

@media (max-width: 900px) {
    .command-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .command-nav::-webkit-scrollbar {
        display: none;
    }

    .command-nav-links {
        min-width: max-content;
    }

    .command-nav-tools {
        display: none;
    }
}

@media (max-width: 700px) {
    .command-nav {
        margin-left: -12px;
        margin-right: -12px;

        padding-left: 12px;
    }

    .command-nav a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-meta div:not(:last-child)::after {
        display: none;
    }
}

/* v0.2.1 — Official UKPBJ identity */

.brand-mark.brand-logo {
    width: 52px;
    height: 52px;
    padding: 5px;

    border-color: rgba(255,255,255,.10);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.07),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 10px 35px rgba(240,20,40,.12);
}

.brand-mark.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-mark.brand-logo::before,
.brand-mark.brand-logo::after {
    display: none;
}

@media (max-width: 700px) {
    .brand-mark.brand-logo {
        width: 44px;
        height: 44px;
        padding: 4px;
    }
}


/* =========================================================
   Command Center Identity v0.3
   Global institutional header polish
   ========================================================= */

.topbar {
    min-height: 100px;
}

/*
 * Official logo treatment.
 * Keep original artwork intact.
 */
.brand-mark.brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    padding: 5px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(255,255,255,.10),
            rgba(255,255,255,.025) 48%,
            rgba(0,0,0,.14) 100%
        );

    box-shadow:
        0 0 0 4px rgba(255,255,255,.025),
        0 10px 30px rgba(0,0,0,.22),
        0 8px 28px rgba(153,25,0,.16);
}

.brand-mark.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}


/*
 * Institutional hierarchy
 */
.brand {
    gap: 16px;
}

.brand-copy,
.brand > div:not(.brand-mark) {
    min-width: 0;
}

/*
 * Existing first line:
 * PEMERINTAH KABUPATEN INDRAGIRI HILIR
 */
.brand-kicker,
.brand-copy > span:first-child {
    display: block;

    color: #a8adb5;

    font-size: 10px;
    line-height: 1.35;
    font-weight: 800;

    letter-spacing: .145em;
    text-transform: uppercase;
}


/*
 * Existing second line becomes institutional unit.
 */
.brand-title,
.brand-copy > strong {
    display: block;

    margin-top: 4px;

    color: #f5f6f7;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;

    letter-spacing: .015em;
}


/*
 * Platform identity inserted inside second line.
 */
.brand-platform {
    display: block;

    margin-top: 4px;

    color: #ff9900;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;

    letter-spacing: .18em;
    text-transform: uppercase;
}


/*
 * Brand links must never inherit old purple/visited colors.
 */
a.brand,
a.brand:link,
a.brand:visited,
a.brand:hover,
a.brand:active {
    color: inherit;
    text-decoration: none;
}

a.brand .brand-kicker,
a.brand:visited .brand-kicker,
a.brand .brand-title,
a.brand:visited .brand-title,
a.brand .brand-platform,
a.brand:visited .brand-platform {
    text-decoration: none;
}


/*
 * Right-side context.
 */
.topbar-actions {
    flex-shrink: 0;
}


/* Tablet */
@media (max-width: 900px) {
    .topbar {
        min-height: 92px;
    }

    .brand-mark.brand-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        padding: 4px;
    }

    .brand-title,
    .brand-copy > strong {
        font-size: 13px;
    }

    .brand-kicker,
    .brand-copy > span:first-child {
        font-size: 9px;
    }
}


/* Mobile */
@media (max-width: 700px) {
    .topbar {
        min-height: 82px;
    }

    .brand {
        gap: 11px;
    }

    .brand-mark.brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        padding: 4px;
    }

    .brand-kicker,
    .brand-copy > span:first-child {
        max-width: 260px;

        font-size: 8px;
        letter-spacing: .10em;
    }

    .brand-title,
    .brand-copy > strong {
        max-width: 270px;

        font-size: 11px;
        line-height: 1.25;
    }

    .brand-platform {
        font-size: 7px;
        letter-spacing: .14em;
    }
}


/* =========================================================
   Command Center Global Context v1.0
   ========================================================= */

.command-context {
    flex: 0 0 auto;

    display: grid;
    justify-items: end;
    align-content: center;

    min-width: 205px;

    text-align: right;
}

.command-context-data {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #d9dde3;

    font-size: 10px;
    line-height: 1;
    font-weight: 900;

    letter-spacing: .13em;
}

.command-context-data .live-dot {
    width: 6px;
    height: 6px;
}

.command-context-title {
    display: block;

    margin-top: 7px;

    color: #f5f6f7;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: .08em;
}

.command-context-clock {
    display: block;

    margin-top: 5px;

    color: #858b94;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: .035em;

    font-variant-numeric: tabular-nums;
}


/*
 * Kaji Ulang old context no longer participates
 * after the markup cutover.
 */
.ku-top-meta {
    display: none;
}


@media (max-width: 900px) {
    .command-context {
        min-width: 180px;
    }

    .command-context-title {
        font-size: 10px;
    }

    .command-context-clock {
        font-size: 9px;
    }
}


@media (max-width: 700px) {
    .command-context {
        min-width: auto;
    }

    .command-context-title {
        display: none;
    }

    .command-context-clock {
        margin-top: 4px;
        font-size: 8px;
    }

    .command-context-data {
        font-size: 8px;
    }
}
