body {
    background: #f7f7f5;
}

.lops-app {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lops-topbar {
    background: #111111;
    color: #ffffff;
    border-radius: 22px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lops-topbar h1 {
    margin: 0;
    font-size: 28px;
}

.lops-topbar p {
    margin: 4px 0 0;
    color: #d1d5db;
}

.lops-badge {
    background: #CC2936;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
}

.lops-search-box {
    background: #ffffff;
    margin-top: 18px;
    padding: 12px;
    border-radius: 18px;
    display: flex;
    gap: 10px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.lops-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 14px;
}

.lops-search-box button,
.lops-action-grid button {
    background: #CC2936;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

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

.lops-action-grid button {
    min-height: 80px;
    background: #ffffff;
    color: #111111;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

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

.lops-summary-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.lops-summary-card strong {
    display: block;
    font-size: 30px;
    color: #CC2936;
}

.lops-summary-card span {
    color: #555;
}

@media (max-width: 768px) {
    .lops-search-box {
        flex-direction: column;
    }

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

    .lops-topbar {
        border-radius: 18px;
    }
}

.lops-mobile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.lops-mobile-stats div {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.lops-mobile-stats strong {
    display: block;
    font-size: 28px;
    color: #CC2936;
}

.lops-mobile-stats span {
    color: #555;
}

.lops-quick-hint {
    margin: 10px 4px 0;
    color: #6b7280;
    font-size: 13px;
}

.lops-results {
    margin-top: 16px;
}

.lops-empty-result {
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 18px;
    color: #6b7280;
    text-align: center;
}

.lops-result-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.lops-result-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.lops-result-head strong {
    display: block;
    font-size: 20px;
    color: #111111;
}

.lops-result-head span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.lops-result-head em {
    font-style: normal;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.lops-result-status-green {
    background: #dcfce7;
    color: #166534;
}

.lops-result-status-red {
    background: #fee2e2;
    color: #991b1b;
}

.lops-result-status-orange {
    background: #ffedd5;
    color: #9a3412;
}

.lops-result-status-gray {
    background: #f3f4f6;
    color: #374151;
}

.lops-result-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lops-result-body div {
    background: #f9fafb;
    border-radius: 14px;
    padding: 11px;
}

.lops-result-body span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.lops-result-body strong {
    display: block;
    color: #111827;
    font-size: 14px;
}

.lops-result-foot {
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 600px) {
    .lops-result-body {
        grid-template-columns: 1fr;
    }

    .lops-result-head {
        flex-direction: column;
    }

    .lops-result-head em {
        width: fit-content;
    }
}

.lops-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lops-login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 70px rgba(0,0,0,0.10);
}

.lops-login-brand {
    background: #111111;
    color: #ffffff;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 22px;
}

.lops-login-brand h1 {
    margin: 0;
    font-size: 30px;
}

.lops-login-brand p {
    margin: 6px 0 0;
    color: #d1d5db;
}

.lops-login-error {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.lops-login-field {
    margin-bottom: 16px;
}

.lops-login-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
    color: #111827;
}

.lops-login-field input {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    font-size: 16px;
}

.lops-login-btn {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 16px;
    background: #CC2936;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.lops-logout-btn {
    background: #CC2936;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.lops-logout-btn:hover {
    color: #ffffff;
}

.lops-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.lops-dash-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: #111111;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.lops-dash-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
}

.lops-dash-card span {
    color: #6b7280;
}

.lops-readonly-card {
    border-style: dashed;
}

@media (max-width: 700px) {
    .lops-dashboard-actions {
        grid-template-columns: 1fr;
    }
}

body {
    background: linear-gradient(180deg, #f8f7f3 0%, #f3f1eb 100%);
}

/* AUTH SCREEN */
.lops-auth-screen {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lops-auth-shell {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.lops-auth-left,
.lops-auth-right {
    display: flex;
}

.lops-auth-brand-card,
.lops-login-card {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 70px rgba(0,0,0,0.08);
}

.lops-auth-brand-card {
    background: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
    color: #ffffff;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lops-auth-brand-card h1 {
    margin: 14px 0 10px;
    font-size: 42px;
    line-height: 1.1;
}

.lops-auth-brand-card p {
    margin: 0;
    max-width: 520px;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.7;
}

.lops-mini-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

.lops-auth-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.lops-auth-point {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 16px 18px;
}

.lops-auth-point strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.lops-auth-point span {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.5;
}

.lops-login-card {
    background: #ffffff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lops-login-brand {
    margin-bottom: 22px;
}

.lops-login-brand h2 {
    margin: 0;
    font-size: 30px;
    color: #111111;
}

.lops-login-brand p {
    margin: 6px 0 0;
    color: #6b7280;
}

.lops-login-error {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.lops-login-field {
    margin-bottom: 16px;
}

.lops-login-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.lops-login-field input {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    padding: 12px 14px;
    font-size: 16px;
    background: #fafafa;
}

.lops-login-field input:focus {
    outline: none;
    border-color: #CC2936;
    box-shadow: 0 0 0 3px rgba(204,41,54,0.10);
    background: #ffffff;
}

.lops-login-btn {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: #CC2936;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lops-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(204,41,54,0.22);
}

.lops-login-note {
    margin-top: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

/* DASHBOARD */
.lops-dashboard-page {
    max-width: 1180px;
    padding: 20px;
}

.lops-dashboard-hero {
    background: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.lops-dashboard-hero h1 {
    margin: 12px 0 8px;
    font-size: 34px;
    line-height: 1.2;
}

.lops-dashboard-hero p {
    margin: 0;
    color: #d1d5db;
    max-width: 620px;
}

.lops-user-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.lops-role-chip,
.lops-user-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.lops-role-chip {
    background: #CC2936;
    color: #ffffff;
}

.lops-user-chip {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
}

.lops-logout-btn {
    background: #ffffff;
    color: #111111;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}

.lops-logout-btn:hover {
    color: #111111;
}

.lops-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.lops-stat-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.lops-stat-card strong {
    display: block;
    font-size: 34px;
    color: #CC2936;
    line-height: 1;
}

.lops-stat-card span {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-weight: 600;
}

.lops-section-title {
    margin-top: 24px;
    margin-bottom: 12px;
}

.lops-section-title h2 {
    margin: 0;
    font-size: 24px;
    color: #111111;
}

.lops-section-title p {
    margin: 4px 0 0;
    color: #6b7280;
}

.lops-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lops-dash-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    text-decoration: none;
    color: #111111;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.lops-dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.lops-dash-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.lops-dash-card span {
    color: #6b7280;
    line-height: 1.6;
}

.lops-readonly-card {
    border-style: dashed;
    background: #fcfcfc;
}

@media (max-width: 900px) {
    .lops-auth-shell,
    .lops-dashboard-actions,
    .lops-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .lops-dashboard-hero {
        flex-direction: column;
    }

    .lops-auth-brand-card h1 {
        font-size: 34px;
    }
}

/* ================================
   LEVITY OPS - APP STYLE LOGIN
================================ */

body {
    background: #f8f7f3;
}

.lops-auth-screen {
    min-height: 100vh;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(204, 41, 54, 0.12), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(17, 17, 17, 0.08), transparent 26%),
        linear-gradient(180deg, #f8f7f3 0%, #f2efe8 100%);
}

.lops-auth-bg-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.55;
}

.lops-auth-shape-one {
    width: 340px;
    height: 340px;
    background: rgba(204, 41, 54, 0.14);
    top: -120px;
    right: -80px;
}

.lops-auth-shape-two {
    width: 260px;
    height: 260px;
    background: rgba(17, 17, 17, 0.08);
    bottom: -90px;
    left: -70px;
}

.lops-auth-shell {
    width: 100%;
    max-width: 1180px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: stretch;
}

.lops-auth-brand {
    background: #111111;
    color: #ffffff;
    border-radius: 30px;
    padding: 34px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 80px rgba(0,0,0,0.16);
    position: relative;
    overflow: hidden;
}

.lops-auth-brand::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(204, 41, 54, 0.28);
    right: -140px;
    top: -120px;
}

.lops-auth-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #CC2936;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.lops-auth-logo span {
    font-size: 18px;
}

.lops-auth-kicker {
    display: inline-flex;
    width: fit-content;
    margin-top: 24px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

.lops-auth-brand h1 {
    max-width: 680px;
    margin: 22px 0 14px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -2px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.lops-auth-brand p {
    max-width: 570px;
    margin: 0;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.lops-auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
    position: relative;
    z-index: 2;
}

.lops-auth-feature {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.lops-auth-feature strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 6px;
}

.lops-auth-feature span {
    display: block;
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.5;
}

.lops-auth-panel {
    display: flex;
    align-items: stretch;
}

.lops-login-card {
    width: 100%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(229,231,235,0.95);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(14px);
}

.lops-login-head {
    margin-bottom: 24px;
}

.lops-login-pill {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.lops-login-head h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: #111111;
}

.lops-login-head p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.lops-login-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 13px 14px;
    margin-bottom: 16px;
    font-weight: 800;
}

.lops-login-form {
    margin: 0;
}

.lops-login-field {
    margin-bottom: 16px;
}

.lops-login-field label {
    display: block;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    font-size: 14px;
}

.lops-login-field input {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    padding: 12px 15px;
    color: #111111;
    font-size: 16px;
    box-sizing: border-box;
}

.lops-login-field input:focus {
    outline: none;
    border-color: #CC2936;
    box-shadow: 0 0 0 4px rgba(204, 41, 54, 0.10);
}

.lops-login-btn {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: 18px;
    background: #CC2936;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 16px 34px rgba(204, 41, 54, 0.22);
}

.lops-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(204, 41, 54, 0.28);
}

.lops-login-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* Tablet */
@media (max-width: 980px) {
    .lops-auth-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .lops-auth-brand {
        min-height: auto;
    }

    .lops-auth-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .lops-auth-screen {
        padding: 14px;
        align-items: flex-start;
    }

    .lops-auth-brand {
        padding: 24px;
        border-radius: 24px;
    }

    .lops-auth-brand h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .lops-auth-brand p {
        font-size: 14px;
    }

    .lops-login-card {
        padding: 22px;
        border-radius: 24px;
    }

    .lops-login-head h2 {
        font-size: 28px;
    }

    .lops-auth-logo {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
}

/* ================================
   LEVITY OPS - APP STYLE DASHBOARD
================================ */

.lops-dash-screen {
    min-height: 100vh;
    background: #f8f7f3;
    color: #111111;
    padding: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lops-dash-topbar {
    max-width: 1320px;
    margin: 0 auto 16px;
    height: 72px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 16px 42px rgba(0,0,0,0.05);
    backdrop-filter: blur(14px);
}

.lops-dash-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lops-dash-logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #CC2936;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.lops-dash-logo-wrap strong {
    display: block;
    font-size: 16px;
    color: #111111;
}

.lops-dash-logo-wrap span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.lops-dash-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lops-dash-role,
.lops-dash-username,
.lops-dash-logout {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.lops-dash-role {
    color: #ffffff;
    background: #111111;
}

.lops-role-admin {
    background: #CC2936;
}

.lops-role-operator {
    background: #111111;
}

.lops-role-helper {
    background: #6b7280;
}

.lops-dash-username {
    background: #f3f4f6;
    color: #111827;
}

.lops-dash-logout {
    background: #CC2936;
    color: #ffffff;
}

.lops-dash-logout:hover {
    color: #ffffff;
}

.lops-dash-layout {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
}

.lops-dash-sidebar {
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 16px 42px rgba(0,0,0,0.04);
    min-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lops-sidebar-label {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 6px 8px 10px;
}

.lops-sidebar-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    color: #374151;
    text-decoration: none;
    font-weight: 750;
    margin-bottom: 6px;
    transition: 0.2s ease;
}

.lops-sidebar-link:hover,
.lops-sidebar-link.active {
    background: #fee2e2;
    color: #991b1b;
}

.lops-sidebar-help {
    background: #111111;
    color: #ffffff;
    border-radius: 18px;
    padding: 16px;
}

.lops-sidebar-help strong {
    display: block;
    margin-bottom: 6px;
}

.lops-sidebar-help span {
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.5;
}

.lops-dash-main {
    min-width: 0;
}

.lops-dash-hero {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    color: #ffffff;
    border-radius: 26px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 18px;
    align-items: stretch;
    box-shadow: 0 20px 55px rgba(0,0,0,0.10);
    position: relative;
    overflow: hidden;
}

.lops-dash-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(204,41,54,0.24);
    right: -100px;
    top: -90px;
}

.lops-dash-hero > * {
    position: relative;
    z-index: 2;
}

.lops-dash-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 900;
}

.lops-dash-hero h1 {
    margin: 16px 0 8px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.lops-dash-hero p {
    max-width: 640px;
    margin: 0;
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.7;
}

.lops-dash-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.lops-primary-action,
.lops-secondary-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.lops-primary-action {
    background: #CC2936;
    color: #ffffff;
}

.lops-primary-action:hover {
    color: #ffffff;
}

.lops-secondary-action {
    background: #ffffff;
    color: #111111;
}

.lops-secondary-action:hover {
    color: #111111;
}

.lops-dash-hero-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    padding: 20px;
    backdrop-filter: blur(12px);
}

.lops-dash-hero-card span {
    color: #d1d5db;
    font-weight: 700;
}

.lops-dash-hero-card strong {
    display: block;
    font-size: 56px;
    line-height: 1;
    margin: 14px 0 8px;
    color: #ffffff;
}

.lops-dash-hero-card small {
    color: #d1d5db;
    line-height: 1.5;
}

.lops-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.lops-dash-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.04);
}

.lops-dash-stat-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.lops-dash-stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 34px;
    line-height: 1;
    color: #111111;
}

.lops-dash-stat-card.danger strong {
    color: #CC2936;
}

.lops-dash-stat-card.warning strong {
    color: #9a3412;
}

.lops-dash-section-head {
    margin-top: 22px;
    margin-bottom: 12px;
}

.lops-dash-section-head h2 {
    margin: 0;
    color: #111111;
    font-size: 22px;
    letter-spacing: -0.4px;
}

.lops-dash-section-head p {
    margin: 5px 0 0;
    color: #6b7280;
}

.lops-dash-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.lops-dash-action-card {
    min-height: 126px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    text-decoration: none;
    color: #111111;
    box-shadow: 0 14px 35px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-end;
    transition: 0.2s ease;
    position: relative;
    overflow: hidden;
}

.lops-dash-action-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    right: -30px;
    top: -30px;
    background: rgba(204,41,54,0.08);
}

.lops-dash-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.08);
}

.lops-dash-action-card strong {
    display: block;
    font-size: 18px;
    color: #111111;
    margin-bottom: 7px;
}

.lops-dash-action-card span {
    display: block;
    color: #6b7280;
    line-height: 1.5;
}

.lops-dash-action-card.readonly {
    border-style: dashed;
}

/* Tablet */
@media (max-width: 1100px) {
    .lops-dash-layout {
        grid-template-columns: 1fr;
    }

    .lops-dash-sidebar {
        min-height: auto;
    }

    .lops-sidebar-section {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .lops-sidebar-label,
    .lops-sidebar-help {
        display: none;
    }

    .lops-sidebar-link {
        white-space: nowrap;
        margin-bottom: 0;
        background: #f9fafb;
    }

    .lops-dash-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 700px) {
    .lops-dash-screen {
        padding: 12px;
    }

    .lops-dash-topbar {
        height: auto;
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
        border-radius: 20px;
    }

    .lops-dash-user-area {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .lops-dash-layout {
        gap: 12px;
    }

    .lops-dash-sidebar {
        border-radius: 20px;
        padding: 10px;
    }

    .lops-dash-hero {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 22px;
    }

    .lops-dash-hero-card strong {
        font-size: 42px;
    }

    .lops-dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lops-dash-stat-card {
        padding: 16px;
        border-radius: 18px;
    }

    .lops-dash-stat-card strong {
        font-size: 28px;
    }

    .lops-dash-actions-grid {
        grid-template-columns: 1fr;
    }

    .lops-dash-action-card {
        min-height: 112px;
        border-radius: 20px;
    }
}