﻿.nora-page {
  max-width: 1500px;
  margin: auto;
}
.nora-heading,
.nora-interaction header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.nora-heading h1 {
  font-size: 2.5rem;
}
.nora-notice {
  border: 1px solid var(--line);
  border-left: 4px solid #9682fa;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 12px;
}
.nora-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
}
.nora-limits {
  align-self: start;
  position: sticky;
  top: 1rem;
}
.nora-page label {
  display: block;
  margin: 0.8rem 0;
}
.nora-page textarea,
.nora-page select {
  width: 100%;
  background: var(--input);
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
  font: inherit;
}
.nora-page textarea:focus-visible,
.nora-page select:focus-visible {
  outline: 2px solid #9682fa;
  outline-offset: 3px;
}
.nora-interaction {
  margin: 1rem 0;
}
.nora-interaction p,
.nora-dialog p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nora-user {
  border-left: 3px solid #9682fa;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.nora-action {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0.75rem 0;
}
.nora-action dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.4rem;
  margin: 0;
}
.nora-action dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nora-action dt,
.nora-help,
.nora-interaction small {
  opacity: 0.8;
}
.nora-interaction small {
  display: block;
  margin: 1rem 0;
}
.nora-dialog {
  width: min(760px, 94vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel);
  color: var(--text, #e9edf9);
  border: 1px solid #77758c;
  border-radius: 16px;
  padding: 1.5rem;
}
.nora-dialog::backdrop {
  background: #090b16bb;
}
.nora-consent {
  display: flex;
  gap: 0.7rem;
  margin: 1.5rem 0;
}
.nora-consent input {
  align-self: start;
  margin-top: 0.3rem;
}
.nora-dialog .nora-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.nora-dialog .nora-consent input {
  width: 1.1rem;
  flex: 0 0 1.1rem;
}
.nora-page code {
  overflow-wrap: anywhere;
}
.nora-page button {
  margin: 0.4rem 0.3rem 0.4rem 0;
}
@media (max-width: 900px) {
  .nora-layout {
    grid-template-columns: 1fr;
  }
  .nora-limits {
    position: static;
  }
  .nora-action dl {
    grid-template-columns: 1fr;
  }
  .nora-action dt {
    margin-top: 0.4rem;
  }
  .nora-heading h1 {
    font-size: 2rem;
  }
}
.nora-checkpoint {
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
