html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #f4f5f7;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #2d3138;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(10, 15, 20, 0.12);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.site-logo-link,
.site-footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.site-logo-header {
    max-height: 54px;
}

.site-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-header.is-compact .site-header-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-header-action:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.26);
}

.site-header-action:active {
    transform: translateY(1px);
}

.site-header-action-sec {
    background: rgba(255, 255, 255, 0.05);
}

.site-header-action-report {
    background: #ffffff;
    color: #1e242b;
    border-color: #ffffff;
}

.site-header-action-report:hover {
    background: #e8edf2;
    border-color: #e8edf2;
}

.site-main {
    padding: 40px 0 56px;
}

.entry-content,
.entry-summary,
.archive-description {
    margin-top: 16px;
}

.site-footer {
    margin-top: 48px;
    padding: 42px 0;
    background: #2d3138;
}

.site-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo-footer {
    max-height: 118px;
}

@media (max-width: 980px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .site-header-inner {
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-logo-header {
        max-height: 36px;
    }

    .site-header-actions {
        gap: 8px;
    }

    .site-header-action {
        width: auto;
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
    }

    .site-header.is-compact .site-header-inner {
        align-items: stretch;
    }

    .site-header.is-compact .site-logo-link {
        display: none;
    }

    .site-header.is-compact .site-header-actions {
        justify-content: space-between;
        width: 100%;
        gap: 6px;
    }

    .site-header.is-compact .site-header-action {
        flex: 1 1 0;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }

    .site-main {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .site-footer {
        margin-top: 32px;
        padding: 30px 0;
    }

    .site-logo-footer {
        max-height: 96px;
    }
}
