/* Shared visual language: ../www/DESIGN.md and ../www/styles.css.
LegalΞxi intentionally uses only neutral tones, including semantic states. */
:root {
  --paper:#f8f8f8;
  --ink:#171717;
  --muted:#606060;
  --line:#d5d5d5;
  --light:#eeeeee;
  --white:#ffffff;
  --panel:#f0f0f0;
  --subtle:#747474;
  --button-hover:#393939;
  --border-emphasis:#b9b9b9;
  --radius: 0;
  --mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

body {
  margin: 0;
}

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

button,a,input,select,textarea {
  touch-action: manipulation;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

a {
  color: var(--ink);
}

button {
  transition: background .15s,transform .15s;
}

button:active {
  transform: translateY(1px);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

button:focus-visible {
  outline-offset: 2px;
}

p {
  line-height: 1.75;
  text-wrap: pretty;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1 {
  font-size: clamp(34px,3.8vw,54px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.04;
  margin-bottom: 13px;
}

h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.04em;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

small,.small {
  font-size: 12px;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing:1.1px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 14px;
  background: var(--white);
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.boot {
  max-width: 500px;
  margin: 20vh auto;
  padding: 32px;
}

.skeleton {
  height: 70px;
  background: var(--light);
  border-radius:0;
  animation: breathe 1.6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: .5;
  }
}

.wordmark {
  font-size: 32px;
  letter-spacing:-.055em;
  font-weight: 500;
  white-space: nowrap;
}

.wordmark>span:not(.brand-dot) {
  font-weight: 400;
}

.brand-dot {
  color: inherit;
}

.shell {
  display: grid;
  grid-template-columns: 228px minmax(0,1fr);
  min-height: 100dvh;
}

.sidebar {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  display: flex;
  flex-direction: column;
}

.brand {
  padding: 0 12px 38px;
}

.brand p {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 8px 0 0;
}

.nav-label {
  padding: 0 13px;
  margin-bottom: 14px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav button {
  border: 0;
  background: none;
  border-radius:0;
  text-align: left;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
}

.nav button:hover {
  background: var(--light);
}

.nav button.active {
  color: var(--white);
  background: var(--ink);
  font-weight: 500;
}

.nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.nav .nav-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  opacity: .85;
}

.sidebar-foot {
  margin-top: auto;
  padding: 24px 12px 0;
}

.local-indicator {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin-bottom: 14px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.sidebar-foot p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
}

.workspace {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  height: 73px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--subtle);
}

.identity {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}

.identity .avatar {
  background: var(--light);
  width: 30px;
  height: 30px;
  border-radius:0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}

.identity-role {
  color: var(--muted);
  text-transform: capitalize;
}

.quiet {
  border: 0;
  color: var(--muted);
  background: none;
  font-size: 11px;
  padding: 7px;
}

.synthetic-strip {
  padding: 9px 38px;
  background: var(--light);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  line-height: 1.6;
}

.synthetic-strip strong {
  font-weight: 600;
}

.main-content {
  max-width: 1450px;
  padding: 42px 38px 32px;
  margin: auto;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.page-heading .eyebrow {
  margin-bottom: 12px;
}

.page-heading p {
  color: var(--muted);
  font-size: 13px;
  max-width: 560px;
  margin-bottom: 0;
}

.btn {
  min-height:44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius:0;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
}

.btn:hover {
  background: var(--light);
  border-color: var(--border-emphasis);
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn.primary:hover {
  background: var(--button-hover);
}

.btn.danger {
  border-color: var(--ink);
  border-style: double;
  color: var(--ink);
}

.btn.small {
  padding: 7px 10px;
  font-size: 11px;
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.metric {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border: 0;
}

.metric .number {
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  letter-spacing:-.055em;
  font-weight: 500;
  line-height: 1.2;
}

.metric .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

.panel-header {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  margin: 0;
  font-size: 15px;
}

.panel-body {
  padding: 23px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel p {
  font-size: 12px;
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
}

.badge {
  font-family: var(--mono);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius:0;
  background: var(--light);
  color: var(--ink);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 500;
  text-transform: capitalize;
  white-space: nowrap;
}

.badge.pending,.badge.awaiting_acceptance,.badge.unverified {
  background: var(--paper);
  color: var(--muted);
  border-style: dashed;
}

.badge.disputed,.badge.rejected,.badge.breached {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.badge.signed,.badge.accepted,.badge.fulfilled {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}

.document-row {
  padding: 22px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.document-row:last-child {
  border: 0;
}

.document-icon {
  width: 37px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius:0;
  background: var(--panel);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.document-icon svg {
  width: 20px;
  height: 23px;
  stroke: var(--muted);
  stroke-width: 1.2;
  fill: none;
}

.document-main {
  min-width: 0;
  flex: 1;
}

.document-main h3 {
  margin: 0 0 6px;
}

.document-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.text-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty {
  padding: 48px 26px;
  text-align: center;
}

.empty .empty-mark {
  height: 58px;
  width: 50px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius:0;
  background: var(--panel);
  display: grid;
  place-items: center;
}

.empty-mark svg {
  width: 26px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.2;
}

.empty h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

.empty p {
  font-size: 12px;
  max-width: 330px;
  margin: 0 auto 20px;
}

.empty .btn {
  margin: auto;
}

.workflow {
  padding: 0;
  list-style: none;
  margin: 0;
  counter-reset: step;
}

.workflow li {
  position: relative;
  padding: 0 0 25px 36px;
  counter-increment: step;
}

.workflow li:last-child {
  padding-bottom: 0;
}

.workflow li::before {
  font-family: var(--mono);
  content: counter(step,decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius:0;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.workflow li:not(:last-child)::after {
  content: "";
  width: 1px;
  background: var(--line);
  position: absolute;
  left: 11px;
  top: 29px;
  bottom: 7px;
}

.workflow h3 {
  font-size: 12px;
  margin-bottom: 4px;
}

.workflow p {
  font-size: 11px;
  margin: 0;
  line-height: 1.55;
}

.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius:0;
  padding: 17px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}

.note strong {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 35px;
  line-height: 1.6;
}

.footer span:last-child {
  text-align: right;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
}

.field input,.field textarea,.field select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--line);
  border-radius:0;
  background: var(--paper);
  padding: 10px 11px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.field textarea {
  min-height: 115px;
  resize: vertical;
}

.field input[type=file] {
  font-size: 11px;
  padding: 11px;
}

.field small {
  font-size: 10px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

details[open] summary {
  margin-bottom: 16px;
}

.source {
  border-left: 2px solid var(--border-emphasis);
  padding: 12px 16px;
  background: var(--panel);
  margin: 15px 0;
}

.source .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}

.source blockquote {
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 17px;
  margin: 18px 0;
}

.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}

.detail-grid dd {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.obligation {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.obligation:last-child {
  border-bottom: 0;
}

.obligation-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.obligation-heading h3 {
  margin: 0;
}

.obligation .actions {
  margin-top: 17px;
}

.selector {
  max-width: 520px;
  margin-bottom: 24px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
  border-left: 1px solid var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--subtle);
  border: 3px solid var(--white);
  box-sizing: content-box;
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 2px;
}

.timeline h3 {
  font-size: 12px;
  margin-bottom: 5px;
}

.timeline p {
  margin-bottom: 3px;
  font-size: 11px;
}

.timeline time {
  font-size: 10px;
  color: var(--muted);
}

.json {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 11px/1.7 var(--mono);
  background: var(--panel);
  padding: 15px;
  border: 1px solid var(--line);
  border-radius:0;
  max-height: 330px;
  overflow: auto;
}

.error {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-left: 4px double var(--ink);
  padding: 12px 14px;
  border-radius:0;
  font-size: 12px;
  line-height: 1.6;
}

.success {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 13px;
  color: var(--muted);
  border-radius:0;
  font-size: 12px;
}

.notification {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(580px,calc(100vw - 32px));
  padding: 14px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius:0;
  font-size: 12px;
  z-index: 50;
  line-height: 1.6;
}

.notification.is-error {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-left: 4px double var(--ink);
}

.login-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-story {
  border-right: 1px solid var(--line);
  background: var(--paper);
  padding: 60px clamp(35px,6vw,100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-story h1 {
  font-size: clamp(40px,5vw,67px);
  letter-spacing: -.066em;
  max-width: 540px;
  line-height: .99;
  margin-top: 80px;
}

.login-story>div>p {
  font-size: 14px;
  color: var(--muted);
  max-width: 365px;
}

.login-lines {
  margin: 50px 0;
  max-width: 360px;
  border-top: 1px solid var(--line);
}

.login-lines div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.login-lines span {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 10px;
}

.login-form-wrap {
  padding: 60px clamp(25px,6vw,100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-wrap h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.8px;
  margin-bottom: 12px;
}

.login-form-wrap>p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 29px;
}

.login-form-wrap form {
  max-width: 400px;
}

.login-foot {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 30px;
}

.protocol-mark {
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.protocol-mark::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  transform: rotate(45deg);
}

dialog {
  border: 1px solid var(--line);
  border-radius:0;
  padding: 28px;
  width: min(500px,calc(100vw - 32px));
  color: var(--ink);
  background: var(--paper);
  max-height: calc(100dvh - 40px);
  overflow: auto;
}

dialog::backdrop {
  background: rgb(0 0 0 / 40%);
}

dialog h2 {
  font-size: 23px;
  margin: 10px 0 13px;
}

dialog p {
  font-size: 12px;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.65;
}

.checkbox input {
  color-scheme: light;
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.chat-intro {
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.chat-intro h2 {
  font-size: 24px;
  font-weight: 500;
  max-width: 430px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.question-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.question-options button {
  text-align: left;
  white-space: normal;
  font-size: 11px;
}

.chat-form {
  padding: 24px;
}

.chat-answer {
  border-top: 1px solid var(--line);
  padding: 24px;
}

.chat-answer .answer-text {
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  color: var(--ink);
}

.citation {
  padding: 10px 13px;
  border-left: 2px solid var(--border-emphasis);
  background: var(--panel);
  margin: 10px 0;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.connection {
  margin: 0 0 20px;
}

.selected-row {
  background: var(--panel);
}

.review-result {
  margin-top: 20px;
}

.mobile-brand {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media(min-width:1500px) {
  .main-content {
    padding-top: 52px;
  }
  .page-heading {
    margin-bottom: 36px;
  }
  .metrics {
    margin-bottom: 36px;
  }
}

@media(max-width:1100px) {
  .shell {
    grid-template-columns: 196px minmax(0,1fr);
  }
  .sidebar {
    width: 196px;
    padding: 30px 12px;
  }
  .main-content {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .synthetic-strip {
    padding: 9px 24px;
  }
  .split {
    grid-template-columns: minmax(0,1fr);
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading>.actions {
    max-width: 200px;
  }
  .sidebar .brand {
    padding-left: 10px;
  }
  .stack {
    gap: 18px;
  }
}

@media(max-width:700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 16px 0;
  }
  .brand {
    padding: 0 2px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand p {
    font-size: 8px;
    margin: 0;
  }
  .wordmark {
    font-size: 26px;
  }
  .nav-label,.sidebar-foot {
    display: none;
  }
  .nav {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
  }
  .nav button {
    padding: 12px 8px;
    font-size: 10px;
    flex-direction: column;
    gap: 7px;
    border-radius:0;
    min-width: 57px;
  }
  .nav svg {
    width: 16px;
    height: 16px;
  }
  .nav-count {
    display: none;
  }
  .topbar {
    height: 54px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .identity {
    gap: 7px;
    font-size: 10px;
  }
  .identity .avatar {
    display: none;
  }
  .identity-id {
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .synthetic-strip {
    padding: 9px 18px;
    font-size: 9px;
    align-items: flex-start;
  }
  .main-content {
    padding: 27px 18px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading>.actions {
    margin-top: 20px;
    max-width: none;
  }
  .page-heading p {
    font-size: 12px;
  }
  h1 {
    font-size: 34px;
  }
  .metrics {
    padding: 17px 0;
    gap: 15px 0;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-bottom: 24px;
  }
  .metric {
    padding: 0 15px;
  }
  .metric:nth-child(3) {
    padding-left: 0;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric .number {
    font-size: 25px;
  }
  .metric .label {
    font-size: 10px;
  }
  .panel-header,.panel-body,.obligation {
    padding: 19px;
  }
  .document-row {
    padding: 19px;
    gap: 11px;
  }
  .document-icon {
    width: 30px;
    height: 37px;
  }
  .document-main h3 {
    font-size: 13px;
  }
  .document-meta {
    gap: 7px;
    font-size: 9px;
  }
  .footer {
    display: block;
  }
  .footer span {
    display: block;
    text-align: left!important;
    margin-top: 8px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 28px 25px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .login-story h1 {
    font-size: 38px;
    letter-spacing: -1.6px;
    margin: 40px 0 15px;
  }
  .login-story>div>p {
    font-size: 12px;
    max-width: none;
  }
  .login-lines {
    display: none;
  }
  .login-story .protocol-mark {
    margin-top: 15px;
    font-size: 9px;
  }
  .login-form-wrap {
    padding: 36px 25px;
  }
  .login-form-wrap form {
    max-width: none;
  }
  .login-form-wrap h2 {
    font-size: 24px;
  }
  .detail-grid {
    gap: 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .obligation-heading {
    flex-wrap: wrap;
  }
  .chat-intro,.chat-form,.chat-answer {
    padding: 20px;
  }
  .chat-intro h2 {
    font-size: 21px;
  }
  .notification {
    bottom: 15px;
  }
  .btn {
    font-size: 11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

.space-margin-bottom-17 {
  margin-bottom: 17px;
}

.space-margin-bottom-16 {
  margin-bottom: 16px;
}

.space-margin-bottom-14 {
  margin-bottom: 14px;
}

.space-margin-top-17 {
  margin-top: 17px;
}

.space-margin-top-18 {
  margin-top: 18px;
}
