.lt-amlr-page {
  --ltx-blue: #0095da;
  --ltx-cyan: #2bc4f3;
  --ltx-teal: #00c7b2;
  --ltx-ink: #0f2137;
  --ltx-ink-soft: #3d4d63;
  --ltx-txt: #2c2d33;
  --ltx-muted: #61748a;
  --ltx-line: #e4edf6;
  --ltx-soft: #f4f9ff;
  --ltx-grad: linear-gradient(90deg, #0095da, #2bc4f3 55%, #00c7b2);
  --ltx-grad-soft: linear-gradient(90deg, #f4fbff, #f3fffd);
  --ltx-field-bg: #fff;
  --ltx-field-border: #d5e3f0;
  --ltx-field-r: 10px;
  --ltx-field-h: 40px;
  --ltx-r-sm: 8px;
  --ltx-placeholder: #8aa0b5;
  font-family: "Nunito", sans-serif;
  color: var(--ltx-txt);
  background: #fff;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(100dvh - 90px);
  min-height: 720px;
  display: flex;
  flex-direction: column;
}
.lt-amlr-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ltx-line);
  background:
    radial-gradient(42% 120% at 0% 0%, rgba(43,196,243,.2), transparent 70%),
    radial-gradient(36% 120% at 100% 0%, rgba(0,199,178,.14), transparent 72%),
    #fff;
}
.lt-amlr-bar > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.lt-amlr-bar .ltx-eyebrow { margin: 0; flex: none; }
.lt-amlr-bar strong {
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ltx-ink);
  font-weight: 700;
  flex: none;
}
.lt-amlr-bar .sub {
  margin: 0;
  color: var(--ltx-muted);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lt-amlr-bar .ltx-btns { flex: none; align-items: center; }
.lt-amlr-bar .ltx-btn { box-sizing: border-box; min-height: 42px; }
.lt-amlr {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--ltx-line);
}
.lt-amlr .side {
  width: 320px;
  flex: none;
  background: var(--ltx-soft);
  color: var(--ltx-ink);
  border-right: 1px solid var(--ltx-line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.lt-amlr .side-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--ltx-line); }
.lt-amlr .brand { margin: 0 0 8px; }
.lt-amlr .brand .ltx-eyebrow { margin-bottom: 6px; }
.lt-amlr .brand strong {
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ltx-ink);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.lt-amlr .search {
  width: 100%;
  background: var(--ltx-field-bg);
  border: 1px solid var(--ltx-field-border);
  color: var(--ltx-ink);
  border-radius: var(--ltx-field-r);
  padding: 6px 10px;
  font: inherit;
  font-size: 13.5px;
  min-height: 34px;
  box-sizing: border-box;
}
.lt-amlr .search::placeholder { color: var(--ltx-placeholder); }
.lt-amlr .search:focus { outline: none; border-color: var(--ltx-blue); box-shadow: 0 0 0 3px rgba(0,149,218,.15); }
.lt-amlr .nav { overflow: auto; padding: 2px 0 12px; }
.lt-amlr button.chapter {
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
  padding: 7px 12px 3px;
  border-radius: 0;
}
.lt-amlr .chapter .kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ltx-blue);
  font-weight: 800;
}
.lt-amlr .chapter .name {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ltx-ink);
}
.lt-amlr .chapter .chev { color: var(--ltx-muted); }
.lt-amlr .chapter.open .chev { display: inline-block; transform: rotate(180deg); }
.lt-amlr .articles { display: none; padding: 0 6px 2px; }
.lt-amlr .chapter.open + .articles { display: block; }
.lt-amlr button.art {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ltx-ink-soft);
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  padding: 4px 8px;
  border-radius: var(--ltx-r-sm);
  cursor: pointer;
}
.lt-amlr button.art:hover { background: #fff; }
.lt-amlr button.art.active { background: #fff; color: var(--ltx-ink); box-shadow: 0 8px 22px -16px rgba(15,33,55,.4); }
.lt-amlr .art .num { color: var(--ltx-blue); font-weight: 800; margin-right: 6px; }
.lt-amlr .main { flex: 1; min-width: 0; overflow: auto; }
.lt-amlr .trail {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 22px;
  background: #fff;
  border-bottom: 1px solid var(--ltx-line);
}
.lt-amlr .trail[hidden] { display: none; }
.lt-amlr .trail button {
  border: 1px solid #d3ecfa;
  background: #fff;
  border-radius: 12px;
  color: var(--ltx-blue);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
.lt-amlr .trail button.on { background: var(--ltx-grad); color: #fff; border-color: transparent; }
.lt-amlr .sheet { max-width: 860px; margin: 0 auto; padding: 36px 40px 80px; }
.lt-amlr h1 { font-size: 28px; line-height: 1.25; font-weight: 650; margin: 0 0 8px; color: var(--ltx-ink); }
.lt-amlr .welcome h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  margin: 22px 0 8px;
  color: var(--ltx-ink);
}
.lt-amlr .welcome ol,
.lt-amlr .welcome ul { margin: 0 0 12px; padding-left: 1.15em; }
.lt-amlr .welcome li { margin: 0.28em 0; }
.lt-amlr .welcome a { color: var(--ltx-blue); font-weight: 700; text-decoration: none; }
.lt-amlr .sheet[hidden] { display: none; }
.lt-amlr .meta { color: var(--ltx-muted); font-size: 14px; margin: 0 0 18px; }
.lt-amlr .refs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.lt-amlr .refs a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ltx-blue);
  background: var(--ltx-grad-soft);
  border: 1px solid #d3ecfa;
  border-radius: 12px;
  padding: 3px 8px;
  text-decoration: none;
}
.lt-amlr .law { font-size: 17px; line-height: 1.65; color: var(--ltx-txt); }
.lt-amlr .law p { margin: 0.35em 0; }
.lt-amlr .law table { width: 100%; border-collapse: collapse; margin: 0.15em 0; }
.lt-amlr .law td { vertical-align: top; padding: 0.08em 0; }
.lt-amlr .law td:first-child { width: 2.6rem; padding-right: 0.4rem; white-space: nowrap; }
.lt-amlr .law .oj-italic { font-style: italic; }
.lt-amlr .law .oj-super { font-size: 0.72em; vertical-align: super; line-height: 0; }
.lt-amlr .law a { color: var(--ltx-blue); }
.lt-amlr .pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--ltx-line);
}
.lt-amlr .pager button {
  background: transparent;
  border: 0;
  color: var(--ltx-blue);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.lt-amlr .pager button[hidden] { visibility: hidden; }
.lt-amlr .chat {
  width: 380px;
  flex: none;
  background: #fff;
  border-left: 1px solid var(--ltx-line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}
.lt-amlr .chat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--ltx-grad);
}
.lt-amlr .chat-head { padding: 18px 16px 12px; border-bottom: 1px solid var(--ltx-line); }
.lt-amlr .chat-head strong {
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ltx-ink);
}
.lt-amlr .chat-head span { display: block; margin-top: 4px; color: var(--ltx-muted); font-size: 12.5px; line-height: 1.4; }
.lt-amlr .chat-log { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.lt-amlr .chat-empty { margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.lt-amlr button.suggest {
  background: #fff;
  border: 1px solid #d3ecfa;
  border-radius: 12px;
  color: var(--ltx-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
}
.lt-amlr button.suggest:hover { border-color: var(--ltx-blue); background: var(--ltx-soft); }
.lt-amlr .bubble { max-width: 100%; font-size: 14.5px; line-height: 1.5; }
.lt-amlr .bubble.user {
  align-self: flex-end;
  background: var(--ltx-grad);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 8px 12px;
  max-width: 90%;
  box-shadow: 0 8px 20px -10px rgba(0,149,218,.55);
}
.lt-amlr .bubble.bot {
  align-self: stretch;
  background: var(--ltx-soft);
  border: 1px solid var(--ltx-line);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
}
.lt-amlr .bubble.bot p { margin: 0; }
.lt-amlr .bubble.bot p button,
.lt-amlr .bubble .src button {
  border: 0;
  background: transparent;
  color: var(--ltx-blue);
  font: inherit;
  font-weight: 650;
  padding: 0 2px;
  cursor: pointer;
}
.lt-amlr .bubble .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lt-amlr .bubble .src button {
  background: #fff;
  border: 1px solid #d3ecfa;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
}
.lt-amlr .bubble .src button.on { background: var(--ltx-grad); color: #fff; border-color: transparent; }
.lt-amlr button.copy {
  margin-top: 8px;
  border: 1px solid #d3ecfa;
  background: #fff;
  border-radius: 12px;
  color: var(--ltx-blue);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
.lt-amlr .lead-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lt-amlr .lead-line span { font-size: 13.5px; }
.lt-amlr .chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--ltx-line);
  align-items: flex-end;
}
.lt-amlr .chat-form textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--ltx-field-border);
  background: var(--ltx-field-bg);
  color: var(--ltx-ink);
  border-radius: var(--ltx-field-r);
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  min-height: 44px;
  max-height: 120px;
}
.lt-amlr .chat-form textarea::placeholder { color: var(--ltx-placeholder); }
.lt-amlr .chat-form textarea:focus { outline: none; border-color: var(--ltx-blue); box-shadow: 0 0 0 3px rgba(0,149,218,.15); }
.lt-amlr .chat-form .ltx-btn { white-space: nowrap; }
.lt-amlr .chat-form .ltx-btn:disabled { opacity: .55; cursor: default; transform: none; }
.lt-amlr .foot { margin-top: 28px; color: var(--ltx-muted); font-size: 13px; }
.lt-amlr .menu,
.lt-amlr .ask-toggle { display: none; }
@media (max-width: 800px) {
  .lt-amlr-page { height: auto; min-height: 0; }
  .lt-amlr-bar { flex-wrap: wrap; padding: 8px 14px; }
  .lt-amlr-bar > div:first-child { flex-wrap: wrap; }
  .lt-amlr-bar .sub { white-space: normal; }
  .lt-amlr { min-height: 70dvh; }
}
@media (max-width: 1100px) {
  .lt-amlr .menu,
  .lt-amlr .ask-toggle {
    display: inline-flex;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 50;
  }
  .lt-amlr .ask-toggle { left: auto; right: 10px; }
  .lt-amlr .side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    transform: translateX(-105%);
    transition: transform .18s ease;
    box-shadow: 8px 0 24px rgba(0,0,0,.25);
  }
  .lt-amlr .side.open { transform: none; }
  .lt-amlr .sheet { padding: 64px 20px 64px; }
  .lt-amlr .chat {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 45;
    width: min(420px, 100%);
    transform: translateX(105%);
    transition: transform .18s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.12);
  }
  .lt-amlr .chat.open { transform: none; }
}
