.project-hub {
  --hub-wine: #7b2339;
  --hub-rose: #f4e9ed;
  --hub-ink: #30262b;
  --hub-muted: #82777d;
  --hub-line: #ebe5e7;
  color: var(--hub-ink);
}
.hub-portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.hub-portfolio-metrics > article {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e0e5;
  border-radius: 17px;
}
.hub-portfolio-metrics span {
  font-size: 12px;
  color: #947785;
}
.hub-portfolio-metrics strong {
  font-size: 32px;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #48303c;
}
.hub-portfolio-metrics small {
  font-size: 10px;
  color: #aa909e;
}
.hub-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 23px;
}
.hub-portfolio-card {
  display: block;
  padding: 25px;
  border: 1px solid #e8dce3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px #4a193205;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.hub-portfolio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #4a19320b;
}
.hub-portfolio-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.hub-portfolio-card > small {
  display: block;
  color: #aa8195;
  font-size: 11px;
  margin: 15px 0 9px;
}
.hub-portfolio-card h2 {
  font-size: 19px;
  letter-spacing: -0.03em;
  line-height: 1.5;
  color: #50343f;
  margin: 0 0 12px;
}
.hub-portfolio-reference {
  color: #a58b97;
  font-size: 11px;
  line-height: 1.7;
  min-height: 38px;
}
.hub-portfolio-measures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.hub-portfolio-measures > div {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: space-between;
}
.hub-portfolio-measures span {
  font-size: 10px;
  color: #a18493;
}
.hub-portfolio-measures b {
  font-size: 10px;
  font-weight: 500;
  color: #885268;
}
.hub-portfolio-measures .hub-progress {
  width: 100%;
  height: 4px;
}
.hub-portfolio-health {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  padding: 16px 0;
  border-top: 1px solid #f0e7ec;
  color: #a88b99;
  font-size: 10px;
}
.hub-portfolio-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #f0e7ec;
  padding-top: 17px;
  font-size: 10px;
  color: #b195a3;
}
.hub-portfolio-card footer strong {
  font-weight: 500;
  color: #7b2339;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hub-portfolio-card footer .icon {
  width: 14px;
  height: 14px;
}
.hub-company-without-project > p {
  font-size: 12px;
  line-height: 1.8;
  color: #a58b97;
  margin: 18px 0;
}
.hub-company-without-project > .btn {
  margin: 8px 0;
}
.hub-company-without-project > button {
  display: block;
}
@media (max-width: 1150px) {
  .hub-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .hub-portfolio-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hub-portfolio-metrics > article {
    padding: 18px;
  }
  .hub-portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hub-portfolio-metrics span {
    font-size: 11px;
  }
}
.hub-topic-group {
  border: 1px solid #e8dde3;
  border-radius: 17px;
  background: #faf7f9;
  padding: 0 13px 13px;
}
.hub-topic-group > summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 10px 7px;
  cursor: pointer;
  list-style: none;
}
.hub-topic-group:not([open]) {
  padding-bottom: 13px;
}
.hub-topic-group:not([open]) > summary {
  padding-bottom: 7px;
}
.hub-topic-group > summary > span {
  font-size: 14px;
  font-weight: 500;
  color: #704453;
  flex: 1;
}
.hub-topic-group > summary > small {
  font-size: 11px;
  color: #a08090;
}
.hub-topic-group > summary > .icon {
  width: 15px;
  color: #ac8d9c;
  transition: transform 0.2s;
}
.hub-topic-group[open] > summary > .icon {
  transform: rotate(180deg);
}
.hub-topic-group > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 13px;
}
.project-hub .hub-card-top > small {
  font-size: 10px;
  color: #937382;
}
.project-hub .hub-kanban-card h4 > button {
  font-size: 13px;
}
.project-hub .hub-card-requirements > span {
  font-size: 9px;
  color: #a08291;
}
.project-hub .hub-metric > p {
  font-size: 11px;
  color: #90747f;
}
.project-hub .hub-topic-main > p {
  font-size: 12px;
  color: #8d707f;
}
.project-hub .hub-topic-main > small {
  font-size: 10px;
  color: #a17d90;
}
.project-hub .hub-intake-field small {
  font-size: 11px;
  color: #987786;
}
.project-hub .hub-intake-field textarea::placeholder {
  color: #a68c99;
}
.project-hub .page-head {
  margin-bottom: 24px;
}
.hub-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--hub-line);
  border-radius: 18px;
  background: #fff;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.hub-context > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: 50%;
}
.hub-project-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--hub-rose);
  color: var(--hub-wine);
  flex-shrink: 0;
}
.hub-context .field {
  margin: 0;
  min-width: 240px;
}
.hub-context .field > span {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hub-context select {
  border: 0;
  padding: 4px 0;
  font-weight: 600;
  background: transparent;
  max-width: 100%;
}
.hub-context-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  color: var(--hub-muted);
}
.hub-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--hub-line);
  margin-bottom: 28px;
  position: relative;
}
.hub-tabs > a,
.hub-more > summary {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #83777e;
  white-space: nowrap;
  font-size: 13px;
  cursor: pointer;
}
.hub-tabs > a.active {
  color: var(--hub-wine);
  border-bottom: 2px solid var(--hub-wine);
  font-weight: 600;
}
.hub-tabs .icon {
  width: 17px;
  height: 17px;
}
.hub-more {
  margin-left: auto;
  position: relative;
}
.hub-more > div {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 15;
  width: 245px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hub-line);
  box-shadow: 0 12px 35px #3413231c;
  border-radius: 14px;
}
.hub-more a,
.hub-more button {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 0;
  background: none;
  color: var(--hub-ink);
  font: inherit;
  font-size: 12px;
  border-radius: 7px;
}
.hub-more a:hover,
.hub-more button:hover {
  background: var(--hub-rose);
}
.hub-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  padding: 30px 34px;
  border-radius: 22px;
  background: linear-gradient(125deg, #f3e7eb, #fffaf7);
  border: 1px solid #e9d9df;
  margin-bottom: 22px;
}
.hub-hero h2 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
  max-width: 520px;
}
.hub-hero p {
  font-size: 13px;
  color: #7f6d75;
  line-height: 1.7;
  margin: 0 0 17px;
}
.hub-hero .eyebrow {
  font-size: 10px;
  color: var(--hub-wine);
  line-height: 1.7;
}
.hub-hero-note {
  border-left: 1px solid #e4d4db;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hub-hero-note > span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hub-wine);
}
.hub-hero-note p {
  color: #56454e;
  margin: 13px 0;
}
.hub-hero-note small {
  font-size: 11px;
  color: #99858f;
  line-height: 1.6;
}
.hub-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.hub-metric {
  border: 1px solid var(--hub-line);
  background: #fff;
  border-radius: 17px;
  padding: 22px;
  display: block;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.hub-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px #3012200b;
}
.hub-metric > span {
  font-size: 11px;
  color: #786a72;
}
.hub-metric > strong {
  display: block;
  font-size: 33px;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 13px 0 7px;
  line-height: 1.1;
  color: #35282f;
}
.hub-metric > p {
  font-size: 10px;
  line-height: 1.6;
  color: #92838c;
  min-height: 32px;
  margin: 0 0 10px;
}
.hub-metric.attention {
  background: #fff8f3;
  border-color: #ead8c8;
}
.hub-metric.attention > strong {
  color: #a46130;
}
.hub-progress {
  height: 5px;
  border-radius: 10px;
  background: #f1e8ec;
  overflow: hidden;
}
.hub-progress > i {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #9e526b, #7b2339);
  border-radius: 10px;
}
.hub-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
  gap: 22px;
}
.hub-main-grid h2,
.hub-section-title h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
}
.hub-main-grid .panel {
  border-radius: 19px;
}
.hub-journey {
  margin: 24px 0;
}
.hub-milestone {
  display: flex;
  gap: 17px;
  align-items: center;
  position: relative;
  padding: 16px 0;
  border-top: 1px solid #f0ebee;
}
.hub-milestone > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 11px;
  border: 1px solid #e5dce0;
  color: #a897a0;
  border-radius: 11px;
  background: #fff;
}
.hub-milestone > div {
  flex: 1;
}
.hub-milestone strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.hub-milestone small {
  font-size: 10px;
  display: block;
  color: #a18e98;
  margin-bottom: 10px;
}
.hub-milestone .hub-progress {
  width: 85%;
  height: 3px;
}
.hub-milestone.current > span {
  background: var(--hub-wine);
  color: white;
  border-color: var(--hub-wine);
}
.hub-milestone.current strong {
  color: var(--hub-wine);
  font-weight: 600;
}
.hub-milestone em {
  font-size: 9px;
  font-style: normal;
  color: var(--hub-wine);
  background: var(--hub-rose);
  padding: 5px 8px;
  border-radius: 5px;
}
.hub-next > a {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid #f0e8ec;
}
.hub-next > a > b {
  color: #bd9ba9;
  font-size: 10px;
  padding-top: 3px;
}
.hub-next > a > span {
  flex: 1;
}
.hub-next strong {
  font-size: 12px;
  display: block;
  line-height: 1.6;
  font-weight: 500;
}
.hub-next small {
  font-size: 10px;
  color: #a5929c;
  display: block;
  line-height: 1.65;
  margin-top: 5px;
}
.hub-next > a > .icon {
  width: 15px;
  color: #b29aa6;
  margin-top: 4px;
}
.hub-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}
.hub-facts span {
  padding: 5px 8px;
  font-size: 10px;
  background: #f5f1f3;
  color: #8e7481;
  border-radius: 5px;
}
.hub-task-row {
  display: flex;
  gap: 22px;
  align-items: center;
  border: 0;
  background: #fff;
  border-bottom: 1px solid #f0e9ed;
  width: 100%;
  padding: 18px 5px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.hub-task-row > div {
  flex: 1;
}
.hub-task-row strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.hub-task-row small {
  display: block;
  font-size: 10px;
  color: #a18d98;
  margin-top: 6px;
}
.hub-task-row > span:not(.badge) {
  font-size: 11px;
}
.hub-task-row > .icon {
  width: 16px;
  color: #b398a6;
}
.hub-task-row:hover {
  background: #fcf8fa;
}
.hub-empty {
  padding: 40px 22px;
  text-align: center;
  color: #98858e;
}
.hub-empty > span {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  background: #f5ecf0;
  border-radius: 18px;
  color: var(--hub-wine);
  margin: 0 auto 16px;
}
.hub-empty h3 {
  font-size: 16px;
  color: #634751;
}
.hub-empty p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 500px;
  margin: 12px auto 22px;
}
.hub-empty-company {
  margin-top: 24px;
}
.hub-empty-company p {
  max-width: 680px;
  line-height: 1.8;
  color: #99818d;
}
.hub-section-title {
  margin: 28px 0 22px;
}
.hub-section-title p {
  font-size: 12px;
  margin-top: 8px;
}
.hub-status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
  background: #f0edef;
  color: #8b7c84;
  white-space: nowrap;
}
.hub-status.partial {
  background: #fff0df;
  color: #98682d;
}
.hub-status.missing {
  background: #f9e5e7;
  color: #9d4553;
}
.hub-status.implemented {
  background: #e8f3ed;
  color: #42755b;
}
.hub-status.not_applicable {
  background: #edf0f6;
  color: #788198;
}
.hub-onboarding {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.hub-intake-nav {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hub-intake-nav > button {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: none;
  padding: 14px 13px;
  border-radius: 13px;
  font: inherit;
  color: #897580;
  cursor: pointer;
}
.hub-intake-nav > button > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border: 1px solid #dfd5db;
  border-radius: 8px;
  font-size: 10px;
  color: #a78c99;
}
.hub-intake-nav .icon {
  width: 15px;
}
.hub-intake-nav strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.hub-intake-nav small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #b09ba5;
  margin-top: 4px;
}
.hub-intake-nav > button.active {
  background: #fff;
  border-color: #e5d6dd;
  box-shadow: 0 3px 12px #47203807;
  color: var(--hub-wine);
}
.hub-intake-nav > button.active > span {
  background: var(--hub-wine);
  color: #fff;
  border-color: var(--hub-wine);
}
.hub-intake-nav > .btn {
  margin: 18px 10px;
}
.hub-intake-editor {
  border-radius: 20px;
}
.hub-intake-editor > p {
  font-size: 12px;
  line-height: 1.8;
  color: #9b8591;
}
.hub-intake-editor .section-title {
  align-items: flex-start;
}
.hub-intake-editor .section-title h2 {
  font-size: 20px;
}
.hub-intake-editor .section-title > span {
  font-size: 9px;
  white-space: nowrap;
  margin-top: 8px;
}
.hub-intake-editor fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.hub-interview {
  padding: 14px 17px;
  background: #f8f2f5;
  border-radius: 11px;
  margin: 20px 0;
  font-size: 11px;
  color: #8a6979;
}
.hub-interview summary {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.hub-interview .icon {
  width: 16px;
}
.hub-interview ul {
  padding-left: 22px;
  line-height: 1.9;
  margin: 14px 0 0;
}
.hub-intake-field {
  margin: 24px 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 9px !important;
}
.hub-intake-field > span {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #60434f !important;
}
.hub-intake-field textarea {
  line-height: 1.7;
  min-height: 94px;
  resize: vertical;
  font-size: 12px;
}
.hub-intake-field small {
  font-size: 10px;
  color: #ad97a3;
  line-height: 1.7;
}
.hub-intake-field textarea::placeholder {
  color: #bcadb4;
}
.hub-editor-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #eee6ea;
  margin-top: 10px;
  gap: 12px;
}
.hub-diagnosis-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.hub-diagnosis-summary > button {
  padding: 19px 16px;
  background: #fff;
  border: 1px solid var(--hub-line);
  border-radius: 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hub-diagnosis-summary strong {
  display: block;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hub-diagnosis-summary span {
  display: block;
  color: #a08a96;
  font-size: 10px;
  margin-top: 7px;
}
.hub-diagnosis-summary > button.active {
  border-color: #9f5a71;
  background: #f7edf1;
}
.hub-filterbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 21px;
}
.hub-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--hub-line);
  padding: 0 14px;
  border-radius: 10px;
  flex: 1;
  min-width: 190px;
}
.hub-search > .icon {
  width: 16px;
  color: #a88d9a;
}
.hub-search input {
  border: 0;
  background: none;
  box-shadow: none;
  outline: none;
  width: 100%;
  padding: 13px 0;
  font: inherit;
  font-size: 12px;
  min-width: 0;
}
.hub-filterbar > select {
  background: #fff;
  border: 1px solid var(--hub-line);
  border-radius: 10px;
  padding: 13px 30px 13px 12px;
  font: inherit;
  font-size: 11px;
  color: #896d7c;
  max-width: 235px;
}
.hub-topics {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.hub-topic {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--hub-line);
  border-radius: 17px;
  padding: 23px 25px;
  background: #fff;
}
.hub-topic-main {
  flex: 1;
  min-width: 0;
}
.hub-topic-main > small {
  font-size: 9px;
  color: #b494a4;
  letter-spacing: 0.03em;
}
.hub-topic h3 {
  margin: 9px 0 10px;
}
.hub-topic h3 button {
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  padding: 0;
  color: #51333f;
  font-size: 15px;
  cursor: pointer;
}
.hub-topic-main > p {
  font-size: 11px;
  color: #9d8793;
  line-height: 1.8;
  margin: 0;
  max-width: 790px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.hub-topic-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 17px;
}
.hub-topic-meta > span:not(.hub-status):not(.badge) {
  font-size: 10px;
  color: #b29aa6;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hub-topic-meta .icon {
  width: 12px;
  height: 12px;
}
.hub-topic-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  flex-shrink: 0;
}
.hub-topic-actions small {
  font-size: 9px;
  color: #ae96a3;
}
.hub-evaluation-context {
  padding: 18px;
  background: #f8f1f4;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.8;
  color: #8c6e7d;
}
.hub-evaluation-context li {
  margin: 7px 0;
}
.hub-disclosure {
  font-size: 10px !important;
  margin: 22px 0 0;
  line-height: 1.8 !important;
}
.hub-plan-preview {
  max-height: 330px;
  overflow: auto;
  border: 1px solid #eadfe5;
  border-radius: 12px;
  padding: 10px;
}
.hub-plan-preview > label,
.hub-reference-choices > label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  cursor: pointer;
}
.hub-plan-preview input,
.hub-reference-choices input {
  accent-color: #7b2339;
  width: 15px;
  min-width: 15px;
  height: 15px;
  margin-top: 3px;
}
.hub-plan-preview strong,
.hub-reference-choices strong {
  font-size: 12px;
  display: block;
  font-weight: 500;
}
.hub-plan-preview small,
.hub-reference-choices small {
  font-size: 10px;
  color: #a18a97;
  display: block;
  margin-top: 6px;
  line-height: 1.7;
}
.hub-reference-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: 310px;
  overflow: auto;
  border: 1px solid #e8dce2;
  border-radius: 12px;
}
.hub-reference-choices > label {
  border-radius: 8px;
}
.hub-reference-choices > label:has(input:checked) {
  background: #f4e7ed;
}
.hub-profile-read dt {
  font-size: 10px;
  text-transform: uppercase;
  color: #a58999;
  margin-top: 18px;
}
.hub-profile-read dd {
  margin: 7px 0;
  line-height: 1.8;
  font-size: 13px;
  white-space: pre-line;
}
.hub-plan-stats {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #eee4e9;
  padding: 0 0 19px;
  margin: 0 0 21px;
  flex-wrap: wrap;
}
.hub-plan-stats > span {
  font-size: 11px;
  color: #a28a97;
  display: flex;
  gap: 7px;
  align-items: center;
}
.hub-plan-stats b {
  font-size: 16px;
  color: #795060;
  font-weight: 500;
}
.hub-inline-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  line-height: 1.8;
  background: #fbf4ed;
  border: 1px solid #eddfd2;
  border-radius: 12px;
  padding: 13px 17px;
  color: #a37d55;
  margin-bottom: 18px;
}
.hub-inline-notice > .icon {
  width: 18px;
  flex-shrink: 0;
}
.hub-inline-notice > span {
  flex: 1;
}
.hub-inline-notice > a {
  color: #7b2339;
  white-space: nowrap;
}
.hub-view-toggle {
  border: 1px solid var(--hub-line);
  padding: 3px;
  display: flex;
  border-radius: 10px;
  background: #fff;
}
.hub-view-toggle button {
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #b397a5;
  border-radius: 7px;
  width: 33px;
  height: 33px;
  cursor: pointer;
}
.hub-view-toggle button.active {
  color: #7b2339;
  background: #f3e7ec;
}
.hub-view-toggle .icon {
  width: 17px;
  height: 17px;
}
.hub-kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(212px, 1fr));
  gap: 14px;
  overflow-x: auto;
  align-items: start;
  padding: 2px 1px 18px;
}
.hub-lane {
  background: #f3f0f1;
  border: 1px solid #ece5e8;
  border-radius: 17px;
  min-height: 340px;
  padding: 12px;
  transition: border-color 0.15s;
}
.hub-lane > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px 19px;
}
.hub-lane > header h3 {
  font-size: 11px;
  margin: 0;
  font-weight: 500;
  flex: 1;
  color: #826775;
}
.hub-lane > header b {
  font-size: 10px;
  font-weight: 500;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e9e0e5;
  color: #ad8d9d;
  width: 22px;
  height: 22px;
}
.hub-lane-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8a5af;
}
.hub-lane-dot.in_progress {
  background: #9e5e76;
}
.hub-lane-dot.blocked {
  background: #c9a574;
}
.hub-lane-dot.in_review {
  background: #8e92ad;
}
.hub-lane-dot.done {
  background: #90b29c;
}
.hub-kanban-card {
  background: #fff;
  border: 1px solid #e9e0e5;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 3px 8px #3a172404;
  cursor: grab;
}
.hub-kanban-card:active {
  cursor: grabbing;
}
.hub-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: space-between;
}
.hub-card-top > small {
  font-size: 8px;
  color: #b99baa;
}
.hub-priority {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f9eddb;
  color: #ba9366;
}
.hub-priority.urgent {
  background: #f8e4e8;
  color: #ad5b70;
}
.hub-kanban-card h4 {
  margin: 15px 0 16px;
}
.hub-kanban-card h4 > button {
  border: 0;
  background: none;
  font: inherit;
  color: #68414f;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
  overflow-wrap: anywhere;
}
.hub-card-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.hub-card-requirements > span {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 8px;
  color: #b398a5;
}
.hub-card-requirements .icon {
  width: 10px;
  height: 10px;
}
.hub-kanban-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 9px;
  color: #a88b99;
  margin-top: 13px;
}
.hub-owner {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hub-owner > i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 8px;
  border-radius: 50%;
  background: #f1e5eb;
  color: #a47d90;
  font-style: normal;
}
.hub-kanban-card > select {
  width: 100%;
  font: inherit;
  font-size: 9px;
  border: 0;
  border-top: 1px solid #f0e7ec;
  background: none;
  color: #a27d8f;
  margin-top: 13px;
  padding: 11px 0 0;
}
.hub-block-reason {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #fff5e7;
  color: #b89469;
  font-size: 10px;
  line-height: 1.6;
  border-radius: 6px;
}
.hub-block-reason .icon {
  width: 13px;
  flex-shrink: 0;
}
.hub-lane-empty {
  padding: 45px 5px;
  max-width: 170px;
  margin: auto;
  text-align: center;
  color: #bba8b2;
}
.hub-lane-empty > .icon {
  width: 23px;
  height: 23px;
  opacity: 0.5;
}
.hub-lane-empty p {
  font-size: 10px;
  line-height: 1.8;
}
.hub-lane.drag-over {
  border: 1px dashed #7b2339;
  background: #eee0e7;
}
.hub-kanban-card.dragging {
  opacity: 0.4;
}
.project-hub .overdue {
  color: #b85a6d !important;
}
@media (min-width: 1550px) {
  .hub-kanban {
    grid-template-columns: repeat(5, minmax(225px, 1fr));
  }
  .hub-onboarding {
    grid-template-columns: 290px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .hub-context {
    align-items: flex-start;
  }
  .hub-context-meta {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
  }
  .hub-tabs {
    gap: 0;
  }
  .hub-tabs > a,
  .hub-more > summary {
    font-size: 11px;
    padding: 14px 11px;
  }
  .hub-metrics {
    gap: 10px;
  }
  .hub-metric {
    padding: 17px;
  }
  .hub-main-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .hub-onboarding {
    grid-template-columns: 220px 1fr;
  }
  .hub-hero {
    gap: 22px;
    padding: 25px;
  }
  .hub-hero h2 {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  .hub-context {
    flex-direction: column;
    gap: 15px;
    padding: 16px;
  }
  .hub-context > div:first-child {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .hub-context .field {
    min-width: 0;
    width: 100%;
  }
  .hub-context-meta {
    justify-content: flex-start;
  }
  .hub-tabs {
    overflow-x: auto;
    padding-bottom: 3px;
    align-items: flex-start;
  }
  .hub-tabs > a {
    padding: 12px 10px;
  }
  .hub-tabs > a > .icon {
    display: none;
  }
  .hub-more {
    margin-left: 0;
    position: static;
  }
  .hub-more > div {
    right: 0;
    top: 45px;
  }
  .hub-hero,
  .hub-main-grid {
    grid-template-columns: 1fr;
  }
  .hub-hero-note {
    border-left: 0;
    border-top: 1px solid #e4d4db;
    padding: 18px 0 0;
  }
  .hub-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-onboarding {
    grid-template-columns: 1fr;
  }
  .hub-intake-nav {
    position: static;
    flex-direction: row;
    overflow: auto;
    gap: 8px;
    padding-bottom: 8px;
  }
  .hub-intake-nav > button {
    min-width: 185px;
    padding: 10px;
  }
  .hub-intake-nav > button strong {
    font-size: 10px;
  }
  .hub-intake-nav small {
    font-size: 8px;
  }
  .hub-intake-nav > .btn {
    display: none;
  }
  .hub-intake-editor .section-title {
    flex-direction: column;
    gap: 0;
  }
  .hub-editor-footer {
    flex-wrap: wrap;
  }
  .hub-diagnosis-summary {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hub-diagnosis-summary > button {
    padding: 14px 11px;
  }
  .hub-diagnosis-summary strong {
    font-size: 23px;
  }
  .hub-topic {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 17px;
  }
  .hub-topic-actions {
    align-items: flex-start;
  }
  .hub-filterbar > select {
    max-width: 100%;
    flex: 1;
  }
  .hub-search {
    width: 100%;
    flex-basis: 100%;
  }
  .hub-kanban {
    grid-template-columns: repeat(5, 235px);
  }
  .hub-reference-choices {
    grid-template-columns: 1fr;
  }
  .hub-plan-stats {
    gap: 15px;
  }
  .hub-task-row {
    gap: 9px;
    flex-wrap: wrap;
  }
  .hub-task-row > div {
    min-width: 65%;
  }
  .hub-inline-notice {
    flex-wrap: wrap;
  }
  .hub-section-title {
    align-items: flex-start;
    gap: 12px;
  }
  .hub-section-title .inline-actions {
    flex-wrap: wrap;
  }
}
