.cgn { box-sizing: border-box; }
.header .cgn .cgn-feature-entry { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 44px; padding: 8px 10px; border: 1px solid var(--cgn-line); border-radius: 8px; background: var(--cgn-paper); color: var(--cgn-text); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: color 150ms ease, background-color 150ms ease, transform 120ms ease; }
.header .cgn .cgn-feature-entry:hover, .header .cgn .cgn-feature-entry[aria-current="page"] { color: var(--cgn-accent); background: var(--cgn-soft); }
.cgn-feature-entry-short { display: none; }
.header .cgn .zfd-toolbox-entry, .zfd-member-entry {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 0; padding: 12px 14px; border-radius: 10px;
  background: #f5efe4; color: #383329; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(113, 87, 47, .12);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.header .cgn .zfd-toolbox-entry { margin-bottom: 14px; }
.zfd-toolbox-entry > span:first-child, .zfd-member-entry > span:first-child { min-width: 0; }
.zfd-toolbox-entry strong, .zfd-member-entry strong { display: block; font-size: 15px; line-height: 1.5; }
.zfd-toolbox-entry small, .zfd-member-entry small { display: block; margin-top: 3px; color: #716757; font-size: 12px; line-height: 1.6; }
.zfd-entry-action { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #9f3528; font-size: 13px; font-weight: 600; white-space: nowrap; }
.header .cgn .zfd-toolbox-entry:hover, .zfd-member-entry:hover { color: #383329; background: #efe6d6; box-shadow: inset 0 0 0 1px rgba(113, 87, 47, .2); }
.zfd-toolbox-entry:focus-visible, .zfd-member-entry:focus-visible, .cgn-feature-entry:focus-visible { outline: 2px solid #a83528; outline-offset: 3px; }
.zfd-member-entry { margin-bottom: 20px; padding: 16px 20px; }
.zfd-member-discovery { max-width: 900px; margin: 24px auto 0; padding: 0 16px; }
@media (min-width: 1280px) {
  .header .cgn .cgn-feature-entry { display: none; }
}
@media (max-width: 600px) {
  .zfd-member-entry { align-items: flex-start; flex-direction: column; gap: 4px; padding: 14px 16px; }
  .zfd-member-entry .zfd-entry-action { min-height: 36px; }
}
@media (max-width: 359px) {
  .header .cgn .cgn-brand { flex-basis: 124px; width: 124px; }
  .header .cgn .cgn-feature-entry { min-width: 44px; padding: 7px 5px; font-size: 12px; }
  .cgn-feature-entry-full { display: none; }
  .cgn-feature-entry-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .header .cgn .zfd-toolbox-entry, .zfd-member-entry { transition: none; }
}
