* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(209, 144, 53, 0.18), transparent 32%),
        linear-gradient(135deg, #f7f1e8 0%, #fffaf2 45%, #eef7f4 100%);
    color: #111827;
}

.workspace-header {
    background: #061d1b;
    color: #ffffff;
    padding: 16px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #d19035;
}

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

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #d19035;
    box-shadow: 0 10px 25px rgba(209, 144, 53, 0.35);
}

.brand strong {
    display: block;
}

.brand small {
    color: #f7c948;
}

.logout-btn {
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 800;
    cursor: pointer;
    background: #ffffff;
    color: #111827;
}

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

.welcome-card,
.business-progress-panel,
.modules-panel,
.notice-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-bottom: 28px;
    border: 1px solid rgba(6, 29, 27, 0.08);
}

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

.os-hero {
    background:
        linear-gradient(135deg, rgba(6, 29, 27, 0.96), rgba(13, 69, 62, 0.94)),
        radial-gradient(circle at right, rgba(209, 144, 53, 0.35), transparent 40%);
    color: #ffffff;
}

.os-hero p {
    color: #e7f7f4;
}

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

.os-hero .eyebrow {
    color: #f7c948;
}

h1 {
    font-size: 38px;
    margin: 8px 0;
}

.status-pill {
    background: #fff0d1;
    color: #7a4200;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 900;
    white-space: nowrap;
}

.business-progress-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 24px;
    align-items: center;
}

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

.progress-step {
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
}

.progress-step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e5e7eb;
    color: #111827;
    font-weight: 900;
    margin-bottom: 12px;
}

.progress-step strong {
    display: block;
    margin-bottom: 5px;
}

.progress-step small {
    color: #6b7280;
}

.progress-step.active {
    background: #fff4dd;
    border-color: #d19035;
}

.progress-step.active span {
    background: #d19035;
    color: #ffffff;
}

.workspace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.workspace-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
    min-height: 150px;
    border: 1px solid rgba(6, 29, 27, 0.08);
}

.workspace-card h2 {
    word-break: break-word;
    font-size: 22px;
}

.modules-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
    align-items: center;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.module-grid button {
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #061d1b;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
}

.module-grid button:hover {
    transform: translateY(-2px);
    background: #0d453e;
    box-shadow: 0 14px 30px rgba(6, 29, 27, 0.18);
}

.notice-card {
    color: #374151;
    background: #fff8eb;
    border-left: 6px solid #d19035;
}

.buildframe-footer {
    text-align: center;
    padding: 24px;
    background: #061d1b;
    color: #ffffff;
    font-size: 14px;
}

.buildframe-footer a {
    color: #54f3e5;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 1000px) {

    .business-progress-panel,
    .modules-panel {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 700px) {
    .workspace-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .workspace-grid,
    .progress-steps,
    .module-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
    }

    .workspace-page {
        padding: 28px 5%;
    }

    .status-pill {
        white-space: normal;
    }

    .logout-btn {
        width: 100%;
    }
}