:root {
  color-scheme: light;
}

.ant-card {
  border-radius: 8px !important;
}

.ant-layout-sider button {
  appearance: none;
  border: 0;
  color: inherit;
  font: inherit;
  width: 100%;
}

.pro-panel {
  background: #fff;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  padding: 16px;
}

.pro-panel h2,
.pro-panel p {
  margin: 0;
}

.pro-panel-head,
.pro-toolbar,
.pro-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.pro-panel-head {
  border-bottom: 1px solid #edf1f5;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.pro-panel-head h2 {
  color: #17212b;
  font-size: 16px;
  line-height: 1.4;
}

.pro-panel-head p,
.pro-count {
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
}

.pro-toolbar {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.pro-toolbar > input {
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  flex: 1 1 280px;
  min-height: 38px;
  min-width: 180px;
  padding: 8px 10px;
}

.pro-button {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  color: #253444;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  text-decoration: none;
  width: auto;
}

.pro-button:hover {
  border-color: #1677ff;
  color: #0958d9;
}

.pro-button.primary {
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
}

.pro-button:disabled {
  cursor: wait;
  opacity: .6;
}

.pro-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pro-field {
  color: #334155;
  display: grid;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  min-width: 0;
}

.pro-field-full {
  grid-column: 1 / -1;
}

.pro-field input,
.pro-field select,
.pro-field textarea,
.pro-draft-editor {
  background: #fff;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  color: #17212b;
  font: inherit;
  font-weight: 400;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.pro-field textarea,
.pro-draft-editor {
  line-height: 1.65;
  resize: vertical;
}

.pro-actions {
  border-top: 1px solid #edf1f5;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 12px;
}

.pro-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.pro-table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 980px;
  width: 100%;
}

.pro-table th,
.pro-table td {
  border-bottom: 1px solid #e8edf2;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.pro-table th {
  background: #f7f9fb;
  color: #51606f;
  font-size: 11px;
  white-space: nowrap;
}

.pro-table td small {
  color: #718096;
  display: block;
  margin-top: 3px;
}

.pro-empty {
  color: #718096;
  padding: 36px !important;
  text-align: center !important;
}

.pro-row-actions {
  white-space: nowrap;
}

.pro-row-actions button {
  background: transparent;
  border: 0;
  color: #0958d9;
  cursor: pointer;
  font-size: 12px;
  margin-right: 10px;
  padding: 0;
}

.pro-row-actions button.danger {
  color: #b42318;
}

.pro-hash {
  font-family: Consolas, monospace;
  white-space: nowrap;
}

.pro-draft-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pro-draft-editor {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  min-height: 520px;
}

.pro-review-box {
  align-items: end;
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  margin-top: 12px;
  padding: 10px;
}

.pro-review-box > label:not(.pro-field) {
  color: #334155;
  font-size: 12px;
  padding-bottom: 9px;
}

.pro-status {
  border: 1px solid #d5dde5;
  border-radius: 4px;
  color: #586779;
  font-size: 11px;
  padding: 3px 7px;
}

.pro-status.draft {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.pro-status.approved {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.pro-notice {
  background: #fff8e6;
  border: 1px solid #f4d38a;
  border-radius: 6px;
  color: #755000;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 10px 12px;
}

.pro-source-list {
  display: grid;
  gap: 10px;
}

.pro-source-list article {
  align-items: center;
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px;
}

.pro-source-list p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 4px;
}

.pro-sentencing-shell,
.pro-agent-workspace {
  display: grid;
  gap: 14px;
}

.pro-sentencing-tabs {
  align-items: center;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  display: flex;
  gap: 0;
  overflow: hidden;
  width: fit-content;
}

.pro-sentencing-tabs button {
  background: #fff;
  border: 0;
  border-right: 1px solid #dce5ec;
  color: #536273;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 18px;
}

.pro-sentencing-tabs button:last-child {
  border-right: 0;
}

.pro-sentencing-tabs button.active {
  background: #e9f2ff;
  color: #0958d9;
}

.pro-sentencing-grid,
.pro-agent-workspace {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}

.pro-factor-head {
  align-items: center;
  border-top: 1px solid #edf1f5;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
}

.pro-factor-head h3,
.pro-factor-head p,
.pro-calculation h3,
.pro-calculation p,
.pro-chart h3 {
  margin: 0;
}

.pro-factor-head h3,
.pro-calculation h3,
.pro-chart h3 {
  color: #263545;
  font-size: 13px;
}

.pro-factor-head p {
  color: #718096;
  font-size: 11px;
  margin-top: 3px;
}

.pro-factor-table {
  margin-top: 10px;
  min-width: 760px;
}

.pro-factor-table input,
.pro-factor-table select {
  background: #fff;
  border: 1px solid #ccd6e0;
  border-radius: 4px;
  color: #17212b;
  font: inherit;
  min-height: 32px;
  padding: 5px 7px;
  width: 100%;
}

.pro-link-danger {
  background: transparent;
  border: 0;
  color: #b42318;
  cursor: pointer;
  font-size: 12px;
  padding: 4px;
}

.pro-inline-empty {
  color: #718096;
  font-size: 12px;
  padding: 12px 0 0;
}

.pro-result-panel {
  align-self: start;
  position: sticky;
  top: 12px;
}

.pro-result-highlight {
  background: #eef7f3;
  border-left: 4px solid #18745b;
  border-radius: 6px;
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 14px;
}

.pro-result-highlight span,
.pro-result-highlight small,
.pro-metric span {
  color: #627182;
  font-size: 11px;
}

.pro-result-highlight strong {
  color: #0e5f49;
  font-size: 22px;
}

.pro-metric-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.pro-metric {
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
}

.pro-metric strong {
  color: #243447;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.pro-calculation,
.pro-chart {
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 12px;
}

.pro-calculation p {
  color: #475569;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 6px;
}

.pro-source-links {
  border-top: 1px solid #edf1f5;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
}

.pro-source-links a,
.pro-sample-table a {
  color: #0958d9;
  font-size: 12px;
  text-decoration: none;
}

.pro-check {
  align-items: center;
  color: #334155;
  display: flex;
  font-size: 12px;
  gap: 7px;
}

.pro-check input {
  height: 15px;
  width: 15px;
}

.pro-bar-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 88px minmax(80px, 1fr) 28px;
  margin-top: 9px;
}

.pro-bar-row span,
.pro-bar-row strong {
  color: #536273;
  font-size: 11px;
}

.pro-bar-track {
  background: #edf1f5;
  border-radius: 3px;
  height: 10px;
  overflow: hidden;
}

.pro-bar-fill {
  background: #c2413b;
  display: block;
  height: 100%;
  min-width: 2px;
}

.pro-sample-table {
  min-width: 720px;
}

.pro-quick-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.pro-quick-tasks button {
  background: #f7f9fb;
  border: 1px solid #d7e1ea;
  border-radius: 4px;
  color: #425466;
  cursor: pointer;
  font-size: 11px;
  padding: 6px 9px;
}

.pro-chat-shell {
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  height: calc(100vh - 170px);
  min-height: 620px;
  overflow: hidden;
}

.pro-chat-head {
  align-items: center;
  border-bottom: 1px solid #e6edf2;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.pro-chat-head h2,
.pro-chat-head p {
  margin: 0;
}

.pro-chat-head h2 {
  color: #17212b;
  font-size: 16px;
}

.pro-chat-head p {
  color: #718096;
  font-size: 11px;
  margin-top: 3px;
}

.pro-actions-inline,
.pro-chat-actions {
  display: flex;
  gap: 8px;
}

.pro-chat-list {
  background: #f6f8fa;
  overflow: auto;
  padding: 18px;
}

.pro-chat-message {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pro-chat-message.user {
  flex-direction: row-reverse;
}

.pro-chat-message > span {
  color: #64748b;
  flex: 0 0 48px;
  font-size: 11px;
  padding-top: 9px;
  text-align: center;
}

.pro-chat-bubble {
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  color: #263545;
  font-size: 13px;
  line-height: 1.75;
  max-width: min(780px, 82%);
  padding: 10px 12px;
  white-space: pre-wrap;
}

.pro-chat-message.user .pro-chat-bubble {
  background: #e9f2ff;
  border-color: #b9d6ff;
}

.pro-chat-composer {
  border-top: 1px solid #e6edf2;
  display: grid;
  gap: 8px;
  padding: 12px 16px;
}

.pro-chat-composer textarea {
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  color: #17212b;
  font: inherit;
  line-height: 1.6;
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
  width: 100%;
}

.pro-chat-actions {
  justify-content: flex-end;
}

.pro-chat-disclaimer {
  color: #718096;
  font-size: 11px;
  margin: 0;
  padding: 0 16px 12px;
  text-align: right;
}

@media (max-width: 980px) {
  .pro-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-draft-layout {
    grid-template-columns: 1fr;
  }

  .pro-sentencing-grid,
  .pro-agent-workspace {
    grid-template-columns: 1fr;
  }

  .pro-result-panel {
    position: static;
  }

  .pro-review-box {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pro-panel {
    padding: 12px;
  }

  .pro-form-grid {
    grid-template-columns: 1fr;
  }

  .pro-field-full {
    grid-column: auto;
  }

  .pro-toolbar,
  .pro-actions,
  .pro-source-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .pro-button,
  .pro-toolbar > input {
    width: 100%;
  }

  .pro-draft-editor {
    min-height: 420px;
  }

  .pro-sentencing-tabs {
    width: 100%;
  }

  .pro-sentencing-tabs button {
    flex: 1 1 50%;
    padding: 8px;
  }

  .pro-metric-grid {
    grid-template-columns: 1fr;
  }

  .pro-chat-shell {
    height: calc(100vh - 130px);
    min-height: 540px;
  }

  .pro-chat-head {
    align-items: flex-start;
    gap: 10px;
  }

  .pro-actions-inline {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .pro-chat-bubble {
    max-width: calc(100% - 56px);
  }
}
.law-main-nav {
  border: 0;
  text-align: left;
  width: 100%;
}

@media (max-width: 640px) {
  .documentMeta {
    align-items: flex-start;
    gap: 8px;
    min-height: 50px;
    padding: 8px 12px;
  }

  .documentMeta > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .documentMeta .fileButton {
    flex: 0 0 auto;
    margin-left: 0;
    white-space: nowrap;
  }
}

.sent-shell,
.sent-shell * {
  box-sizing: border-box;
}

.sent-shell {
  --sent-red: #d7193f;
  --sent-red-dark: #b91232;
  --sent-ink: #24282d;
  --sent-muted: #6f7782;
  --sent-line: #dfe3e6;
  --sent-bg: #f1f2f2;
  color: var(--sent-ink);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
  background: var(--sent-bg);
  height: 100vh;
  height: 100dvh;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: fixed;
  width: 100%;
  z-index: 1800;
}

.sent-app-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--sent-line);
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.sent-app-nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.sent-app-nav button {
  background: transparent;
  border: 0;
  color: var(--sent-red);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 8px 0;
}

.sent-app-nav strong {
  color: #8a9199;
  font-size: 14px;
  font-weight: 500;
}

.sent-user-label {
  color: #7b838c;
  font-size: 12px;
}

.sent-breadcrumb,
.sent-topline,
.sent-report-toolbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--sent-line);
  color: #737b85;
  display: flex;
  font-size: 13px;
  min-height: 46px;
  padding: 0 16px;
}

.sent-select-layout,
.sent-defendant-layout {
  background: var(--sent-bg);
  display: grid;
  grid-template-columns: 448px minmax(0, 1fr);
  min-height: calc(100vh - 54px);
  min-height: calc(100dvh - 54px);
}

.sent-case-pane,
.sent-charge-pane,
.sent-defendant-pane {
  background: #fff;
  min-width: 0;
}

.sent-case-pane {
  background: #f7f8f8;
  border-right: 1px solid var(--sent-line);
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
}

.sent-pane-head,
.sent-defendant-head,
.sent-factor-toolbar,
.sent-similar-toolbar,
.sent-calc-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.sent-pane-head h2,
.sent-defendant-head h2,
.sent-similar-toolbar h3,
.sent-similar-toolbar p {
  margin: 0;
}

.sent-pane-head h2,
.sent-defendant-head h2 {
  font-size: 15px;
}

.sent-case-pane > textarea {
  background: #f7f8f8;
  border: 1px solid #d9dde1;
  color: #30363c;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  min-height: 520px;
  padding: 12px;
  resize: none;
  flex: 1 1 auto;
  width: 100%;
}

.sent-case-pane > textarea::placeholder {
  color: #969da5;
  line-height: 1.8;
  text-align: center;
}

.sent-case-pane > textarea:placeholder-shown {
  padding: min(42vh, 390px) 56px 12px;
}

.sent-case-pane > textarea:not(:placeholder-shown) {
  padding: 12px;
  text-align: left;
}

.sent-select-screen .sent-charge-pane {
  background: #fafbfb;
}

.sent-file-name {
  color: #626b76;
  font-size: 12px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.sent-pane-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 2fr;
  padding-top: 12px;
}

.sent-red-button,
.sent-light-button,
.sent-back-button {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  text-decoration: none;
  width: auto;
}

.sent-red-button {
  background: var(--sent-red);
  border: 1px solid var(--sent-red);
  color: #fff;
}

.sent-red-button:hover {
  background: var(--sent-red-dark);
  border-color: var(--sent-red-dark);
}

.sent-red-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.sent-light-button,
.sent-back-button {
  background: #fff;
  border: 1px solid #cfd5da;
  color: #424a54;
}

.sent-back-button {
  border-color: transparent;
  color: var(--sent-red);
  padding-left: 0;
}

.sent-charge-pane,
.sent-defendant-pane {
  padding: 24px 28px 36px;
}

.sent-charge-toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, .7fr) minmax(260px, 1fr);
  margin-bottom: 18px;
}

.sent-charge-toolbar select,
.sent-charge-toolbar input {
  background: #fff;
  border: 1px solid #d3d9de;
  border-radius: 3px;
  color: #313942;
  font: inherit;
  min-height: 38px;
  padding: 7px 10px;
  width: 100%;
}

.sent-charge-groups {
  display: grid;
  gap: 28px;
}

.sent-charge-groups section h3 {
  color: #454d55;
  font-size: 14px;
  margin: 0 0 9px;
}

.sent-charge-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sent-charge-grid button {
  background: #fff;
  border: 1px solid #edf0f2;
  color: #56606b;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  min-height: 36px;
  overflow-wrap: anywhere;
  padding: 8px 10px;
  text-align: left;
}

.sent-charge-grid button:hover,
.sent-charge-grid button.selected {
  background: #fff3f5;
  border-color: #e894a5;
  color: var(--sent-red-dark);
}

.sent-topline {
  min-height: 42px;
  justify-content: space-between;
}

.sent-defendant-layout {
  grid-template-columns: 500px minmax(0, 1fr);
  min-height: calc(100vh - 96px);
  min-height: calc(100dvh - 96px);
}

.sent-defendant-head {
  border-bottom: 1px solid var(--sent-line);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.sent-defendant-head p {
  color: var(--sent-muted);
  font-size: 12px;
  margin: 5px 0 0;
}

.sent-defendant-list {
  display: grid;
  gap: 14px;
}

.sent-defendant-list article {
  border: 1px solid #dfe3e6;
  box-shadow: 0 2px 8px rgb(33 41 52 / 4%);
}

.sent-defendant-title {
  align-items: center;
  background: #f7f8f8;
  border-bottom: 1px solid #e4e7e9;
  color: #4a535d;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  padding: 10px 14px;
}

.sent-defendant-title label {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.sent-defendant-title input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfd5da;
  color: #333a42;
  font: inherit;
  font-weight: 600;
  min-width: 140px;
  padding: 4px 2px;
}

.sent-add-charge {
  background: transparent;
  border: 0;
  color: #707983;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 6px 0;
}

.sent-add-charge:hover {
  color: var(--sent-red-dark);
}

.sent-defendant-charges {
  display: grid;
}

.sent-charge-row {
  align-items: end;
  border-bottom: 1px solid #edf0f2;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 1fr) auto;
  padding: 12px 14px;
}

.sent-charge-row:last-child {
  border-bottom: 0;
}

.sent-charge-row label {
  color: #7b838c;
  display: grid;
  font-size: 12px;
  gap: 5px;
}

.sent-charge-row input {
  border: 0;
  color: #30373f;
  font: inherit;
  font-size: 13px;
  min-height: 34px;
  padding: 6px 0;
  width: 100%;
}

.sent-defendant-fields {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(160px, .7fr) minmax(220px, 1fr) auto;
  padding: 14px;
}

.sent-defendant-fields label {
  color: #65707b;
  display: grid;
  font-size: 12px;
  gap: 5px;
}

.sent-defendant-fields input {
  border: 1px solid #d5dade;
  border-radius: 3px;
  font: inherit;
  min-height: 36px;
  padding: 7px 9px;
  width: 100%;
}

.sent-report-shell {
  background: var(--sent-bg);
}

.sent-report-toolbar {
  background: #eef0f0;
  min-height: 62px;
  padding: 10px 12px;
  justify-content: space-between;
  position: sticky;
  top: 54px;
  z-index: 12;
}

.sent-report-toolbar > div {
  display: flex;
  gap: 8px;
}

.sent-report-layout {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 12px;
}

.sent-report-main {
  min-width: 0;
}

.sent-report-header,
.sent-case-summary,
.sent-report-section {
  background: #fff;
  border: 1px solid #e1e4e6;
  scroll-margin-top: 128px;
}

.sent-report-header {
  padding: 22px 20px;
}

.sent-report-header h1,
.sent-report-header p {
  margin: 0;
}

.sent-report-header h1 {
  font-size: 24px;
  font-weight: 600;
}

.sent-report-header p {
  color: #7b838c;
  font-size: 12px;
  margin-top: 6px;
}

.sent-case-summary {
  border-top: 0;
  padding: 18px;
}

.sent-case-summary h2,
.sent-report-section > h2 {
  border-left: 4px solid var(--sent-red);
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 14px;
  padding-left: 9px;
}

.sent-case-summary table,
.sent-normal-table,
.sent-factor-table,
.sent-sample-table {
  border-collapse: collapse;
  width: 100%;
}

.sent-case-summary th,
.sent-case-summary td,
.sent-normal-table > tbody > tr > th,
.sent-normal-table > tbody > tr > td {
  border: 1px solid #e0e3e5;
  font-size: 12px;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.sent-case-summary th,
.sent-normal-table > tbody > tr > th {
  background: #f7f8f8;
  color: #3f4851;
  font-weight: 700;
  width: 118px;
}

.sent-report-group-title {
  background: #fff;
  border: 1px solid #e1e4e6;
  font-size: 21px;
  margin-top: 12px;
  padding: 18px;
}

.sent-report-section {
  border-top: 0;
  padding: 18px;
  scroll-margin-top: 60px;
}

.sent-section-lead,
.sent-analysis-text,
.sent-analysis-text p {
  color: #56616d;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.sent-result-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.sent-result-band {
  align-content: center;
  background: var(--sent-red);
  color: #fff;
  display: grid;
  min-height: 112px;
  padding: 18px;
  text-align: center;
}

.sent-result-band.dark {
  background: #383b3d;
}

.sent-result-band strong {
  font-size: 25px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sent-result-band span {
  font-size: 13px;
  margin-top: 6px;
}

.sent-warning {
  background: #fff8e9;
  border: 1px solid #edd59b;
  color: #75551b;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
  padding: 10px 12px;
}

.sent-table-title {
  color: #343b43;
  font-size: 18px;
  font-weight: 700;
  padding: 4px 0 12px;
  text-align: center;
}

.sent-normal-table-wrap,
.sent-factor-table-wrap,
.sent-sample-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.sent-normal-table {
  min-width: 930px;
}

.sent-inline-grid,
.sent-sample-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sent-inline-grid.compact {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.sent-field,
.sent-inline-field {
  color: #59636e;
  display: grid;
  font-size: 11px;
  gap: 4px;
  min-width: 0;
}

.sent-field.full,
.sent-check.full {
  grid-column: 1 / -1;
}

.sent-field input,
.sent-field select,
.sent-field textarea,
.sent-inline-field input,
.sent-factor-table input,
.sent-factor-table select {
  background: #fff;
  border: 1px solid #ccd3d8;
  border-radius: 3px;
  color: #27313a;
  font: inherit;
  min-height: 34px;
  padding: 6px 8px;
  width: 100%;
}

.sent-field textarea {
  line-height: 1.6;
  resize: vertical;
}

.sent-calculated-cell {
  background: #f7f8f8;
  border: 1px solid #dde1e4;
  display: grid;
  gap: 5px;
  min-height: 53px;
  padding: 7px 9px;
}

.sent-calculated-cell span {
  color: #69737d;
  font-size: 11px;
}

.sent-calculated-cell strong {
  color: var(--sent-red-dark);
  font-size: 13px;
}

.sent-factor-toolbar {
  margin-bottom: 10px;
}

.sent-factor-toolbar span {
  color: #737c85;
  font-size: 11px;
}

.sent-factor-table {
  min-width: 850px;
}

.sent-factor-table th,
.sent-factor-table td,
.sent-sample-table th,
.sent-sample-table td {
  border: 1px solid #e1e4e6;
  font-size: 11px;
  padding: 7px;
  text-align: left;
}

.sent-factor-table th,
.sent-sample-table th {
  background: #f7f8f8;
  color: #56616c;
  white-space: nowrap;
}

.sent-text-danger {
  background: transparent;
  border: 0;
  color: var(--sent-red-dark);
  cursor: pointer;
  font-size: 12px;
}

.sent-check {
  align-items: center;
  color: #525d67;
  display: flex;
  font-size: 12px;
  gap: 7px;
}

.sent-check input {
  height: 15px;
  width: 15px;
}

.sent-calc-actions {
  border-top: 1px solid #e8ebed;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 12px;
}

.sent-legal-grid {
  display: grid;
  gap: 10px;
}

.sent-official-links,
.sent-sample-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.sent-official-links a,
.sent-sample-actions a,
.sent-sample-table a {
  color: #145fb8;
  font-size: 12px;
  text-decoration: none;
}

.sent-chart-bars {
  display: grid;
  gap: 12px;
  padding: 8px 0;
}

.sent-chart-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 130px minmax(120px, 1fr) 40px;
}

.sent-chart-row > span,
.sent-chart-row > strong {
  color: #56616c;
  font-size: 12px;
}

.sent-chart-track {
  background: #edf0f2;
  height: 18px;
}

.sent-chart-track i {
  background: #3e7fd3;
  display: block;
  height: 100%;
  min-width: 2px;
}

.sent-chart-empty {
  color: #7c858e;
  font-size: 12px;
  padding: 34px 12px;
  text-align: center;
}

.sent-chart-empty.compact {
  padding: 12px;
}

.sent-ratio-track {
  display: flex;
  height: 30px;
  overflow: hidden;
}

.sent-ratio-track i {
  background: var(--sent-red);
}

.sent-ratio-track b {
  background: #3e7fd3;
}

.sent-ratio-labels {
  color: #58636e;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 8px;
}

.sent-metric-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sent-metric-row > div {
  background: #f7f8f8;
  border: 1px solid #e0e4e6;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.sent-metric-row span {
  color: #6e7781;
  font-size: 11px;
}

.sent-metric-row strong {
  font-size: 18px;
}

.sent-scope-tabs {
  border-bottom: 1px solid #dfe3e6;
  display: flex;
  gap: 22px;
  margin-bottom: 16px;
}

.sent-scope-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #68727d;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 2px;
}

.sent-scope-tabs button.active {
  border-bottom-color: var(--sent-red);
  color: var(--sent-red-dark);
}

.sent-subheading {
  font-size: 14px;
  margin: 0 0 10px;
}

.sent-similar-toolbar {
  border-top: 1px solid #e6e9eb;
  margin-top: 18px;
  padding-top: 14px;
}

.sent-similar-toolbar h3 {
  font-size: 14px;
}

.sent-similar-toolbar p {
  color: #75808a;
  font-size: 11px;
  margin-top: 4px;
}

.sent-sample-form {
  background: #f7f8f8;
  border: 1px solid #dfe3e6;
  margin-top: 12px;
  padding: 12px;
}

.sent-sample-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.sent-sample-table-wrap {
  margin-top: 12px;
}

.sent-sample-table {
  min-width: 720px;
}

.sent-review-box {
  align-items: end;
  background: #f7f8f8;
  border: 1px solid #dfe3e6;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1fr) auto auto auto auto;
  padding: 12px;
}

.sent-disclaimer {
  color: #6f7882;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
  padding: 0 10px;
}

.sent-report-aside {
  background: #fff;
  border: 1px solid #dfe3e6;
  max-height: calc(100vh - 142px);
  max-height: calc(100dvh - 142px);
  overflow-y: auto;
  position: sticky;
  top: 128px;
}

.sent-report-aside > h2 {
  border-bottom: 1px solid #e2e5e7;
  font-size: 16px;
  margin: 0;
  padding: 14px;
}

.sent-nav-group {
  display: grid;
  gap: 7px;
  padding: 12px 14px 0;
}

.sent-nav-group strong {
  color: #343c44;
  font-size: 13px;
}

.sent-nav-group a {
  color: #65707b;
  font-size: 12px;
  padding-left: 8px;
  text-decoration: none;
}

.sent-nav-group a:hover {
  color: var(--sent-red-dark);
}

.sent-downloads {
  border-top: 1px solid #e2e5e7;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
}

.sent-downloads button {
  width: 100%;
}

@media (max-width: 980px) {
  .sent-report-layout {
    grid-template-columns: 1fr;
  }

  .sent-report-aside {
    max-height: none;
    order: -1;
    position: static;
  }

  .sent-nav-group {
    display: none;
  }

  .sent-downloads {
    border-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .sent-report-aside > h2 {
    display: none;
  }

  .sent-review-box {
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sent-select-layout,
  .sent-defendant-layout {
    grid-template-columns: 1fr;
  }

  .sent-case-pane {
    border-bottom: 1px solid var(--sent-line);
    border-right: 0;
    min-height: 480px;
  }

  .sent-app-header {
    padding: 0 12px;
  }

  .sent-app-nav {
    gap: 12px;
  }

  .sent-defendant-title,
  .sent-charge-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .sent-defendant-title {
    display: grid;
    gap: 8px;
  }

  .sent-charge-toolbar,
  .sent-defendant-fields,
  .sent-inline-grid,
  .sent-inline-grid.compact,
  .sent-sample-form,
  .sent-review-box {
    grid-template-columns: 1fr;
  }

  .sent-charge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sent-result-grid,
  .sent-metric-row {
    grid-template-columns: 1fr;
  }

  .sent-downloads {
    grid-template-columns: 1fr;
  }

  .sent-report-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 8px 12px;
  }

  .sent-report-toolbar > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sent-report-layout {
    padding: 8px;
  }

  .sent-report-header h1 {
    font-size: 20px;
  }

  .sent-result-band strong {
    font-size: 20px;
  }

  .sent-case-summary table,
  .sent-case-summary tbody {
    display: block;
  }

  .sent-case-summary tr {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .sent-case-summary th,
  .sent-case-summary td {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    width: auto;
  }

  .sent-chart-row {
    grid-template-columns: 88px minmax(80px, 1fr) 28px;
  }
}
