/* Workmap base — reset + typography + 기본 컴포넌트 */

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

html, body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--surface-1);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
h1 { font-size: 32px; letter-spacing: -0.03em; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }

p { margin: 0; }

a {
  color: var(--rose);
  text-decoration: none;
  transition: color 150ms var(--ease-smooth);
}
a:hover { color: var(--rose-hover); }

img, svg { max-width: 100%; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  border: 0.5px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all 150ms var(--ease-smooth);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-hover); color: #fff; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-60); color: #fff; }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--line-1);
}
.btn-ghost:hover { background: var(--surface-3); color: var(--text-1); }

/* Inputs */
.input {
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-1);
  transition: border-color 150ms var(--ease-smooth);
}
.input:focus { outline: none; border-color: var(--rose); }
.input::placeholder { color: var(--text-4); }

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

/* Card */
.card {
  background: var(--surface-1);
  border: 0.5px solid var(--line-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

/* Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
