@import url("./fonts/pretendard/pretendard.css");
@font-face { font-family: "Geist"; src: url("./fonts/geist/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  font-family: "Geist", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color-scheme: light;
  --bg: #EFF1F5;
  --surface: #E6E9EF;
  --soft: #DCE0E8;
  --line: #CCD0DA;
  --control-line: #BCC0CC;
  --border: var(--line);
  --muted: #5C5F77;
  --text: #4C4F69;
  --pill: #CCD0DA;
  --accent: #8839EF;
  --accent-ink: #EFF1F5;
  --oguri-green: #E6E9EF;
  --highlight: #CCD0DA;
  --highlight-ink: #4C4F69;
  --green: var(--accent);
  --danger: #D20F39;
  --warning-bg: #F5E6D3;
  --warning-text: #8A4B08;
  --elevation: 0 8px 30px #4C4F6926;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #1E1E2E;
  --surface: #181825;
  --soft: #313244;
  --line: #313244;
  --control-line: #6C7086;
  --muted: #A6ADC8;
  --text: #CDD6F4;
  --pill: #313244;
  --accent: #CBA6F7;
  --accent-ink: #11111B;
  --oguri-green: #313244;
  --danger: #F38BA8;
  --warning-bg: #3A3040;
  --warning-text: #F9E2AF;
  --elevation: 0 12px 40px #0009;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --bg: #1E1E2E;
  --surface: #181825;
  --soft: #313244;
  --line: #313244;
  --control-line: #6C7086;
  --muted: #A6ADC8;
  --text: #CDD6F4;
  --pill: #313244;
  --accent: #CBA6F7;
  --accent-ink: #11111B;
  --oguri-green: #313244;
  --danger: #F38BA8;
  --warning-bg: #3A3040;
  --warning-text: #F9E2AF;
  --elevation: 0 12px 40px #0009;
  }
}
* { box-sizing: border-box; }
body { color: var(--text); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
input, textarea, select { caret-color: var(--accent); accent-color: var(--accent); }
:root :is(input:not([type=checkbox]):not([type=radio]), textarea, select),
:root :is(input:not([type=checkbox]):not([type=radio]), textarea, select):focus,
:root :is(input:not([type=checkbox]):not([type=radio]), textarea, select):focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}
:root .model-picker:focus-within { outline: none; box-shadow: none; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
::selection { background: var(--highlight); color: var(--highlight-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { text-underline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { word-break: keep-all; overflow-wrap: anywhere; }
button:disabled { cursor: default; }
:root :is(button, [role=button]) { border: 0; box-shadow: none; }
:root :is(button, a, summary, [role=button]):focus:not(:focus-visible) { outline: none; box-shadow: none; }
:root :is(button, [role=button]):focus:not(:focus-visible) { border: 0; }
:root:not([data-keyboard-focus]) :is(button, a, summary, [role=button]):focus { outline: none !important; box-shadow: none !important; }
dialog { color: var(--text); background: var(--surface); }
dialog::backdrop { background: #17201b66; backdrop-filter: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
