:root {
  --takdora-foreground: #17211d;
  --takdora-muted: #5b665f;
  --takdora-surface: #fffcf5;
  --takdora-surface-subtle: #f4efe3;
  --takdora-brand: #a64419;
  --takdora-danger: #b42318;
  --takdora-success: #1d6f42;
  --takdora-warning: #9a6700;
  --takdora-focus: #1d6f42;
  --takdora-touch-target: 2.75rem;
}

html {
  background: var(--takdora-surface);
  color: var(--takdora-foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-size-adjust: 100%;
}

body { min-width: 20rem; margin: 0; }

::selection { background: #f7c9af; color: var(--takdora-foreground); }

:focus-visible {
  outline: 3px solid var(--takdora-focus);
  outline-offset: 3px;
}

button, input, select, textarea { min-height: var(--takdora-touch-target); }

.skip-link {
  background: var(--takdora-foreground);
  color: white;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 1000;
}

.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media print {
  body { background: white; color: black; }
  .skip-link { display: none; }
}

.availability-block {
  background: white;
  border: 1px solid #e6ded0;
  border-radius: 0.5rem;
  cursor: grab;
  padding: 0.75rem;
}

.schedule-drop-grid { margin: 0.5rem 0 1rem; gap: 0.5rem; }

.schedule-drop-target {
  border: 1px dashed var(--takdora-muted);
  border-radius: 0.5rem;
  min-height: var(--takdora-touch-target);
  padding: 0.5rem;
  text-align: center;
}

.schedule-drop-target:focus-within, .schedule-drop-target:hover { border-color: var(--takdora-focus); }

@media (max-width: 640px) {
  .schedule-drop-grid { grid-template-columns: 1fr !important; }
}
