/* Service pages, catalogs, articles, and media details. Responsive rules remain in site.css. */
.search-snippet {
  font-size: 12px !important;
  color: var(--ink) !important;
}
.page-intro {
  padding-top: 64px;
  padding-bottom: 44px;
}
.page-intro .eyebrow {
  margin-bottom: 14px;
}
.page-intro > .button {
  margin-top: 12px;
}
.service-page > .section:first-of-type {
  padding-top: 20px;
}
.service-page .section {
  padding-bottom: 40px;
}
.service-page .section:last-child {
  padding-bottom: 80px;
}
.service-page .section + .section {
  padding-top: 36px;
}
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.step {
  counter-increment: step;
  padding-top: 12px;
}
.step::before {
  content: '0' counter(step);
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.step p {
  color: var(--muted);
}
.placeholder {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecefea;
  border-radius: 10px;
  margin-bottom: 24px;
}
.placeholder p {
  margin: 0;
  font-size: 12px;
}
.status {
  color: var(--muted);
  font-size: 13px;
}
dl {
  margin: 20px 0;
}
dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 8px 0;
}
dt {
  color: var(--muted);
  font-size: 13px;
}
dd {
  margin: 0;
}
.catalog-toolbar {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
  flex: 1;
  max-width: 400px;
}
.search-field > span {
  font-size: 12px;
  color: var(--muted);
}
input,
textarea {
  color: var(--ink);
  border: 1px solid var(--workbody-border);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 40px;
  width: 100%;
  font-size: 14px;
}
input::placeholder {
  color: #8590a0;
}
textarea {
  resize: none;
  line-height: 1.9;
}
.filter-group {
  display: flex;
  gap: 4px;
  padding-bottom: 2px;
}
.filter-group button,
[data-service] {
  padding: 8px 14px;
  min-height: 36px;
  background: transparent;
  border-radius: 8px;
  color: var(--muted);
}
.filter-group button:hover,
[data-service]:hover {
  background: var(--workbody-surface-hover);
}
.filter-group [aria-pressed='true'],
[data-service][aria-pressed='true'] {
  background: var(--workbody-primary);
  color: #fff;
}
.filter-group [aria-pressed='true']:hover,
[data-service][aria-pressed='true']:hover {
  background: var(--workbody-primary);
}
.result-count {
  margin: 0 0 8px auto;
  font-size: 12px;
  color: var(--muted);
}
.empty-state {
  padding: 40px 0;
}
.empty-state h2 {
  font-size: 20px;
}
.empty-state p {
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 24px;
  font-size: 13px;
}
.article-aside p {
  margin: 32px 0 16px;
  color: var(--muted);
}
.prose {
  line-height: 1.95;
  overflow-wrap: anywhere;
  min-width: 0;
}
.prose h2 {
  margin-top: 36px;
  font-size: 24px;
}
.prose h3 {
  margin-top: 28px;
}
.prose h4 {
  margin-top: 22px;
  font-size: 16px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 13px;
}
.prose td,
.prose th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--workbody-border);
  min-width: 100px;
  text-align: left;
}
.prose pre {
  white-space: pre-wrap;
  padding: 20px;
  background: var(--soft);
  border-radius: 8px;
}
.prose blockquote,
.callout {
  margin: 24px 0;
  background: var(--soft);
  padding: 18px 24px;
}
.prose .scenario,
.prose .skill-section,
.prose .content-card,
.prose .demo-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--workbody-border);
}
.prose .scenario:last-child,
.prose .demo-section:last-child {
  border-bottom: 0;
}
.scenario-meta,
.prose small {
  font-size: 12px;
  color: var(--muted);
}
.content-tag {
  display: inline-block;
  margin: 0 16px 8px 0;
  color: var(--muted);
}
.content-grid {
  display: grid;
  gap: 20px;
}
.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-card {
  min-width: 0;
}
.card-description,
.workflow-description {
  color: var(--muted);
}
.skill-workflow {
  padding: 22px 0;
}
.skill-option {
  padding: 12px 0;
}
.prompt {
  background: var(--soft);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 16px 0;
}
.prompt-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.prompt-text {
  white-space: pre-wrap;
  font-size: 13px;
}
.prompt-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}
.button-inset {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--workbody-border);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.button-inset:hover {
  background: #f2f4f7;
}
.prompt-copy-status {
  color: var(--muted);
  font-size: 12px;
}
.prompt > code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.demo-row {
  padding: 12px 0;
}
.demo-muted,
.demo-note,
.content-note {
  color: var(--muted);
  font-size: 12px;
}
.scenario-fields {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
}
.scenario-fields > dt,
.scenario-fields > dd {
  padding: 6px 0;
}
.scenario-fields > dt {
  grid-column: 1;
}
.scenario-fields > dd {
  grid-column: 2;
}
.demo-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0;
}
.demo-metric {
  padding: 12px 0;
}
.demo-content .demo-section {
  margin: 0;
}
.article-end {
  padding-top: 48px;
}
.video-cover {
  position: relative;
  overflow: hidden;
  background: #e8ece7;
  aspect-ratio: 16 / 8;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-cover-label,
.video-number {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 4px 6px;
  border-radius: 4px;
}
.video-number {
  font-size: 24px;
  line-height: 1;
}
.video-metadata {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
.video-metadata > time,
.video-metadata > span {
  display: inline-block;
  margin-right: 12px;
}
.video-entry {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.video-entry:hover h2 {
  color: var(--workbody-primary);
}
.video-detail {
  max-width: 1000px;
}
.video-detail video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
}
.video-detail .actions {
  justify-content: space-between;
  margin-top: 28px;
}
.video-feedback {
  background: var(--soft);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}
.contact-panel {
  max-width: 800px;
}
.field {
  margin: 26px 0;
}
.field label {
  display: block;
  margin-bottom: 8px;
}
.field .muted {
  font-size: 12px;
  margin-bottom: 12px;
}
