:root {
    --pm-color-teal:  #12998D;
    --pm-color-red:   #B7271E;
    --pm-color-pink:  #C47BA3;
    --pm-color-sage:  #A3C18A;
    --pm-color-gray:  #7D7C7C;
    --pm-font-ui:     'Hanken Grotesk', system-ui, sans-serif;
    --pm-font-data:   'IBM Plex Mono', 'Courier New', monospace;
    --pm-bg:          #f2f3f5;
    --pm-surface:     #ffffff;
    --pm-border:      #e2e5e9;
    --pm-text:        #1c1f23;
    --pm-muted:       #6c757d;
    --pm-header-bg:   #1c1f23;
}

.production-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pm-bg);
    font-family: var(--pm-font-ui);
}

.production-layout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.5rem;
    background: var(--pm-header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.production-layout-brand {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.production-layout-title {
    font-family: var(--pm-font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.production-layout-subtitle {
    font-family: var(--pm-font-ui);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.production-layout-version {
    font-family: var(--pm-font-data);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.03em;
    padding: 0.1rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.25rem;
    line-height: 1.4;
}

.production-layout-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Nav links inside the dark header */
.production-layout-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.75rem;
}

.production-layout-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-family: var(--pm-font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.production-layout-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.production-layout-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Logout button inside the dark header */
.production-layout-header .btn-outline-secondary {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
    font-family: var(--pm-font-ui);
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.production-layout-header .btn-outline-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.production-layout-main {
    flex: 1;
    padding: 0 0.5rem 2rem;
}
