/* Detail page extensions to the Command palette and type system. */
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.command-detail .hero { padding-block: clamp(3rem, 7vw, 7.5rem); border-bottom: 1px solid var(--command-rule); background: #132a32; }
.command-detail .hero-inner { display: grid; gap: 3rem; }
.command-detail .hero h1 { max-width: 19ch; margin: .75rem 0 1rem; }
.command-detail .hero .lede { max-width: 43rem; color: var(--command-quiet); }
.command-detail .eyebrow { color: #9ccdc2; }
.command-detail .breadcrumb { color: var(--command-quiet); margin-bottom: 2rem; font: .8rem/1.5 var(--mono); }
.command-detail .breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem .7rem; margin: 0; padding: 0; list-style: none; }
.command-detail .breadcrumb li + li::before { content: "/"; color: #82c7b9; margin-right: .7rem; }
.command-detail .breadcrumb a { text-decoration: underline; text-underline-offset: .22em; }
.command-detail .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.command-detail .button-secondary { border-color: #8baaa2; color: inherit; }
.command-detail .section { padding-block: clamp(3rem, 6vw, 6.5rem); }
.command-detail .section-head { max-width: 42rem; margin-bottom: 2rem; }
.command-detail .section-intro { margin-top: .6rem; }
.command-detail .section-alt { background: #eaf1eb; color: #101a20; }
.command-detail .family-block:nth-of-type(odd) { background: #172c33; }
.command-detail .family-head { margin-bottom: 2rem; }
.command-detail .card-grid, .command-detail .feature-grid, .command-detail .scope-grid, .command-detail .workflow-grid, .command-detail .license-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1rem;
}
.command-detail :is(.product-card, .feature, .scope, .step, .license-card) {
  min-height: auto; padding: 1.5rem; border: 1px solid #315256; border-radius: .25rem; color: inherit; background: #162c33;
}
.command-detail .product-card:hover { background: #213940; }
.command-detail .section-alt :is(.product-card, .step, .scope) { background: #f5f7f2; border-color: #bdccca; }
.command-detail .section-alt .product-card:hover { background: #dfece4; }
.command-detail .card-link { text-decoration: underline; text-underline-offset: .2em; }
.command-detail .card-link::after { content: " →"; }
.command-detail :is(.feature,.scope,.step,.product-card) p { margin: .55rem 0 0; }
.command-detail .feature p, .command-detail .scope p, .command-detail .license-card p { color: var(--command-quiet); }
.command-detail .workflow-grid { padding-left: 0; list-style: none; }
.command-detail .faq-list { max-width: 52rem; }
.command-detail .faq-list details { border-bottom: 1px solid var(--command-rule); padding: .95rem 0; }
.command-detail .faq-list summary { cursor: pointer; color: #b4e6db; }
.command-detail .faq-list details p { color: var(--command-quiet); margin: .6rem 0 0; }
.command-detail .contact-band { background: #153039; padding-block: 3rem; }
.command-detail .contact-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.command-detail .license-featured { border-color: #9ad5c9; }
.command-detail .license-card ul { color: var(--command-quiet); padding-left: 1.25rem; }
.command-detail .compare-wrap { overflow: auto; }
.command-detail .compare-table { width: 100%; min-width: 42rem; border-collapse: collapse; }
.command-detail .compare-table th, .command-detail .compare-table td { padding: .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid #b7cac5; }
.command-detail .compare-table thead { background: #d8e9e1; }
.command-detail .text-link { color: #addfd4; text-decoration: underline; text-underline-offset: .25em; }
.command-detail .brand-asset img { display: block; width: min(18rem, 100%); height: 6rem; object-fit: contain; margin: 0 auto; }
.command-detail .brand-asset:not(.brand-inverse) { background: #eaf1eb; color: #101a20; }
.command-detail .brand-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.command-detail .brand-swatches span { display: block; height: 4rem; border: 1px solid #93b4ad; }
.swatch-101a20 { background: #101a20; }
.swatch-153039 { background: #153039; }
.swatch-7dd8ca { background: #7dd8ca; }
.swatch-eaf1eb { background: #eaf1eb; }
.swatch-efa96c { background: #efa96c; }
.command-detail .scope p + p { margin-top: .85rem; }
.command-detail .menu-button { display: none; }
.command-release-note { color: #bdd8d1; font-size: .92rem; margin-top: 1rem; }
@media (max-width: 50rem) {
  .wrap { width: min(100% - 2.5rem, 76rem); }
}
@media (max-width: 45rem) {
  .command-detail .menu-button { display: inline-flex; }
}

.product-grid > .product-card[hidden] { display: none; }
.card-highlights {
  display: grid;
  gap: .35rem;
  margin: .35rem 0 .7rem;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  line-height: 1.4;
}
.card-highlights li { display: flex; align-items: baseline; gap: .55rem; }
.card-highlights li::before { content: "•"; flex: none; color: #286355; }
.command-detail .card-highlights li::before { color: #a0d9cd; }
.command-detail .section-alt .card-highlights li::before { color: #286355; }
.command-detail .showcase-section .wrap {
  display: grid;
  grid-template-columns: minmax(12rem, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(1.25rem, 5vw, 4rem);
}
.command-detail .showcase-section .section-head { margin-bottom: 0; }
.product-showcase {
  --signal: #7dd8ca;
  min-width: 0;
  margin: 0;
  padding: clamp(.75rem, 2vw, 1.65rem);
  background: #12272e;
  border: 1px solid #355052;
  border-radius: .35rem;
}
.showcase-data { --signal: #acd5bd; }
.showcase-ai { --signal: #bfcbea; }
.showcase-platform { --signal: #e1c3a8; }
.showcase-title { display: flex; gap: .6rem; align-items: center; padding: .25rem .4rem .9rem; }
.showcase-title img { width: 24px; height: 24px; object-fit: contain; }
.showcase-records {
  display: grid;
  gap: .5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.showcase-records li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(5.5rem, .85fr);
  gap: .65rem;
  align-items: baseline;
  padding: .75rem;
  border: 1px solid #355052;
  border-radius: .25rem;
  background: #101f26;
}
.showcase-label { color: #b9ccc9; font-size: .85rem; }
.showcase-records strong { font-size: .93rem; }
.showcase-result {
  justify-self: end;
  color: var(--signal);
  font: .75rem/1.45 var(--mono);
  text-align: right;
}
.product-showcase figcaption { margin-top: .8rem; color: #b9ccc9; font-size: .8rem; }
@media (max-width: 47rem) {
  .command-detail .showcase-section .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .showcase-records li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .showcase-label { grid-column: 1 / -1; }
}
