:root {
    --bg: #f4f5f7;
    --panel: #ffffff;
    --ink: #1e2633;
    --muted: #6a7280;
    --line: #dde2ea;
    --brand: #213a5c;
    --brand-2: #12a594;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.sidebar {
    background: #101826;
    color: #fff;
    padding: 24px 18px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-2);
    color: #fff;
    font-weight: 800;
}

.brand small {
    display: block;
    color: #a8b2c1;
}

.sidebar .nav-link {
    color: #b8c2d0;
    border-radius: 8px;
    margin-bottom: 4px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #1e2d44;
    color: #fff;
}

.content {
    padding: 28px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.topbar h1,
.hero-panel h2,
.panel h2,
.metric-card h3 {
    margin: 0;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.agent-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #20c997;
}

.hero-panel {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #213a5c, #126b72);
    color: #fff;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 18px;
}

.hero-panel p {
    max-width: 720px;
    margin-bottom: 0;
    color: #dce9ef;
}

.metric-card,
.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.metric-card h3 {
    font-size: 20px;
    margin-top: 18px;
}

.metric-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.panel {
    padding: 18px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.panel-header h2 {
    font-size: 20px;
}

.panel-header a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.mission-panel {
    min-height: 190px;
}

.mission-panel p {
    color: var(--muted);
}

.approval-list {
    display: grid;
    gap: 10px;
}

.approval-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.approval-item span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.approval-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--panel);
}

.form-panel {
    max-width: 860px;
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .hero-panel,
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}
