/* Compact footer with stable logo slots and a centered developer credit. */
#site-footer.oh-reference-footer {margin-top:0!important;border-radius:0!important;}
#site-footer .oh-ref-top {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.1fr)!important;gap:32px!important;padding:26px 28px!important;align-items:start!important;}
#site-footer .oh-ref-logo {display:inline-flex!important;min-height:44px;}
#site-footer .oh-ref-logo img {width:180px!important;max-width:100%!important;height:auto!important;object-fit:contain!important;}
#site-footer .oh-ref-brand p {max-width:34ch!important;font-size:12px!important;line-height:1.7!important;margin:12px 0!important;}
#site-footer :is(.oh-ref-nav,.oh-ref-alert) h3 {font-size:11px!important;line-height:1.5!important;margin:0 0 12px!important;letter-spacing:0!important;}
#site-footer nav.oh-ref-nav {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 16px!important;}
#site-footer .oh-ref-nav h3 {grid-column:1/-1!important;}
#site-footer nav.oh-ref-nav a {min-height:34px!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;line-height:1.5!important;}
#site-footer nav.oh-ref-nav a b {font-weight:500!important;}
#site-footer nav.oh-ref-nav a:hover {color:var(--v4-orange)!important;text-decoration:underline!important;text-underline-offset:5px;}
#site-footer .oh-ref-socials {display:flex!important;gap:8px!important;}
#site-footer .oh-ref-socials a {display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;border-radius:4px!important;background:transparent!important;border:1px solid var(--v4-line)!important;}
#site-footer .oh-ref-socials a:hover {border-color:var(--v4-orange)!important;color:var(--v4-orange)!important;}
#site-footer .oh-ref-socials svg {width:15px!important;height:15px!important;}
#site-footer .oh-ref-alert>p {font-size:12px!important;line-height:1.6!important;margin:0 0 12px!important;}
#site-footer .oh-ref-form {display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;}
#site-footer .oh-ref-form input[type="email"] {width:100%!important;min-width:0!important;height:44px!important;font-size:14px!important;border-radius:4px!important;box-sizing:border-box!important;}
#site-footer .oh-ref-form button {width:44px!important;height:44px!important;border-radius:4px!important;}
#site-footer .oh-ref-lock {font-size:11px!important;line-height:1.6!important;margin-top:10px!important;}
#site-footer .oh-ref-sources {padding:14px 28px!important;}
#site-footer .oh-ref-source-title {margin:0 0 12px!important;font-size:10px!important;letter-spacing:0!important;}
#site-footer .oh-ref-source-title span {letter-spacing:0!important;}
#site-footer .oh-ref-source-row {display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;align-items:center!important;}
#site-footer .oh-ref-source-row>a {display:flex!important;grid-column:auto!important;grid-row:auto!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:auto!important;height:52px!important;padding:8px 16px!important;box-sizing:border-box!important;border-left:1px solid var(--v4-line)!important;}
#site-footer .oh-ref-source-row>a:first-child {border-left:0!important;}
#site-footer .oh-ref-source-row img {width:auto!important;height:auto!important;max-width:118px!important;max-height:32px!important;object-fit:contain!important;}
#site-footer .oh-ref-source-row .source-logo--osmthome img {max-height:40px!important;}
#site-footer .oh-ref-source-row .source-logo-stack img {max-height:22px!important;}
#site-footer .oh-ref-source-row small {font-size:9px!important;margin-top:4px!important;}
#site-footer div.oh-ref-bottom {display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:16px!important;padding:12px 28px!important;align-items:center!important;}
#site-footer .oh-ref-copy {font-size:10px!important;line-height:1.6!important;}
#site-footer .oh-ref-credit {grid-column:2!important;grid-row:1!important;text-align:center!important;font-size:10px!important;line-height:1.5!important;margin:0!important;white-space:nowrap;}
#site-footer .oh-ref-bottom-links {gap:4px 12px!important;}
#site-footer .oh-ref-legal {gap:12px!important;}
#site-footer :is(.oh-ref-legal a,.oh-ref-support) {display:inline-flex!important;align-items:center!important;min-height:32px!important;font-size:10px!important;}
#site-footer :is(a,button,input):focus-visible {outline:2px solid var(--v4-orange)!important;outline-offset:3px!important;}
@media(max-width:1000px){
 #site-footer .oh-ref-top {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;padding:24px!important;}
 #site-footer .oh-ref-alert {grid-column:1/-1!important;max-width:540px;width:100%;}
 #site-footer div.oh-ref-bottom {grid-template-columns:1fr 1fr!important;padding:12px 24px!important;gap:4px 16px!important;}
 #site-footer .oh-ref-credit {grid-column:1/-1!important;grid-row:2!important;}
}
@media(max-width:600px){
 #site-footer .oh-ref-top {grid-template-columns:1fr!important;padding:22px 18px!important;gap:20px!important;}
 #site-footer .oh-ref-brand p {max-width:40ch!important;}
 #site-footer .oh-ref-socials a {width:44px!important;height:44px!important;}
 #site-footer nav.oh-ref-nav a {min-height:44px!important;}
 #site-footer .oh-ref-nav {border-top:1px solid var(--v4-line);padding-top:18px;}
 #site-footer .oh-ref-form input[type="email"] {font-size:16px!important;}
 #site-footer .oh-ref-sources {padding:14px 18px!important;}
 #site-footer .oh-ref-source-row {grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:8px!important;}
 #site-footer .oh-ref-source-row>a {padding:6px 8px!important;height:48px!important;}
 #site-footer .oh-ref-source-row>a:nth-child(4) {border-left:0!important;}
 #site-footer .oh-ref-source-row img {max-width:82px!important;max-height:26px!important;}
 #site-footer .oh-ref-source-row .source-logo--osmthome img {max-height:36px!important;}
 #site-footer div.oh-ref-bottom {grid-template-columns:1fr!important;padding:12px 18px!important;gap:6px!important;}
 #site-footer .oh-ref-copy {text-align:center!important;}
 #site-footer .oh-ref-copy br {display:none;}
 #site-footer .oh-ref-copy span::before {content:" ";}
 #site-footer .oh-ref-bottom-links {grid-row:2!important;justify-content:center!important;}
 #site-footer :is(.oh-ref-legal a,.oh-ref-support) {min-height:44px!important;font-size:11px!important;}
 #site-footer .oh-ref-credit {grid-column:1!important;grid-row:3!important;}
}
