.jazdaro-workspace {
  --jz-orange: #ff761c;
}
.jz-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.jz-heading h1 {
  font-size: clamp(26px, 3vw, 40px);
}
.jz-filters {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.jz-filters input {
  flex: 1;
  min-width: 0;
}
.jz-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2.4fr);
  gap: 20px;
}
.jz-list,
.jz-detail {
  min-width: 0;
}
.jz-detail {
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 24px;
  overflow-wrap: anywhere;
}
.jz-case {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
  background: white;
  color: #171717;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 18px;
  width: 100%;
  margin: 10px 0;
  cursor: pointer;
}
.jz-case.selected {
  border: 2px solid #d75a00;
}
.jz-status {
  background: #fff0e5;
  padding: 10px;
  border-radius: 8px;
  color: #7d3400;
}
.jz-facts {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7px 14px;
}
.jz-facts dt {
  font-weight: 600;
}
.jz-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.jz-action {
  border-top: 1px solid #ddd;
  padding: 16px 0;
  margin-top: 12px;
}
.jz-action summary {
  cursor: pointer;
  font-weight: 700;
}
.jz-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.jz-form label {
  display: grid;
  gap: 6px;
}
.jz-form input,
.jz-form textarea,
.jz-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 8px;
  font: inherit;
}
.jz-preserve,
.jz-note {
  white-space: pre-wrap;
}
.jz-note {
  background: #fff3d5;
  padding: 12px;
  border-left: 3px solid #bd7900;
}
.jz-proposal,
.jz-message {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
}
.jz-detail > .button {
  margin: 6px 6px 6px 0;
}
.jz-document iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: 1px solid #ddd;
  background: #fff;
  margin-top: 12px;
}
.jz-test-banner {
  background: #fff0d8;
  color: #713b00;
  padding: 12px;
  text-align: center;
}
.jz-test-shell {
  max-width: 1440px;
  margin: auto;
  padding: 24px;
}
.jz-test-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.jz-test-top img {
  max-width: 120px;
}
.jz-test-nav {
  padding: 16px;
  background: #171717;
  color: white;
  border-radius: 12px;
  margin: 16px 0;
}
.jz-test-nav strong {
  color: #ff9a54;
}
.jz-login {
  max-width: 500px;
  padding: 24px;
  margin: 40px auto;
}
.jz-login form {
  display: grid;
  gap: 16px;
}
.jz-login input {
  padding: 12px;
}
.jz-document {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .jz-grid {
    grid-template-columns: 1fr;
  }
  .jz-heading {
    flex-direction: column;
  }
  .jz-filters {
    flex-direction: column;
  }
  .jz-detail {
    padding: 16px;
  }
  .jz-facts {
    grid-template-columns: 1fr;
  }
  .jz-facts dd {
    margin-bottom: 10px;
  }
  .jz-test-shell {
    padding: 16px;
  }
}

.jz-test-top{flex-wrap:wrap}.jz-test-top>div{flex:1;min-width:140px}.jz-test-top .fahrmal-wordmark b{color:#171717}.jz-test-top>button{margin-left:auto}

.jz-filters select{flex:0 0 230px;width:230px}.jz-proposal>.button{margin:6px 6px 0 0}@media(max-width:700px){.jz-filters select{flex:auto;width:100%}}

/* JAZDARO case filing and compact staff workspace */
.jazdaro-workspace .jz-heading h1{font-size:clamp(25px,2.5vw,34px);margin:4px 0 10px}
.jz-filing-nav,.jz-tabs,.jz-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.jz-filing-nav{margin:18px 0 12px}
.jz-filing-nav button,.jz-tabs button{font:inherit;font-weight:650;border:1px solid #d9d6d1;border-radius:9px;padding:10px 16px;background:#fff;color:#292622;cursor:pointer}
.jz-filing-nav button[aria-pressed=true]{background:#171717;color:#fff;border-color:#171717}
.jz-filters{margin:12px 0 20px}
.jz-tabs{border-bottom:1px solid #e6e1db;margin:18px -4px 22px;padding:0 4px 12px;gap:6px}
.jz-tabs button{padding:9px 11px;border-color:transparent;background:#f6f4f1;font-size:14px}
.jz-tabs button[aria-selected=true]{background:#fff0e5;border-color:#ff761c;color:#843700}
.jz-detail-heading h2{font-size:clamp(23px,2vw,29px);margin:6px 0 12px;line-height:1.2}
.jz-detail-heading .jz-status{display:inline-block;font-size:13px;margin:0 0 14px;padding:6px 12px}
.jz-toolbar .button{font-size:14px;padding:9px 14px;min-height:40px}
.jz-filing-note{font-size:13px;line-height:1.5;color:#645d55;margin:12px 0 0}
.jz-tab-panel>h3:first-child{margin-top:0}
.jz-tab-panel>.button{margin:0 8px 12px 0}
.jz-tab-panel .jz-facts{margin:10px 0 20px;font-size:14px;grid-template-columns:140px minmax(0,1fr);gap:10px 16px}
.jz-case{padding:14px 16px;margin:0 0 10px;gap:6px;border-width:2px;border-color:transparent;box-shadow:0 0 0 1px #dedbd6}
.jz-case.selected{border:2px solid #ed6b0b;background:#fff9f3;box-shadow:none}
.jz-case-status{color:#80502e}
.jz-empty{padding:25px;color:#756d63;background:#faf8f5;border-radius:12px;text-align:center}
.jz-confirm{max-width:510px;width:calc(100% - 32px);border:1px solid #dedbd6;border-radius:16px;padding:26px;color:#171717;box-sizing:border-box}
.jz-confirm::backdrop{background:#0008}
.jz-confirm h3{margin-top:0}.jz-confirm p{line-height:1.55}.jz-confirm .jz-toolbar{justify-content:flex-end;margin-top:22px}
.jazdaro-workspace button:disabled{opacity:.5;cursor:not-allowed}.jazdaro-workspace button:focus-visible{outline:3px solid #ff761c;outline-offset:3px}
.jz-financial-card{padding:16px;margin:12px 0;border:1px solid #dfdad4;border-radius:10px;background:#faf9f7}.jz-financial-card p{margin:6px 0}.jz-financial-card button{margin-top:10px}
@media(min-width:1000px){.jz-grid{grid-template-columns:290px minmax(0,1fr)}.jz-list{max-height:calc(100vh - 230px);overflow:auto;padding:1px 4px 1px 1px}}
@media(max-width:800px){.jz-tab-panel .jz-facts{grid-template-columns:1fr}.jz-tabs{gap:4px}.jz-tabs button{padding:9px;font-size:13px}.jz-list{max-height:260px;overflow:auto}.jz-detail-heading h2{font-size:24px}}
