/* [project]/app/globals.css [app-client] (css) */
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

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

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .block {
    display: block;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }
}

:root {
  color: #39334d;
  background: #f1edf7;
  font-family: system-ui, Apple SD Gothic Neo, Noto Sans KR, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #786098;
}

.studio {
  background: #f1edf7;
  justify-content: center;
  min-height: 100dvh;
  padding: 0;
  display: flex;
}

.phone {
  background: #d9d0f8;
  flex-direction: column;
  width: min(100%, 420px);
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  position: relative;
  overflow: hidden;
}

@media (min-width: 760px) {
  .studio {
    padding: 16px 8px;
  }

  .phone {
    border: 1px solid #d4c5e3;
    border-radius: 30px;
    height: calc(100dvh - 32px);
    max-height: calc(100dvh - 32px);
    box-shadow: 0 12px 40px #66508220;
  }
}

.sky {
  background: #d9d0f8 url("/sky.webp") center / cover no-repeat;
  position: absolute;
  inset: 0;
}

.topbar, .stage, .drawer, .sheet, .scrim, .sheet-shade {
  z-index: 1;
  position: relative;
}

.topbar {
  padding: calc(16px + env(safe-area-inset-top)) 14px 8px;
  background: linear-gradient(#fff7ff66, #0000);
  align-items: center;
  gap: 10px;
  display: flex;
}

.icon-btn, .chip {
  color: #50415e;
  background: #fffaffc9;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 18px #46304e0b;
}

.icon-btn {
  border-radius: 15px;
  width: 44px;
  height: 44px;
}

.word {
  letter-spacing: 3px;
  color: #41344f;
  font-size: 18px;
  font-weight: 600;
}

.sub {
  color: #625772;
  margin: 2px 0 0;
  font-size: 11px;
}

.stage {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.scrim {
  z-index: 15;
  background: #21152d66;
  border: 0;
  position: absolute;
  inset: 0;
}

.drawer {
  z-index: 16;
  color: #39334d;
  background: #fff9ff;
  flex-direction: column;
  gap: 5px;
  width: min(86%, 285px);
  padding: 20px 16px;
  animation: .18s ease-out drawer-in;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  box-shadow: 10px 0 40px #1d102f22;
}

.drawer a {
  text-align: left;
  color: #39334d;
  border-radius: 15px;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 15px;
  text-decoration: none;
  display: flex;
}

.drawer a[aria-current="page"] {
  background: #eee5f6;
}

.drawer .close {
  color: #50415e;
  background: none;
  border: 0;
  margin-left: auto;
  font-size: 22px;
}

.brand-row {
  align-items: center;
  padding: 0 3px 18px;
  display: flex;
}

.brand-row .word {
  letter-spacing: 2px;
  font-size: 20px;
}

.tagline {
  color: #625772;
  margin-top: auto;
  padding: 18px 8px;
  font-size: 12px;
}

.home {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.scene {
  flex: 1;
  min-height: 0;
  position: relative;
}

.character {
  z-index: 2;
  filter: drop-shadow(0 12px 10px #73619e33);
  background: none;
  border: 0;
  width: 168px;
  height: 168px;
  margin-left: -84px;
  padding: 0;
  animation: 3.2s ease-in-out infinite float;
  position: absolute;
  top: 8px;
  left: 50%;
}

.character svg {
  width: 100%;
  height: 100%;
}

.character.react {
  animation: .6s nod;
}

.thread {
  z-index: 2;
  overscroll-behavior: contain;
  scrollbar-width: none;
  flex-direction: column;
  gap: 8px;
  padding: 22px 6px 12px;
  display: flex;
  position: absolute;
  inset: 176px 8px 0;
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(#0000, #000 26px, #000);
  mask-image: linear-gradient(#0000, #000 26px, #000);
}

.thread::-webkit-scrollbar {
  display: none;
}

.bubble {
  overflow-wrap: anywhere;
  border: 1px solid #fff9;
  border-radius: 15px 15px 15px 4px;
  max-width: 86%;
  padding: 8px 11px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 2px 8px #6951870a;
}

.bubble.assistant {
  color: #39304c;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  white-space: normal;
  background: #fffaffc4;
  max-width: 92%;
  padding: 10px 12px;
}

.answer {
  flex-direction: column;
  gap: 8px;
  line-height: 1.55;
  display: flex;
}

.answer p, .answer h3, .answer ul, .answer ol, .answer pre {
  margin: 0;
}

.answer h3 {
  font-size: 15px;
  font-weight: 650;
}

.answer ul, .answer ol {
  padding-left: 1.2em;
}

.answer ul {
  list-style: outside;
}

.answer ol {
  list-style: decimal;
}

.answer li + li {
  margin-top: 4px;
}

.answer strong {
  font-weight: 700;
}

.answer a {
  color: #5c3f86;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.answer code {
  background: #f4eafb;
  border-radius: 5px;
  padding: 1px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
}

.answer pre {
  background: #f7f1fb;
  border-radius: 10px;
  padding: 8px 10px;
  overflow: auto;
}

.answer pre code {
  background: none;
  padding: 0;
}

.bubble.user {
  color: #fffaff;
  white-space: pre-wrap;
  background: #5b447ec4;
  border-color: #fff4;
  border-radius: 15px 15px 4px;
  max-width: 82%;
  margin-left: auto;
}

.time {
  margin-top: 3px;
  font-size: 11px;
  display: block;
}

.bubble.assistant .time {
  color: #685877;
}

.bubble.user .time {
  color: #f0e6fa;
  text-align: right;
}

.cite {
  color: #493263;
  background: #fffaffd4;
  border-radius: 12px;
  margin-top: 6px;
  padding: 8px 10px;
  font-size: 12px;
  text-decoration: none;
  display: block;
}

.cite.gone {
  opacity: .6;
}

.composer {
  margin: 8px 12px calc(12px + env(safe-area-inset-bottom));
  background: #fffaffee;
  border: 1px solid #fffc;
  border-radius: 24px;
  align-items: center;
  gap: 4px;
  padding: 6px;
  display: flex;
  box-shadow: 0 5px 24px #6951871c;
}

.composer textarea {
  resize: none;
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  max-height: 96px;
  padding: 10px 4px;
  font-size: 16px;
}

.plus, .send {
  border: 0;
  border-radius: 999px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.plus {
  color: #50415e;
  background: none;
  font-size: 24px;
}

.send {
  color: #fff;
  background: #796097;
  font-size: 18px;
}

.jump {
  z-index: 5;
  color: #50415e;
  white-space: nowrap;
  background: #fffaffee;
  border: 1px solid #fffc;
  border-radius: 24px;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 20px #39214420;
}

.sheet-shade {
  z-index: 20;
  background: #21152d66;
  align-items: flex-end;
  display: flex;
  position: absolute;
  inset: 0;
}

.sheet {
  overscroll-behavior: contain;
  color: #39334d;
  width: 100%;
  max-height: 88%;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  background: #fcf3ff;
  border-radius: 25px 25px 0 0;
  position: relative;
  overflow: auto;
}

.sheet-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.sheet-head button {
  color: #50415e;
  background: none;
  border: 0;
  font-size: 22px;
}

.food-fields {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  display: grid;
}

.sheet label, .stack label, .page-pad label {
  color: #604b75;
  margin-top: 10px;
  font-size: 12px;
  display: block;
}

.sheet input:not([type="checkbox"]):not([type="radio"]), .sheet textarea, .sheet select, .stack input:not([type="checkbox"]):not([type="radio"]), .stack textarea, .stack select, .page-pad input:not([type="checkbox"]):not([type="radio"]), .page-pad textarea, .page-pad select, .searchbox input {
  color: #493263;
  background: #fffafbe8;
  border: 1px solid #fffc;
  border-radius: 14px;
  width: 100%;
  margin-top: 4px;
  padding: 11px;
  font-size: 16px;
}

.page-pad label.check-row, .stack label.check-row {
  color: #39334d;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 0;
  font-size: 15px;
  display: flex;
}

.check-row input[type="checkbox"] {
  accent-color: #796097;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
}

.primary, .ghost {
  border: 0;
  border-radius: 15px;
  min-height: 44px;
  padding: 12px 14px;
}

.primary {
  color: #fff;
  background: #796097;
  width: 100%;
  margin-top: 12px;
}

.ghost {
  color: #493263;
  background: #fff;
  border: 1px solid #e3d5ee;
}

.actions {
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  display: flex;
}

.actions .primary, .actions .ghost {
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  text-decoration: none;
  display: flex;
}

.panel, .glass {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #fff9ffe6;
  border: 1px solid #fffa;
  border-radius: 20px;
  margin: 12px 0;
  padding: 14px;
}

.page-pad {
  color: #493263;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  min-height: 0;
  padding: 4px 14px 24px;
  display: flex;
  overflow: auto;
}

.page-pad > label, .page-pad > .searchbox, .page-pad > .collections, .page-pad > .primary, .page-pad > .actions {
  margin-top: 0;
}

.page-pad > .panel {
  margin: 0;
}

.page-pad > .ghost {
  align-self: flex-start;
  margin: 0;
}

.page-pad h1, .stack h1, .glass h1 {
  margin: 8px 0 12px;
  font-size: 21px;
  font-weight: 500;
}

.page-pad > h1 {
  margin: 0;
}

.row, .button-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
}

.button-row .ghost, .button-row .primary {
  width: auto;
  margin: 0;
}

.toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.chip {
  padding: 8px 12px;
  text-decoration: none;
  display: inline-block;
}

.searchbox {
  justify-content: flex-end;
  margin-top: 8px;
  display: flex;
}

.searchbox input {
  width: min(100%, 240px);
}

.archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.archive-card {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fff9;
  border: 1px solid #fffc;
  border-radius: 19px;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.archive-cover {
  background: linear-gradient(140deg, #efdcf7c9, #cdbfecb3);
  align-items: flex-end;
  height: 92px;
  padding: 12px;
  font-size: 13px;
  display: flex;
}

.archive-card strong {
  padding: 10px 11px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}

.archive-card .status {
  padding: 6px 11px 11px;
  display: block;
}

.collection-row {
  gap: 9px;
  padding: 2px 0 6px;
  display: flex;
  overflow: auto;
}

.collection-card {
  text-align: left;
  color: #493263;
  background: linear-gradient(140deg, #ffe8f4db, #d9c6f4d9);
  border: 0;
  border-radius: 18px;
  min-width: 102px;
  max-width: 140px;
  min-height: 76px;
  padding: 12px;
}

.collection-card small {
  color: #6c5485;
  margin-top: 4px;
  display: block;
}

.collections {
  border: 0;
  margin: 12px 0 0;
  padding: 0;
}

.collections label {
  align-items: center;
  gap: 8px;
  display: flex;
}

.collections input {
  width: auto;
  margin: 0;
}

.card {
  text-decoration: none;
  display: block;
}

.status {
  color: #604b75;
  font-size: 12px;
}

.linked {
  color: #493263;
  margin: 0 16px 6px;
  font-size: 12px;
}

.error {
  color: #8d2f4a;
  font-size: 13px;
}

.phone .stack {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #fff9ffeb;
  border: 1px solid #fffa;
  border-radius: 22px;
  margin: 8px 0;
  padding: 18px 16px 22px;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes nod {
  0% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .character, .character.react, .drawer {
    animation: none;
  }
}

@media (max-width: 759px) {
  .character {
    width: 96px;
    height: 96px;
    margin-left: -48px;
    top: 0;
  }

  .thread {
    padding-top: 8px;
    top: 108px;
    -webkit-mask-image: linear-gradient(#0000, #000 14px, #000);
    mask-image: linear-gradient(#0000, #000 14px, #000);
  }
}

@media (max-width: 359px) {
  .topbar, .page-pad {
    padding-left: 10px;
    padding-right: 10px;
  }

  .character {
    width: 88px;
    height: 88px;
    margin-left: -44px;
  }

  .thread {
    top: 84px;
  }

  .food-fields {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/