:root .site-footer.footer-compact {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:12px 32px; padding:24px 40px; margin:40px auto 0;
  max-width:var(--max); border-top:1px solid var(--line); color:var(--muted);
}
.footer-compact .footer-identity {display:flex; align-items:center; gap:20px; min-width:0}
.footer-compact .footer-brand {font-size:20px; font-weight:700; line-height:1.4; color:var(--text); letter-spacing:-.4px; white-space:nowrap}
.footer-compact .footer-copyright {font-size:12px; white-space:nowrap}
.footer-compact .footer-tools {display:flex; align-items:center; gap:8px; position:relative}
.footer-compact .footer-menu {position:relative}
.footer-compact .footer-menu>summary,.footer-compact .footer-feedback {
  display:flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; padding:10px 12px; border:0; border-radius:4px;
  background:transparent; color:var(--muted); font-size:13px; font-weight:400;
  line-height:1.5; white-space:nowrap; cursor:pointer; list-style:none;
}
.footer-compact summary::-webkit-details-marker {display:none}
.footer-compact .footer-menu>summary:hover,.footer-compact .footer-menu[open]>summary,.footer-compact .footer-feedback:hover {background:var(--surface-2); color:var(--text)}
.footer-compact .footer-chevron {width:12px; height:12px; flex:none; transition:transform .15s}
.footer-compact .footer-menu[open] .footer-chevron {transform:rotate(180deg)}
.footer-compact .footer-menu-list {
  position:absolute; z-index:30; right:0; bottom:calc(100% + 8px);
  width:210px; max-width:calc(100vw - 48px); margin:0; padding:6px;
  list-style:none; border:1px solid var(--line); border-radius:6px;
  background:var(--surface); box-shadow:0 6px 24px #00000012;
}
.footer-compact .footer-menu-list a {display:flex; align-items:center; min-height:44px; padding:10px 12px; color:var(--text); font-size:13px; line-height:1.5; border-radius:3px}
.footer-compact .footer-menu-list a:hover {background:var(--surface-2)}
.footer-compact :is(a,button,summary):focus-visible {outline:2px solid var(--purple); outline-offset:2px}
@media(max-width:600px) {
  :root .site-footer.footer-compact {display:flex; flex-direction:column; align-items:stretch; gap:12px; padding:22px 20px 16px; margin-top:28px}
  .footer-compact .footer-identity {justify-content:space-between; gap:12px}
  .footer-compact .footer-brand {font-size:18px}
  .footer-compact .footer-copyright {font-size:11px}
  .footer-compact .footer-tools {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; border-top:1px solid var(--line); padding-top:8px}
  .footer-compact .footer-menu {position:static; min-width:0}
  .footer-compact .footer-menu>summary,.footer-compact .footer-feedback {width:100%; padding:10px 6px; font-size:12px}
  .footer-compact .footer-menu-list {right:0; bottom:calc(100% + 4px)}
}
@media(prefers-reduced-motion:reduce) {.footer-compact .footer-chevron {transition:none}}
