.home-capabilities {
  --hc-heading-size: var(--sprout-type-section-title-size);
  --hc-secondary-size: var(--hc-type-secondary-size, 12px);
  --hc-card-title-size: var(--hc-type-item-title-size, 13px);
  --hc-heading-weight: var(--sprout-type-section-title-weight);
  --hc-opening-heading-size: var(--hc-heading-size);
  grid-column: 1/-1;
  display: grid;
  gap: 14px;
  min-width: 0;
  color: var(--ink, #24354c);
  font-size: var(--hc-type-body-size, 14px);
  line-height: var(--hc-type-body-line, 22px);
}
.hc-section {
  background: var(--panel, #fff);
  border: 1px solid var(--line, #e6edf7);
  border-radius: 4px;
  padding: 18px 20px;
  min-width: 0;
}
.hc-section > header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  min-height: 25px;
}
.hc-section h2 {
  font-size: var(--hc-heading-size);
  font-weight: var(--hc-heading-weight);
  line-height: var(--sprout-type-section-title-line);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
.hc-section h2 .icon {
  width: var(--sprout-icon-section);
  height: var(--sprout-icon-section);
  color: var(--hc-link, #4385ff);
}
.hc-section header > p {
  font-size: var(--hc-type-secondary-size);
  color: var(--muted, #7c8da6);
  margin: 0;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-section header > div {
  display: flex;
  gap: 16px;
  margin-left: auto;
  white-space: nowrap;
}
.home-capabilities a,
.home-capabilities button {
  font: inherit;
}
.home-capabilities a {
  color: inherit;
  text-decoration: none;
}
.hc-section header a,
.hc-section header button,
.hc-media footer button,
.hc-empty button,
.hc-empty a,
.hc-report > span {
  color: var(--hc-link, #377fe8);
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-section button {
  cursor: pointer;
}
.hc-section header button,
.hc-media footer button,
.hc-empty button {
  border: 0;
  background: transparent;
  padding: 4px 0;
}
.hc-section :is(a, button):focus-visible,
.hc-dialog :is(a, button):focus-visible {
  outline: 2px solid var(--hc-focus, #3d80ef);
  outline-offset: 3px;
}
.hc-grid {
  display: grid;
  gap: 16px;
}
.hc-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hc-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hc-empty {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  color: var(--muted, #7d8da6);
  font-size: var(--hc-type-secondary-size);
  background: linear-gradient(110deg, #5895ff05, transparent);
  border: 0;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-media {
  min-width: 0;
}
.hc-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8.6;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  color: #234578;
  text-align: left;
}
.hc-film {
  background: radial-gradient(ellipse at 70% 35%, #375f80, #102c43);
  align-items: center;
}
.hc-film-art {
  font-size: 62px;
  color: #aad3ed;
  font-weight: 300;
}
.hc-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-visual-cover {
  background: transparent;
}
.hc-visual-cover img {
  object-fit: contain;
}
.hc-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #172f4899;
  color: white;
  border: 2px solid #ffffffc0;
}
.hc-slide {
  background: linear-gradient(145deg, #e3efff, #d1e3fb 65%, #eef6ff);
}
.hc-media:nth-child(2) .hc-slide {
  background: linear-gradient(145deg, #fbf2e5, #f4e4d6 65%, #fff9ef);
}
.hc-media:nth-child(3) .hc-slide {
  background: linear-gradient(145deg, #edebff, #dce5ff 65%, #f4f7ff);
}
.hc-slide strong {
  font-size: clamp(16px, 1.7vw, 26px);
  max-width: 90%;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-slide small {
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
  opacity: 0.65;
}
.hc-slide-line {
  width: 34px;
  height: 3px;
  background: #6c9cdb;
  margin-top: 13px;
}
.hc-media h3 {
  font-size: 14px;
  margin: 10px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-media footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-media small {
  color: var(--muted, #7c8da6);
  font-size: 11px;
}
.hc-row,
.hc-tool {
  padding: 14px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line, #e9eff7);
  border-radius: 3px;
  text-align: left;
  background: transparent;
  color: inherit;
}
.hc-row > span:nth-child(2),
.hc-tool > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.hc-row b,
.hc-tool b,
.hc-read b,
.hc-visual b {
  display: block;
  font-size: var(--hc-card-title-size);
  font-weight: 600;
}
.hc-row small,
.hc-tool small,
.hc-read small,
.hc-visual small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  color: var(--muted, #7c8da6);
  line-height: 1.7;
  margin-top: 5px;
}
.hc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #edf4ff;
  color: #4888f1;
  border-radius: 4px;
}
.hc-icon .icon {
  width: 21px;
  height: 21px;
}
.hc-domain {
  border: 1px solid var(--line, #e8eef7);
  padding: 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 12px;
}
.hc-domain h3 {
  font-size: 14px;
  margin: 3px 0;
  align-self: center;
}
.hc-domain p {
  grid-column: 2;
  margin: 0;
  color: var(--muted, #7d8da6);
  font-size: 12px;
  line-height: 1.7;
  min-height: 40px;
}
.hc-domain footer {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted, #7c8da6);
  padding-top: 15px;
}
.hc-domain footer span {
  float: right;
  color: #4788f1;
}
.hc-read {
  display: flex;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line, #e7eef7);
  background: transparent;
  text-align: left;
  color: inherit;
}
.hc-read > span:last-child {
  align-self: center;
  flex: 1;
  min-width: 0;
}
.hc-book {
  width: 76px;
  min-height: 105px;
  flex-shrink: 0;
  background: linear-gradient(140deg, #e4edfb, #f8fbff 70%, #ccdcf5);
  padding: 10px 8px;
  border-left: 3px solid #abc4ea;
  box-shadow: 3px 3px 0 #d8e3f4;
  color: #315a92;
  overflow: hidden;
}
.hc-book small {
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hc-book b {
  font-size: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-read em {
  font-style: normal;
  display: block;
  font-size: 12px;
  color: #3781ec;
  margin-top: 12px;
}
.hc-tool:hover,
.hc-row:hover,
.hc-read:hover,
.hc-domain:hover {
  background: #4386ff06;
}
.hc-memory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.hc-orbit {
  position: relative;
  height: 230px;
  min-width: 0;
}
.hc-orbit svg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
}
.hc-orbit svg path {
  fill: none;
  stroke: #b9d2fb;
  stroke-width: 1.3;
}
.hc-orbit svg circle {
  fill: #438aff;
}
.hc-orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: white;
  white-space: nowrap;
}
.hc-node {
  position: absolute;
  width: 115px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.hc-node b {
  font-size: 12px;
  display: block;
}
.hc-node small {
  font-size: 10px;
  color: var(--muted, #8091a9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-top: 4px;
}
.hc-node-0 {
  left: 23%;
  top: 13%;
}
.hc-node-1 {
  left: 77%;
  top: 13%;
}
.hc-node-2 {
  left: 16%;
  top: 50%;
}
.hc-node-3 {
  left: 84%;
  top: 50%;
}
.hc-node-4 {
  left: 23%;
  top: 88%;
}
.hc-node-5 {
  left: 77%;
  top: 88%;
}
.hc-memory-notes {
  display: grid;
  gap: 10px;
}
.hc-memory-notes > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f5f9ff;
  color: inherit;
}
.hc-memory-notes > a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.hc-memory-notes b {
  font-size: 12px;
}
.hc-memory-notes small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted, #7d8da6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hc-memory-notes time {
  font-size: 11px;
  color: var(--muted, #7d8da6);
}
.hc-tabs {
  display: flex;
  border-bottom: 1px solid var(--line, #e7eef7);
  gap: 30px;
  margin-bottom: 15px;
}
.hc-tabs button {
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted, #7d8da6);
  font-size: 13px;
}
.hc-tabs button[aria-selected="true"] {
  color: var(--hc-link, #3386f5);
  border-bottom-color: #3386f5;
}
.hc-report {
  border: 1px solid var(--line, #e7eef7);
  padding: 15px;
  text-align: left;
  background: transparent;
  color: inherit;
}
.hc-report h3 {
  font-size: var(--hc-type-item-title-size);
  margin: 10px 0;
  line-height: var(--hc-type-item-title-line);
  font-weight: var(--hc-type-item-title-weight);
}
.hc-report small,
.hc-report p {
  font-size: 12px;
  color: var(--muted, #7d8da6);
  line-height: 1.7;
}
.hc-table-wrap {
  overflow: auto;
}
.hc-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.hc-section th {
  font-size: 11px;
  color: var(--muted, #7d8da6);
  font-weight: 500;
}
.hc-section td,
.hc-section th {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line, #edf2f9);
}
.hc-section td button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 12px;
}
.hc-file-type {
  font-size: 9px;
  background: #eaf2ff;
  color: var(--hc-link, #3c80e8);
  padding: 5px;
  min-width: 30px;
  text-align: center;
}
.hc-visual {
  border: 1px solid var(--line, #e7eef7);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  text-align: left;
  color: inherit;
}
.hc-visual img {
  width: 118px;
  height: 72px;
  object-fit: contain;
  background: white;
}
.hc-dialog {
  width: min(850px, 90vw);
  max-height: 88vh;
  border: 1px solid #dce5f2;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 25px 90px #12253b44;
  color: #24354c;
  background: #fff;
}
.hc-dialog::backdrop {
  background: #15273b66;
  backdrop-filter: blur(4px);
}
.hc-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hc-dialog h2 {
  font-size: 18px;
  margin: 0;
}
.hc-dialog header button {
  border: 0;
  background: none;
  font-size: 24px;
  color: #75849b;
  cursor: pointer;
}
.hc-dialog > video,
.hc-dialog > img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.hc-dialog iframe {
  width: 100%;
  height: 65vh;
  border: 0;
  background: white;
}
.hc-dialog p,
.hc-dialog a {
  font-size: 13px;
}
.hc-source-list {
  display: grid;
  gap: 6px;
}
.hc-source-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e3ebf5;
  background: white;
  text-align: left;
  color: #24354c;
  cursor: pointer;
}
.hc-source-list .icon {
  width: 20px;
  height: 20px;
  color: var(--hc-link, #4388f2);
}
.hc-source-list span {
  margin-left: auto;
}
body.dark .hc-section {
  background: var(--panel, #18293b);
  border-color: var(--line, #2c4056);
  color: var(--ink, #e1eaf5);
}
body.dark .hc-memory-notes > a {
  background: #213448;
}
body.dark .hc-icon {
  background: #263d59;
}
body.dark .hc-row,
body.dark .hc-tool,
body.dark .hc-domain,
body.dark .hc-read,
body.dark .hc-report,
body.dark .hc-visual {
  border-color: #2d4259;
}
body.dark .hc-section small,
body.dark .hc-section p {
  color: var(--hc-secondary-ink, #9eafc4);
}
body.dark .hc-cover strong {
  color: #234578;
}
body.dark .hc-dialog {
  background: #1a2c40;
  color: #e2edf9;
}
body.dark .hc-source-list button {
  background: #23384f;
  color: #e2edf9;
  border-color: #375069;
}
@media (min-width: 1450px) {
  body.home-view .studio-workspace {
    max-width: 1500px;
    margin: auto;
  }
}
@media (max-width: 900px) {
  .hc-memory {
    grid-template-columns: 1fr;
  }
  .hc-orbit {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .hc-section header > p {
    display: none;
  }
  .hc-tool {
    padding: 10px;
    gap: 8px;
  }
  .hc-three {
    gap: 10px;
  }
  .hc-section {
    padding: 14px;
  }
  .hc-cover {
    padding: 15px;
  }
  .hc-icon {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 600px) {
  .hc-three,
  .hc-two {
    grid-template-columns: 1fr;
  }
  .hc-section > header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hc-section h2 {
    font-size: var(--hc-heading-size);
  }
  .hc-section header > div {
    gap: 10px;
  }
  .hc-section header a,
  .hc-section header button {
    font-size: var(--hc-type-secondary-size);
    line-height: var(--hc-type-secondary-line);
    font-weight: var(--hc-type-secondary-weight);
  }
  .hc-tabs {
    gap: 8px;
    justify-content: space-between;
  }
  .hc-tabs button {
    padding: 8px;
  }
  .hc-media h3 {
    white-space: normal;
  }
  .hc-media .hc-cover {
    aspect-ratio: 16/8;
  }
  .hc-empty {
    min-height: 84px;
    font-size: var(--hc-type-secondary-size);
    line-height: var(--hc-type-secondary-line);
    font-weight: var(--hc-type-secondary-weight);
  }
  .hc-section td:nth-child(2),
  .hc-section th:nth-child(2) {
    display: none;
  }
  .hc-section table {
    min-width: 340px;
  }
  .hc-dialog {
    padding: 14px;
  }
  .hc-tool small {
    font-size: 12px;
  }
}
/* The site's legacy header/footer rules also match section headings. */
.home-capabilities .hc-section > header {
  height: auto;
  min-height: 25px;
  padding: 0;
  position: static;
  inset: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.home-capabilities .hc-section footer {
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.home-capabilities .hc-domain footer {
  padding-top: 15px;
}
.home-capabilities .hc-cover > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hc-dialog > header {
  height: auto;
  min-height: 28px;
  padding: 0;
  position: static;
  inset: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hc-default-label {
  margin: 18px 0 12px;
  font-size: 12px;
  color: var(--muted, #7d8da6);
  border-top: 1px solid var(--line, #e8eef7);
  padding-top: 14px;
}

/* Video and PPT shelves share four compact columns. */
#hc-videos .hc-grid,
#hc-ppt .hc-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  #hc-videos .hc-grid,
  #hc-ppt .hc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  #hc-videos .hc-grid,
  #hc-ppt .hc-grid {
    grid-template-columns: 1fr;
  }
}

/* One four-track row: two tracks for reading, two for works. */
.hc-opening {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}
.hc-opening > #hc-reading,
.hc-opening > #hc-works {
  grid-column: span 2;
  min-width: 0;
}
#hc-works > .hc-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0 0 22px;
}
#hc-works > .hc-section:last-child {
  margin-bottom: 0;
}
#hc-works .hc-section > header h2 {
  font-size: var(--hc-heading-size);
  font-weight: var(--hc-heading-weight);
}
#hc-works #hc-videos .hc-grid,
#hc-works #hc-ppt .hc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#hc-works .hc-media h3 {
  font-size: 12px;
}
.hc-opening .hc-section > header {
  margin-bottom: 15px;
}
.hc-reading-note {
  font-size: var(--hc-type-secondary-size);
  color: var(--muted, #7d8da6);
  margin: 0 0 12px;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-reading-table {
  table-layout: fixed;
}
.hc-reading-table th:first-child {
  width: 72%;
}
.hc-reading-table td button {
  width: 100%;
  gap: 9px;
  min-width: 0;
  padding: 2px 0;
}
.hc-reading-table td button > span:last-child {
  min-width: 0;
  flex: 1;
}
.hc-reading-table b {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-reading-table small {
  font-size: 11px;
  color: var(--muted, #7d8da6);
  margin-top: 5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#hc-reading .hc-empty {
  min-height: 120px;
}
@media (max-width: 900px) {
  .hc-opening {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-opening > #hc-reading,
  .hc-opening > #hc-works {
    grid-column: auto;
  }
}
@media (max-width: 500px) {
  #hc-works #hc-videos .hc-grid,
  #hc-works #hc-ppt .hc-grid {
    gap: 10px;
  }
  .hc-reading-table {
    min-width: 0 !important;
  }
  .hc-opening .hc-section {
    padding: 12px;
  }
  .hc-cover {
    padding: 12px;
  }
  .hc-slide strong {
    font-size: 14px;
  }
}

/* Curated mock content: display-only, never part of account records. */
.hc-demo-label {
  font-size: var(--hc-type-meta-size);
  font-weight: var(--hc-type-meta-weight);
  color: #8795a9;
  border: 1px solid #e1e8f1;
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 3px;
  line-height: var(--hc-type-meta-line);
}
.hc-demo-memory {
  gap: 26px;
}
.hc-demo-memory .hc-orbit {
  height: 240px;
}
.hc-demo-memory .hc-orbit svg .hc-demo-ray {
  stroke: #dce9ff;
  stroke-width: 1;
}
.hc-demo-memory .hc-orbit svg .hc-demo-dot {
  fill: #fff;
  stroke: #91a8cf;
  stroke-width: 1.7;
}
.hc-demo-memory .hc-orbit svg .hc-demo-dot-main {
  fill: #3284ff;
  stroke: #c6dfff;
  stroke-width: 1.2;
}
.hc-demo-memory .hc-orbit svg .hc-demo-center {
  fill: url(#hc-demo-core);
  stroke: #bad7ff;
  stroke-width: 1;
}
.hc-demo-memory .hc-node b {
  font-size: 13px;
}
.hc-demo-memory .hc-node small {
  font-size: 11px;
}
.hc-demo-memory .hc-orbit-center {
  font-size: 13px;
  font-weight: 500;
}
.hc-demo-memory-list {
  display: grid;
  gap: 10px;
}
.hc-demo-memory-list > button {
  border: 0;
  background: #f6f9fe;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  color: inherit;
  border-radius: 4px;
  min-width: 0;
}
.hc-demo-memory-list > button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.hc-demo-memory-list b {
  font-size: 13px;
  display: block;
}
.hc-demo-memory-list small {
  font-size: 12px;
  color: var(--muted, #8191a8);
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.hc-demo-memory-list time {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted, #8191a8);
}
.hc-demo-memory-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 4px;
  font-size: 32px;
  flex-shrink: 0;
  font-weight: 400;
}
.hc-demo-memory-icon.rose {
  color: #fc477b;
}
.hc-demo-memory-icon.blue {
  color: var(--hc-link, #4288ff);
}
.hc-demo-memory-icon .icon {
  width: 25px;
  height: 25px;
}
.hc-demo-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hc-demo-topic {
  border: 1px solid var(--line, #e6edf7);
  border-radius: 4px;
  padding: 14px;
  min-width: 0;
}
.home-capabilities .hc-demo-topic > header {
  height: auto;
  padding: 0;
  min-height: 38px;
  position: static;
  background: none;
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.hc-demo-topic-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.hc-demo-topic-icon .icon {
  width: 24px;
  height: 24px;
}
.hc-demo-topic-icon.blue {
  background: #e2efff;
  color: var(--hc-link, #3383ee);
}
.hc-demo-topic-icon.purple {
  background: #eee6ff;
  color: #9460f4;
}
.hc-demo-topic-icon.green {
  background: #dff5ed;
  color: #25b18b;
}
.hc-demo-topic-icon.orange {
  background: #fff0e5;
  color: #f57c4b;
}
.hc-demo-topic h3 {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.hc-demo-topic header button {
  align-self: flex-start;
  font-size: 19px;
  border: 0;
  background: none;
  color: #91a1b8;
  padding: 0 1px;
  line-height: 1;
  cursor: pointer;
}
.hc-demo-topic > p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted, #8090a8);
  margin: 0 0 12px;
  min-height: 64px;
}
.hc-demo-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hc-demo-tags span {
  font-size: 10px;
  color: #7489a8;
  background: #f0f6fc;
  border-radius: 3px;
  padding: 3px 6px;
}
.home-capabilities .hc-demo-topic footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted, #7c8da6);
  font-size: 11px;
}
.hc-demo-topic footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hc-demo-topic footer .icon {
  width: 15px;
  height: 15px;
}
.hc-demo-topic footer button {
  font-size: 17px;
  border: 0;
  background: none;
  color: var(--hc-link, #4288ff);
  padding: 0;
  cursor: pointer;
}
.hc-demo-dialog-note {
  color: #7b8ca5;
  border-bottom: 1px solid #e8eef6;
  padding-bottom: 12px;
}
body.dark .hc-demo-memory-list > button {
  background: #203449;
}
body.dark .hc-demo-memory-icon {
  background: #263c53;
}
body.dark .hc-demo-topic {
  border-color: #2e435b;
}
body.dark .hc-demo-tags span {
  background: #263b53;
  color: #b2c2d8;
}
body.dark .hc-demo-label {
  border-color: #42566d;
  color: #9cacc1;
}
@media (max-width: 1000px) {
  .hc-demo-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hc-demo-topic > p {
    min-height: 43px;
  }
}
@media (max-width: 600px) {
  .hc-demo-memory-list > button {
    padding: 11px;
    gap: 8px;
  }
  .hc-demo-memory-list b {
    font-size: 12px;
  }
  .hc-demo-memory-list small {
    font-size: 11px;
  }
  .hc-demo-memory-list time {
    font-size: 10px;
  }
  .hc-demo-memory .hc-node b {
    font-size: 11px;
  }
  .hc-demo-memory .hc-node small {
    font-size: 10px;
  }
  .hc-demo-topics {
    gap: 10px;
  }
  .hc-demo-topic {
    padding: 11px;
  }
  .hc-demo-topic h3 {
    font-size: 13px;
  }
  .hc-demo-topic-icon {
    width: 30px;
    height: 30px;
  }
  .hc-demo-tags span {
    font-size: 9px;
    padding: 3px 4px;
  }
  .hc-demo-topic footer {
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 380px) {
  .hc-demo-topics {
    grid-template-columns: 1fr;
  }
}

.hc-memory-image {
  width: 100%;
  overflow-x: auto;
}
.hc-memory-image img {
  display: block;
  width: min(100%, 960px);
  min-width: 620px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.hc-memory-image .hc-memory-image-dark {
  display: none;
}
body.dark .hc-memory-image .hc-memory-image-light {
  display: none;
}
body.dark .hc-memory-image .hc-memory-image-dark {
  display: block;
}

/* Reading, memory and works occupy equal columns, in reading order. */
.hc-opening {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hc-opening > #hc-reading,
.hc-opening > #hc-memory,
.hc-opening > #hc-works {
  grid-column: auto;
  min-width: 0;
}
.hc-opening > #hc-memory .hc-memory-image img {
  width: 100%;
  min-width: 0;
  max-width: 480px;
  height: auto;
}
.hc-opening > #hc-memory header > p {
  display: none;
}
.hc-opening > #hc-memory .hc-memory-image {
  display: flex;
  align-items: center;
  min-height: 360px;
  overflow: visible;
}
.hc-opening > .hc-section {
  padding: 16px;
}
.hc-opening .hc-section > header h2 {
  font-size: var(--hc-heading-size);
}
.hc-opening > .hc-section > header > div {
  gap: 8px;
}
.hc-opening > .hc-section > header button,
.hc-opening > .hc-section > header a {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-opening #hc-works .hc-media h3 {
  font-size: 11px;
}
.hc-opening #hc-works .hc-slide strong {
  font-size: 15px;
}
@media (max-width: 1050px) {
  .hc-opening {
    grid-template-columns: 1fr;
  }
  .hc-opening > #hc-memory .hc-memory-image {
    min-height: 0;
    max-width: 480px;
    margin: auto;
  }
  .hc-opening > #hc-memory .hc-memory-image img {
    width: 100%;
  }
}

/* Four compact tools sit directly under the memory image in the middle column. */
.hc-memory-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hc-memory-column > .hc-section {
  padding: 16px;
}
.hc-memory-column > #hc-memory {
  flex: 0 0 auto;
}
.hc-memory-column > #hc-tools > header {
  margin-bottom: 12px;
}
.hc-memory-column > #hc-tools h2 {
  font-size: var(--hc-heading-size);
}
.hc-compact-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.hc-compact-tools .hc-tool {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  text-align: center;
}
.hc-compact-tools .hc-tool .hc-icon {
  width: 36px;
  height: 36px;
  flex: none;
}
.hc-compact-tools .hc-tool b {
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.5;
}
.hc-compact-tools .hc-tool small {
  font-size: 9px;
  margin: 0;
  line-height: 1.2;
  color: #96a3b6;
}
.hc-compact-tools .hc-tool:disabled {
  cursor: default;
  opacity: 0.55;
}
.hc-memory-column #hc-memory header > p {
  display: none;
}
.hc-memory-column #hc-memory .hc-memory-image {
  min-height: 0;
  overflow: visible;
}
.hc-memory-column #hc-memory .hc-memory-image img {
  width: 100%;
  min-width: 0;
  max-width: 480px;
  height: auto;
}
.hc-memory-column .hc-section > header h2 {
  font-size: var(--hc-heading-size);
}
.hc-memory-column .hc-section > header button {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
@media (max-width: 1050px) {
  .hc-memory-column #hc-memory .hc-memory-image {
    max-width: 480px;
    margin: auto;
  }
  .hc-compact-tools {
    max-width: 560px;
    width: 100%;
    margin: auto;
  }
}

/* The next row reserves two thirds for knowledge and one third for work reports. */
.hc-knowledge-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  align-items: stretch;
}
.hc-knowledge-work > #hc-domains {
  grid-column: span 2;
  min-width: 0;
}
.hc-knowledge-work > #hc-reports {
  grid-column: span 1;
  min-width: 0;
}
.hc-knowledge-work > .hc-section {
  padding: 16px;
}
.hc-knowledge-work .hc-section > header h2 {
  font-size: var(--hc-heading-size);
}
.hc-knowledge-work .hc-section > header > div {
  gap: 8px;
}
.hc-knowledge-work .hc-section > header button,
.hc-knowledge-work .hc-section > header a {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-knowledge-work .hc-demo-topics {
  gap: 10px;
}
.hc-knowledge-work .hc-demo-topic {
  padding: 11px;
  display: flex;
  flex-direction: column;
}
.hc-knowledge-work .hc-demo-topic > header {
  gap: 7px;
  min-height: 30px;
  align-items: center;
}
.hc-knowledge-work .hc-demo-topic-icon {
  width: 30px;
  height: 30px;
}
.hc-knowledge-work .hc-demo-topic-icon .icon {
  width: 20px;
  height: 20px;
}
.hc-knowledge-work .hc-demo-topic h3 {
  font-size: 12px;
  line-height: 1.5;
}
.hc-knowledge-work .hc-demo-topic > p {
  font-size: 11px;
  min-height: 84px;
  flex: 1;
}
.hc-knowledge-work .hc-demo-tags {
  gap: 4px;
  min-height: 42px;
  align-content: flex-start;
  margin-bottom: 10px;
}
.hc-knowledge-work .hc-demo-tags span {
  font-size: 9px;
  padding: 3px 4px;
}
.hc-knowledge-work .hc-demo-topic footer {
  font-size: 10px;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}
.hc-knowledge-work .hc-demo-topic footer .icon {
  width: 13px;
  height: 13px;
}
#hc-reports .hc-tabs {
  gap: 0;
  justify-content: space-between;
  margin-bottom: 12px;
}
#hc-reports .hc-tabs button {
  font-size: var(--hc-type-meta-size, 12px);
  padding: 8px 5px;
  min-width: 0;
}
#hc-reports .hc-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
#hc-reports .hc-report {
  padding: 12px;
}
#hc-reports .hc-empty {
  min-height: 180px;
  align-content: center;
  gap: 10px;
  text-align: center;
  line-height: 1.8;
  padding: 14px;
}
@media (max-width: 1050px) {
  .hc-knowledge-work {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-knowledge-work > #hc-domains,
  .hc-knowledge-work > #hc-reports {
    grid-column: auto;
  }
  .hc-knowledge-work .hc-demo-topic > p {
    min-height: 65px;
  }
  .hc-knowledge-work .hc-demo-tags {
    min-height: 0;
  }
}
.hc-knowledge-work .hc-demo-topic footer {
  flex-wrap: nowrap;
  gap: 4px;
}
.hc-knowledge-work .hc-demo-topic footer > span {
  font-size: 9px;
  white-space: nowrap;
  gap: 0;
}
.hc-knowledge-work .hc-demo-topic footer .icon {
  display: none;
}

/* Compact aligned top row, with one full-width tool strip beneath it. */
.hc-opening > #hc-reading,
.hc-opening > #hc-memory,
.hc-opening > #hc-works {
  height: clamp(360px, 30vw, 480px);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.hc-opening > #hc-reading > .hc-table-wrap {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.hc-opening > #hc-reading > .hc-empty {
  min-height: 0;
  flex: 1;
}
.hc-opening > #hc-reading .hc-reading-note {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  margin-bottom: 8px;
  font-weight: var(--hc-type-secondary-weight);
}
.hc-opening > #hc-reading td,
.hc-opening > #hc-reading th {
  padding: 8px 5px;
}
.hc-opening > #hc-memory > .hc-memory-image {
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hc-opening > #hc-memory .hc-memory-image img {
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 560px;
  object-fit: contain;
}
.hc-opening > #hc-works > #hc-videos {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin-bottom: 0;
}
.hc-opening > #hc-works > header {
  flex-shrink: 0;
}
.hc-opening > #hc-works > #hc-videos > header {
  margin-top: 0;
}
.home-capabilities > #hc-tools {
  width: 100%;
  padding: 14px 16px;
}
.home-capabilities > #hc-tools .hc-compact-tools {
  max-width: none;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-capabilities > #hc-tools .hc-tool {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 14px;
  border-right: 1px solid var(--line, #edf2f9);
  gap: 12px;
}
.home-capabilities > #hc-tools .hc-tool:last-child {
  border-right: 0;
}
.home-capabilities > #hc-tools .hc-tool b {
  font-size: 13px;
}
.home-capabilities > #hc-tools .hc-tool small {
  font-size: 10px;
}
@media (max-width: 1050px) {
  .hc-opening > #hc-reading,
  .hc-opening > #hc-memory,
  .hc-opening > #hc-works {
    height: auto;
    max-height: 480px;
  }
  .hc-opening > #hc-memory .hc-memory-image {
    max-width: 560px;
    width: 100%;
    margin: auto;
  }
  .hc-opening > #hc-reading .hc-table-wrap {
    max-height: 330px;
  }
  .hc-opening > #hc-works > #hc-videos {
    max-height: 360px;
  }
}
@media (max-width: 600px) {
  .home-capabilities > #hc-tools .hc-compact-tools {
    gap: 6px;
  }
  .home-capabilities > #hc-tools .hc-tool {
    flex-direction: column;
    gap: 7px;
    padding: 6px 1px;
  }
  .home-capabilities > #hc-tools .hc-tool b {
    font-size: 11px;
  }
  .home-capabilities > #hc-tools .hc-tool small {
    font-size: 9px;
  }
}
.hc-opening > #hc-reading,
.hc-opening > #hc-memory,
.hc-opening > #hc-works {
  height: clamp(400px, 32vw, 500px);
}
.hc-opening > #hc-reading > .hc-empty {
  flex-direction: column;
  justify-content: center;
  align-content: center;
  gap: 12px;
}
@media (max-width: 1050px) {
  .hc-opening > #hc-reading,
  .hc-opening > #hc-memory,
  .hc-opening > #hc-works {
    height: auto;
    max-height: 500px;
  }
}

.hc-opening > #hc-works > #hc-videos > header {
  margin-bottom: 10px;
}
#hc-works #hc-videos .hc-grid {
  gap: 10px;
}

/* A single video poster leaves more room for the central memory map. */
.hc-opening {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 0.88fr);
}
.hc-opening > #hc-works > #hc-videos {
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.hc-video-carousel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-video-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  order: 2;
  color: var(--muted, #7c8da6);
  font-size: 11px;
}
.hc-video-controls[hidden] {
  display: none;
}
.hc-video-controls button {
  border: 0;
  background: transparent;
  color: var(--muted, #7c8da6);
  min-width: 28px;
  min-height: 28px;
  padding: 2px;
  font-size: 19px;
  cursor: pointer;
}
.hc-video-controls button:hover {
  color: #347ff0;
}
.hc-video-controls button:focus-visible {
  outline: 2px solid #4388f2;
  outline-offset: 1px;
}
.hc-opening #hc-works .hc-video-slide h3 {
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
  margin: 10px 0 5px;
}
.hc-video-slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hc-video-slide > .hc-media {
  width: 100%;
  min-width: 0;
}
.hc-video-slide > .hc-video-outgoing {
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
}
.hc-video-slide.is-sliding > .hc-media {
  will-change: transform;
}
.hc-video-slide .hc-cover {
  aspect-ratio: 16/9;
  padding: 12px;
}
.hc-video-slide .hc-cover img {
  object-fit: contain;
  background: #142234;
}
.hc-video-slide .hc-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hc-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #102034bb;
  padding: 2px 5px;
  color: white;
  font-size: 11px;
  border-radius: 2px;
}
.hc-video-slide .hc-play {
  width: 44px;
  height: 44px;
}
.hc-video-slide footer {
  min-height: 24px;
}
@media (max-width: 1050px) {
  .hc-opening {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-video-carousel {
    max-width: 560px;
    width: 100%;
    margin: auto;
  }
  .hc-opening > #hc-works > #hc-videos {
    max-height: none;
  }
  .hc-opening > #hc-works {
    max-height: none;
  }
}

/* Keep the expanded toolbox in one native horizontal scrolling strip. */
#hc-tools {
  min-width: 0;
  overflow: hidden;
}
.hc-tools-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 8px;
}
.hc-tools-heading > small {
  font-size: 11px;
  color: var(--muted, #7c8da6);
}
.hc-tools-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.hc-tools-nav button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line, #e4ebf5);
  background: transparent;
  color: var(--hc-link, #4388f2);
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 3px;
  font-size: 21px;
  cursor: pointer;
}
.hc-tools-nav button:disabled {
  color: #aab5c5;
  opacity: 0.45;
  cursor: default;
}
.home-capabilities > #hc-tools .hc-compact-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #c0d2ec transparent;
  padding: 3px 0 8px;
  max-width: 100%;
  margin: 0;
}
.home-capabilities > #hc-tools .hc-compact-tools .hc-tool {
  position: relative;
  flex: 0 0 25%;
  min-width: 0;
  max-width: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.home-capabilities > #hc-tools .hc-tool b {
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}
.hc-tool-external {
  font-size: 11px;
  color: var(--muted, #7c8da6);
}
.hc-compact-tools:focus-visible,
.hc-compact-tools .hc-tool:focus-visible,
.hc-tools-nav button:focus-visible {
  outline: 2px solid #4388f2;
  outline-offset: -2px;
}
@media (max-width: 700px) {
  .home-capabilities > #hc-tools .hc-compact-tools .hc-tool {
    flex-basis: 50%;
    padding: 12px 8px;
    gap: 8px;
  }
  .hc-tools-heading > small {
    font-size: 10px;
  }
}
@media (max-width: 400px) {
  .home-capabilities > #hc-tools .hc-compact-tools .hc-tool {
    flex-basis: 70%;
  }
}

/* Compact, colorful tool ribbon inspired by the approved reference. */
.home-capabilities > #hc-tools {
  position: relative;
  padding: 12px 72px 12px 14px;
  min-height: 84px;
}
.home-capabilities > #hc-tools > header {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-capabilities > #hc-tools .hc-compact-tools {
  gap: 6px;
  padding: 3px 0;
  scrollbar-width: none;
}
.home-capabilities > #hc-tools .hc-compact-tools::-webkit-scrollbar {
  display: none;
}
.home-capabilities > #hc-tools .hc-compact-tools .hc-tool {
  flex: 0 0 calc((100% - 36px) / 7);
  min-width: 132px;
  min-height: 58px;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 4px;
  justify-content: flex-start;
  transition: background 0.15s ease;
}
.home-capabilities > #hc-tools .hc-compact-tools .hc-tool:hover {
  background: #f1f4fa;
}
.home-capabilities > #hc-tools .hc-tool b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.hc-tool-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  filter: drop-shadow(0 2px 2px #274b8120);
}
.hc-tool-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  object-fit: contain;
}
.home-capabilities > #hc-tools .hc-tools-nav {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  gap: 2px;
}
.home-capabilities > #hc-tools .hc-tools-nav button {
  border: 0;
  width: 26px;
  height: 36px;
  background: transparent;
  font-size: 23px;
}
@media (max-width: 700px) {
  .home-capabilities > #hc-tools {
    padding: 10px 58px 10px 10px;
  }
  .home-capabilities > #hc-tools .hc-compact-tools .hc-tool {
    flex-basis: auto;
    min-width: 138px;
    gap: 9px;
    padding: 5px 8px;
  }
  .hc-tool-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .home-capabilities > #hc-tools .hc-tools-nav {
    right: 4px;
  }
  .home-capabilities > #hc-tools .hc-tools-nav button {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-capabilities > #hc-tools .hc-tool {
    transition: none;
  }
}

body.dark .home-capabilities > #hc-tools .hc-compact-tools .hc-tool:hover {
  background: #263c54;
}

.home-capabilities > #hc-tools .hc-compact-tools .hc-tool-image {
  min-width: 198px;
  gap: 9px;
}
.hc-tool-image .hc-tool-logo {
  width: 112px;
  height: 38px;
  flex-basis: 112px;
  filter: none;
}
.hc-tool-image .hc-tool-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Two moving rows of real, unique tool cards; no duplicated links. */
.home-capabilities > #hc-tools {
  padding: 14px 16px;
  min-height: 0;
}
.hc-marquee-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 12px;
  font-size: 12px;
  color: var(--muted, #7c8da6);
}
.hc-marquee-heading button {
  border: 0;
  background: transparent;
  color: #4887e8;
  font: inherit;
  font-size: 11px;
  padding: 5px;
  min-height: 28px;
  cursor: pointer;
}
.hc-marquee-heading button:disabled {
  color: var(--muted, #7c8da6);
  cursor: default;
}
.hc-tools-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-top: 1px solid var(--line, #e6edf7);
  padding: 0;
  scroll-behavior: auto;
}
.hc-tools-viewport::-webkit-scrollbar {
  display: none;
}
.hc-tools-viewport:last-child {
  border-bottom: 1px solid var(--line, #e6edf7);
}
.hc-marquee-track {
  display: flex;
  width: max-content;
  align-items: stretch;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  flex: 0 0 380px;
  width: 380px;
  min-width: 380px;
  gap: 13px;
  padding: 19px 18px;
  border: 0;
  border-right: 1px solid var(--line, #e6edf7);
  border-radius: 0;
  text-decoration: none;
  text-align: left;
  background: transparent;
  color: inherit;
  min-height: 155px;
  box-sizing: border-box;
  cursor: pointer;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool:hover {
  background: #f6f9fe;
}
.hc-tool-copy {
  display: flex !important;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  display: block;
}
.hc-tool-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted, #7c8da6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool-provider {
  font-size: 11px;
  line-height: 1.5;
  margin: 2px 0 0;
  color: #4286e9;
  display: block;
}
.hc-marquee-track .hc-tool-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-top: 2px;
}
.hc-marquee-track .hc-tool-image .hc-tool-logo {
  width: 88px;
  height: 36px;
  flex-basis: 88px;
}
.hc-tools-viewport:focus-visible,
.hc-marquee-track .hc-tool:focus-visible {
  outline: 2px solid #4388f2;
  outline-offset: -3px;
}
body.dark .home-capabilities > #hc-tools .hc-marquee-track .hc-tool:hover {
  background: #263c54;
}
@media (max-width: 650px) {
  .home-capabilities > #hc-tools {
    padding: 12px;
  }
  .home-capabilities > #hc-tools .hc-marquee-track .hc-tool {
    width: 290px;
    min-width: 290px;
    flex-basis: 290px;
    padding: 16px 12px;
    gap: 10px;
  }
  .hc-marquee-heading {
    font-size: 11px;
  }
}

/* Auth-aware homepage: reading + saved preferences on the left, works on the right. */
.hc-opening.hc-auth-opening {
  --hc-opening-heading-size: var(--hc-heading-size);
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.hc-home-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hc-home-left > .hc-section,
.hc-reading-regions > .hc-section,
.hc-memory-regions > .hc-section {
  padding: 14px 16px;
  min-width: 0;
}
.hc-home-left #hc-reading {
  min-height: 300px;
  flex: 1;
}
.hc-home-left #hc-memory {
  flex: 0 0 auto;
}
.hc-home-left .hc-section > header {
  border-bottom: 1px solid var(--line, #e6edf7);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.hc-home-left .hc-section > header h2 {
  font-size: var(--hc-heading-size);
}
.hc-home-left .hc-section > header a,
.hc-home-left .hc-section > header button {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-opening.hc-auth-opening > #hc-works {
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.hc-opening.hc-auth-opening > #hc-works > header {
  border-bottom: 1px solid var(--line, #e6edf7);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.hc-opening.hc-auth-opening > #hc-works h2 {
  font-size: var(--hc-heading-size);
}
.hc-reading-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 154px;
}
.hc-reading-invite > img {
  width: 38%;
  max-width: 230px;
  height: auto;
}
.hc-reading-invite > div {
  flex: 1;
  min-width: 0;
}
.hc-reading-invite h3 {
  font-size: 18px;
  margin: 0 0 9px;
}
.hc-reading-invite p {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  margin: 0 0 14px;
  color: var(--muted, #7c8da6);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-invite-actions {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: max-content;
  max-width: 100%;
}
.hc-invite-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #cfdef4;
  background: transparent;
  color: #3982ee;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-invite-actions button.primary {
  color: white;
  background: #3486f5;
  border-color: #3486f5;
}
.hc-continue-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
}
.hc-continue-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  width: 100%;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.hc-continue-item:last-child {
  border-bottom: 0;
}
.hc-reading-file {
  display: grid;
  place-items: center;
  position: relative;
  background: #e9f3ff;
  color: #368af3;
  width: var(--sprout-icon-entryBox);
  height: var(--sprout-icon-entryBox);
  border-radius: var(--sprout-icon-entryRadius);
  flex-shrink: 0;
}
.hc-reading-file .icon {
  width: var(--sprout-icon-entry);
  height: var(--sprout-icon-entry);
}
.hc-reading-file small {
  display: none;
} /* Format remains available in the file tooltip and document record. */
.hc-reading-file.red {
  color: #f75a68;
  background: #fff0f2;
}
.hc-reading-file.green {
  color: #16b99b;
  background: #e6f9f3;
}
.hc-continue-copy {
  min-width: 0;
  width: 0;
  flex: 1 1 0%;
}
.hc-continue-copy b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--hc-type-item-title-size);
  font-weight: var(--hc-type-item-title-weight);
  line-height: var(--hc-type-item-title-line);
}
.hc-continue-copy small {
  display: block;
  font-size: var(--hc-type-meta-size);
  color: var(--muted, #7c8da6);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--hc-type-meta-line);
  font-weight: var(--hc-type-meta-weight);
}
.hc-continue-action {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--hc-link, #3684ed);
  white-space: nowrap;
}
.hc-home-left .hc-reading-note {
  font-size: var(--hc-type-secondary-size);
  color: var(--muted, #7c8da6);
  margin: 0 0 4px;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-memory-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.hc-memory-dashboard .hc-memory-image {
  min-height: 0 !important;
  margin: 0;
  display: flex;
  align-items: center;
}
.hc-memory-dashboard .hc-memory-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: none;
}
.hc-preference-list {
  border-left: 1px solid var(--line, #e6edf7);
  padding-left: 12px;
  min-width: 0;
}
.hc-preference-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, #e6edf7);
}
.hc-preference-row:last-child {
  border: 0;
}
.hc-preference-row > span:last-child {
  flex: 1;
  min-width: 0;
}
.hc-preference-icon {
  color: var(--hc-link, #3988f3);
  flex: 0 0 28px;
}
.hc-preference-icon .icon {
  width: 24px;
  height: 24px;
}
.hc-preference-row small {
  font-size: 10px;
  color: var(--muted, #7c8da6);
  display: block;
  margin-bottom: 4px;
}
.hc-preference-row b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.hc-preference-list .hc-empty {
  font-size: var(--hc-type-secondary-size);
  padding: 10px;
  min-height: 140px;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-work-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
}
.hc-work-tabs > [role="tablist"] {
  display: flex;
  gap: 18px;
}
.hc-work-tabs [role="tab"] {
  font-weight: var(--hc-heading-weight);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 5px 10px;
  line-height: 24px;
  font-size: var(--hc-opening-heading-size);
  color: var(--muted, #7c8da6);
}
.hc-work-tabs [role="tab"][aria-selected="true"] {
  color: var(--hc-link, #3386f5);
  border-color: #3386f5;
}
.hc-work-tabs > button {
  border: 0;
  color: #3486ef;
  border-radius: 3px;
  padding: 5px 7px;
  background: transparent;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
#hc-work-panel {
  min-width: 0;
  flex: 1;
}
#hc-work-panel .hc-video-slide h3 {
  font-size: 14px;
  min-height: 44px;
}
#hc-work-panel .hc-cover {
  aspect-ratio: 16/9;
}
#hc-work-panel .hc-film {
  aspect-ratio: 16/9;
}
.hc-work-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line, #e6edf7);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted, #7c8da6);
}
#hc-work-panel > .hc-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
#hc-work-panel .hc-visual {
  width: 100%;
}
#hc-work-panel .hc-empty {
  min-height: 270px;
  flex-direction: column;
}
.hc-knowledge-work {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 12px;
}
.hc-knowledge-work > #hc-domains,
.hc-knowledge-work > #hc-reports {
  grid-column: auto;
  padding: 12px 14px;
}
.hc-knowledge-work .hc-section > header {
  margin-bottom: 9px;
}
.hc-knowledge-work .hc-section h2 {
  font-size: var(--hc-heading-size);
}
.hc-topics-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.hc-topic-compact {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 6px;
  border: 0;
  border-radius: 3px;
  background: #f4f8ff;
  text-align: left;
  color: inherit;
}
.hc-topic-symbol {
  display: grid;
  place-items: center;
  width: 31px;
  height: 34px;
  flex-shrink: 0;
  color: #3c8bfa;
}
.hc-topic-symbol .icon {
  width: 25px;
  height: 25px;
}
.hc-topic-symbol.tone-1 {
  color: #8b67e9;
}
.hc-topic-symbol.tone-2 {
  color: #ef658e;
}
.hc-topic-symbol.tone-3 {
  color: #2dadb3;
}
.hc-topic-compact > span:last-child {
  min-width: 0;
}
.hc-topic-compact b {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-topic-compact small {
  font-size: 10px;
  color: var(--muted, #7c8da6);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}
#hc-reports .hc-tabs {
  gap: 0;
  justify-content: space-between;
  margin-bottom: 8px;
}
#hc-reports .hc-tabs button {
  padding: 6px;
}
#hc-reports .hc-report {
  padding: 7px 0;
  border: 0;
}
#hc-reports .hc-report h3 {
  margin: 5px 0;
}
#hc-reports .hc-report p {
  display: none;
}
#hc-reports .hc-report > span {
  font-size: 11px;
}
#hc-reports .hc-empty {
  min-height: 70px;
  padding: 10px;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.home-capabilities > #hc-ideas {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  min-height: 54px;
}
.home-capabilities > #hc-ideas > header {
  margin: 0;
  flex-shrink: 0;
}
.home-capabilities > #hc-ideas h2 {
  font-size: 14px;
}
.home-capabilities > #hc-ideas > header > div {
  display: none;
}
.hc-latest-thought {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
.hc-latest-thought b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-latest-thought small {
  white-space: nowrap;
  color: var(--muted, #7c8da6);
}
.hc-latest-thought > span {
  margin-left: auto;
  color: #3987ef;
}
.hc-thought-empty {
  font-size: 11px;
  color: var(--muted, #7c8da6);
  margin: 0;
}
body.dark .hc-topic-compact {
  background: #22374e;
}
body.dark .hc-reading-file {
  background: #263e59;
}
body.dark .hc-reading-invite > img {
  background: #edf7ff;
  border-radius: 3px;
}
@media (max-width: 1050px) {
  .hc-opening.hc-auth-opening {
    --hc-opening-heading-size: var(--hc-heading-size);
    grid-template-columns: 1fr;
  }
  .hc-knowledge-work {
    grid-template-columns: 1fr;
  }
  .hc-topics-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hc-auth-opening #hc-works {
    max-height: none !important;
  }
  .hc-auth-opening #hc-work-panel .hc-video-carousel {
    max-width: none;
  }
  .hc-auth-opening #hc-work-panel {
    max-width: 700px;
    width: 100%;
    margin: auto;
  }
}
@media (max-width: 650px) {
  .hc-home-left .hc-section > header {
    flex-wrap: nowrap;
  }
  .hc-home-left .hc-section > header a {
    font-size: var(--hc-type-secondary-size);
    line-height: var(--hc-type-secondary-line);
    font-weight: var(--hc-type-secondary-weight);
  }
  .hc-reading-invite {
    gap: 8px;
  }
  .hc-reading-invite > img {
    width: 30%;
  }
  .hc-reading-invite h3 {
    font-size: 16px;
  }
  .hc-invite-actions button {
    padding: 7px;
    font-size: var(--hc-type-secondary-size);
    line-height: var(--hc-type-secondary-line);
    font-weight: var(--hc-type-secondary-weight);
  }
  .hc-memory-dashboard {
    grid-template-columns: 1fr;
  }
  .hc-memory-dashboard .hc-memory-image {
    max-width: 460px;
    margin: auto;
  }
  .hc-preference-list {
    border: 0;
    border-top: 1px solid var(--line, #e6edf7);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hc-preference-row {
    border: 0;
    align-items: flex-start;
  }
  .hc-preference-icon {
    display: none;
  }
  .hc-preference-row b {
    font-size: 11px;
  }
  .hc-topics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hc-continue-action {
    flex-shrink: 0;
    font-size: 0;
  }
  .hc-continue-action:after {
    content: "→";
    font-size: 15px;
  }
  .home-capabilities > #hc-ideas {
    gap: 9px;
  }
  .hc-latest-thought small {
    display: none;
  }
}

.hc-memory-dashboard .hc-memory-image {
  min-width: 0;
  overflow: visible;
}
.hc-memory-dashboard .hc-memory-image img {
  min-width: 0;
}

body.studio-page #nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  text-decoration: none;
  padding: 12px 8px;
  white-space: nowrap;
  font-size: var(--sprout-type-nav-size);
}
body.studio-page #nav a .icon {
  width: 23px;
  height: 23px;
}
.hc-session-label {
  font-size: var(--hc-type-meta-size);
  white-space: nowrap;
  color: inherit;
  line-height: var(--hc-type-meta-line);
  font-weight: var(--hc-type-meta-weight);
}
@media (max-width: 900px) {
  body.home-view #nav a {
    font-size: 12px;
    padding: 10px 4px;
    gap: 5px;
  }
  .hc-session-label {
    display: none;
  }
}

.studio-page .account .hc-session-label {
  display: inline !important;
  font-size: var(--hc-type-meta-size);
  line-height: var(--hc-type-meta-line);
  font-weight: var(--hc-type-meta-weight);
}
.hc-auth-opening
  #hc-work-panel:not([aria-labelledby="hc-work-tab-ppt"])
  .hc-media:not(:first-child):not(.hc-video-outgoing) {
  display: none;
}
@media (max-width: 900px) {
  .studio-page .account .hc-session-label {
    display: none !important;
  }
}

/* Shared action radius, including the guest reading calls to action. */
body.home-view {
  --hc-button-radius: 4px;
}
body.home-view
  .studio-workspace
  button:not(
    :where(
      [role="tab"],
      .hc-tabs button,
      .public-tabs button,
      .private-content-tabs button,
      .ps-tabs button,
      .ws-mobile-tabs button,
      .ws-source-tabs button,
      .ws-artifact-tabs button,
      .memory-kind-tabs button,
      .memory-mode button,
      .tabs button,
      .carousel-tabs button,
      .story-group-tabs button,
      .study-book-tabs button,
      .kr-mode-tabs button,
      .rc-tabs button,
      .cr-compose-tabs button:not(:last-child),
      .rie-version-tabs button,
      .dl-tabs button,
      .study-rank-tabs button,
      .pet-tabs button,
      .yabao-skin-tabs button,
      .music-library-head nav button
    )
  ),
body.home-view .studio-workspace a.primary,
body.home-view #nav button,
body.home-view #nav a {
  border-radius: var(--hc-button-radius) !important;
}
body.home-view .hc-invite-actions button {
  border-radius: var(--hc-button-radius) !important;
  min-height: 40px;
  padding: 9px 15px;
  box-shadow: none;
}
.hc-reading-invite > img {
  width: 40%;
  max-width: 255px;
  height: auto;
  object-fit: contain;
}
body.dark .hc-reading-invite > img {
  background: transparent;
  border-radius: 0;
}

/* Compact logo-first ribbon with native scrolling and left/right controls. */
.home-capabilities > #hc-tools {
  position: relative;
  padding: 12px 18px;
  min-height: 0;
}
.home-capabilities > #hc-tools .hc-marquee-heading {
  position: absolute;
  right: 16px;
  bottom: 1px;
  padding: 0;
  z-index: 1;
}
.hc-marquee-heading button {
  font-size: 10px;
  min-height: 23px;
  padding: 2px 5px;
}
.home-capabilities > #hc-tools .hc-tools-viewport {
  border: 0;
  padding: 3px 0;
  cursor: grab;
}
.hc-tools-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}
#hc-tools-marquee {
  position: relative;
  padding-inline: 22px;
}
.hc-section .hc-tools-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  min-height: 34px;
  border: 0;
  background: var(--panel, #fff);
  color: #6f8cae;
  padding: 0;
  font-size: 23px;
  cursor: pointer;
}
.hc-tools-prev {
  left: 0;
}
.hc-tools-next {
  right: 0;
}
.hc-section .hc-tools-pause {
  position: absolute;
  z-index: 1;
  bottom: -6px;
  right: 0;
  font-size: 11px;
  color: #6f8cae;
  padding: 0;
  border: 0;
  background: var(--panel, #fff);
  width: 22px;
  min-height: 20px;
  cursor: pointer;
}
.hc-tools-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool {
  flex: 0 0 var(--sprout-icon-brandRibbonItem);
  width: var(--sprout-icon-brandRibbonItem);
  min-width: var(--sprout-icon-brandRibbonItem);
  min-height: var(--sprout-icon-brandRibbonHeight);
  border: 0;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  gap: var(--sprout-icon-brandRibbonGap);
  background: transparent;
  box-shadow: none;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool:hover {
  background: transparent;
}
.hc-marquee-track .hc-tool-copy {
  display: block !important;
  flex: 0 1 auto;
  min-width: 0;
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool b {
  font-size: var(--sprout-type-nav-size);
  font-weight: var(--sprout-type-nav-weight);
  white-space: nowrap;
  line-height: var(--sprout-type-nav-line);
}
.hc-marquee-track .hc-tool-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sprout-icon-brand);
  height: var(--sprout-icon-brand);
  flex: 0 0 var(--sprout-icon-brand);
  margin: 0;
  filter: none;
}
.hc-marquee-track .hc-tool-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}
.hc-marquee-track :is(.hc-tool-compare, .hc-tool-jev) .hc-tool-logo {
  width: var(--sprout-icon-brandWordmark);
  flex-basis: var(--sprout-icon-brandWordmark);
}
body:not(.dark) .hc-tool-compare .hc-tool-logo {
  filter: brightness(0.4);
}
.home-capabilities > #hc-tools .hc-marquee-track .hc-tool-image {
  width: var(--sprout-icon-brandRibbonImageItem);
  min-width: var(--sprout-icon-brandRibbonImageItem);
  flex-basis: var(--sprout-icon-brandRibbonImageItem);
}
.hc-marquee-track .hc-tool-image .hc-tool-logo {
  width: var(--sprout-icon-brandWide);
  height: var(--sprout-icon-brandWideHeight);
  flex-basis: var(--sprout-icon-brandWide);
  filter: none;
}
@media (max-width: 650px) {
  .home-capabilities > #hc-tools {
    padding: 9px 10px;
  }
}

/* Editorial topic cards and a report panel that keeps its space in every state. */
.hc-knowledge-work {
  align-items: stretch;
}
.hc-knowledge-work > #hc-domains,
.hc-knowledge-work > #hc-reports {
  height: 340px;
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.hc-knowledge-work > #hc-domains > header,
.hc-knowledge-work > #hc-reports > header {
  flex-shrink: 0;
  margin-bottom: 12px;
}
.hc-knowledge-work > #hc-domains {
  height: auto;
}
.hc-topics-editorial {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  min-height: 0;
}
.home-capabilities .hc-topic-editorial {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line, #e1e7ef);
  border-radius: 4px;
  padding: 0;
  text-align: left;
  background: var(--panel, #fff);
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}
.hc-topic-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 0;
  overflow: hidden;
  background: #edf3fa;
}
.hc-topic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-topic-body {
  display: block;
  min-width: 0;
  padding: 8px 10px;
}
.hc-topic-body > b {
  display: block;
  font-size: var(--hc-type-item-title-size);
  line-height: var(--hc-type-item-title-line);
  font-weight: var(--hc-type-item-title-weight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-topic-body > small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 3.2em;
  margin-top: 4px;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
  color: var(--muted, #7c8da6);
}
.home-capabilities .hc-topic-editorial:hover {
  border-color: #9bbff2;
  background: #fbfdff;
}
.hc-topic-editorial:focus-visible {
  outline: 2px solid #4388ef;
  outline-offset: 2px;
}
#hc-reports > .hc-tabs {
  flex-shrink: 0;
}
#hc-reports #hc-report-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border-top: 0;
}
.hc-report-placeholder {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  text-align: center;
  box-sizing: border-box;
}
.hc-report-placeholder > img {
  display: block;
  width: 80%;
  max-width: 235px;
  height: 105px;
  object-fit: contain;
  flex-shrink: 0;
}
.hc-report-placeholder h3 {
  font-size: var(--hc-type-item-title-size);
  font-weight: var(--hc-type-item-title-weight);
  line-height: var(--hc-type-item-title-line);
  margin: 0;
}
.hc-report-placeholder p {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  color: var(--muted, #7c8da6);
  margin: 0;
  max-width: 300px;
  font-weight: var(--hc-type-secondary-weight);
}
.hc-report-placeholder > a,
.hc-report-placeholder > button {
  font-size: var(--hc-type-secondary-size);
  color: #3d86ed;
  border: 0;
  background: transparent;
  padding: 5px 8px;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-report-placeholder > button[data-hc-login] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 34px;
  box-sizing: border-box;
  border: 1px solid #3486f5;
  border-radius: 3px;
  background: #3486f5;
  color: #fff;
  padding: 8px 12px;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-report-placeholder > button[data-hc-login]:hover {
  background: #2577e6;
  border-color: #2577e6;
}
#hc-reports .hc-report-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 0;
}
#hc-reports .hc-report {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line, #e6edf7);
}
#hc-reports .hc-report p {
  display: block;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  margin: 7px 0;
  font-weight: var(--hc-type-secondary-weight);
}
body.dark .home-capabilities .hc-topic-editorial {
  background: #18293b;
  border-color: #31465e;
}
body.dark .home-capabilities .hc-topic-editorial:hover {
  background: #21384f;
  border-color: #659be3;
}
@media (max-width: 1050px) {
  .hc-topics-editorial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hc-knowledge-work > #hc-reports {
    height: 340px;
  }
}
@media (max-width: 650px) {
  .hc-topics-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hc-knowledge-work > #hc-domains {
    min-height: 0;
  }
  .hc-topic-photo {
    aspect-ratio: 16/9;
    height: auto;
  }
}

/* Memory text belongs to the account, not to a flattened illustration. */
.hc-memory-caption {
  font-size: var(--hc-type-meta-size, 12px);
  color: var(--muted, #7c8da6);
  margin: 0 0 6px;
  line-height: 1.5;
}
.hc-memory-live {
  --hc-memory-title-size: var(--hc-secondary-size, 12px);
  --hc-memory-copy-size: 14px;
  position: relative;
  min-width: 0;
  height: 320px;
  display: block;
  cursor: grab;
  touch-action: pan-y;
  outline-offset: 2px;
  border-radius: 3px;
  background: radial-gradient(ellipse at 50% 50%, #eff8ff99, transparent 68%);
}
.hc-memory-live:focus-visible {
  outline: 2px solid #4d93ef;
}
.hc-memory-live.is-dragging {
  cursor: grabbing;
  touch-action: pan-y;
}
.hc-memory-live > canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hc-section .hc-memory-node {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: var(--memory-depth, 1);
  touch-action: pan-y;
}
.hc-memory-bead {
  position: relative;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff 0 12%,
    #b2f5ff 24%,
    #46b9ff99 48%,
    #258fff00 75%
  );
  border: 0;
  box-shadow:
    0 0 5px 1px #a8edffb3,
    0 0 15px 3px #358fff66;
  transform: scale(var(--memory-scale, 1));
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.hc-memory-bead::after {
  content: "";
  position: absolute;
  inset: -5px;
  background:
    linear-gradient(90deg, transparent 43%, #b5f5ff8a 50%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #dfffff7a 50%, transparent 57%);
  opacity: 0.6;
}
.hc-memory-node[aria-expanded="true"] .hc-memory-bead {
  transform: scale(1.45);
  box-shadow:
    0 0 8px 2px #c4f8ffcc,
    0 0 24px 5px #4eb4ff88;
}
.hc-memory-node.is-unrecorded .hc-memory-bead {
  width: 4px;
  height: 4px;
  opacity: 0.6;
}
.hc-memory-node:focus-visible {
  outline: 2px solid #3386f5;
  outline-offset: -4px;
}
.hc-memory-fragment {
  --lens-text: 0;
  --lens-text-y: 10px;
  position: absolute;
  z-index: 40;
  box-sizing: border-box;
  width: 176px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hc-link, #1864bd);
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  touch-action: pan-y;
}
.hc-memory-fragment[aria-hidden="false"] {
  pointer-events: auto;
}
.hc-memory-fragment [data-fragment-title] {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 5px 8px;
  font-size: var(--hc-memory-title-size);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: radial-gradient(
    ellipse,
    #eff8ffe0 0,
    #eff8ffb3 35%,
    #eff8ff00 74%
  );
  text-shadow: 0 1px 6px #fff;
  opacity: var(--lens-text);
  transform: translateY(var(--lens-text-y));
  cursor: pointer;
}
.hc-memory-fragment [data-fragment-title]:hover {
  color: var(--hc-link, #1269bc);
}
.hc-memory-fragment [data-fragment-title]:focus-visible {
  outline: 2px solid #3386f5;
  outline-offset: -4px;
}
.hc-memory-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  font-size: var(--hc-secondary-size);
  line-height: 1.6;
  color: var(--muted, #7c8da6);
}
.hc-section .hc-memory-controls button {
  font: inherit;
  color: #3984d7;
  border: 0;
  background: transparent;
  padding: 3px 0;
  cursor: pointer;
  white-space: nowrap;
}
.hc-memory-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}
.hc-memory-controls button[aria-pressed="true"] {
  color: var(--hc-link, #1864bd);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hc-memory-live .hc-memory-word {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 35;
  box-sizing: border-box;
  display: block;
  height: 28px;
  line-height: 28px;
  font-size: var(--hc-secondary-size, 12px);
  color: var(--hc-link, #1864bd);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  background: radial-gradient(ellipse, #f3f9ffbd, transparent 74%);
  text-shadow: 0 0 8px #fff;
}
.hc-memory-word[hidden] {
  display: none;
}
.hc-memory-word:hover {
  color: var(--hc-link, #1269bc);
}
.hc-memory-word:focus-visible {
  outline: 2px solid #3386f5;
  outline-offset: 1px;
}
body.dark .hc-memory-live .hc-memory-word {
  color: #85c9ff;
  background: radial-gradient(ellipse, #0a203c80, transparent 74%);
  text-shadow: 0 0 9px #7ecbff99;
}
body.dark .hc-memory-live .hc-memory-word:hover {
  color: #b2e1ff;
}
body.dark .hc-memory-live {
  background: radial-gradient(ellipse at 50% 50%, #1553a32e, transparent 70%);
}
body.dark .hc-memory-bead {
  background: radial-gradient(
    circle,
    #fff 0 14%,
    #d9fdff 24%,
    #5bceff99 48%,
    #258fff00 75%
  );
  box-shadow:
    0 0 6px 1px #baf7ffcc,
    0 0 18px 4px #2898ff80;
}
body.dark .hc-memory-fragment {
  color: #85c9ff;
}
body.dark .hc-memory-fragment [data-fragment-title] {
  background: radial-gradient(
    ellipse,
    #0a203ccc 0,
    #0a203c80 36%,
    #0a203c00 74%
  );
  text-shadow: 0 0 12px #86d6ff88;
}
body.dark .hc-memory-fragment [data-fragment-title]:hover {
  color: #c0f4ff;
}
body.dark .hc-memory-controls button {
  color: #85c9ff;
}
@media (max-width: 650px) {
  .hc-memory-live {
    height: 310px;
  }
  .hc-memory-controls {
    gap: 8px;
    flex-wrap: wrap;
  }
  .hc-memory-controls > span {
    font-size: var(--hc-secondary-size, 12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hc-memory-bead,
  .hc-memory-fragment {
    transition: none;
  }
}

/* Shared compact controls; keep purpose-built circular avatar and play controls. */
body.studio-page {
  --button-radius: 4px;
}
body.studio-page
  :where(
    .studio-workspace,
    #nav,
    dialog,
    .auth-modal,
    .hero-actions,
    .studio-shortcuts
  )
  :is(button, a.primary, a.button):not(
    :where(
      .rt-voice-call,
      [role="tab"],
      .hc-tabs button,
      .public-tabs button,
      .private-content-tabs button,
      .ps-tabs button,
      .ws-mobile-tabs button,
      .ws-source-tabs button,
      .ws-artifact-tabs button,
      .memory-kind-tabs button,
      .memory-mode button,
      .tabs button,
      .carousel-tabs button,
      .story-group-tabs button,
      .study-book-tabs button,
      .kr-mode-tabs button,
      .rc-tabs button,
      .cr-compose-tabs button:not(:last-child),
      .rie-version-tabs button,
      .dl-tabs button,
      .study-rank-tabs button,
      .pet-tabs button,
      .yabao-skin-tabs button,
      .music-library-head nav button
    )
  ) {
  border-radius: var(--button-radius) !important;
}
.hc-reading-invite {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
  box-sizing: border-box;
}
.hc-reading-invite > img {
  width: clamp(140px, 17vw, 255px);
  max-width: 40%;
  flex: 0 1 auto;
}
.hc-reading-invite > div {
  flex: 0 1 auto;
  max-width: 420px;
}
@media (max-width: 650px) {
  .hc-reading-invite > img {
    width: 30%;
    max-width: 150px;
  }
  .hc-reading-invite > div {
    max-width: none;
  }
}

/* Tabs use a straight underline; ordinary action buttons keep their compact radius. */
body.studio-page
  .studio-workspace
  :is(
    [role="tab"],
    .dl-entry-tabs button,
    .hc-tabs button,
    .public-tabs button,
    .ws-mobile-tabs button,
    .ws-source-tabs button,
    .ws-artifact-tabs button
  ) {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  border-bottom: 2px solid transparent;
}
body.studio-page
  .studio-workspace
  :is(
    [role="tab"][aria-selected="true"],
    .hc-tabs button[aria-selected="true"],
    .public-tabs button.active,
    .ws-mobile-tabs button[aria-pressed="true"],
    .ws-source-tabs button[aria-pressed="true"],
    .ws-artifact-tabs button[aria-pressed="true"]
  ) {
  border-bottom-color: var(--hc-link, #3386f5);
  color: var(--hc-link, #3386f5);
}
body.studio-page
  .studio-workspace
  :is(
    [role="tab"],
    .dl-entry-tabs button,
    .hc-tabs button,
    .public-tabs button,
    .ws-mobile-tabs button,
    .ws-source-tabs button,
    .ws-artifact-tabs button
  )::after {
  content: none;
}

/* Reading and integrations share the top row; memory and personal preferences share the second. */
/* sprout-reading-layout:start — generated from homeOpeningLayout */
.hc-reading-regions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0;align-items:stretch}
/* sprout-reading-layout:end */
.hc-memory-regions {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  align-items: stretch;
}
.hc-memory-regions {
  gap: 0;
  background: var(--panel, #fff);
  border: 1px solid var(--line, #e6edf7);
  border-radius: 4px;
}
.hc-memory-regions > .hc-section {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hc-memory-regions > #hc-preferences {
  position: relative;
}
.hc-memory-regions > #hc-preferences::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  border-left: 1px dashed var(--line, #d5dfea);
}
#hc-integrations {
  container-type: inline-size;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
#hc-integrations-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.hc-capability-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-bottom: 1px solid var(--line, #e6edf7);
  margin-bottom: 2px;
}
.hc-capability-toolbar h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hc-memory-tool-tabs {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
}
.hc-memory-tool-tabs button {
  font-weight: var(--hc-heading-weight);
  font-size: var(--hc-opening-heading-size);
  line-height: 24px;
  padding: 0 0 10px;
  white-space: nowrap;
}
.hc-section .hc-capability-help {
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted, #7c8da6);
  padding: 0;
  font-size: 14px;
  cursor: pointer;
}
.hc-capability-help:hover {
  color: var(--hc-link, #3386f5);
}
.hc-capability-panel {
  --hc-capability-row: 84px;
  min-width: 0;
  min-height: 0;
  height: calc(3 * var(--hc-capability-row));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  outline-offset: 3px;
  scrollbar-width: thin;
}
.hc-capability-panel[hidden] {
  display: none;
}
.hc-capability-list {
  display: grid;
  grid-auto-rows: auto;
  min-width: 0;
}
.hc-capability-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #e6edf7);
}
.hc-capability-item:last-child {
  border-bottom: 0;
}
.hc-capability-content {
  min-width: 0;
  overflow: hidden;
}
.hc-section .hc-capability-open {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.hc-capability-name {
  display: inline;
  font-size: var(--hc-type-item-title-size);
  line-height: var(--hc-type-item-title-line);
  font-weight: var(--hc-type-item-title-weight);
}
.hc-capability-open:hover .hc-capability-name {
  color: var(--hc-link, #3386f5);
}
.hc-capability-status {
  display: inline-block;
  font-size: var(--hc-type-meta-size);
  line-height: var(--hc-type-meta-line);
  color: var(--muted, #7c8da6);
  margin-left: 6px;
  white-space: nowrap;
  font-weight: var(--hc-type-meta-weight);
}
.hc-capability-status.available {
  color: var(--hc-link, #3386f5);
}
.hc-capability-description {
  display: block;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  color: var(--muted, #7c8da6);
  margin: 3px 0 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: var(--hc-type-secondary-weight);
}
.hc-capability-symbol {
  display: grid;
  place-items: center;
  width: var(--sprout-icon-entryBox);
  height: var(--sprout-icon-entryBox);
  border-radius: var(--sprout-icon-entryRadius);
  background: #edf4ff;
  color: var(--hc-link, #3386f5);
}
.hc-capability-symbol .icon {
  width: var(--sprout-icon-entry);
  height: var(--sprout-icon-entry);
}
.hc-capability-symbol.twin {
  color: #9875ce;
  background: #f3effc;
}
.hc-capability-symbol.library {
  color: #219e89;
  background: #e9f7f3;
}
.hc-capability-symbol.vibeview {
  color: #b8783c;
  background: #fff3e6;
}
.hc-section .hc-capability-copy {
  display: grid;
  place-items: center;
  align-self: center;
  width: 32px;
  min-height: 32px;
  color: var(--hc-link, #3386f5);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hc-capability-copy .icon {
  width: 16px;
  height: 16px;
}
.hc-capability-copy > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hc-capability-feedback {
  margin: 3px 0 0;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  color: var(--hc-link, #3386f5);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-capability-feedback:empty {
  margin: 0;
}
.hc-capability-copy-text,
.hc-capability-prompt-preview {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 220px;
  max-height: 50vh;
  border: 1px solid var(--line, #dce5f2);
  border-radius: 4px;
  padding: 12px;
  background: var(--panel, #fff);
  color: inherit;
  font:
    13px/1.7 ui-monospace,
    monospace;
}
.hc-dialog .hc-capability-copy-text:focus {
  outline: 2px solid #88baff;
  outline-offset: 2px;
}
body.dark .hc-capability-symbol {
  background: #253e59;
}
body.dark .hc-capability-symbol.twin {
  background: #352e4c;
}
body.dark .hc-capability-symbol.library {
  background: #203f3b;
}
body.dark .hc-capability-symbol.vibeview {
  background: #43372a;
}
.hc-dialog .hc-detail-copy {
  border: 1px solid #c9defa;
  border-radius: 4px;
  background: transparent;
  color: var(--hc-link, #3386f5);
  padding: 7px 10px;
  cursor: pointer;
}
.hc-dialog summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--hc-link, #3386f5);
}
.hc-dialog li {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.hc-dialog code {
  overflow-wrap: anywhere;
}
.hc-section .hc-agent-connect {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  max-width: 100%;
  padding: 12px 0 0;
  margin: auto 0 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--hc-link, #3386f5);
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  cursor: pointer;
  font-weight: var(--hc-type-secondary-weight);
}
.hc-agent-connect:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (pointer: coarse) {
  .hc-capability-item {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .hc-section .hc-capability-copy {
    width: 44px;
    min-height: 44px;
  }
  .hc-section .hc-capability-help {
    flex-basis: 32px;
    width: 32px;
    height: 36px;
  }
}
@media (max-width: 700px) {
  .hc-reading-regions,
  .hc-memory-regions {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-memory-regions > #hc-preferences::before {
    left: 16px;
    right: 16px;
    top: 0;
    bottom: auto;
    border-left: 0;
    border-top: 1px dashed var(--line, #d5dfea);
  }
}

/* Images belong to their document and take space only when actually available. */
.hc-continue-item > .hc-reading-file {
  grid-column: 1;
}
.hc-continue-copy {
  grid-column: 2;
  width: auto;
  align-self: center;
}
.hc-continue-item:hover .hc-continue-copy b {
  color: var(--hc-link, #3684ed);
}
.hc-continue-item:focus-visible {
  outline: 2px solid var(--hc-link, #3684ed);
  outline-offset: 2px;
  border-radius: 4px;
}
.hc-home-left #hc-reading:has(.hc-reading-invite) {
  display: flex;
  flex-direction: column;
}
.hc-home-left #hc-reading .hc-reading-invite {
  flex: 1;
  min-height: 228px;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.hc-home-left #hc-reading .hc-reading-invite > img {
  width: 210px;
  max-width: 90%;
}
.hc-home-left #hc-reading .hc-reading-invite > div {
  flex: 0 1 auto;
}
.hc-home-left #hc-reading .hc-reading-invite h3 {
  font-size: 16px;
}
.hc-home-left #hc-reading .hc-reading-invite p {
  margin-bottom: 10px;
}
.hc-preferences-source {
  font-size: var(--hc-type-secondary-size);
  color: var(--muted, #7c8da6);
  margin: 0 0 4px;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-personal-preference {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, #e6edf7);
  min-width: 0;
}
.hc-personal-preference:last-child {
  border: 0;
}
.hc-personal-preference > span {
  color: var(--hc-link, #3988f3);
  flex: 0 0 22px;
}
.hc-personal-preference .icon {
  width: 20px;
  height: 20px;
}
.hc-personal-preference > div {
  min-width: 0;
}
.hc-personal-preference h3 {
  font-size: var(--hc-type-meta-size);
  font-weight: var(--hc-type-meta-weight);
  color: var(--muted, #7c8da6);
  line-height: var(--hc-type-meta-line);
  margin: 0 0 3px;
}
.hc-personal-preference p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.hc-twin-connection {
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  color: var(--muted, #7c8da6);
  padding-top: 10px;
  margin: 8px 0 0;
  border-top: 1px solid var(--line, #e6edf7);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-section .hc-twin-connection button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--hc-link, #3684ed);
  font: inherit;
  cursor: pointer;
}
.hc-memory-regions #hc-preferences {
  display: flex;
  flex-direction: column;
}
.hc-memory-regions #hc-preferences > .hc-empty {
  flex: 1;
  min-height: 100px;
  font-size: var(--hc-type-secondary-size);
  padding: 12px;
  flex-direction: column;
  align-content: center;
  flex-wrap: nowrap;
  border-top: 0;
  background: transparent;
  line-height: var(--hc-type-secondary-line);
  font-weight: var(--hc-type-secondary-weight);
}
.hc-memory-regions #hc-preferences > header {
  flex-shrink: 0;
}
@media (max-width: 650px) {
  .hc-continue-action:after {
    content: none;
  }
  .hc-home-left #hc-reading {
    min-height: 0;
  }
  .hc-home-left #hc-reading .hc-reading-invite {
    min-height: 220px;
  }
}

/* Reports now sit directly below the compact works player. */
.hc-home-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hc-home-right > #hc-works {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 14px 16px;
  flex: 0 0 auto;
  container-type: inline-size;
}
.hc-home-right #hc-work-panel {
  flex: none;
  height: calc(56.25cqw + 24px);
  overflow: auto;
  box-sizing: border-box;
}
.hc-home-right #hc-work-panel > .hc-empty {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.hc-home-right #hc-work-panel .hc-video-slide h3 {
  min-height: 0;
  margin: 9px 0 0;
  line-height: 1.6;
}
.hc-home-right > #hc-reports {
  height: 340px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  box-sizing: border-box;
  flex: 0 0 340px;
}
.hc-home-right > #hc-reports > header {
  flex-shrink: 0;
  margin-bottom: 8px;
}
.hc-home-right .hc-video-carousel {
  position: relative;
  gap: 0;
}
.hc-home-right .hc-video-controls {
  position: absolute;
  z-index: 2;
  right: 7px;
  top: 7px;
  gap: 2px;
  background: #fffffff0;
  color: #536983;
  border-radius: 4px;
  padding: 0 3px;
  box-shadow: 0 1px 4px #152c4720;
}
.hc-home-right .hc-video-controls button {
  min-width: 24px;
  min-height: 25px;
  font-size: 16px;
}
.hc-home-right .hc-video-count {
  font-size: 10px;
  padding: 0 3px;
}
.hc-video-source {
  position: absolute;
  z-index: 1;
  bottom: 7px;
  left: 7px;
  font-size: 10px;
  color: white;
  background: #102034aa;
  padding: 2px 5px;
  border-radius: 3px;
}
.hc-knowledge-work {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 1050px) {
  .hc-home-right #hc-work-panel {
    width: 100%;
    margin: 0;
    max-width: none;
  }
  .hc-home-right > #hc-reports {
    flex: none;
  }
}

/* Both columns share row tracks, so reading/works and memory/reports stay aligned. */
@media (min-width: 1051px) {
  .hc-auth-opening > .hc-home-left,
  .hc-auth-opening > .hc-home-right {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    align-items: start;
  }
  .hc-auth-opening > .hc-home-left > .hc-reading-regions,
  .hc-auth-opening > .hc-home-right > #hc-works,
  .hc-auth-opening > .hc-home-left > #hc-memory,
  .hc-auth-opening > .hc-home-right > #hc-reports {
    align-self: stretch;
  }
  .hc-auth-opening > .hc-home-right > #hc-reports {
    height: auto;
    min-height: 0;
    contain: size;
    overflow: hidden;
  }
}

/* Keep personal artwork actions beside the title, outside the preview button. */
#hc-work-panel .hc-work-caption {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  min-width: 0;
}
#hc-work-panel .hc-work-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  white-space: nowrap;
}
#hc-work-panel .hc-work-actions :is(a, button) {
  color: var(--hc-link, #377fe8);
  font: inherit;
  font-size: var(--hc-type-secondary-size);
  line-height: var(--hc-type-secondary-line);
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
  font-weight: var(--hc-type-secondary-weight);
}

/* Public PPTs share the compact works area; only the chosen deck is visible. */
.hc-ppt-gallery {
  position: relative;
  min-width: 0;
}
.hc-ppt-gallery > .hc-grid {
  grid-template-columns: minmax(0, 1fr);
}
.hc-ppt-controls {
  position: absolute;
  bottom: 30px;
  right: 7px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fffffff2;
  color: #244263;
  border-radius: 4px;
  padding: 0 4px;
}
.hc-ppt-controls button {
  border: 0;
  background: transparent;
  color: inherit;
  min-width: 28px;
  min-height: 28px;
  font-size: 19px;
  cursor: pointer;
}
.hc-ppt-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.hc-ppt-controls span {
  font-size: 12px;
  min-width: 32px;
  text-align: center;
}
.hc-ppt-controls button:focus-visible {
  outline: 2px solid var(--hc-focus, #3d80ef);
  outline-offset: 1px;
}
dialog.public-ppt-modal {
  width: min(1320px, calc(100vw - 32px));
  max-height: 96dvh;
}
.public-ppt-modal .public-ppt-article > header {
  padding-bottom: 6px !important;
  margin-bottom: 6px !important;
}
.public-ppt-modal .public-ppt-article h2 {
  font-size: 20px !important;
  margin: 0 0 4px !important;
}
.public-ppt-modal .product-ppt-preview {
  margin-top: 8px;
}
.public-ppt-modal .product-ppt-preview img {
  max-height: calc(96dvh - 240px);
  object-fit: contain;
  background: #06172e;
}
.public-ppt-modal .product-ppt-preview [data-public-ppt-status] {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.public-ppt-modal [data-public-ppt-retry] {
  color: var(--accent);
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 650px) {
  .home-capabilities {
    --hc-heading-size: 17px;
  }
  .public-ppt-modal .public-ppt-article h2 {
    font-size: 17px !important;
  }
  .public-ppt-modal .product-ppt-preview img {
    max-height: calc(96dvh - 260px);
  }
}

.hc-capability-date,
.hc-capability-published {
  display: block;
  font-size: var(--hc-type-meta-size);
  line-height: var(--hc-type-meta-line);
  color: var(--muted, #7c8da6);
  font-weight: var(--hc-type-meta-weight);
}
.hc-capability-date {
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-capability-published {
  margin: 5px 0 0;
}
.hc-capability-toolbar .hc-memory-tool-tabs {
  flex-shrink: 0;
}

/* PPT 类文件图标（继续阅读） */
.hc-reading-file.orange {
  color: #f08c2e;
  background: #fdf1e3;
}

/* 2026-11-02 我的报告：去掉标题后 tabs 顶到面板头，选中项下划线加清晰（ID 作用域压过全局 tab 重置） */
#hc-reports .hc-tabs {
  border-bottom: 1px solid var(--line, #e7eef7);
}
#hc-reports .hc-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
#hc-reports .hc-tabs button[aria-selected="true"] {
  color: var(--hc-link, #3386f5);
  border-bottom-color: var(--hc-link, #3386f5);
}
#hc-reports .hc-tabs button:hover {
  color: var(--hc-link, #3386f5);
}
