.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}
.dashboard-card{padding:22px;color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:7px;border-top:4px solid #c7d8d0}
.dashboard-card:hover{box-shadow:0 4px 18px #143b2d12;transform:translateY(-1px)}
.dashboard-card.has-observations{border-top-color:#aa4545}
.dashboard-card>strong{font-size:38px;line-height:1.2;color:#953737}.dashboard-card>b{font-size:13px}.dashboard-card>small{color:#61736c}
.dashboard-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.6fr) minmax(0,.7fr) minmax(0,.7fr) minmax(0,1.8fr);gap:16px;align-items:end}.dashboard-filters>div{min-width:0}.dashboard-filters label{display:block;margin-bottom:7px;font-size:14px}.dashboard-filters input,.dashboard-filters select{width:100%;min-width:0;border:1px solid #b8cac2;border-radius:7px;background:#fff;padding:10px;font-size:14px;min-height:42px}.dashboard-filters select{appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23516661' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.dashboard-filters .actions{grid-column:1/-1}.dashboard-filter-help{grid-column:1/-1}
.dashboard-matrix{width:100%;table-layout:fixed}.dashboard-matrix th small{display:block;font-weight:400;color:#6c7d75}.dashboard-matrix .dj-state{min-width:100px}.dashboard-matrix .matrix-company{width:200px}.dashboard-matrix .matrix-form{width:90px}.dashboard-matrix .matrix-name{width:230px}.dashboard-matrix .matrix-year{width:120px}
.dashboard-matrix .dj-state small{display:block;font-size:12px;margin-top:5px}.dashboard-matrix .dj-state strong{font-size:14px}
.dashboard-matrix th[scope="row"]{white-space:normal;overflow-wrap:anywhere}
.sii-monitor{margin-bottom:20px}.sii-monitor p{margin-bottom:0}

.workspace-tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  column-gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.workspace-tabs > a,
.workspace-more summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 8px 12px;
  color: #43536a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.workspace-tabs > a[aria-current],
.workspace-more summary.selected {
  border-color: var(--teal);
  color: var(--teal);
}

.workspace-more { position: relative; margin-left: auto; }
.workspace-more summary { cursor: pointer; list-style: none; }
.workspace-more summary::-webkit-details-marker { display: none; }
.workspace-more .ui-icon { width: 14px; height: 14px; }
.workspace-more > div {
  position: absolute;
  z-index: 10;
  right: 0;
  top: calc(100% + 4px);
  display: grid;
  min-width: 160px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.workspace-more a { padding: 9px 12px; border-radius: 6px; }
.workspace-more a:hover,
.workspace-more a[aria-current] { background: #edf5f1; }

.directory-search {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 16px;
}
.directory-search > div { flex: 1 1 190px; }
.directory-search label { display: block; color: var(--ink); font-weight: 600; margin-bottom: 5px; }
.directory-search input[type=search] {
  width: 100%;
  min-height: 39px;
  padding: 7px 10px;
  border: 1px solid #a5b3c4;
  border-radius: 8px;
}
.directory-search .button { min-height: 39px; }
.directory-search > a { align-self: flex-end; padding-bottom: 8px; }

@media (max-width: 520px) {
  .workspace-tabs { column-gap: 1px; }
  .workspace-tabs > a,
  .workspace-more summary { padding-inline: 7px; font-size: 12px; }
}
@media(max-width:1000px){.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.dashboard-cards,.dashboard-filters{grid-template-columns:1fr}}
