:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #172b43;
  background: #fff;
  font-synthesis: none;
  --blue: #155cca;
  --navy: #132b4a;
  --line: #dfe5ed;
  --muted: #6a798b;
  --pale: #f5f7fa;
  --soft: #eaf2ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 13px;
}
button:hover {
  background: #f0f5fc;
  border-color: #b8cce6;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  line-height: 1.35;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 26px;
  gap: 24px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand strong {
  font-size: 23px;
  letter-spacing: -0.6px;
}
.monogram {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 2px 4px #122b4a20;
}
.top-divider {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.workspace-label {
  font-size: 13px;
  color: #64748b;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.avatar {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #e6eefb;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.text-button {
  border: 0;
  padding: 7px 0;
  color: var(--muted);
  background: none;
  font-size: 12px;
}
.icon-button {
  padding: 5px 9px;
  min-width: 30px;
  min-height: 30px;
  border: 0;
  background: transparent;
  font-size: 19px;
  display: inline-grid;
  place-items: center;
  color: #61718a;
}
.mobile-menu {
  display: none;
}
.shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  height: calc(100dvh - 68px);
}
.shell.with-source {
  grid-template-columns: 230px minmax(400px, 1fr) 430px;
}
.sidebar {
  background: #f6f8fb;
  border-right: 1px solid var(--line);
  padding: 25px 16px 20px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  min-height: 0;
}
.new-button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid #a9c3e8;
  color: #1456af;
  font-weight: 500;
  background: #fff;
  margin: 0 4px 32px;
  padding: 11px 12px;
}
.new-button span {
  font-size: 20px;
  font-weight: 300;
  line-height: 16px;
}
.nav-caption {
  color: #7b899c;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 600;
  margin: 0 12px 13px;
}
nav {
  display: grid;
  gap: 5px;
}
nav button {
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 11px 12px;
  color: #42556c;
}
nav button.active {
  background: #e4edfa;
  color: #174e99;
}
.nav-icon {
  display: inline-block;
  width: 18px;
  font-size: 18px;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: #7890ab;
}
.sidebar-divider {
  height: 1px;
  min-height: 1px;
  background: var(--line);
  margin: 28px 10px;
}
.recents {
  display: grid;
  gap: 3px;
}
.recents button {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  color: #5b6c82;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recents button.active {
  background: #e4edfa;
  color: #174e99;
}
.recents .empty-note {
  padding: 0 12px;
  font-size: 12px;
  line-height: 1.8;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 36px 12px 0;
  font-size: 11px;
  color: #738298;
}
.sidebar-bottom small {
  display: block;
  font-size: 10px;
  margin-top: 9px;
  line-height: 1.5;
  color: #94a0af;
}
.lock-mark {
  margin-right: 5px;
}
.centre {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.content {
  padding: 28px 34px 36px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  scroll-behavior: smooth;
}
.breadcrumb {
  font-size: 12px;
  color: #8290a2;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 30px;
}
.breadcrumb span:last-child {
  color: #4b6079;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #74869d;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
}
.page-head h1 {
  margin: 0 0 8px;
}
.subtle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.page-head .subtle {
  margin: 0;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.actions button {
  font-size: 12px;
}
.actions .selected {
  color: var(--blue);
  background: var(--soft);
  border-color: #b4cbef;
}
.hero {
  max-width: 780px;
  margin: 52px auto 32px;
}
.hero .eyebrow {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 43px;
  line-height: 1.2;
  max-width: 650px;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}
.hero > p {
  max-width: 600px;
  font-size: 15px;
  color: #728197;
  line-height: 1.8;
}
.suggestions {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.suggestion {
  text-align: left;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-color: #e0e6ee;
  min-height: 105px;
  background: #fff;
}
.suggestion small {
  font-size: 10px;
  color: #8a99ab;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.suggestion strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.suggestion span {
  margin-top: auto;
  color: #9ba9ba;
  align-self: flex-end;
}
.home-footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 26px;
  padding-top: 22px;
  margin-top: 35px;
  color: #65778e;
  font-size: 12px;
}
.home-footer strong {
  color: #253b58;
  font-weight: 500;
}
.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.primary:hover {
  background: #114fae;
  color: #fff;
}
.identity-strip {
  display: flex;
  gap: 0;
  background: #f6f8fb;
  border: 1px solid #eef1f5;
  padding: 17px 0;
  border-radius: 4px;
  margin-bottom: 22px;
}
.identity-item {
  padding: 0 18px;
  flex: 1;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.identity-item:last-child {
  border: 0;
}
.identity-item small {
  display: block;
  font-size: 10px;
  margin-bottom: 6px;
  color: #728399;
}
.identity-item span {
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
  overflow-x: auto;
  flex-shrink: 0;
}
.tabs button,
.source-tabs button {
  background: none;
  border: 0;
  border-radius: 0;
  position: relative;
  white-space: nowrap;
  font-size: 12px;
  padding: 13px 0;
  color: #6b7b90;
}
.tabs button.active,
.source-tabs button.active {
  color: var(--blue);
  font-weight: 500;
}
.tabs button.active:after,
.source-tabs button.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  margin: 0;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 10px;
  color: #426b99;
  background: #edf3fc;
  font-weight: 400;
  vertical-align: middle;
}
.data-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: auto;
  max-width: 100%;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
}
.data-table th {
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 500;
  background: #f6f8fb;
  color: #61728a;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7edf4;
  vertical-align: top;
  overflow-wrap: anywhere;
  min-width: 60px;
}
.data-table td:first-child {
  width: 30%;
  color: #344a64;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table td:nth-child(2) {
  color: #203650;
}
.data-table tbody tr:hover {
  background: #f8faff;
}
.data-table tr.cited {
  background: #eaf2ff;
}
.evidence-button {
  border: 0;
  padding: 2px 4px;
  background: transparent;
  color: #2b69bd;
  font-size: 11px;
  border-radius: 3px;
}
.evidence-button:hover {
  background: #dce9fc;
  color: #1553a8;
}
.table-note {
  font-size: 10px;
  color: #8996a7;
  margin: 12px 0 26px;
}
.record-section {
  margin: 20px 0;
}
.record-section summary {
  padding: 14px 0;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.record-section summary:before {
  content: '›';
  font-size: 18px;
  margin-right: 10px;
  color: #8293a8;
}
.record-section[open] summary:before {
  transform: rotate(90deg);
}
.record-section summary .count {
  margin-left: auto;
  font-size: 11px;
  color: #8e9aaa;
}
.record-section .data-wrap {
  margin-top: 14px;
}
.structure-figure {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
}
.structure-figure img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  margin: auto;
}
.structure-figure figcaption {
  font-size: 10px;
  color: #8290a1;
  margin-top: 12px;
}
.more-link {
  border: 0;
  background: none;
  padding: 9px 0;
  color: var(--blue);
  font-size: 12px;
}
.composer-wrap {
  padding: 15px 34px 20px;
  background: linear-gradient(#fffffff0, #fff);
  border-top: 1px solid #f0f3f7;
  flex-shrink: 0;
}
.composer {
  border: 1px solid #cdd9e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px #17304f05;
  padding: 12px 15px 9px;
  max-width: 980px;
  margin: auto;
}
.composer:focus-within {
  border-color: #99b7e0;
  box-shadow: 0 0 0 2px #e8f0fc;
}
.composer label {
  display: block;
  color: #798ca4;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
}
.composer-input {
  display: flex;
  gap: 10px;
  align-items: center;
}
.composer textarea {
  border: 0;
  resize: none;
  width: 100%;
  outline: none;
  min-height: 45px;
  max-height: 150px;
  line-height: 1.6;
  color: #233b5b;
  background: transparent;
  font-size: 13px;
  padding: 4px 0;
}
.composer textarea:focus-visible {
  outline: none;
}
.composer textarea::placeholder {
  color: #9ba9ba;
}
.send-button {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 23px;
  padding: 0;
  border-radius: 4px;
}
.send-button:hover {
  background: #114da7;
}
.composer-meta {
  display: flex;
  justify-content: space-between;
  color: #99a5b4;
  font-size: 9px;
  gap: 12px;
  margin-top: 6px;
}
.composer-meta kbd {
  font: inherit;
  border: 0;
  background: none;
}
.inline-error {
  color: #95541e;
  font-size: 12px;
  margin: 9px 0 0;
}
.inline-error:empty {
  display: none;
}
.search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.search-input {
  border: 1px solid #d5dfec;
  border-radius: 5px;
  padding: 12px 15px;
  background: #fff;
  flex: 1;
  min-width: 0;
  color: #2c425c;
}
.filter-select {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 12px;
  max-width: 190px;
  font: inherit;
  font-size: 12px;
  background: #fff;
  color: #687990;
}
.product-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.product-item {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-item:last-child {
  border: 0;
}
.product-item:hover {
  background: #f8faff;
}
.product-item > div {
  min-width: 0;
  flex: 1;
}
.product-title {
  font-weight: 500;
  color: #1b3b63;
  font-size: 14px;
  background: none;
  padding: 0;
  border: 0;
  text-align: left;
}
.product-meta {
  font-size: 11px;
  color: #8b97a7;
  margin-top: 6px;
  line-height: 1.5;
}
.product-item .count {
  color: #91a0b1;
  white-space: nowrap;
  font-size: 10px;
}
.select-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.select-box input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
}
.result-info {
  color: #8391a3;
  font-size: 11px;
  margin-bottom: 15px;
}
.empty-state {
  padding: 45px 20px;
  text-align: center;
  color: #788aa0;
  font-size: 13px;
}
.empty-state h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  color: #3d526d;
}
.source-panel {
  background: #fbfcfd;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.source-heading {
  padding: 23px 22px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.source-heading h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0;
}
#source-info {
  padding: 19px 22px 0;
}
#source-info h3 {
  font-size: 13px;
  margin-bottom: 7px;
  line-height: 1.5;
}
#source-info p {
  font-size: 11px;
  line-height: 1.6;
  color: #8896a7;
  margin-bottom: 8px;
}
.source-tabs {
  display: flex;
  gap: 25px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}
.pdf-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  color: #8190a2;
  font-size: 10px;
}
.pdf-tools input {
  width: 38px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px;
  text-align: center;
  color: #586e87;
  -moz-appearance: textfield;
}
.pdf-tools input::-webkit-inner-spin-button {
  appearance: none;
}
.grow {
  flex: 1;
}
.source-view {
  padding: 15px;
  overflow: auto;
  flex: 1;
  background: #edf0f4;
  min-height: 100px;
}
.source-view canvas {
  background: #fff;
  display: block;
  box-shadow: 0 1px 5px #21334b18;
  max-width: none;
}
.source-view > p {
  color: #6e8097;
  font-size: 12px;
  text-align: center;
  margin: 30px 10px;
}
#source-excerpt {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
#source-excerpt pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 Georgia,
    serif;
  color: #415168;
}
#source-excerpt .source-value {
  padding: 12px;
  background: #fff3ca;
  border-radius: 2px;
  color: #5c512e;
  font-size: 14px;
  margin-bottom: 17px;
}
.source-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 10px;
  color: #8694a6;
  line-height: 1.6;
}
.source-foot a {
  display: block;
  font-size: 11px;
  margin-top: 9px;
}
.source-foot strong {
  font-size: 12px;
  color: #345474;
  display: block;
  margin-bottom: 4px;
}
.library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.reference-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.book-icon {
  height: 45px;
  width: 34px;
  border: 1px solid #b1c0d3;
  border-left: 4px solid #3f638f;
  border-radius: 2px;
  background: #f1f5fa;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: #738cac;
  font-size: 16px;
}
.reference-card h2 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.reference-card .subtle {
  font-size: 11px;
}
.reference-card button {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11px;
}
.compare-tray {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #193b65;
  color: white;
  z-index: 8;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 7px;
  box-shadow: 0 5px 25px #132b4a30;
  font-size: 12px;
}
.compare-tray button {
  background: #fff;
  color: #214c83;
  border: 0;
  font-size: 11px;
}
.compare-tray .clear-compare {
  background: transparent;
  color: #c3d3e6;
  padding: 0;
}
.comparison td {
  min-width: 170px;
  width: auto !important;
}
.comparison td:first-child {
  position: sticky;
  left: 0;
  background: #f7f9fc;
  min-width: 180px;
  width: 25% !important;
}
.comparison th {
  vertical-align: top;
  white-space: normal;
  padding: 15px;
}
.comparison th strong {
  font-size: 13px;
  display: block;
  color: #264563;
  margin-bottom: 8px;
}
.compare-value + .compare-value {
  border-top: 1px dashed #dce3ed;
  margin-top: 7px;
  padding-top: 7px;
}
.compare-value small {
  display: block;
  margin-top: 3px;
}
.comparison .not-reported {
  color: #9ba6b4;
  font-style: italic;
}
.turn {
  margin-bottom: 38px;
}
.turn-question {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  letter-spacing: -0.3px;
}
.turn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #8c9bad;
  margin-bottom: 16px;
}
.answer-body {
  font-size: 13px;
  line-height: 1.8;
  color: #364c64;
  overflow-wrap: anywhere;
}
.answer-body p {
  line-height: 1.8;
}
.answer-body h2 {
  font-size: 19px;
}
.answer-body h3 {
  font-size: 15px;
}
.answer-body table {
  border-collapse: collapse;
  display: block;
  overflow: auto;
  max-width: 100%;
  margin: 16px 0;
  font-size: 12px;
}
.answer-body th,
.answer-body td {
  border: 1px solid var(--line);
  padding: 9px;
  text-align: left;
}
.answer-body th {
  background: var(--pale);
}
.answer-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 15px;
  background: var(--pale);
}
.answer-body math[display='block'] {
  display: block;
  overflow: auto;
  padding: 18px 0;
  max-width: 100%;
}
.answer-body blockquote {
  border-left: 2px solid #c8d8ed;
  padding-left: 18px;
  color: #74869b;
  margin-left: 0;
}
.answer-citations {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.citation-chip {
  font-size: 10px;
  color: #5e7898;
  padding: 6px 9px;
  background: #f6f9fd;
}
.warning {
  background: #fff8eb;
  border: 1px solid #eedcba;
  border-radius: 4px;
  padding: 15px;
  color: #886c40;
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0;
}
.warning strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: #775b31;
}
.warning p:last-child {
  margin-bottom: 0;
}
.pending-answer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
  color: #75879f;
}
.spinner {
  width: 15px;
  height: 15px;
  border: 1.5px solid #d5e0ef;
  border-top-color: #326cbd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #233e5e;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
  padding: 13px 18px;
  z-index: 20;
  max-width: 330px;
  box-shadow: 0 3px 16px #122b4a20;
}
.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #f4f7fb;
  padding: 30px;
}
.login-card {
  background: #fff;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: min(100%, 460px);
  box-shadow: 0 6px 30px #132b4a06;
}
.login-card .brand {
  margin-bottom: 42px;
}
.login-card .eyebrow {
  margin-bottom: 16px;
}
.login-card h1 {
  font-size: 35px;
  line-height: 1.2;
}
.login-card > p:not(.eyebrow) {
  color: #7d8a9b;
  font-size: 13px;
}
.login-card label {
  display: block;
  font-size: 12px;
  margin: 25px 0 9px;
}
.login-card input {
  padding: 12px;
  border: 1px solid #cdd8e7;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 15px;
}
.login-card .primary {
  width: 100%;
  padding: 12px;
  display: flex;
  justify-content: space-between;
}
.login-card > small {
  display: block;
  text-align: center;
  font-size: 10px;
  margin-top: 25px;
}
#login-error {
  color: #a25430;
  font-size: 12px;
}
.record-answer {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 22px;
  margin-bottom: 20px;
}
.record-answer h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}
.record-answer .identity-strip {
  margin-top: 18px;
}
.busy-dot {
  height: 6px;
  width: 6px;
  background: #4b83cf;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .shell.with-source {
    grid-template-columns: 240px minmax(600px, 1fr) 490px;
  }
  .content {
    padding: 32px 44px;
  }
  .composer-wrap {
    padding-left: 44px;
    padding-right: 44px;
  }
  .hero {
    margin-top: 80px;
  }
}
@media (max-width: 1250px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .shell.with-source {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .source-panel {
    position: fixed;
    top: 68px;
    bottom: 0;
    right: 0;
    width: 430px;
    z-index: 10;
    box-shadow: -10px 0 40px #19334e18;
  }
  .content {
    padding: 25px;
  }
  .composer-wrap {
    padding-left: 25px;
    padding-right: 25px;
  }
  .workspace-label {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .page-head {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 0 15px;
    height: 60px;
    gap: 12px;
  }
  .brand strong {
    font-size: 20px;
  }
  .monogram {
    width: 31px;
    height: 31px;
    font-size: 14px;
  }
  .top-divider {
    display: none;
  }
  .top-right {
    gap: 10px;
  }
  .top-right .text-button {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .shell,
  .shell.with-source {
    display: flex;
    height: calc(100dvh - 60px);
  }
  .sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    width: 245px;
    z-index: 12;
    box-shadow: 10px 0 25px #132b4a20;
  }
  .sidebar.open {
    display: flex;
  }
  .centre {
    width: 100%;
  }
  .source-panel {
    top: 60px;
    width: 100%;
    box-shadow: none;
  }
  .content {
    padding: 24px 20px;
  }
  .breadcrumb {
    margin-bottom: 25px;
    font-size: 10px;
  }
  .hero {
    margin: 26px auto;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero > p {
    font-size: 13px;
  }
  .suggestions {
    gap: 10px;
  }
  .suggestion {
    padding: 14px;
    min-height: 110px;
  }
  .suggestion strong {
    font-size: 12px;
  }
  .home-footer {
    gap: 16px;
    font-size: 10px;
  }
  .composer-wrap {
    padding: 12px 16px;
  }
  .composer-meta span:last-child {
    display: none;
  }
  .composer textarea {
    font-size: 14px;
  }
  .identity-strip {
    flex-wrap: wrap;
    gap: 14px;
    padding: 15px 0;
  }
  .identity-item {
    min-width: 45%;
  }
  .identity-item:nth-child(2) {
    border: 0;
  }
  .identity-item:last-child {
    width: 100%;
    flex-basis: 100%;
  }
  .tabs {
    gap: 20px;
  }
  .tabs button {
    font-size: 11px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .library-grid {
    grid-template-columns: 1fr;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .filter-select {
    height: 38px;
    max-width: 100%;
  }
  .product-item {
    padding: 15px 12px;
  }
  .product-item .count {
    display: none;
  }
  .data-table {
    font-size: 11px;
  }
  .data-table td,
  .data-table th {
    padding: 8px;
  }
  .compare-tray {
    width: calc(100% - 30px);
    gap: 14px;
    justify-content: space-between;
  }
  .record-answer {
    padding: 15px;
  }
  .turn-question {
    font-size: 23px;
  }
  .login-card {
    padding: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0s !important;
  }
}

.question-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.question-mode button {
  padding: 8px 12px;
  border: 1px solid #bac8c5;
  border-radius: 6px;
  background: white;
  cursor: pointer;
}
.question-mode button[aria-pressed='true'] {
  background: #184f46;
  color: white;
  border-color: #184f46;
}
.question-mode .guide-button {
  margin-left: auto;
  font-size: 12px;
}
.mode-help {
  font-size: 12px;
  line-height: 1.5;
  color: #516660;
  margin: 8px 0;
}
.answer-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #dce4e0;
}
.report-button {
  color: #8b391c;
  background: #fff5ea;
  border: 1px solid #d9a579;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 600;
  cursor: pointer;
}
.answer-feedback span {
  font-size: 12px;
  color: #687586;
}
dialog {
  max-width: 590px;
  width: calc(100% - 32px);
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #bac8c5;
  border-radius: 12px;
  padding: 26px;
  color: #243e36;
  box-shadow: 0 20px 70px #0003;
}
dialog::backdrop {
  background: #172c3466;
}
dialog p,
dialog li {
  font-size: 14px;
  line-height: 1.65;
}
dialog li {
  margin-bottom: 14px;
}
dialog label {
  display: block;
  margin: 14px 0 7px;
  font-weight: 600;
}
dialog textarea,
dialog select {
  width: 100%;
  padding: 10px;
  font: inherit;
  border: 1px solid #bac8c5;
  border-radius: 6px;
}
dialog blockquote {
  margin: 10px 0;
  padding: 12px;
  background: #f1f5f3;
}
dialog button {
  padding: 10px 16px;
  border: 1px solid #bac8c5;
  border-radius: 6px;
  cursor: pointer;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
#report-submit,
#guide-close {
  background: #184f46;
  color: white;
}
