.gp-legal-footer {position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:16px 28px;flex-wrap:wrap;padding:20px 32px;border-top:1px solid var(--gp-header-line,rgba(198,170,111,.18));background:var(--gp-header-surface,rgba(20,21,25,.86));color:#aeb3bc;font:13px/1.5 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:0}
.gp-legal-footer p {margin:0}
.gp-legal-footer strong {color:#e3e5e9;font-weight:600}
.gp-legal-company {display:grid;gap:3px;min-width:0}
.gp-legal-company span {font-size:11px;color:#9198a3;overflow-wrap:anywhere}
.gp-legal-footer nav {display:flex;gap:6px 20px;flex-wrap:wrap;max-width:780px;min-width:0}
.gp-legal-footer a,.gp-legal-footer button {color:#bdc2ca;font:inherit;text-decoration:none;text-underline-offset:3px;overflow-wrap:anywhere}
.gp-legal-footer button {border:0;background:transparent;border-radius:0;padding:0;cursor:pointer}
.gp-legal-footer a:hover,.gp-legal-footer button:hover {color:#f2f3f5;text-decoration:underline}
.gp-legal-footer a:focus-visible,.gp-legal-footer button:focus-visible {outline:2px solid var(--gp-header-gold,#c6a15f);outline-offset:4px}
.gp-legal-footer .gp-legal-toggle {display:none}
.gp-legal-note {font-size:13px;line-height:1.5;color:inherit;margin:8px 0 14px}
.gp-legal-note a {color:inherit;text-decoration:underline;text-underline-offset:3px}
.cart-account-summary .privacy-consent {flex-basis:100%;max-width:100%;white-space:normal}
.cart-account-summary .privacy-consent a {white-space:normal}
.home-app {height:auto;min-height:100dvh;overflow-y:auto}
.home-app .site-shell {height:auto;min-height:100dvh;overflow:visible;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,calc(100dvh - var(--gp-header-height,72px))) auto}
.home-app main {height:calc(100dvh - var(--gp-header-height,72px))}
.home-app .site-footer {display:flex;background:var(--gp-header-surface,rgba(20,21,25,.86));align-items:flex-start}
.home-app .site-footer>div {min-width:0;max-width:100%;overflow-wrap:anywhere}

/* Legal links remain in the catalog footer; the editor uses its toolbar menu. */
html:has(body > .gp-legal-footer):has(#constructorView:not([hidden])) {overflow:hidden}
body:has(> .gp-legal-footer):has(#constructorView:not([hidden])) {display:flex;flex-direction:column;height:var(--gp-available-height,100dvh);min-height:0;overflow:hidden}
body:has(> .gp-legal-footer):has(#constructorView:not([hidden])) > .gp-app-header {flex:0 0 auto}
body:has(> .gp-legal-footer) #constructorView:not([hidden]) {flex:1 1 0;height:auto;min-height:0}
:root body:has(#constructorView:not([hidden])) > .gp-legal-footer {display:none}
:root #constructorView .manual-review-toolbar .gp-legal-menu-toggle {display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:4px;background:transparent;color:#bdc2ca;box-shadow:none}
:root #constructorView .manual-review-toolbar .gp-legal-menu-toggle:hover {background:#ffffff0a;color:#f2f3f5}
:root #constructorView .gp-legal-menu-toggle:focus-visible {outline:2px solid var(--gp-header-gold,#c6a15f);outline-offset:2px}
:root #constructorView .gp-legal-menu-toggle span {display:block;width:18px;height:18px;background:currentColor;mask:url('../icons/lucide/file-text.svg') center/contain no-repeat}
.gp-legal-popover {position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(340px,calc(100vw - 24px));padding:14px;border:1px solid var(--gp-header-line,rgba(198,170,111,.18));border-radius:6px;background:#141519;color:#bdc2ca;box-shadow:0 10px 30px #0006;overflow:auto;font:13px/1.5 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:0}
.gp-legal-popover::backdrop {background:transparent}
.gp-legal-popover .gp-legal-company {margin:0 0 8px;padding:0 8px 12px;border-bottom:1px solid #ffffff12}
.gp-legal-popover strong {color:#e3e5e9;font-weight:600}
.gp-legal-popover nav {display:flex;flex-direction:column;gap:2px}
.gp-legal-popover nav a,.gp-legal-popover nav button {display:flex;align-items:center;min-height:40px;box-sizing:border-box;padding:8px;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.gp-legal-popover nav a:hover,.gp-legal-popover nav button:hover {color:#f2f3f5;background:#ffffff08}
.gp-legal-popover nav a:focus-visible,.gp-legal-popover nav button:focus-visible {outline:2px solid var(--gp-header-gold,#c6a15f);outline-offset:-2px}
@media (max-width:720px) {
 :root #constructorView .manual-review-toolbar .gp-legal-menu-toggle {flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}
 .gp-legal-popover nav a,.gp-legal-popover nav button {min-height:44px}
}
@media(max-width:1100px) {
 .gp-legal-footer {padding:20px;gap:14px}
 .gp-legal-footer nav {gap:10px 16px}
 .home-app .site-shell {grid-template-rows:auto minmax(0,calc(100dvh - var(--gp-header-height,72px))) auto}
}
