:root,
[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F7F7F7;
  --surface-2: #EFEFEF;
  --ink: #0A0A0A;
  --ink-muted: #595959;
  --border: #DCDCDC;
  --border-strong: #0A0A0A;
  --accent-bg: #0A0A0A;
  --accent-ink: #FFFFFF;
  --checker-a: #EAEAEA;
  --checker-b: #FFFFFF;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --surface: #121212;
  --surface-2: #1B1B1B;
  --ink: #FFFFFF;
  --ink-muted: #A3A3A3;
  --border: #262626;
  --border-strong: #FFFFFF;
  --accent-bg: #FFFFFF;
  --accent-ink: #0A0A0A;
  --checker-a: #1A1A1A;
  --checker-b: #0E0E0E;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

[data-style="modern"] {
  --radius: 10px;
  --radius-sm: 6px;
}

[data-style="classic"] {
  --radius: 0px;
  --radius-sm: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hidden {
  display: none !important;
}

[data-theme="light"] .logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
