/* Monkey Journal — global styles.
   All component-level styling lives inline in the React components;
   only the reset, shared typography classes, and scroll-bar hiding
   that must affect the document are here. */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ece8df;
  color: #1a1a1a;
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

*, *::before, *::after {
  box-sizing: border-box;
}

#root {
  height: 100%;
}

/* Shared typography classes reused across every screen */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #9a958d;
  font-weight: 500;
}

.page-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1.05;
  margin: 0;
  color: #1a1a1a;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5a554c;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover:not(:disabled) {
  background: rgba(26, 26, 26, 0.05);
}

.icon-btn:disabled {
  cursor: default;
}

/* Suppress scrollbars inside scroll regions so the app reads as native */
[data-scroll]::-webkit-scrollbar {
  display: none;
}

button,
textarea {
  font-family: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

textarea::placeholder {
  color: #9a958d;
  opacity: 1;
}
