* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f1ea;
    color: #151515;
    min-height: 100vh;
}

.dashboard-header {
    background: #061616;
    color: #ffffff;
    padding: 16px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.brand {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: #c88b3a;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: #d6a04b;
    margin-top: 3px;
}

.logout-btn,
.action-buttons button {
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 900;
    cursor: pointer;
}

.logout-btn {
    background: #ffffff;
    color: #061616;
}

.dashboard-page {
    padding: 42px 7%;
}

.welcome-card,
.action-panel,
.notice-card,
.dashboard-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.08);
}

.welcome-card {
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.eyebrow,
.card-label {
    color: #9a681f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 900;
    margin: 0 0 10px;
}

h1,
h2 {
    margin: 0 0 12px;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
}

.status-pill {
    background: #fff3dc;
    color: #7b4d10;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.dashboard-card {
    padding: 26px;
    min-height: 190px;
}

.dashboard-card h2 {
    font-size: 24px;
    word-break: break-word;
}

.card-note {
    color: #666;
    line-height: 1.5;
}

.action-panel {
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
}

.action-panel p {
    color: #555;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.action-buttons button {
    background: #061616;
    color: #ffffff;
}

.action-buttons .secondary {
    background: #e8dfd1;
    color: #161616;
}

.action-buttons .gold {
    background: #c88b3a;
    color: #ffffff;
}

.notice-card {
    padding: 22px 26px;
    color: #555;
    line-height: 1.6;
}

.buildframe-footer {
    background: #061616;
    color: #c9d7d6;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}

.buildframe-footer a {
    color: #5cc8c8;
    text-decoration: none;
    font-weight: 700;
}

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

    .action-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .action-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {

    .dashboard-header,
    .welcome-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-page {
        padding: 28px 18px;
    }

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

    .welcome-card,
    .action-panel,
    .notice-card,
    .dashboard-card {
        border-radius: 22px;
    }
}

/* =====================================================
   OWNER JOURNEY PANEL
===================================================== */

.journey-panel {
    background: linear-gradient(135deg, #062525, #0b3a3a);
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
    margin-bottom: 28px;
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.10);
}

.journey-panel h2 {
    margin: 0 0 14px;
    color: #ffffff;
}

.journey-panel p {
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
}

.journey-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.journey-steps span {
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    font-weight: 800;
    color: #ffffff;
}

.journey-steps span.active {
    background: #c88b3a;
    color: #ffffff;
}

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

.action-buttons .primary {
    background: #061616;
    color: #ffffff;
}

.action-buttons .gold {
    background: #c88b3a;
    color: #ffffff;
}

.action-buttons .gold:hover {
    background: #b1782c;
}

.action-buttons .gold-outline {
    background: transparent;
    border: 2px solid #c88b3a;
    color: #8a5a17;
}

.action-buttons .gold-outline:hover {
    background: #fff6e9;
}

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

@media (max-width: 900px) {

    .journey-panel {
        padding: 24px;
    }

    .journey-steps {
        flex-direction: column;
    }

}