/**
 * FullCator 2.0 — Base
 *
 * Resets and default element styles that build on tokens.css.
 * Loaded second by every Shell and module document.
 */

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fc-font);
  font-size: var(--fc-text-base);
  line-height: 1.5;
  color: var(--fc-text);
  background: var(--fc-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--fc-space-md) 0;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fc-text);
}

h1 { font-size: var(--fc-text-xl); }
h2 { font-size: var(--fc-text-lg); }
h3 { font-size: var(--fc-text-base); }

p {
  margin: 0 0 var(--fc-space-md) 0;
}

a {
  color: var(--fc-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid var(--fc-border);
  margin: var(--fc-space-lg) 0;
}

ul,
ol {
  margin: 0 0 var(--fc-space-md) 0;
  padding-left: var(--fc-space-xl);
}

code,
kbd,
pre {
  font-family: var(--fc-font-mono);
  font-size: 0.9em;
}

img {
  max-width: 100%;
  height: auto;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--fc-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: var(--fc-focus-ring);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hidden utility */
.fc-hidden {
  display: none !important;
}

.fc-in-shell [data-fc-shell-search] { display: none !important; }
