/* Harthwyn 26.01.117 — shared responsive authority loaded last on Harthwyn surfaces. */
.harthwyn-app *, .harthwyn-shell *, .harthwyn-admin *, .wrap[class*="harthwyn"] *, body[class*="harthwyn"] * { box-sizing:border-box; }
.harthwyn-app, .harthwyn-shell, .harthwyn-admin, .wrap[class*="harthwyn"], body[class*="harthwyn"] #wpbody-content { min-width:0; max-width:100%; }
.harthwyn-app img, .harthwyn-shell img, .harthwyn-admin img, .wrap[class*="harthwyn"] img { max-width:100%; height:auto; }
.harthwyn-app video, .harthwyn-app iframe, .harthwyn-shell video, .harthwyn-shell iframe { max-width:100%; }
.harthwyn-app :is(p,li,td,th,a,button,label,legend,h1,h2,h3,h4), .harthwyn-shell :is(p,li,td,th,a,button,label,legend,h1,h2,h3,h4), .wrap[class*="harthwyn"] :is(p,li,td,th,a,button,label,legend,h1,h2,h3,h4) { overflow-wrap:anywhere; }
.harthwyn-app :is(.harthwyn-grid,.harthwyn-card-grid,.harthwyn-actions,.harthwyn-toolbar,.harthwyn-page-header), .harthwyn-shell :is(.harthwyn-grid,.harthwyn-card-grid,.harthwyn-actions,.harthwyn-toolbar,.harthwyn-page-header) { min-width:0; }
.harthwyn-app :is(input,select,textarea,button), .harthwyn-shell :is(input,select,textarea,button), .wrap[class*="harthwyn"] :is(input,select,textarea,button) { max-width:100%; }
.harthwyn-app :is(button,.button,[role="button"],input[type="submit"]), .harthwyn-shell :is(button,.button,[role="button"],input[type="submit"]), .wrap[class*="harthwyn"] :is(button,.button,[role="button"],input[type="submit"]) { min-height:44px; white-space:normal; line-height:1.25; }
.harthwyn-responsive-table { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; border-radius:12px; }
.harthwyn-responsive-table > table { width:100%; min-width:640px; margin:0; }
.harthwyn-responsive-table:focus { outline:3px solid rgba(34,113,177,.28); outline-offset:2px; }
.harthwyn-mobile-nav, .harthwyn-member-nav, .harthwyn-desktop-nav, .nav-tab-wrapper { scrollbar-width:thin; }
.harthwyn-modal, .harthwyn-dialog, [class*="harthwyn"][role="dialog"] { width:min(720px, calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; }
@media (max-width:1024px){
  .harthwyn-app :is(.harthwyn-two-column,.harthwyn-three-column,.harthwyn-dashboard-grid,.harthwyn-profile-grid), .harthwyn-shell :is(.harthwyn-two-column,.harthwyn-three-column,.harthwyn-dashboard-grid,.harthwyn-profile-grid) { grid-template-columns:minmax(0,1fr) !important; }
  .harthwyn-app :is(.harthwyn-actions,.harthwyn-toolbar,.harthwyn-page-header), .harthwyn-shell :is(.harthwyn-actions,.harthwyn-toolbar,.harthwyn-page-header) { flex-wrap:wrap; }
}
@media (max-width:782px){
  body[class*="harthwyn"] #wpcontent { padding-left:10px; }
  body[class*="harthwyn"] #wpbody-content, .wrap[class*="harthwyn"] { width:100%; margin-right:0; }
  .wrap[class*="harthwyn"] .form-table, .wrap[class*="harthwyn"] .form-table tbody, .wrap[class*="harthwyn"] .form-table tr, .wrap[class*="harthwyn"] .form-table th, .wrap[class*="harthwyn"] .form-table td { display:block; width:100%; }
  .wrap[class*="harthwyn"] .form-table th { padding:16px 0 6px; }
  .wrap[class*="harthwyn"] .form-table td { padding:0 0 16px; }
  .wrap[class*="harthwyn"] .nav-tab-wrapper { display:flex; gap:6px; overflow-x:auto; white-space:nowrap; padding-bottom:6px; }
  .wrap[class*="harthwyn"] .nav-tab { flex:0 0 auto; margin:0; }
  .harthwyn-app, .harthwyn-shell { padding-inline:clamp(12px,4vw,24px); }
  .harthwyn-app :is(.harthwyn-actions,.harthwyn-toolbar), .harthwyn-shell :is(.harthwyn-actions,.harthwyn-toolbar) { display:flex; align-items:stretch; gap:10px; }
  .harthwyn-app :is(.harthwyn-actions,.harthwyn-toolbar) > *, .harthwyn-shell :is(.harthwyn-actions,.harthwyn-toolbar) > * { flex:1 1 180px; }
  .harthwyn-app :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea), .harthwyn-shell :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { width:100%; font-size:16px; }
  .harthwyn-responsive-table > table { min-width:560px; }
}
@media (max-width:480px){
  .harthwyn-app, .harthwyn-shell { padding-inline:12px; }
  .harthwyn-app :is(.button,button,input[type="submit"]), .harthwyn-shell :is(.button,button,input[type="submit"]) { width:100%; justify-content:center; text-align:center; }
  .harthwyn-app :is(.harthwyn-actions,.harthwyn-toolbar), .harthwyn-shell :is(.harthwyn-actions,.harthwyn-toolbar) { display:grid; grid-template-columns:1fr; }
  .harthwyn-message-bubble { max-width:100% !important; }
  .harthwyn-responsive-table > table { min-width:520px; }
}
@media (prefers-reduced-motion:reduce){
  .harthwyn-app *, .harthwyn-shell *, .wrap[class*="harthwyn"] * { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
