/*!***********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/style.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************/
:root {
  --ink: #242d29;
  --forest: #243e34;
  --paper: #faf9f3;
  --line: #d8d8cb;
  --muted: #5f685e;
  --wash: #e1e7da;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background: #eceee5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: var(--forest);
  color: white;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px 15px;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b9733e;
  outline-offset: 2px;
}
.mast {
  height: 74px;
  background: var(--forest);
  color: #fcf8eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 76px);
}
.brand {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(21px, 3vw, 32px);
  letter-spacing: -0.04em;
}
.brand i {
  display: inline-grid;
  place-items: center;
  color: #dcad74;
  font-size: 25px;
  margin-right: 6px;
}
.mast nav {
  display: flex;
  gap: 8px;
}
.mast nav button {
  background: transparent;
  color: #e4e8df;
  font-size: 14px;
}
.mast button[aria-current] {
  background: #40574b;
  color: white;
}
h1,
h2,
h3 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: normal;
  margin: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 20px;
  margin: 18px 0 8px;
}
p {
  line-height: 1.5;
}
small {
  color: var(--muted);
  font-size: 12px;
}
.messenger {
  margin: clamp(12px, 3vw, 44px) auto;
  max-width: 1280px;
  width: 92%;
  height: calc(100dvh - 155px);
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(215px, 27%) 1fr;
  border: 1px solid #c7cbba;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 8px 32px #2f382309;
}
.inbox {
  border-right: 1px solid var(--line);
  background: #f2f2e8;
  padding: 26px 14px;
}
.inbox h1 {
  margin: 0 12px 24px;
}
.contact {
  display: flex;
  gap: 12px;
  text-align: left;
  width: 100%;
  align-items: center;
  background: transparent;
  color: var(--ink);
  padding: 15px 12px;
}
.selected {
  background: #dfe6d8;
}
.avatar {
  font-family: Georgia, serif;
  display: grid;
  place-items: center;
  background: #905435;
  color: #fff2df;
  flex: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 25px;
}
.contact strong {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: normal;
}
.contact > span:nth-child(2) {
  min-width: 0;
}
.contact small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 4px;
}
.thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 5%;
  border-bottom: 1px solid var(--line);
}
.identity p {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.identity small {
  text-align: right;
  line-height: 1.5;
  flex: none;
}
.identity .reset {
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  padding: 5px 0;
}
.history {
  flex: 1 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 24px 5%;
  gap: 12px;
}
.empty {
  margin: auto;
  text-align: center;
  color: #5d6959;
}
.envelope {
  font-size: 55px;
  color: #a46d43;
}
.bubble {
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 78%;
  align-self: flex-start;
  background: #eceee3;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble.user {
  align-self: flex-end;
  background: #d9e6d8;
}
.bubble small {
  display: block;
  margin-top: 6px;
}
.composer {
  padding: 16px 5% 24px;
}
.composer form,
.row {
  display: flex;
  gap: 8px;
}
.composer input,
.row select {
  min-width: 0;
  flex: 1 1;
}
.composer form {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.composer input {
  border: 0;
}
input,
textarea,
select {
  border: 1px solid #c8cdbf;
  border-radius: 4px;
  background: white;
  padding: 9px 10px;
}
textarea {
  resize: vertical;
}
label {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 13px;
  font-weight: 600;
}
label::first-letter {
  text-transform: uppercase;
}
.check {
  display: flex;
  align-items: center;
  font-weight: normal;
}
.studio {
  max-width: 1500px;
  margin: 28px auto;
  width: 94%;
}
.studiohead {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.studiohead span {
  margin-left: auto;
  max-width: 40%;
  font-size: 14px;
}
.editor-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.editor-nav button[aria-pressed="false"] {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.studio fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 12px;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  min-width: 0;
}
.panel h2 {
  margin-bottom: 18px;
}
.panel input,
.panel textarea,
.panel select {
  width: 100%;
  min-width: 0;
}
.panel .check input {
  width: auto;
}
.panel button {
  padding: 8px 10px;
}
.panel .row {
  align-items: center;
}
.row button {
  white-space: nowrap;
}
.graph {
  overflow: auto;
  background-color: #e9ecdf;
  background-image: radial-gradient(#c5c9ba 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 16px 0 10px;
}
.node {
  position: absolute;
  width: 130px;
  height: 54px;
  text-align: left;
  background: #fcfcf6;
  color: var(--ink);
  border: 1px solid #9ba48f;
}
.node.active {
  border: 2px solid var(--forest);
}
.node small,
.preview small {
  display: block;
}
.panel p,
.panel li {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.panel pre {
  white-space: pre-wrap;
}
.preview ol {
  padding-left: 20px;
}
[role="alert"] {
  color: #953b20;
}
@media (max-width: 650px) {
  .mast {
    height: auto;
    min-height: 65px;
    padding: 10px 12px;
    gap: 6px;
  }
  .mast nav {
    gap: 0;
  }
  .mast nav button {
    padding: 8px 6px;
    font-size: 12px;
  }
  .messenger {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    height: calc(100dvh - 65px);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 340px;
  }
  .inbox {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: auto;
    padding: 8px;
    border-bottom: 1px solid var(--line);
  }
  .inbox h1 {
    font-size: 21px;
    margin: 0 8px;
  }
  .contact {
    width: auto;
    padding: 6px;
  }
  .contact small {
    display: none;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .identity {
    padding: 14px;
  }
  .identity p {
    font-size: 12px;
  }
  .history {
    padding: 14px;
  }
  .studio fieldset {
    grid-template-columns: 1fr;
  }
  .studiohead {
    flex-wrap: wrap;
  }
  .studiohead span {
    max-width: 100%;
  }
  .studio h1 {
    width: 100%;
  }
  .preview {
    grid-column: auto;
  }
}

.node[aria-invalid="true"] {
  border: 2px solid #953b20;
}

