@import url("data:text/css,");
:root {
  --ink: #182b29;
  --muted: #74817d;
  --green: #1e5b47;
  --lime: #d8eeaa;
  --bg: #f7f8f5;
  --line: #e2e7df;
  --red: #b64a3a;
  --amber: #a87624;
  --white: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
}
button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 550;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: 0.15s;
}
button:hover {
  background: #f0f4eb;
  border-color: #b4c7b9;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #174737;
  color: white;
}
.danger {
  color: var(--red);
}
.ghost {
  background: transparent;
  border-color: transparent;
}
.small {
  padding: 6px 10px;
  font-size: 12px;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  font-weight: 560;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #f0f3ec;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 236px;
  height: 100vh;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 35px;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 700;
}
.brandmark {
  display: grid;
  place-items: center;
  background: var(--green);
  width: 33px;
  height: 38px;
  border-radius: 12px 4px 12px 4px;
  color: var(--lime);
  letter-spacing: 0;
}
.org {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: #e7ede1;
  border: 1px solid #dce4d4;
  border-radius: 9px;
  margin-bottom: 34px;
}
.org-avatar {
  background: white;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--green);
  font-weight: 650;
  font-size: 12px;
}
.caption {
  text-transform: uppercase;
  color: #8b958c;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.nav-caption {
  padding: 0 14px;
  margin: 10px 0 12px;
}
.nav-item {
  border: 0;
  background: transparent;
  justify-content: flex-start;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 5px;
  color: #6c796f;
}
.nav-item.active {
  color: var(--green);
  background: #e0e9d8;
  font-weight: 650;
}
.side-bottom {
  margin-top: auto;
  border-top: 1px solid #dbe3d5;
  padding-top: 19px;
}
.side-note {
  padding: 14px;
  font-size: 11px;
  color: #879181;
  line-height: 1.7;
}
.user-name {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  background: #fcfdfb;
}
.topbar span {
  font-size: 12px;
  color: var(--muted);
}
.topbar .private {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.private i {
  width: 6px;
  height: 6px;
  background: #53866c;
  border-radius: 50%;
}
.content {
  max-width: 1500px;
  margin: auto;
  padding: 38px 44px 60px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat {
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.stat-icon {
  background: #eef3e8;
  color: #698063;
  border-radius: 7px;
  padding: 7px;
  display: flex;
}
.stat strong {
  display: block;
  font-size: 31px;
  font-weight: 530;
  letter-spacing: -1px;
  margin: 14px 0 3px;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.panel-head h2 {
  margin: 0;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search .icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  width: 16px;
}
.search input {
  padding-left: 37px;
  min-width: 255px;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  max-width: 100%;
}
input::placeholder {
  color: #a2aaa2;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
label {
  font-size: 12px;
  font-weight: 550;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 17px;
}
label.check {
  flex-direction: row;
  align-items: center;
  font-weight: 400;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  color: #8a948c;
  font-size: 10px;
  letter-spacing: 0.9px;
  font-weight: 650;
  text-transform: uppercase;
  background: #fafbf8;
  border-bottom: 1px solid var(--line);
  padding: 13px 24px;
  white-space: nowrap;
}
td {
  padding: 19px 24px;
  border-bottom: 1px solid #edf0e9;
  font-size: 12px;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tr.row:hover {
  background: #fafcf7;
  cursor: pointer;
}
.shipment-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 13px;
}
.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: #eff3e9;
  border: 1px solid #e1e9d8;
  width: 36px;
  height: 41px;
  border-radius: 7px;
}
.sub {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 6px;
  font-weight: 400;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  white-space: nowrap;
  line-height: 1.2;
}
.badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.green {
  background: #eaf4e9;
  color: #48744a;
}
.badge.red {
  background: #fbeee9;
  color: #ad523d;
}
.badge.amber {
  background: #fbf3df;
  color: #9a762b;
}
.badge.gray {
  background: #edf0eb;
  color: #7b857c;
}
.badge.blue {
  background: #edf3f9;
  color: #577e9d;
}
.count {
  font-size: 11px;
  color: var(--muted);
}
.empty {
  padding: 65px 24px;
  text-align: center;
}
.empty .icon {
  width: 36px;
  height: 36px;
  color: #8b9f82;
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.empty p {
  max-width: 450px;
  margin: 0 auto 22px;
  font-size: 13px;
}
.bottom-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  color: #8c968c;
  font-size: 11px;
}
.insight {
  display: flex;
  gap: 17px;
  background: #edf2e4;
  border: 1px solid #dfe7d4;
  border-radius: 10px;
  padding: 22px 24px;
  align-items: flex-start;
  margin: 20px 0;
}
.insight h3 {
  margin: 0 0 7px;
  font-size: 13px;
}
.insight p {
  margin: 0;
  font-size: 12px;
  color: #7c8876;
}
.insight .icon {
  color: var(--green);
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 25px 0;
}
.tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
  color: var(--muted);
  font-size: 12px;
}
.tabs button.active {
  color: var(--green);
  box-shadow: 0 2px 0 var(--green);
  font-weight: 650;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.panel-body {
  padding: 24px;
}
.details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.detail small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.detail strong {
  font-size: 13px;
  font-weight: 550;
  word-break: break-word;
}
.dropzone {
  padding: 38px;
  text-align: center;
  border: 1px dashed #bfccb6;
  background: #f9fbf6;
  border-radius: 9px;
  margin-bottom: 22px;
}
.dropzone.drag {
  background: #e5eed9;
  border-color: var(--green);
}
.dropzone .icon {
  color: var(--green);
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
}
.dropzone h3 {
  margin-bottom: 7px;
}
.dropzone p {
  font-size: 12px;
  margin-bottom: 14px;
}
.progress {
  background: white;
  border: 1px solid var(--line);
  padding: 19px 24px;
  border-radius: 9px;
  margin-bottom: 22px;
}
.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
}
.progress-track {
  height: 5px;
  border-radius: 9px;
  background: #eaf0e3;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  background: #57836a;
  transition: width 0.4s;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 10px;
}
.finding {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.finding:last-child {
  border: 0;
}
.severity {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fbefe8;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.severity.review {
  color: var(--amber);
  background: #fbf4e4;
}
.severity.pass {
  color: var(--green);
  background: #eaf4e9;
}
.finding-main {
  flex: 1;
  min-width: 0;
}
.finding h3 {
  margin: 2px 0 7px;
  font-size: 13px;
}
.finding p {
  font-size: 12px;
  max-width: 800px;
  margin-bottom: 10px;
}
/* Grouped findings list one item per line. */
.finding p,
p.explanation {
  white-space: pre-line;
}
.finding-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.comparison th,
.comparison td {
  padding: 13px 19px;
  min-width: 170px;
  vertical-align: top;
}
.comparison td:first-child {
  font-weight: 550;
  min-width: 160px;
  position: sticky;
  left: 0;
  background: white;
}
.comparison td button {
  white-space: normal;
  text-align: left;
  justify-content: flex-start;
  word-break: break-word;
  padding: 5px 0;
  font-weight: 400;
  background: transparent;
  border: 0;
}
.cell-empty {
  color: #a5ada4;
  font-style: italic;
  font-size: 11px;
}
.cell-formula {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.source-cells td {
  padding: 9px 12px;
}
.source-cells .highlight {
  background: #fff2b9;
}
.source-cells th {
  padding: 9px 12px;
}
.source-cells .hidden-cell {
  background: #f7eeed;
}
.timeline {
  padding: 22px 25px;
}
.timeline-row {
  padding: 0 0 23px 25px;
  border-left: 1px solid var(--line);
  position: relative;
  font-size: 12px;
}
.timeline-row::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #92ad85;
}
.timeline-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 95vw;
  width: 550px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 100px #17332733;
}
dialog::backdrop {
  background: #102a2466;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 27px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  margin: 0;
}
.modal-body {
  padding: 25px 27px;
  max-height: 80vh;
  overflow: auto;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 27px;
  border-top: 1px solid var(--line);
  background: #fafcf7;
}
.evidence-dialog {
  width: 1250px;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.evidence-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.evidence-head {
  padding: 17px;
  background: #f7f9f3;
}
.evidence-head h3 {
  margin-bottom: 8px;
  word-break: break-word;
}
.evidence-head p {
  font-size: 11px;
  margin: 6px 0;
}
.evidence-value {
  font-size: 20px;
  font-weight: 550;
  word-break: break-word;
  margin: 10px 0;
}
.quote {
  font-family: ui-monospace, monospace;
  white-space: pre-wrap;
  font-size: 11px;
  padding: 12px;
  background: #f1f4ed;
  border-radius: 6px;
  max-height: 160px;
  overflow: auto;
}
.evidence-preview {
  max-height: 550px;
  overflow: auto;
  background: #edf0ea;
  min-height: 150px;
}
.evidence-preview img {
  width: 100%;
  display: block;
}
.evidence-preview iframe {
  width: 100%;
  height: 500px;
  border: 0;
}
.evidence-card .actions {
  padding: 13px;
}
.error {
  background: #fdf0eb;
  border: 1px solid #f0d9cf;
  color: #a4513c;
  padding: 12px 15px;
  border-radius: 7px;
  margin: 12px 0;
  font-size: 12px;
}
.warning {
  background: #fff8e5;
  border: 1px solid #efe1b8;
  color: #92702d;
  padding: 13px 17px;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-art {
  background: #173c32;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 48px 60px;
  position: relative;
  overflow: hidden;
}
.login-art .brand {
  padding: 0;
  color: white;
}
.login-art .brandmark {
  background: #35594a;
}
.login-art h1 {
  font-size: 53px;
  line-height: 1.12;
  font-weight: 450;
  max-width: 520px;
  letter-spacing: -2px;
  margin-top: auto;
  margin-bottom: 24px;
}
.login-art h1 em {
  font-style: normal;
  color: var(--lime);
}
.login-art p {
  color: #a7b9ac;
  max-width: 380px;
  font-size: 14px;
}
.login-graphic {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 50px 0 70px;
  opacity: 0.8;
}
.cargo-box {
  border: 1px solid #80a783;
  background: repeating-linear-gradient(
    90deg,
    #304e3f 0px,
    #304e3f 10px,
    #3a5b48 11px,
    #3a5b48 12px
  );
  height: 100px;
  width: 155px;
  border-radius: 3px;
  position: relative;
}
.cargo-box:nth-child(2) {
  height: 145px;
  background: repeating-linear-gradient(
    90deg,
    #9eb382 0,
    #9eb382 10px,
    #aec291 11px,
    #aec291 12px
  );
  width: 170px;
}
.cargo-box::after {
  content: "FIREFLY";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #dbe8c5;
}
.login-foot {
  color: #8ea395;
  font-size: 11px;
}
.login-form-wrap {
  display: grid;
  place-items: center;
  padding: 50px;
}
.login-form {
  width: 340px;
  max-width: 100%;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 20px 0 12px;
}
.login-form p {
  font-size: 12px;
  margin-bottom: 30px;
}
.login-form button {
  width: 100%;
  margin-top: 10px;
}
.login-note {
  font-size: 10px;
  color: #98a091;
  line-height: 1.8;
  margin-top: 35px;
}
.settings-section {
  margin-bottom: 22px;
}
.settings-section .panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.settings-section p {
  font-size: 12px;
}
.full {
  grid-column: 1/-1;
}
.boot {
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  letter-spacing: 4px;
}
.boot span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #193d31;
  color: white;
  box-shadow: 0 6px 25px #132e2422;
  border-radius: 8px;
  padding: 13px 22px;
  z-index: 100;
  font-size: 12px;
  transition: 0.25s;
  max-width: 90vw;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.mobile-brand {
  display: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.breadcrumb button {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}
.text-link {
  background: none;
  border: 0;
  color: var(--green);
  padding: 0;
  display: inline;
  font-weight: 500;
  white-space: normal;
}
.loading {
  opacity: 0.6;
  pointer-events: none;
}
.upload-error {
  margin: 5px 0;
}
.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.inline-help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.external-link {
  font-size: 12px;
}
.retention-detail {
  font-size: 11px;
  background: #f5f7f1;
  padding: 15px;
  border-radius: 7px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.doc-role {
  min-width: 75px;
  padding: 6px 8px;
  font-size: 11px;
}
.ellipsis {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.margin-top {
  margin-top: 20px;
}
.no-margin {
  margin: 0;
}
.source-cells {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.doc-cell-value {
  white-space: pre-wrap;
  max-width: 500px;
  word-break: break-word;
}
.compact {
  font-size: 11px;
}
.rule-id {
  font-size: 10px;
  color: var(--muted);
  word-break: break-all;
}
.pass-summary {
  padding: 16px 24px;
  color: var(--green);
  font-size: 12px;
  background: #f6faf2;
}
.spacer {
  flex: 1;
}
@media (min-width: 1700px) {
  .content {
    padding-top: 48px;
  }
  .stats {
    gap: 22px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding: 24px 14px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    font-size: 42px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 12px 17px;
    gap: 6px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 15px;
    letter-spacing: 2px;
    padding: 0 15px 0 0;
  }
  .brandmark {
    width: 27px;
    height: 30px;
  }
  .org,
  .nav-caption,
  .side-note,
  .user-name {
    display: none;
  }
  .side-bottom {
    margin: 0 0 0 auto;
    border: 0;
    padding: 0;
  }
  .nav-item {
    padding: 8px;
    width: auto;
    margin: 0;
    font-size: 11px;
  }
  .nav-item .icon {
    width: 15px;
  }
  .sidebar .spacer {
    display: none;
  }
  .main {
    display: block;
  }
  .topbar {
    height: 54px;
    padding: 0 20px;
  }
  .content {
    padding: 25px 18px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
  }
  h1 {
    font-size: 26px;
  }
  .page-head p {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-icon {
    padding: 4px;
  }
  .panel-head {
    padding: 17px;
  }
  .toolbar {
    width: 100%;
  }
  .search {
    flex: 1;
  }
  .search input {
    min-width: 150px;
    width: 100%;
  }
  td,
  th {
    padding: 14px 17px;
  }
  .bottom-note {
    flex-direction: column;
  }
  .tabs {
    gap: 20px;
    overflow-x: auto;
  }
  .tabs button {
    white-space: nowrap;
  }
  .finding {
    padding: 18px 15px;
    flex-wrap: wrap;
  }
  .finding > .actions {
    margin-left: 42px;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .evidence-dialog {
    width: 96vw;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head {
    padding: 17px 20px;
  }
  .settings-section .panel-body {
    grid-template-columns: 1fr;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    min-height: 210px;
    padding: 27px;
  }
  .login-art h1 {
    font-size: 30px;
    margin: 25px 0 0;
    max-width: 350px;
  }
  .login-art p,
  .login-graphic,
  .login-foot {
    display: none;
  }
  .login-form-wrap {
    padding: 35px 27px;
  }
  .details {
    gap: 20px;
  }
  .topbar .private {
    font-size: 9px;
  }
  .dropzone {
    padding: 26px 15px;
  }
}
@media (max-width: 420px) {
  .sidebar .nav-item {
    font-size: 0;
    padding: 9px;
  }
  .sidebar .nav-item .icon {
    width: 18px;
    height: 18px;
  }
  .sidebar .brand {
    font-size: 13px;
    flex: 1;
  }
  .sidebar .side-bottom {
    margin-left: 0;
  }
  .sidebar {
    gap: 7px;
  }
  .topbar {
    padding: 0 18px;
  }
  .topbar .private .icon {
    display: none;
  }
}
.panel {
  overflow: auto;
}
.stat {
  min-width: 0;
}
.breadcrumb {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.breadcrumb span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.topbar .private {
  flex-shrink: 0;
}
h1 {
  overflow-wrap: anywhere;
}
.finding p {
  white-space: pre-line;
}
.field-view .field-detail {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}
.field-detail .evidence-head {
  grid-column: 1;
  grid-row: 1;
}
.field-detail .evidence-preview {
  grid-column: 2;
  grid-row: 1/4;
  height: 650px;
  max-height: 70vh;
  border-left: 1px solid var(--line);
}
.field-detail > .actions {
  grid-column: 1;
  grid-row: 2;
  flex-wrap: wrap;
}
.field-intro {
  margin-bottom: 16px;
}
.field-intro p {
  font-size: 12px;
}
.field-detail .evidence-preview iframe {
  height: 650px;
}
.field-detail .evidence-preview img {
  object-fit: contain;
}
@media (max-width: 760px) {
  .field-view .field-detail {
    display: flex;
    flex-direction: column;
  }
  .field-detail .evidence-preview {
    width: 100%;
    height: auto;
    min-height: 240px;
    border: 0;
  }
  .field-detail .evidence-head {
    width: 100%;
  }
  .field-detail > .actions {
    order: 3;
  }
}

.weight-breakdown {
  max-height: 260px;
  overflow: auto;
  margin-top: 12px;
}
.weight-breakdown td,
.weight-breakdown th {
  padding: 8px;
  font-size: 10px;
  white-space: normal;
}
.weight-breakdown td:first-child {
  overflow-wrap: anywhere;
}
.company-links {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  max-height: 330px;
  overflow: auto;
  margin-bottom: 20px;
}
.company-links legend {
  font-weight: 600;
}
.company-links .check {
  align-items: flex-start;
  margin-bottom: 12px;
}
.company-links .check input {
  margin-top: 4px;
}
.company-links .sub {
  font-size: 11px;
}
.panel-head > .inline-help {
  margin: 0;
}
.comparison mark.changed-characters {
  background: #ffe16a;
  color: inherit;
  border-radius: 2px;
  box-shadow: 0 1px 0 #d3a42b;
  padding: 1px 0;
}
.comparison-delta {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  color: #72500c;
  margin-top: 7px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.comparison-baseline {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.comparison-reference {
  font-size: 11px;
  max-width: 320px;
}
.comparison-reference select {
  font-size: 12px;
  margin-top: 4px;
}
.comparison .different-row td:first-child {
  background: inherit;
}
.comparison td button {
  white-space: normal;
  text-align: left;
  display: inline-block;
}
.comparison-change {
  display: inline-block;
  background: #fff4ca;
  border-radius: 3px;
  padding: 2px 5px;
  margin: 2px 3px 2px 0;
}
.calculated-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: #edf3e7;
  border: 1px solid #dce6d4;
  border-radius: 4px;
  padding: 3px 6px;
  margin-top: 6px;
  white-space: normal;
}
.co-weight-summary .panel-head .calculated-label {
  margin: 0;
}
.co-weight-formula {
  font-size: 21px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: 0.2px;
  margin: 15px 0 8px;
  overflow-wrap: anywhere;
}
.co-weight-summary .panel-body > p:not(.co-weight-formula) {
  font-size: 12px;
}
.comparison-legend {
  padding: 14px 24px;
  margin: 0;
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.difference-swatch {
  width: 16px;
  height: 16px;
  background: #fff0b5;
  border: 1px solid #ddbd55;
  border-radius: 4px;
  flex-shrink: 0;
}
.source-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7f9f3;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.source-toolbar select {
  width: 100%;
  font-size: 12px;
}
.company-address {
  min-width: 240px;
  max-width: 350px;
  white-space: pre-line;
  line-height: 1.6;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 22px;
}
.company-record {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.company-record p {
  font-size: 12px;
  margin: 14px 0;
}
.company-record .small {
  margin-top: 12px;
}
.contact-history {
  font-size: 11px;
  margin: 12px 0;
  grid-column: 1/-1;
}
.contact-history summary {
  cursor: pointer;
  color: var(--green);
}
.contact-history p {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.source-cells td {
  white-space: pre-wrap;
}

.comparison mark.changed-value {
  background: #ffe58a;
  color: inherit;
  border-radius: 3px;
  padding: 3px 5px;
  box-decoration-break: clone;
}
.comparison-uncompared {
  color: var(--muted);
}
.comparison-uncompared .comparison-change {
  background: #f1f3ef;
  color: var(--muted);
}
.printed-totals {
  padding: 14px 16px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbf8;
}
.printed-totals p {
  margin: 6px 0;
  font-size: 12px;
}
.weight-disagreement {
  display: block;
  background: #fff1bb;
  color: #72500c;
  border-radius: 4px;
  padding: 6px 9px;
  margin-top: 5px;
  width: fit-content;
}
