html, body { margin:0; padding:0; background: var(--bg-canvas); }
  #app { min-height: 100vh; display:flex; }
  .main { flex:1; display:flex; flex-direction:column; min-width:0; min-height:100vh; }
  .content { flex:1; overflow:auto; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }
  .toast-host { position: fixed; bottom: 20px; right: 20px; display:flex; flex-direction:column; gap:8px; z-index: 100; }
  .hd-toast { width: 360px; max-width: calc(100vw - 32px); box-sizing: border-box; color: var(--text-primary); }
  .hd-toast-close { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; margin: -4px -6px 0 0; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); cursor: pointer; }
  .hd-toast-close:focus-visible { outline: none; box-shadow: var(--focus-ring); }
  @media (max-width: 480px) {
    .toast-host { left: 16px; right: 16px; bottom: 16px; }
    .hd-toast { width: auto; max-width: none; }
    .hd-toast-close { min-width: 44px; min-height: 44px; margin: -12px -14px -12px 0; }
  }
