/* =============================================================
   House Tasks — Base layer (Apple-native reset + WKWebView fixes).
   Loaded after tokens.css. Does NOT touch app layout geometry.
   ============================================================= */
*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html,body{
  margin:0; padding:0; height:100%;
  background:var(--ht-bg); color:var(--ht-label);
  font-family:var(--ht-font); font-size:17px; line-height:1.3;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
button{ font:inherit; color:inherit; cursor:pointer; }
input,select,textarea{ font:inherit; font-size:16px; color:var(--ht-label); } /* 16px = no iOS zoom */
a{ color:var(--ht-accent); text-decoration:none; }
img{ max-width:100%; }
::selection{ background:var(--ht-accent-tint); }

/* Inline SVG line icon (SF-Symbols style, currentColor) */
.icon{ width:24px; height:24px; display:inline-block; flex:none; vertical-align:middle;
  fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.icon-sm{ width:20px; height:20px; }
.icon-lg{ width:28px; height:28px; }

/* Momentum scroll for any scroll region */
[class*="scroll"], #main, .modal-card, .sidemenu-panel{ -webkit-overflow-scrolling:touch; }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
