:root {
  --ink: #182338;
  --muted: #718096;
  --blue: #2563eb;
  --line: #e4eaf3;
  --background: #f5f7fc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  font:
    14px/1.55 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--background);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #93b9ff;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #ffffffef;
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.5px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: var(--blue);
  font-size: 20px;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}
nav {
  display: flex;
  gap: 30px;
  color: #66738a;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover {
  color: var(--blue);
}
.pilot-badge {
  color: #3563a9;
  background: #eef4ff;
  padding: 7px 11px;
  font-size: 11px;
  border-radius: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #5c91ed;
  border-radius: 50%;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 42px 36px 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 8px 0 36px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 750;
  color: #6685b1;
}
h1 {
  font-size: clamp(32px, 3.2vw, 47px);
  line-height: 1.17;
  letter-spacing: -1.7px;
  margin: 13px 0 16px;
  font-weight: 780;
}
h1 span {
  color: var(--blue);
}
.hero-description {
  max-width: 540px;
  color: #69778f;
  font-size: 14px;
  line-height: 1.8;
}
.presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
}
.presets > span {
  color: #8994a5;
  font-size: 10px;
  margin-right: 3px;
}
.presets button {
  border: 1px solid #dee6f2;
  border-radius: 7px;
  padding: 7px 10px;
  color: #52688d;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
}
.presets button span {
  color: #88a6d4;
  margin-left: 6px;
}
.presets button:hover {
  border-color: #87acf0;
  background: #eff5ff;
}
.snapshot-card {
  position: relative;
  background: linear-gradient(135deg, #edf3ff, #fff 80%);
  border: 1px solid #dce6f6;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 20px #293b5d03;
}
.snapshot-symbol {
  position: absolute;
  right: 22px;
  top: 16px;
  font-size: 28px;
  color: #a4bbdf;
}
.snapshot-card > strong {
  display: block;
  font-size: 19px;
  margin: 10px 0 7px;
  letter-spacing: -0.4px;
}
.snapshot-card > p:not(.eyebrow) {
  font-size: 11px;
  color: #7b899e;
  max-width: 340px;
  line-height: 1.8;
}
.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid #dfe7f4;
}
.snapshot-metrics b {
  display: block;
  font-size: 23px;
  letter-spacing: -0.8px;
}
.snapshot-metrics span {
  font-size: 9px;
  color: #7f8ba0;
}
.workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.profile-panel {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 21px;
  box-shadow: 0 4px 14px #14274303;
}
.profile-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.profile-icon {
  color: var(--blue);
  background: #edf3ff;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 27px;
  line-height: 1;
}
.profile-heading h2 {
  font-size: 14px;
  font-weight: 750;
}
.profile-heading p {
  font-size: 10px;
  color: #92a0b5;
  margin-top: 2px;
}
form > label {
  display: block;
  margin-bottom: 17px;
  color: #68768d;
  font-size: 10px;
  font-weight: 650;
}
select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dfe6f0;
  background: #fafbfd;
  color: #394b68;
  padding: 10px 8px;
  border-radius: 7px;
  font-size: 11px;
  min-width: 0;
}
.segmented {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding: 3px;
  background: #f3f6fb;
  border-radius: 8px;
}
.segmented button {
  flex: 1;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 7px 4px;
  color: #8390a5;
  font-size: 10px;
}
.segmented [aria-pressed="true"] {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 5px #23345410;
  font-weight: 750;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  color: #718096;
}
.check-label input {
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.advanced {
  border-top: 1px solid #eef1f6;
  padding-top: 14px;
  margin-top: 5px;
}
.advanced summary {
  cursor: pointer;
  color: #8490a4;
  font-size: 10px;
}
.advanced .check-label {
  margin-top: 12px;
}
.reset-button {
  border: 0;
  background: transparent;
  color: #6b86ac;
  font-size: 10px;
  margin-top: 16px;
  padding: 3px 0;
}
.profile-note {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid #edf1f6;
  display: flex;
  gap: 8px;
  color: #9aa6b8;
  font-size: 10px;
  line-height: 1.75;
}
.profile-note > span {
  color: #8aa4cb;
  font-size: 20px;
}
.results-panel {
  min-width: 0;
}
.view-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e0e7f1;
}
.view-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #7d8ba0;
  padding: 4px 0 13px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.view-tabs [aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.view-tabs button span {
  background: #eaf0f9;
  font-size: 9px;
  color: #8293ad;
  border-radius: 5px;
  padding: 2px 5px;
  margin-left: 4px;
}
.view-tabs [aria-selected="true"] span {
  color: var(--blue);
  background: #e3edff;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 10px;
}
.result-heading h2 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.5px;
  margin: 5px 0 4px;
}
.result-heading p:not(.eyebrow) {
  color: #8996a9;
  font-size: 10px;
}
.result-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.25px;
}
.sort-label {
  color: #8d9aac;
  font-size: 8px;
  min-width: 165px;
}
.sort-label select {
  padding: 7px;
  font-size: 10px;
  background: #fff;
  margin-top: 4px;
}
.active-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.active-filters:empty {
  display: none;
}
.active-filters span {
  background: #e8effe;
  color: #4c76ba;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
}
.bank-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 13px 0 16px;
}
.bank-filters button {
  padding: 6px 10px;
  background: #fff;
  color: #7f8ca1;
  font-size: 10px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
}
.bank-filters [aria-pressed="true"] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.stage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding: 0 0 15px;
  font-size: 10px;
}
.stage-filters button {
  border: 0;
  padding: 3px 0;
  background: none;
  color: #96a1b2;
  font-size: 9px;
}
.stage-filters [aria-pressed="true"] {
  color: #3b5c90;
  font-weight: 750;
}
.stage-filters .stage-dot {
  margin-right: 5px;
}
.stage-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #9dabc0;
  border-radius: 50%;
}
.stage-dot.opened {
  background: #26aa83;
}
.stage-dot.accepted {
  background: #6499ef;
}
.stage-dot.rejected {
  background: #dd8a8c;
}
.stage-dot.application {
  background: #a394d6;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.case-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 2px 8px #20385702;
}
.case-card:hover {
  border-color: #c4d6f1;
  box-shadow: 0 5px 20px #20385706;
}
.case-top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-right: 18px;
}
.bank-mark {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #f2f5fa;
  color: #546882;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.bank-unicredit {
  background: #fff0f0;
  color: #cf3f47;
}
.bank-intesa {
  background: #e8f5f2;
  color: #21987e;
}
.bank-aik {
  background: #f9edf6;
  color: #b54893;
}
.bank-raiffeisen {
  background: #fff7d9;
  color: #826e22;
}
.bank-nlb {
  background: #f0eafb;
  color: #7854a9;
}
.bank-adriatic {
  background: #eaf2fb;
  color: #3579b1;
}
.bank-erste {
  background: #e9f3fa;
  color: #3289bc;
}
.bank-postanska {
  background: #fff1df;
  color: #aa7433;
}
.bank-halkbank {
  background: #edf7fc;
  color: #29829d;
}
.case-top h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
}
.case-top .location {
  font-size: 9px;
  color: #95a1b4;
  margin-top: 2px;
}
.bookmark {
  position: absolute;
  right: 13px;
  top: 12px;
  background: none;
  border: 0;
  color: #b6c2d3;
  padding: 3px;
  font-size: 21px;
  line-height: 1;
}
.bookmark[aria-pressed="true"] {
  color: #e4a950;
}
.case-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 15px 0 11px;
}
.tag {
  display: inline-block;
  background: #f4f6fa;
  color: #7c899f;
  border-radius: 4px;
  font-size: 8px;
  padding: 3px 6px;
}
.tag.historical {
  color: #9a7c46;
  background: #faf3e6;
}
.stage-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 650;
  background: #f1f4f9;
  color: #7e8ba0;
}
.stage-label.opened {
  background: #e7f6ef;
  color: #22896d;
}
.stage-label.accepted {
  background: #ebf2ff;
  color: #5484cf;
}
.stage-label.rejected {
  background: #fff0f0;
  color: #bc777c;
}
.stage-label.application {
  background: #f0ebfb;
  color: #927db5;
}
.case-summary {
  font-size: 12px;
  line-height: 1.8;
  color: #546783;
  margin: 11px 0 13px;
}
.case-time {
  display: flex;
  gap: 6px;
  padding: 9px 10px;
  background: #f8fafd;
  border: 1px solid #edf1f7;
  border-radius: 7px;
  font-size: 9px;
  color: #7d8fa9;
  margin-bottom: 10px;
}
.case-time.actual {
  color: #3c987e;
  background: #f3fbf7;
  border-color: #e6f4ed;
}
.case-time span:first-child {
  font-size: 13px;
}
.case-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 10px;
}
.case-docs span {
  border: 1px solid #edf0f6;
  color: #8a98ad;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 8px;
}
.missing-note {
  font-size: 8px;
  color: #9ba7b8;
  line-height: 1.7;
  margin-bottom: 12px;
}
.case-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eff2f7;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.text-button {
  border: 0;
  background: none;
  color: #668ec8;
  font-size: 9px;
  padding: 1px 0;
}
.case-footer small {
  margin-left: auto;
  color: #a7b2c2;
  font-size: 8px;
}
.show-more {
  display: block;
  margin: 18px auto 0;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  background: white;
  padding: 10px 26px;
  color: #6c86ac;
  font-size: 11px;
}
.view-explanation {
  color: #8b99ae;
  font-size: 11px;
  padding: 0 0 15px;
  line-height: 1.8;
}
.branch-grid {
  display: grid;
  gap: 13px;
}
.branch-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
}
.branch-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.branch-header h3 {
  font-size: 14px;
}
.branch-header p {
  color: #8a9ab1;
  font-size: 11px;
  margin-top: 3px;
}
.branch-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 0;
  font-size: 10px;
  color: #8595ad;
}
.branch-history {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf1f6;
  font-size: 10px;
}
.branch-history .text-button {
  margin-left: auto;
  flex-shrink: 0;
}
.branch-note {
  color: #9aa7b8;
  font-size: 9px;
  margin-top: 10px;
}
.document-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #edf3ff;
  border: 1px solid #e0e9fb;
  border-radius: 12px;
  padding: 17px;
}
.document-intro > span {
  color: #6c94d3;
  font-size: 26px;
}
.document-intro h3 {
  font-size: 12px;
  color: #597eaf;
}
.document-intro p {
  font-size: 10px;
  color: #8b9bb2;
  line-height: 1.8;
  margin-top: 4px;
}
.button {
  border: 1px solid #d7e4f8;
  background: #fff;
  color: #5e86bf;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 10px;
  white-space: nowrap;
}
.document-intro .button {
  margin-left: auto;
}
.checklist-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 14px;
  color: #7f92ae;
  font-size: 10px;
}
progress {
  accent-color: #4b87e4;
  height: 5px;
  flex: 1;
  max-width: 180px;
}
.document-list {
  display: grid;
  gap: 9px;
}
.document-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.document-row input {
  accent-color: var(--blue);
  margin: 3px 0 0;
}
.document-row h3 {
  font-size: 12px;
  font-weight: 600;
}
.document-row p {
  color: #9ba7b7;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}
.document-row .text-button {
  margin-top: 6px;
}
.document-row.checked h3 {
  text-decoration: line-through;
  color: #9aaa9f;
}
.document-row small {
  margin-left: auto;
  color: #9ba7ba;
  font-size: 9px;
  min-width: 65px;
  text-align: right;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  background: #fff;
  border: 1px dashed #d4deed;
  border-radius: 13px;
  padding: 50px 25px;
  color: #8a9bb5;
}
.empty-state strong {
  display: block;
  color: #587498;
  margin-bottom: 9px;
  font-size: 16px;
}
.empty-state p {
  max-width: 390px;
  margin: auto;
  line-height: 1.8;
  font-size: 12px;
}
.empty-state button {
  margin-top: 15px;
}
.how-it-works {
  margin: 42px 0 20px;
  border-top: 1px solid #e1e8f2;
  padding: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.how-it-works h3 {
  font-size: 11px;
  margin-top: 5px;
}
.how-it-works p {
  font-size: 10px;
  color: #95a2b5;
  margin-top: 5px;
}
.step-number {
  color: #c0cddd;
  font-size: 18px;
  font-weight: 750;
}
.pilot-scope {
  font-size: 10px;
  color: #a2aec0;
  line-height: 1.8;
  margin: 22px 0 10px;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 20px 36px;
  border-top: 1px solid #e2e8f1;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  font-size: 9px;
  color: #a0adc0;
}
footer span:last-child {
  max-width: 650px;
  text-align: right;
}
.status {
  color: #c47777;
}
.status:empty {
  display: none;
}
dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 85vh;
  color: var(--ink);
  border: 1px solid #e0e7f1;
  border-radius: 18px;
  padding: 27px;
  box-shadow: 0 25px 80px #10203e25;
}
dialog::backdrop {
  background: #14213b66;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #e6edf5;
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.dialog-heading h2 {
  font-size: 20px;
  margin-top: 5px;
  letter-spacing: -0.4px;
}
.close-button {
  background: #f3f6fb;
  border: 0;
  color: #8a9bb5;
  border-radius: 9px;
  width: 32px;
  height: 32px;
  font-size: 23px;
}
.source-meta {
  color: #8294ac;
  font-size: 11px;
  margin: 10px 0;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  color: #677d99;
  font-size: 12px;
  background: #f7f9fd;
  border: 1px solid #e7edf6;
  border-radius: 10px;
  padding: 18px;
}
.source-note {
  font-size: 10px;
  color: #a0aec0;
  margin-top: 13px;
  line-height: 1.8;
}
#takedownForm label {
  display: block;
  margin: 12px 0;
}
#takedownForm input:not([type="hidden"]),
#takedownForm textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #d7e1f0;
  border-radius: 8px;
  margin-top: 6px;
}
.source-episode {
  padding: 12px 0;
  border-bottom: 1px solid #edf1f7;
}
.source-episode h3 {
  font-size: 12px;
  margin-bottom: 5px;
}
.source-episode p {
  color: #8b9eb8;
  font-size: 11px;
}
@media (min-width: 1550px) {
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 25px;
  }
  .workspace {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
  }
  .profile-panel {
    padding: 16px;
  }
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 36px;
  }
  .header-inner,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    padding: 12px 18px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 16px;
  }
  .brand small {
    font-size: 8px;
  }
  nav {
    display: none;
  }
  .pilot-badge {
    font-size: 8px;
    padding: 5px 7px;
  }
  main {
    padding: 24px 16px 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 0 0 24px;
  }
  .hero h1 {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .hero-description {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .snapshot-card {
    padding: 19px;
  }
  .snapshot-card > p:not(.eyebrow) {
    max-width: 100%;
  }
  .snapshot-card > strong {
    font-size: 17px;
  }
  .snapshot-metrics {
    margin-top: 12px;
    padding-top: 12px;
  }
  .snapshot-metrics b {
    font-size: 20px;
  }
  .presets {
    gap: 5px;
  }
  .presets button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-panel {
    position: static;
    padding: 17px;
  }
  .profile-heading {
    margin-bottom: 14px;
  }
  #profileForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }
  form > label {
    margin-bottom: 13px;
    font-size: 9px;
  }
  select {
    font-size: 10px;
    padding: 9px 5px;
  }
  .advanced,
  .reset-button {
    grid-column: 1/-1;
  }
  .advanced {
    margin-top: 3px;
  }
  .reset-button {
    text-align: left;
    margin-top: 12px;
  }
  .profile-note {
    margin-top: 12px;
    padding-top: 11px;
  }
  .view-tabs {
    gap: 14px;
    overflow-x: auto;
  }
  .view-tabs button {
    font-size: 10px;
  }
  .view-tabs button span {
    font-size: 8px;
    margin-left: 2px;
  }
  .result-heading {
    gap: 8px;
    padding-top: 19px;
  }
  .result-heading h2 {
    font-size: 17px;
  }
  .result-heading .eyebrow {
    font-size: 7px;
  }
  .sort-label {
    min-width: 120px;
    max-width: 125px;
  }
  .sort-label select {
    font-size: 8px;
  }
  .case-grid {
    gap: 12px;
  }
  .stage-filters {
    gap: 10px;
  }
  .case-card {
    padding: 18px;
  }
  .case-summary {
    font-size: 12px;
  }
  .case-tags .tag {
    font-size: 9px;
  }
  .stage-label {
    font-size: 10px;
  }
  .case-footer .text-button {
    font-size: 10px;
  }
  .how-it-works {
    gap: 13px;
    margin-top: 30px;
  }
  .how-it-works p {
    font-size: 9px;
  }
  footer {
    display: block;
    padding: 17px;
    font-size: 8px;
  }
  footer span {
    display: block;
  }
  footer span:last-child {
    text-align: left;
    margin-top: 7px;
  }
  .document-intro {
    gap: 8px;
    padding: 13px;
  }
  .document-intro .button {
    padding: 6px;
    font-size: 9px;
  }
  .document-row {
    padding: 13px;
    gap: 9px;
  }
  .document-row small {
    min-width: 48px;
    font-size: 8px;
  }
  .branch-history {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .branch-history .text-button {
    margin-left: 0;
  }
  dialog {
    padding: 20px;
  }
  .dialog-heading h2 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .hero,
  .profile-panel,
  .view-tabs,
  .result-heading,
  .active-filters,
  .bank-filters,
  .how-it-works,
  footer,
  .pilot-scope,
  #view-cases,
  #view-branches,
  #printDocs {
    display: none !important;
  }
  body {
    background: white;
  }
  .workspace {
    display: block;
  }
  #view-documents {
    display: block !important;
  }
  .document-row {
    break-inside: avoid;
  }
  .document-row button {
    display: none;
  }
}
