/* Public support and footer adapted from the official InnovappSoft source. */
.dpf-public-ending{width:100%;min-width:0;clear:both;position:relative}
.dpf-public-ending *{box-sizing:border-box}
.dpf-shell{width:100%;max-width:1240px;margin:0 auto;padding:0 28px}
.dpf-public-ending a{text-decoration:none;color:inherit}
.dpf-support{padding:60px 0 64px;background:var(--bg);color:var(--text);scroll-margin-top:100px}
html[data-theme='light'] .dpf-support{background:#fff}
html[data-theme='light'] .dpf-support-card{background:#fff}
.dpf-support-head{display:grid;grid-template-columns:170px minmax(0,1fr);gap:42px;padding-bottom:26px;margin-bottom:28px;border-bottom:1px solid var(--border)}
.dpf-section-tag{position:relative;align-self:start;padding-top:13px;font:500 .625rem var(--font-body);letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.dpf-section-tag:before{content:'';position:absolute;left:0;top:0;width:30px;height:2px;background:var(--accent-from)}
.dp-ui .dpf-support-head h2{font:720 clamp(1.625rem,3.3vw,2.7rem)/1.06 var(--font-brand);letter-spacing:-.045em;margin:0;color:var(--text)}
.dpf-support-head p{font-size:.875rem;line-height:1.7;max-width:590px;margin:16px 0 0;color:var(--muted)}
.dpf-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dpf-support-card{display:flex;align-items:center;gap:11px;padding:11px 13px;min-height:76px;border:1px solid var(--border-md);border-radius:16px;background:var(--surface);min-width:0;transition:border-color .2s,transform .2s}
.dpf-support-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.dpf-support-icon{background:var(--icon-bg);display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid var(--border-md);border-radius:11px}
.dpf-support-icon img{display:block;width:20px;height:20px;object-fit:contain;filter:invert(1);opacity:.94}
html[data-theme='light'] .dpf-support-icon img{filter:none;opacity:1}
.dpf-support-card-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.dpf-support-card strong{font:650 .875rem/1.25 var(--font-brand);letter-spacing:-.015em;color:var(--text)}
.dpf-support-card small{font:400 .625rem/1.4 var(--font-body);color:var(--muted);overflow-wrap:anywhere}
/* Matches the current corporate footer: brand, navigation and social row, then legal links. */
.dpf-footer{padding:40px 0 33px;background:var(--bg);color:var(--text)}
.dpf-footer .dpf-shell{width:min(1400px,calc(100% - 112px));max-width:1400px;padding:0}
.dpf-footer-top{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-bottom:70px}
.dpf-brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;line-height:1.2;font-weight:650;letter-spacing:-.5px;white-space:nowrap}
.dpf-brand img{width:35px;height:35px;object-fit:contain;flex-shrink:0}
.dpf-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:17px;font-size:13px;font-weight:650}
.dpf-social-links{display:flex;align-items:center;gap:15px;flex-shrink:0}
.dpf-social-links a{display:flex;align-items:center}
.dpf-social-links img{display:block;width:21px;height:21px;object-fit:contain;opacity:.85}
html[data-theme='dark'] .dpf-social-links img{filter:invert(1)}
.dpf-bottom{position:relative;display:flex;align-items:flex-start;gap:25px;font-size:12px;color:var(--muted)}
.dpf-bottom>span{white-space:nowrap}
.dpf-legal-links{display:flex;flex:1;gap:9px 20px;flex-wrap:wrap}
.dpf-legal-links a:hover,.dpf-footer-nav a:hover{color:var(--accent)}
.dpf-back-top{display:flex;line-height:1;color:var(--muted)}
.dpf-back-top svg{width:24px;height:24px;flex-shrink:0}
.dpf-disclaimer{font-size:11px;line-height:1.8;color:var(--muted);margin-top:30px;max-width:1090px}
.dp-ui .dpf-public-ending a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1300px){.dpf-footer-top{flex-wrap:wrap;margin-bottom:40px}.dpf-footer-nav{order:3;width:100%;justify-content:flex-start}}
@media(max-width:1080px){.dpf-support-head{grid-template-columns:130px minmax(0,1fr);gap:30px}}
@media(max-width:760px){
 .dpf-support{padding:44px 0 46px}.dpf-support-head{grid-template-columns:1fr;gap:20px;margin-bottom:23px;padding-bottom:23px}.dpf-support-head p{font-size:.8125rem}.dpf-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dpf-support-card{padding:12px;min-height:76px;gap:10px}.dpf-support-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}.dpf-support-icon img{width:19px;height:19px}.dpf-support-card strong{font-size:.8125rem}.dpf-support-card small{font-size:.5625rem}
 .dpf-footer .dpf-shell{width:calc(100% - 40px)}.dpf-footer-top{gap:28px;margin-bottom:36px}.dpf-footer-nav{gap:18px 22px;justify-content:flex-start}.dpf-social-links{gap:13px}.dpf-bottom{flex-wrap:wrap;gap:22px}.dpf-bottom>span{width:100%;order:0}.dpf-legal-links{order:2;flex-basis:100%;gap:12px 22px}.dpf-back-top{position:absolute;right:0}.dpf-disclaimer{margin-top:25px}
}
@media(max-width:520px){.dpf-shell{padding:0 20px}.dpf-support-grid{grid-template-columns:1fr}.dpf-support-card{padding:13px 14px;min-height:74px}.dpf-support-card strong{font-size:.875rem}.dpf-support-card small{font-size:.625rem}}
@media(max-width:390px){.dpf-footer .dpf-shell{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){.dpf-public-ending a{transition:none}.dpf-support-card:hover{transform:none}}
