/* v1.44 — Social footer with one shared component on site footer and Contact page.
   Inline local SVG only; no third-party embed, icon-font or network request. */
.site-footer.app-shell .footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:25px;row-gap:15px;min-width:0}
.site-footer .footer-brand{min-width:0;grid-column:1}
.site-footer .footer-inner>.footer-social{grid-column:2;grid-row:1}
.site-footer .footer-inner>nav[aria-label="Chính sách"]{grid-column:1;grid-row:2;min-width:0}
.site-footer .footer-inner>small{grid-column:2;grid-row:2;text-align:right;white-space:nowrap}
.footer-social{min-width:0;max-width:100%;--social-accent:var(--jade);}
.footer-social h2{margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.45;letter-spacing:.025em}
.footer-social-links{display:flex!important;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px!important;min-width:0}
.footer-social-links .footer-social-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:44px;min-width:44px;padding:0 11px;border-radius:12px;border:1px solid var(--line);background:var(--surface-solid);color:var(--deep);font-size:13px;font-weight:650;line-height:1.35;text-decoration:none;transition:background-color .17s ease,border-color .17s ease,color .17s ease}
.footer-social-links .social-icon{width:20px;height:20px;flex:0 0 20px}
.footer-social-links .footer-social-link:hover{background:rgba(7,115,87,.09);color:var(--social-accent);border-color:rgba(7,115,87,.24)}
.footer-social-links .footer-social-link:focus-visible{outline:2px solid var(--social-accent);outline-offset:3px}
.footer-social.social-style-icon .footer-social-link{width:44px;padding:0}
.footer-social.social-style-label .footer-social-link{padding-inline:11px}
.footer-social.social-style-pill .footer-social-link{border-radius:999px;background:transparent;padding-inline:15px}
.site-footer .footer-social-links .footer-social-link{color:var(--deep);font-size:13px;text-align:center}
.site-footer .footer-social-links .footer-social-link:hover{color:var(--social-accent)}
.read-page .footer-social{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.read-page .footer-social-links{margin-top:9px}
@media(max-width:760px){
  .site-footer.app-shell .footer-inner{grid-template-columns:minmax(0,1fr);gap:13px}
  .site-footer .footer-brand,.site-footer .footer-inner>.footer-social,.site-footer .footer-inner>nav[aria-label="Chính sách"],.site-footer .footer-inner>small{grid-column:1;grid-row:auto}
  .site-footer .footer-inner>.footer-social{margin-top:2px}
  .site-footer .footer-inner>small{text-align:left;white-space:normal}
  .site-footer .footer-social-links{gap:7px!important}
}
@media(prefers-reduced-motion:reduce){.footer-social-links .footer-social-link{transition:none}}
/* Admin settings — maintain the system's Bai Jamjuree controls and avoid nested cards. */
.social-admin-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.social-admin-heading h2{font-size:20px;margin:3px 0 7px;color:var(--deep)}
.social-admin-heading p:not(.eyebrow){font-size:13px;line-height:1.65;max-width:690px;color:var(--muted);margin:0}
.social-admin-options{margin-bottom:19px}
.social-admin-list-head{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.social-admin-list-head h3{font-size:16px;color:var(--deep);margin:0 0 5px}
.social-admin-list-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.55}
.social-admin-list{display:grid;gap:10px}
.social-admin-row{border:1px solid var(--line);background:var(--surface);padding:12px 15px;border-radius:14px;min-width:0}
.social-admin-row.is-dragging{opacity:.52;border-color:var(--jade)}
.social-admin-row-head{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.social-admin-row-head strong{font-size:13px;color:var(--deep)}
.social-admin-grip{font-size:18px;color:var(--muted);cursor:grab;line-height:1}
.social-admin-move{display:flex;gap:5px;margin-left:auto}
.social-admin-move button{height:34px;width:34px;border:1px solid var(--line);border-radius:9px;background:var(--surface-solid);color:var(--deep);font-size:18px;cursor:pointer}
.social-admin-move button:disabled{opacity:.3;cursor:default}
.social-admin-fields{display:grid;grid-template-columns:minmax(125px,1fr) minmax(130px,1fr) minmax(190px,2fr) auto;align-items:end;gap:10px}
.social-admin-fields label{min-width:0}
.social-admin-fields input,.social-admin-fields select{min-width:0;max-width:100%}
.social-admin-enable{display:flex!important;align-items:center;gap:7px;min-height:44px;white-space:nowrap}
.social-admin-enable input{width:19px;height:19px;accent-color:var(--jade)}
.social-admin-footer-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:17px}
.social-admin-footer-actions>span{font-size:12px;color:var(--muted)}
.social-admin-preview-surface{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:18px;min-height:100px}
.social-admin-empty{font-size:13px;color:var(--muted)}
@media(max-width:1050px){.social-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.social-admin-url-field{grid-column:1/3}}
@media(max-width:550px){.social-admin-fields{grid-template-columns:1fr}.social-admin-fields .social-url-field{grid-column:1}.social-admin-row{padding:11px}.social-admin-footer-actions>.btn{width:100%}}
/* Inputs are scoped: native select boxes should never collapse inside Admin grid cells. */
.social-admin-options label,.social-admin-fields label:not(.social-admin-enable){display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:13px;font-weight:650;color:var(--deep);line-height:1.45;min-width:0}
.social-admin-options :is(input,select),.social-admin-fields :is(input:not([type="checkbox"]),select){box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-solid);color:var(--deep);font:500 14px/1.35 'Bai Jamjuree',sans-serif}
.social-admin-options :is(input,select):focus-visible,.social-admin-fields :is(input,select):focus-visible{outline:2px solid var(--jade);outline-offset:1px}
.social-admin-fields .social-admin-enable{font-size:13px;color:var(--deep);font-weight:650}
@media(max-width:550px){.social-admin-options :is(input,select),.social-admin-fields :is(input:not([type="checkbox"]),select){font-size:16px}}
