:root {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f1b2d;
    background-color: #f7f9fb;
}

body {
    margin: 0;
    background: #f7f9fb;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e6e9f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 27, 45, 0.06);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    font-weight: 800;
    color: #0d4bff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-link {
    color: #33425b;
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover {
    color: #0d4bff;
}

.nav-search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-search input {
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #cfd7e6;
    min-width: 200px;
}

.nav-search button {
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    border: none;
    background: #0d4bff;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.page-wrap {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem 2rem;
}

form {
    margin: 0;
}

/* ── Shared Section Header & Subtitle ── */
.gn-section-header {
    font-size: 1.15rem;
    font-weight: 500;
    color: #202124;
    padding: 16px 0 12px;
    border-bottom: 2px solid #1a73e8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gn-section-header .icon {
    font-size: 1.2rem;
}

.gn-section-subtitle {
    font-size: 0.82rem;
    color: #5f6368;
    margin: 0 0 16px;
}

/* ── Shared Header (used by multiple templates) ── */
.gn-header {
    background: #ffffff;
    border-bottom: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.gn-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 24px;
}

.gn-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #202124;
    font-size: 1.25rem;
    font-weight: 500;
}

.gn-brand-section {
    font-weight: 700;
    color: #1a73e8;
}

.gn-nav {
    display: flex;
    gap: 2px;
    padding: 0 16px 8px;
    flex-wrap: wrap;
}

.gn-tab {
    padding: 8px 14px;
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.gn-tab:hover {
    color: #1a73e8;
    background: #e8f0fe;
}

.gn-tab.active {
    color: #1a73e8;
    background: #e8f0fe;
    font-weight: 600;
}

.gn-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #80868b;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dadce0;
    transition: background 0.2s;
}

.gn-admin-link:hover {
    background: #f8f9fa;
}