:root {
    --accent: #F5A623;
    --charcoal: #1C1C1C;
    --light: #EDEDED;
    --white: #FFFFFF;
    --nav-height: 56px;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
}

.brand, .account-action, .bottom-nav a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand {
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand img {
    display: block;
    height: 28px;
    width: auto;
}

.account-action {
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 12px;
}

.app-main {
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white);
    border-top: 1px solid var(--light);
}

.nav-inner {
    display: flex;
    max-width: 640px;
    height: var(--nav-height);
    margin: 0 auto;
}

.bottom-nav a {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    color: #686868;
    font-size: 11px;
}

.bottom-nav svg {
    width: 20px;
    height: 20px;
}

.bottom-nav a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bottom-nav a[aria-current="page"] {
    color: var(--charcoal);
}

.bottom-nav a[aria-current="page"]::after {
    background: var(--accent);
}

.account-action:hover, .bottom-nav a:hover {
    background: var(--light);
}

.brand:focus-visible, .account-action:focus-visible, .bottom-nav a:focus-visible {
    outline: 2px solid var(--charcoal);
    outline-offset: -2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-picker {
    position: relative;
}

.language-picker summary {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 0 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.language-picker summary::-webkit-details-marker {
    display: none;
}

.language-options {
    position: absolute;
    right: 0;
    margin-top: 4px;
    padding: 4px;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
}

.language-options button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.language-options button:hover,
.language-options button[aria-current="true"] {
    background: var(--light);
}
