*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; }
h1 { font-size: 20px; } h2 { font-size: 16px; } h3 { font-size: 14px; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); } .small { font-size: 12px; } .nowrap { white-space: nowrap; }
.right { text-align: right; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; } .stack.sm { gap: 8px; } .stack.lg { gap: 20px; }
.grow { flex: 1; min-width: 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }

/* Form alanları */
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
label.field .req { color: var(--danger); }
.input, select.input, textarea.input {
  width: 100%; height: 36px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .12s, box-shadow .12s;
}
textarea.input { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; }
.input:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.input.err { border-color: var(--danger); }
.input::placeholder { color: var(--text-3); }
.error { color: var(--danger); font-size: 12px; font-weight: 500; }
.hint { color: var(--text-3); font-size: 12px; font-weight: 400; }
/* Sayı alanlarında artır/azalt okları gösterilmez (REHBER_v2 3.5) */
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }
@media (pointer: coarse), (max-width: 640px) { .input, select.input { height: 44px; font-size: 16px; } }

/* Kaydırma çubuğu */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
