* {
    box-sizing: border-box;
}

body.td-page {
    margin: 0;
    background:
        radial-gradient(
            circle at 88% 0%,
            rgba(126, 31, 17, .17),
            transparent 34rem
        ),
        #101214;
    color: #f4f5f7;
}

.td-shell {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 80px;
}

.td-header,
.td-brand,
.td-header-meta,
.td-back-row,
.td-tags,
.td-section-head,
.td-rup-footer,
.td-schedule-row {
    display: flex;
    align-items: center;
}

.td-header {
    min-height: 92px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-brand {
    gap: 16px;
}

.td-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.td-brand span,
.td-header-meta {
    color: #8491a3;
    font-size: 12px;
    letter-spacing: .12em;
}

.td-brand strong {
    display: block;
    margin-top: 5px;
    font-size: 17px;
}

.td-header-meta {
    gap: 24px;
}

.td-data-badge {
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: #e8ebef;
    font-weight: 700;
}

.td-data-badge i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: #4de18b;
    box-shadow: 0 0 12px rgba(77,225,139,.7);
}

.td-nav {
    height: 64px;
    display: flex;
    align-items: stretch;
    gap: 34px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-nav a {
    display: flex;
    align-items: center;
    position: relative;
    color: #8996a8;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.td-nav a.active {
    color: #fff;
}

.td-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ff8a00;
}

.td-back-row {
    min-height: 70px;
    justify-content: space-between;
}

.td-back-row > a {
    color: #9aa7b7;
    text-decoration: none;
    font-size: 12px;
}

.td-back-row > div {
    display: flex;
    gap: 10px;
}

.td-back-row > div span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: #8794a6;
    font-size: 10px;
}

.td-hero {
    min-height: 350px;
    padding: 54px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 60px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 28px;
    background:
        linear-gradient(
            115deg,
            rgba(100,25,13,.58),
            rgba(27,28,30,.94) 50%,
            rgba(91,61,19,.25)
        );
}

.td-eyebrow,
.td-section-head span {
    color: #ff9c18;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.td-code {
    margin-top: 20px;
    color: #f3a12e;
    font-size: 13px;
    font-weight: 800;
}

.td-hero h1 {
    max-width: 980px;
    margin: 10px 0 13px;
    font-size: clamp(38px, 4.7vw, 68px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.td-satker {
    color: #aeb6c1;
    font-size: 14px;
}

.td-tags {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.td-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    color: #aab3bf;
    font-size: 10px;
}

.td-tags .td-status-done {
    color: #79e2a5;
    border-color: rgba(80,200,130,.25);
    background: rgba(41,131,81,.11);
}

.td-tags .td-status-failed {
    color: #ff927f;
    border-color: rgba(255,100,80,.25);
    background: rgba(160,49,35,.12);
}

.td-hero-values {
    padding: 29px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background: rgba(11,13,15,.47);
}

.td-hero-values > div + div {
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.td-hero-values span,
.td-hero-values small {
    display: block;
    color: #8794a6;
}

.td-hero-values strong {
    display: block;
    margin-top: 8px;
    font-size: 30px;
    letter-spacing: -.03em;
}

.td-hero-values small {
    margin-top: 23px;
}

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

.td-kpis article,
.td-panel {
    border: 1px solid rgba(255,255,255,.08);
    background: #171a1d;
}

.td-kpis article {
    padding: 24px;
    border-radius: 18px;
}

.td-kpis span,
.td-kpis small {
    display: block;
    color: #8190a3;
}

.td-kpis strong {
    display: block;
    margin: 8px 0;
    font-size: 29px;
}

.td-grid {
    display: grid;
    gap: 14px;
}

.td-grid-top {
    grid-template-columns: 1.65fr .85fr;
    margin-top: 14px;
}

.td-process-grid {
    grid-template-columns: 1.6fr .7fr;
    margin-top: 14px;
}

.td-panel {
    margin-top: 14px;
    padding: 30px;
    border-radius: 22px;
}

.td-grid .td-panel {
    margin-top: 0;
}

.td-section-head {
    gap: 14px;
    margin-bottom: 27px;
}

.td-section-head > b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,137,0,.24);
    border-radius: 10px;
    background: rgba(124,47,16,.16);
    color: #ff9b19;
    font-size: 10px;
}

.td-section-head h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.td-section-wide small {
    margin-left: auto;
    color: #7e8b9c;
}

.td-facts {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    overflow: hidden;
}

.td-facts > div {
    min-height: 88px;
    padding: 18px;
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-facts > div:nth-child(3n) {
    border-right: 0;
}

.td-facts span,
.td-text-blocks span,
.td-value-grid span,
.td-method-stack span {
    display: block;
    color: #748398;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.td-facts strong {
    display: block;
    margin-top: 8px;
    line-height: 1.4;
}

.td-text-blocks {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.td-text-blocks > div {
    padding: 18px;
    border-left: 1px solid #9b6419;
    background: rgba(255,255,255,.015);
}

.td-text-blocks p {
    margin: 8px 0 0;
    color: #c3cad3;
    line-height: 1.65;
}

.td-milestones > div {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 55px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-milestones i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f39a18;
    box-shadow: 0 0 9px rgba(243,154,24,.35);
}

.td-milestones span {
    color: #8290a2;
    font-size: 11px;
}

.td-milestones strong {
    font-size: 12px;
}

.td-rup-list {
    display: grid;
    gap: 11px;
}

.td-rup-list article {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.015);
}

.td-rup-code {
    color: #f3a13a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.td-rup-list h3 {
    margin: 8px 0;
    font-size: 19px;
}

.td-rup-list p {
    color: #8592a3;
    font-size: 12px;
}

.td-rup-footer {
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.td-rup-footer a {
    color: #f3a13a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.td-rup-footer > span {
    color: #778598;
    font-size: 11px;
}

.td-schedule-list {
    display: grid;
}

.td-schedule-row {
    min-height: 68px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-step {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255,139,0,.09);
    color: #f0a23a;
    font-size: 10px;
    font-weight: 800;
}

.td-schedule-name {
    min-width: 0;
    flex: 1;
}

.td-schedule-name strong,
.td-schedule-name span {
    display: block;
}

.td-schedule-name strong {
    font-size: 13px;
}

.td-schedule-name span {
    margin-top: 4px;
    color: #718096;
    font-size: 10px;
}

.td-schedule-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aeb7c3;
    font-size: 10px;
    text-align: right;
}

.td-schedule-date i {
    color: #596575;
    font-style: normal;
}

.td-competition {
    padding: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(112,40,17,.18),
            rgba(255,255,255,.015)
        );
}

.td-big-number {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
}

.td-competition > strong {
    display: block;
    margin-top: 8px;
}

.td-competition p {
    margin-bottom: 0;
    color: #8592a3;
    font-size: 12px;
    line-height: 1.65;
}

.td-method-stack {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.td-method-stack > div {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
}

.td-method-stack strong {
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}

.td-value-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
}

.td-value-grid > div {
    min-height: 105px;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-value-grid > div:nth-child(3n) {
    border-right: 0;
}

.td-value-grid strong {
    display: block;
    margin-top: 10px;
    font-size: 21px;
}

.td-note {
    margin: 18px 0 0;
    color: #778598;
    font-size: 11px;
    line-height: 1.6;
}

.td-contract-empty,
.td-empty {
    padding: 28px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 15px;
    color: #8290a2;
}

.td-contract-empty strong {
    color: #e7ebef;
}

.td-contract-empty p {
    max-width: 850px;
    margin-bottom: 0;
    line-height: 1.65;
}

.td-error-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.td-error {
    max-width: 650px;
    padding: 45px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background: #171a1d;
}

.td-error > span {
    color: #f3a13a;
    font-size: 11px;
    font-weight: 800;
}

.td-error h1 {
    font-size: 38px;
}

.td-error p {
    color: #8996a8;
}

.td-error a {
    display: inline-block;
    margin-top: 20px;
    color: #f3a13a;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .td-hero,
    .td-grid-top,
    .td-process-grid {
        grid-template-columns: 1fr;
    }

    .td-kpis {
        grid-template-columns: repeat(2,1fr);
    }
}

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

    .td-header {
        align-items: flex-start;
        padding: 18px 0;
        gap: 18px;
        flex-direction: column;
    }

    .td-header-meta {
        width: 100%;
        justify-content: space-between;
    }

    .td-back-row {
        align-items: flex-start;
        padding: 18px 0;
        gap: 14px;
        flex-direction: column;
    }

    .td-hero {
        min-height: auto;
        padding: 32px 24px;
        gap: 28px;
    }

    .td-kpis,
    .td-facts,
    .td-value-grid {
        grid-template-columns: 1fr;
    }

    .td-facts > div,
    .td-value-grid > div {
        border-right: 0;
    }

    .td-panel {
        padding: 22px;
    }

    .td-schedule-row {
        align-items: flex-start;
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .td-schedule-date {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

    .td-rup-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   GLOBAL HEADER VISUAL PARITY v1.0
   Tender Detail
   Master visual: Dashboard / Ringkasan
   ========================================================= */

.td-header .td-brand {
    gap: 14px;
}

.td-header .td-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.td-header .td-brand > div > span {
    display: block;
    color: #a8adb5;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .145em;
    text-transform: uppercase;
}

.td-header .td-brand > div > strong {
    display: block;
    margin-top: 4px;
    color: #f5f6f7;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .015em;
}

.td-header .td-brand .brand-platform {
    display: block;
    margin-top: 4px;
    color: #ff9900;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.td-header .command-context {
    min-width: 205px;
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 5px;
    text-align: right;
}

.td-header .command-context-data {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: #a8adb5;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.td-header .command-context-data .live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48d58b;
    box-shadow: 0 0 9px rgba(72,213,139,.45);
}

.td-header .command-context-title {
    display: block;
    margin: 0;
    color: #f5f6f7;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .045em;
}

.td-header .command-context-clock {
    display: block;
    margin: 0;
    color: #7f8794;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .td-header .command-context-title {
        display: none;
    }
}


/* =========================================================
   GLOBAL SHELL PARITY v1.0
   Master: Ringkasan / RUP
   ========================================================= */

.td-header {
    min-height: 100px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-nav {
    height: auto;
    min-height: 58px;

    display: flex;
    align-items: center;

    gap: 4px;

    margin-top: 1px;

    overflow-x: auto;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.td-nav a {
    display: block;
    position: relative;

    padding: 19px 13px 17px;

    color: #858e9a;

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

    white-space: nowrap;

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

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

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

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

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #991900,
            #ff9900
        );
}

.td-shell,
.td-header,
.td-nav {
    background: transparent;
}


@media (max-width: 1100px) {
    .td-nav a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* =========================================================
   GLOBAL BACKGROUND PARITY v1.0
   Master: Dashboard / Ringkasan / RUP
   ========================================================= */

body.tender-page,
body.td-page,
body.ntd-page {
    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%
        ),
        #090b0e;
}

