/* ARIA Command Center — base styles.
 * Design tokens live in ds/*.css. Fonts load from Google Fonts (Inter + Epilogue);
 * Phosphor icons load from cdnjs (see index.html). Both fall back gracefully.
 */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

html, body { margin: 0; height: 100%; background: #f6fafb; }
* { box-sizing: border-box; }
body { font-family: var(--font-body, Inter, system-ui, sans-serif); color: #111827; }
a { color: #1E7680; text-decoration: none; }
a:hover { color: #1C434F; text-decoration: underline; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* Native controls tuned to the design system */
input, select { font-family: inherit; color: #111827; }
input::placeholder { color: #9EA5B1; }
::selection { background: #CBE4EC; }

/* Thin scrollbars inside scroll regions (Webkit) */
#cc-main::-webkit-scrollbar, .cc-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
#cc-main::-webkit-scrollbar-thumb, .cc-scroll::-webkit-scrollbar-thumb { background: #C8CDD5; border-radius: 6px; }

/* Full-viewport app root */
#app { height: 100vh; }

/* Boot / fatal states rendered by main.js before the app mounts */
.cc-boot { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #f6fafb; }
.cc-boot-card { display: flex; flex-direction: column; align-items: center; gap: 14px; color: #4B5563; font-size: 14px; }
.cc-spin { width: 34px; height: 34px; border: 3px solid #CBE4EC; border-top-color: #1C434F; border-radius: 50%; animation: cc-spin 0.9s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc-spin { animation: none; } }
