:root {
    --econ-blue: #003383;
    --econ-cyan: #00afec;
    --econ-teal: #16a08b;
    --econ-navy: #102f34;
    --econ-ink: #1f272a;
    --econ-muted: #627075;
    --econ-bg: #f7f7f4;
    --econ-panel: #ffffff;
    --econ-line: #d8ddd7;
    --econ-danger: #b54435;
    --econ-ok: #1f7a4d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--econ-bg);
    color: var(--econ-ink);
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
}

a {
    color: var(--econ-blue);
}

.top-menu {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 clamp(16px, 4vw, 40px);
    background: var(--econ-blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 51, 131, .18);
}

.top-menu__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.top-menu__brand img {
    display: block;
    width: 142px;
    height: auto;
}

.top-menu__brand span {
    border-left: 1px solid rgba(255,255,255,.28);
    padding-left: 12px;
}

.top-menu__links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-menu__links a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    padding: 8px 10px;
    border-radius: 6px;
}

.top-menu__links a:hover,
.top-menu__links a.is-active {
    color: #fff;
    background: rgba(0, 175, 236, .28);
}

.top-menu-spacer {
    height: 62px;
}

.app-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 24px clamp(16px, 4vw, 40px) 48px;
}

.app-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef9fd 100%);
    color: var(--econ-ink);
    border: 1px solid rgba(0, 175, 236, .28);
    border-left: 6px solid var(--econ-cyan);
    border-radius: 8px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(25, 40, 42, .05);
}

.app-hero h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    letter-spacing: 0;
}

.app-hero p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--econ-muted);
    font-weight: 600;
}

.app-panel {
    background: var(--econ-panel);
    border: 1px solid var(--econ-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(25, 40, 42, .06);
    padding: 18px;
}

.app-panel + .app-panel {
    margin-top: 18px;
}

.app-button {
    border: 0;
    border-radius: 6px;
    min-height: 40px;
    padding: 9px 13px;
    background: var(--econ-blue);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-button:hover {
    background: #002861;
}

.app-button.secondary {
    background: #e7f6fb;
    color: var(--econ-blue);
}

.app-alert {
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
}

.app-alert.ok {
    border-color: rgba(31, 122, 77, .35);
    color: var(--econ-ok);
}

.app-alert.error {
    border-color: rgba(181, 68, 53, .35);
    color: var(--econ-danger);
}

@media (max-width: 760px) {
    .top-menu {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top-menu-spacer {
        height: 112px;
    }

    .top-menu__links {
        width: 100%;
        overflow-x: auto;
    }

    .top-menu__brand span {
        display: none;
    }
}
