/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f6f5f1; --panel: #ffffff; --side: #17181c; --side-text: #c9cbd3; --side-hover: #24262d;
  --text: #1b1c20; --muted: #6b6f7b; --line: #e3e1da; --accent: #e8590c; --accent-text: #ffffff;
  --soft: #fff1e8; --ok: #1f8a4c; --bad: #c92a2a; --bubble: #ece9e1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121317; --panel: #1b1d22; --side: #0c0d10; --side-text: #b6b9c3; --side-hover: #1b1d22;
    --text: #ecedf0; --muted: #9499a6; --line: #2b2e36; --accent: #ff7a33; --accent-text: #17181c;
    --soft: #2a1d14; --ok: #51cf66; --bad: #ff8787; --bubble: #262931;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 7px 12px; }
button:hover:not(:disabled) { border-color: var(--muted); }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 600; }
button.link { border: 0; background: none; padding: 0; color: var(--accent); }
button.danger { color: var(--bad); }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 8px 10px; }
input[type=checkbox] { width: auto; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
label > input, label > select, label > textarea { margin-top: 4px; color: var(--text); font-size: 15px; }
h1 { font-size: 22px; margin: 0 0 4px; } h2 { font-size: 16px; margin: 0 0 10px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.error { color: var(--bad); } .ok { color: var(--ok); }
.bolt { color: var(--accent); }

.login { min-height: 100%; display: grid; place-items: center; padding: 16px; }
.login .card { width: 100%; max-width: 380px; }
.brand { font-size: 20px; font-weight: 700; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 14px; }

.shell { display: flex; height: 100dvh; }
.side { width: 264px; flex: none; background: var(--side); color: var(--side-text); display: flex; flex-direction: column; padding: 14px 10px; overflow-y: auto; }
.side .brand { color: #fff; padding: 2px 8px 12px; display: flex; justify-content: space-between; align-items: center; }
.side button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; background: none; border: 0; color: inherit; padding: 8px; border-radius: 8px; }
.side button:hover, .side button.on { background: var(--side-hover); color: #fff; }
.side .bell { width: auto; position: relative; }
.badge { background: var(--accent); color: var(--accent-text); border-radius: 10px; font-size: 11px; padding: 0 6px; font-weight: 700; }
.side h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin: 16px 8px 4px; color: #777b88; }
.side .conv { font-size: 14px; }
.side .conv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1; }
.notes { background: var(--side-hover); border-radius: 8px; padding: 6px; margin-bottom: 8px; font-size: 13px; }
.notes p { margin: 6px 8px; }

.main { flex: 1 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); align-items: center; gap: 10px; }
.page { flex: 1 1; overflow-y: auto; padding: 28px 24px; }
.page > .inner { max-width: 780px; margin: 0 auto; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; } .grow { flex: 1 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0 12px; gap: 0 12px; }
.item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.item:first-of-type { border-top: 0; }
.pill { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: var(--bubble); color: var(--muted); white-space: nowrap; }
.pill.ok { background: none; border: 1px solid var(--ok); } .pill.bad { color: var(--bad); border: 1px solid var(--bad); background: none; }
.banner { background: var(--soft); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }

.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 10px; gap: 10px; }
.idea { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; padding: 14px; border-radius: 12px; }
.idea .pill { margin-top: auto; }
.chat { flex: 1 1; display: flex; flex-direction: column; min-height: 0; }
.thread { flex: 1 1; overflow-y: auto; padding: 24px 20px 8px; }
.thread > .inner, .composer > .inner { max-width: 760px; margin: 0 auto; }
.msg { margin-bottom: 18px; overflow-wrap: anywhere; }
.msg.user { background: var(--bubble); border-radius: 14px; padding: 10px 14px; margin-left: 15%; white-space: pre-wrap; }
.msg .meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.msg p { margin: 0 0 10px; } .msg h2, .msg h3 { margin: 16px 0 6px; font-size: 16px; }
.msg ul, .msg ol { margin: 0 0 10px; padding-left: 22px; }
.msg pre { background: var(--bubble); padding: 10px; border-radius: 8px; overflow-x: auto; }
.msg table { border-collapse: collapse; display: block; overflow-x: auto; } .msg td, .msg th { border: 1px solid var(--line); padding: 4px 8px; }
.empty { text-align: center; padding-top: 12vh; }
.empty h1 { font-size: 28px; margin-bottom: 18px; }
.suggest { display: grid; grid-gap: 8px; gap: 8px; max-width: 520px; margin: 0 auto; }
.suggest button { text-align: left; padding: 10px 14px; }
.composer { padding: 10px 20px 18px; }
.composer .box { display: flex; gap: 8px; align-items: flex-end; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.composer textarea { border: 0; resize: none; max-height: 180px; background: none; outline: none; }
.status { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status::before { animation: none; } }
mark { background: var(--soft); color: inherit; outline: 1px solid var(--accent); border-radius: 3px; }

@media (max-width: 760px) {
  .topbar { display: flex; }
  .side { position: fixed; inset: 0 auto 0 0; z-index: 20; transform: translateX(-100%); transition: transform .15s; }
  .side.open { transform: none; box-shadow: 0 0 0 100vw rgba(0,0,0,.45); }
  .page { padding: 18px 16px; } .thread { padding: 16px 16px 8px; } .composer { padding: 8px 16px 14px; }
  .grid2 { grid-template-columns: 1fr; } .msg.user { margin-left: 8%; }
}

