@import "navigation-account-gnpOKlc.css";

.brand { display: flex; align-items: center; gap: 10px; font: bold 2rem/.95 Georgia, serif; letter-spacing: -.055em; }
.brand img { width: 61px; height: 47px; object-fit: contain; }

.site-header {
    --navigation-font: 'Avenir Next', Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    z-index: 20;
    height: var(--header-height);
    flex-shrink: 0;
    background: #fffaf2;
    color: #302d29;
    border-bottom: 1px solid #e5ddd1;
    font: 500 14px/1.4 var(--navigation-font);
}
.site-header__inner { display: flex; align-items: center; gap: 48px; max-width: 1600px; height: 100%; margin: auto; padding: 0 32px; }
.site-header .brand { flex-shrink: 0; gap: 12px; font-size: 38px; color: #2c4136; }
.site-header .brand img { width: 52px; height: 40px; image-rendering: pixelated; }
.brand__dot { color: #ad6449; }
.top-nav { display: flex; align-items: stretch; align-self: stretch; gap: 28px; white-space: nowrap; }
.top-nav a { display: flex; align-items: center; gap: 8px; position: relative; color: #655e54; font-size: 15px; transition: color 150ms; }
.top-nav a > i { font-size: 18px; }
.top-nav a > span { position: relative; }
.top-nav a:hover, .top-nav a.active { color: #315b44; }
.top-nav a.active { font-weight: 650; }
.top-nav a.active > span::after { content: ''; position: absolute; inset: auto 0 -7px; height: 2px; background: #6f8565; border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: 16px; margin-left: auto; min-width: 0; }
.header-search { display: flex; align-items: center; gap: 10px; width: clamp(200px, 20vw, 320px); height: 42px; margin-right: 4px; padding: 0 12px; background: #f3eee5; border: 1px solid transparent; border-radius: 7px; transition: border-color 150ms, background 150ms; }
.header-search:hover, .header-search:focus-visible { background: #fffdf8; border-color: #7c9274; }
.header-search > i { color: #746d60; font-size: 17px; }
.header-search > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6e685e; font-size: 13px; }
.header-search kbd { display: grid; place-items: center; height: 22px; padding-inline: 4px; flex-shrink: 0; border: 1px solid #d9d3c7; border-radius: 4px; font: 10px var(--navigation-font); color: #80796d; }
.header-tool { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #514e43; font-size: 20px; border-radius: 8px; flex-shrink: 0; transition: background 150ms, color 150ms; }
.header-tool:hover, .header-tool.is-current { background: #e9ecdf; color: #315b44; }
.header-search-toggle { display: none; }
.header-login { display: flex; align-items: center; gap: 12px; min-height: 42px; color: #315b44; white-space: nowrap; }
.site-header :focus-visible { outline: 2px solid #617858; outline-offset: 3px; }

@media (max-width: 1350px) {
    .site-header__inner { gap: 32px; padding-inline: 24px; }
    .top-nav { gap: 22px; }
    .account-menu__name { display: none; }
    .header-tools { gap: 10px; }
}
@media (max-width: 1100px) {
    .header-search { display: none; }
    .header-search-toggle { display: inline-flex; }
    .top-nav { margin-inline: auto; }
}
@media (min-width: 761px) and (max-width: 940px) {
    .site-header__inner { gap: 24px; padding-inline: 20px; }
    .site-header .brand { font-size: 32px; gap: 8px; }
    .site-header .brand img { width: 43px; height: 34px; }
    .top-nav { gap: 16px; }
    .top-nav a { font-size: 13px; gap: 6px; }
    .top-nav a > i { font-size: 16px; }
    .header-tools { gap: 6px; }
}
@media (max-width: 760px) {
    .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 64px 52px; padding: 0 18px; gap: 0 12px; }
    .site-header .brand { width: fit-content; font-size: 32px; gap: 9px; }
    .site-header .brand img { width: 43px; height: 34px; }
    .header-tools { gap: 4px; grid-column: 2; grid-row: 1; }
    .header-tool { width: 38px; height: 42px; font-size: 19px; }
    .top-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; margin: 0; justify-content: space-between; gap: 10px; border-top: 1px solid #eee6db; }
    .top-nav a { gap: 7px; min-height: 52px; font-size: 12px; }
    .top-nav a > i { font-size: 16px; }
    .header-login { font-size: 12px; gap: 6px; }
}
@media (max-width: 370px) {
    .site-header__inner { padding-inline: 12px; }
    .header-tools { gap: 0; }
    .top-nav { gap: 6px; }
    .top-nav a { font-size: 11px; gap: 5px; }
    .site-header .brand { font-size: 29px; gap: 5px; }
    .site-header .brand img { width: 37px; }
}

.sidebar {
    border-right: 1px solid var(--line);
    padding: 26px 20px 0;
    position: relative;
    overflow: hidden;
    min-height: 938px;
}

.sidebar nav {
    display: grid;
    gap: .5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 11px 16px;
    white-space: nowrap;
    font-size: 1.12rem;
    border-radius: 9px;
}

.sidebar nav a.active,.sidebar nav a:hover {
    background: var(--peach);
}

.sidebar nav img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.sidebar-quote {
    position: relative;
    margin: 60px 12px 0;
    padding: 34px 9px 20px;
    border: 1px solid var(--line-strong);
    text-align: center;
    transform: rotate(-3deg);
    background: var(--surface);
    box-shadow: 3px 4px 0 var(--line);
    z-index: 1;
}

.sidebar-quote>img:first-child {
    position: absolute;
    right: -16px;
    top: -32px;
    width: 80px;
}

.sidebar-quote p {
    font-size: 1.18rem;
    line-height: 1.3;
    margin: 0;
}

.sidebar-quote>img:not(:first-child) {
    display: block;
    margin: 12px auto 0;
    width: 27px;
    height: 32px;
    object-fit: contain;
}

.sidebar-quote small {
    display: block;
    font-style: normal;
    font-size: .65rem;
    letter-spacing: .2em;
    margin-top: .5rem;
}

.sidebar-garden {
    display: block;
    width: 250px;
    max-width: none;
    margin: -2px -20px 0;
}

@media (max-width: 1250px) {
    .sidebar { padding: 20px 12px 0; }
    .sidebar nav a { padding: 10px 7px; gap: 8px; font-size: 1rem; }
    .sidebar-quote { margin: 50px 3px 0; }
    .sidebar-garden { margin-left: -12px; }
}
