:root {
    --stp-bg: #050d18;
    --stp-bg-2: #071322;

    --stp-panel: #0b1727;
    --stp-panel-2: #0e1d2f;
    --stp-panel-soft: #101f31;

    --stp-line: rgba(156, 181, 210, .15);
    --stp-line-soft: rgba(156, 181, 210, .08);

    --stp-text: #f7f9fc;
    --stp-text-soft: #ced8e5;
    --stp-muted: #8da0b6;

    --stp-gold: #e0ad34;
    --stp-gold-light: #f3c65a;
    --stp-gold-soft: rgba(224, 173, 52, .09);

    --stp-green: #49c98d;
    --stp-red: #ef6c73;
    --stp-blue: #65a6e8;

    --stp-radius-sm: 9px;
    --stp-radius: 14px;
    --stp-radius-lg: 18px;

    --stp-shadow:
        0 22px 65px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--stp-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--stp-text);
    background:
        radial-gradient(
            circle at 86% 4%,
            rgba(55, 110, 170, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 65%,
            rgba(224, 173, 52, .035),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #06101d,
            var(--stp-bg)
        );
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ============================================================
   BRAND HEADER
   ============================================================ */

.stp-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 34px;
    border-bottom: 1px solid var(--stp-line);
    background: rgba(5, 13, 24, .96);
}

.stp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.stp-brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}

.stp-brand-name {
    color: #fff;
    font-size: 17px;
    font-weight: 850;
    letter-spacing: .105em;
}

.stp-brand-section {
    margin-top: 4px;
    color: var(--stp-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.stp-header-note {
    color: var(--stp-muted);
    font-size: 10px;
    font-weight: 650;
}

/* ============================================================
   PAGE
   ============================================================ */

.stp-page {
    width: min(1480px, calc(100% - 52px));
    margin: 0 auto;
    padding: 38px 0 48px;
}

.stp-page-narrow {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 56px;
}

.stp-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.stp-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: var(--stp-gold-light);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.stp-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    flex: 0 0 24px;
    border-radius: 999px;
    background: var(--stp-gold);
}

.stp-title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 2.8vw, 38px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.03em;
}

.stp-lead {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--stp-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ============================================================
   PANELS / CARDS
   ============================================================ */

.stp-panel {
    overflow: hidden;
    border: 1px solid var(--stp-line);
    border-radius: var(--stp-radius);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .02),
            transparent 55%
        ),
        var(--stp-panel);
    box-shadow: var(--stp-shadow);
}

.stp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--stp-line);
    background: rgba(14, 29, 47, .75);
}

.stp-panel-title {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.stp-panel-subtitle {
    margin-top: 4px;
    color: var(--stp-muted);
    font-size: 9px;
}

.stp-panel-body {
    padding: 20px;
}

.stp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stp-card {
    min-height: 135px;
    padding: 19px;
    border: 1px solid var(--stp-line);
    border-radius: var(--stp-radius);
    background: var(--stp-panel);
}

.stp-card-label {
    color: #aebdcd;
    font-size: 9px;
    font-weight: 750;
}

.stp-card-value {
    margin-top: 11px;
    color: #fff;
    font-size: 25px;
    font-weight: 850;
}

.stp-card-note {
    margin-top: 8px;
    color: var(--stp-muted);
    font-size: 9px;
    line-height: 1.5;
}

/* ============================================================
   STATUS
   ============================================================ */

.stp-badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--stp-line);
    border-radius: 999px;
    color: var(--stp-text-soft);
    background: rgba(255,255,255,.018);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.stp-badge.gold {
    border-color: rgba(224, 173, 52, .35);
    color: var(--stp-gold-light);
    background: var(--stp-gold-soft);
}

.stp-badge.green {
    border-color: rgba(73, 201, 141, .30);
    color: var(--stp-green);
}

.stp-badge.red {
    border-color: rgba(239, 108, 115, .30);
    color: var(--stp-red);
}

/* ============================================================
   FORMS
   ============================================================ */

.stp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.stp-field {
    min-width: 0;
}

.stp-field.full {
    grid-column: 1 / -1;
}

.stp-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--stp-text-soft);
    font-size: 10px;
    font-weight: 750;
}

.stp-field input,
.stp-field select,
.stp-field textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid rgba(156,181,210,.22);
    border-radius: var(--stp-radius-sm);
    outline: none;
    color: var(--stp-text);
    background: #07121e;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.stp-field textarea {
    min-height: 110px;
    resize: vertical;
}

.stp-field input:focus,
.stp-field select:focus,
.stp-field textarea:focus {
    border-color: rgba(224,173,52,.60);
    box-shadow:
        0 0 0 3px rgba(224,173,52,.07);
}

.errorlist {
    margin: 5px 0 8px;
    padding-left: 18px;
    color: #ff9da5;
    font-size: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.stp-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stp-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: var(--stp-radius-sm);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition:
        filter .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.stp-button:hover {
    filter: brightness(1.06);
}

.stp-button-primary {
    border: 1px solid #a88122;
    color: #111824;
    background:
        linear-gradient(
            180deg,
            #e7ba49,
            #cf9c27
        );
}

.stp-button-secondary {
    border: 1px solid rgba(156,181,210,.20);
    color: #d9e3ed;
    background: #0a1624;
}

/* ============================================================
   EMPTY / INFORMATION STATES
   ============================================================ */

.stp-empty {
    padding: 38px 24px;
    text-align: center;
}

.stp-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border: 1px solid rgba(224,173,52,.30);
    border-radius: 50%;
    color: var(--stp-gold-light);
    background: rgba(224,173,52,.045);
}

.stp-empty-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.stp-empty-copy {
    max-width: 500px;
    margin: 8px auto 0;
    color: var(--stp-muted);
    font-size: 10px;
    line-height: 1.6;
}

.stp-notice {
    padding: 15px 17px;
    border: 1px solid var(--stp-line);
    border-radius: 10px;
    background: rgba(7, 18, 30, .65);
    color: var(--stp-muted);
    font-size: 10px;
    line-height: 1.65;
}

.stp-notice.gold {
    border-color: rgba(224,173,52,.25);
    background: rgba(224,173,52,.045);
}

/* ============================================================
   FOOTER
   ============================================================ */

.stp-footer {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--stp-line-soft);
}

.stp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.stp-footer-copy {
    color: #6f8298;
    font-size: 9px;
    line-height: 1.5;
}

.stp-footer-copy strong {
    color: #d6e0eb;
}

.stp-footer-badge {
    padding: 7px 11px;
    border: 1px solid rgba(224,173,52,.25);
    border-radius: 999px;
    color: var(--stp-gold-light);
    font-size: 8px;
    font-weight: 800;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

@media (max-width: 720px) {
    .stp-header {
        min-height: 74px;
        padding: 0 20px;
    }

    .stp-header-note {
        display: none;
    }

    .stp-page,
    .stp-page-narrow {
        width: min(100% - 28px, 100%);
        padding-top: 28px;
    }

    .stp-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .stp-form-grid {
        grid-template-columns: 1fr;
    }

    .stp-field.full {
        grid-column: auto;
    }

    .stp-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .stp-grid {
        grid-template-columns: 1fr;
    }

    .stp-brand-name {
        font-size: 14px;
    }

    .stp-button {
        width: 100%;
    }
}

/* ==========================================================
   .13 Workspace login password controls
   ========================================================== */

.stp-password-wrap {
    position: relative;
}

.stp-password-wrap input {
    padding-right: 52px;
}

.stp-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    transform: translateY(-50%);
    background: transparent;
    color: var(--stp-muted);
    cursor: pointer;
}

.stp-password-toggle:hover,
.stp-password-toggle:focus-visible {
    border-color: rgba(224,173,52,.28);
    background: rgba(224,173,52,.05);
    color: var(--stp-gold-light);
    outline: none;
}

.stp-password-toggle svg {
    width: 18px;
    height: 18px;
}

.stp-caps-warning {
    margin-top: 7px;
    color: var(--stp-gold-light);
    font-size: 9px;
    font-weight: 700;
}

.stp-button:disabled {
    opacity: .72;
    cursor: wait;
}
