.doc-tasy-hub-page {
  background: #f5f6fb;
  box-sizing: border-box;
  min-height: calc(100vh - 8rem);
  padding: 2rem 2.5rem 3rem;
}

.doc-tasy-hub-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.doc-tasy-hub-header h1 {
  color: #1f1f1f;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}

.doc-tasy-hub-header p,
.doc-tasy-hub-muted {
  color: #555;
  margin: 0.35rem 0 0;
}

.doc-tasy-hub-panel {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.doc-tasy-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.doc-tasy-hub-wide {
  grid-column: 1 / -1;
}

.doc-tasy-hub-field {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 0.35rem;
}

.doc-tasy-hub-field input,
.doc-tasy-hub-field select {
  border: 1px solid #b9c0cc;
  border-radius: 4px;
  font: inherit;
  min-height: 2.5rem;
  padding: 0.5rem;
}

.doc-tasy-hub-search {
  border: 1px solid #b9c0cc;
  box-sizing: border-box;
  font: inherit;
  margin: 0.75rem 0 0.25rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.doc-tasy-hub-category-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.doc-tasy-hub-category-pill {
  background: #f2f5f9;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  color: #26374a;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}

.doc-tasy-hub-category-section {
  border: 1px solid #d3d7df;
  border-radius: 4px;
  margin-top: 1rem;
  overflow: hidden;
}

.doc-tasy-hub-category-head {
  align-items: center;
  background: #f7f8fa;
  border-bottom: 1px solid #d3d7df;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
}

.doc-tasy-hub-category-head h3 {
  color: #1f1f1f;
  font-size: 1rem;
  margin: 0;
}

.doc-tasy-hub-category-head span {
  color: #555;
}

.doc-tasy-hub-preview {
  color: #3f4756;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0.45rem 0 0;
  max-width: 70rem;
}

.doc-tasy-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.doc-tasy-hub-button,
.doc-tasy-hub-link {
  align-items: center;
  background: #1473e6;
  border: 1px solid #1473e6;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.doc-tasy-hub-link {
  background: #fff;
  color: #1473e6;
}

.doc-tasy-hub-button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.doc-tasy-hub-row {
  border-top: 1px solid #e3e6ee;
  padding: 0.9rem 0;
}

.doc-tasy-hub-category-head + .doc-tasy-hub-row {
  border-top: 0;
}

.doc-tasy-hub-row-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.doc-tasy-hub-error {
  background: #fff4f2;
  border: 1px solid #f2b8ad;
  border-radius: 4px;
  color: #7a1f12;
  margin-bottom: 1rem;
  padding: 1rem;
}

@media (max-width: 720px) {
  .doc-tasy-hub-page {
    padding: 1.25rem;
  }

  .doc-tasy-hub-header,
  .doc-tasy-hub-row-head {
    display: block;
  }

  .doc-tasy-hub-actions {
    margin-top: 0.75rem;
  }

  .doc-tasy-hub-category-head {
    align-items: flex-start;
    display: block;
  }

  .doc-tasy-hub-link,
  .doc-tasy-hub-button {
    justify-content: center;
    width: 100%;
  }
}
