:root {
  font-family:
    'Pretendard Variable',
    'SUIT Variable',
    'Noto Sans KR',
    'Apple SD Gothic Neo',
    'Segoe UI',
    sans-serif;
  line-height: 1.5;
  font-weight: 500;
  color: #20242b;
  background: #f7f3ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --surface-page: #f7f3ee;
  --surface-base: #ffffff;
  --surface-raised: #fdfaf6;
  --surface-muted: #faf6f1;
  --surface-selected: #f3ece4;
  --surface-chat-mine: #f0e5d8;
  --border-subtle: #e8ddd2;
  --border-strong: #dbcdbf;
  --border-contrast: #394350;
  --text-strong: #20242b;
  --text-soft: #3b414b;
  --text-muted: #82766d;
  --focus-ring: #c07a43;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-page);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  background: var(--surface-page);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

#root {
  min-height: 100svh;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}
