/* Product views use native text and tables, with fictitious demonstration data. */
.application-showcase { border-bottom: 1px solid #e5eaf0; background: #f5f7fa; }
.application-showcase .application-showcase-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 34px; }
.application-showcase-intro > * { min-width: 0; }
.application-showcase .application-showcase-intro h2 { margin-top: 15px; font-size: clamp(32px, 3vw, 42px); line-height: 1.2; }
.application-showcase-intro h2 span { color: #2563eb; }
.application-showcase-intro > p { max-width: 420px; padding-bottom: 3px; color: #667085; font-size: 15px; line-height: 1.8; }
.product-view-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 690px; margin-bottom: 20px; }
.product-view-tabs > button { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; column-gap: 11px; row-gap: 4px; min-width: 0; min-height: 79px; padding: 14px 18px; border: 1px solid transparent; border-bottom: 2px solid #d8dee8; border-radius: 6px 6px 0 0; color: #536174; background: transparent; font-size: 14px; font-weight: 600; line-height: 1.45; text-align: left; transition: background-color .16s, border-color .16s, color .16s; }
.product-view-tabs > button > .icon { grid-column: 1; grid-row: 1 / 3; width: 19px; height: 19px; }
.product-view-tabs > button > span { grid-column: 2; grid-row: 2; color: #667085; font-size: 12px; font-weight: 400; }
.product-view-tabs > button:hover { color: #1d4ed8; background: #edf2fa; }
.product-view-tabs > button[aria-selected='true'] { border-color: #dbe3ef; border-bottom-color: #2563eb; color: #1d4ed8; background: #fff; }
.product-view-tabs > button:focus-visible, .product-view-panel:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.product-view-panel { min-width: 0; border-radius: 9px; }
.product-view-panel[hidden] { display: none; }
.product-view-panel + .product-view-panel { margin-top: 24px; }
.product-view-panel[hidden] + .product-view-panel { margin-top: 0; }
.app-preview { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-width: 0; min-height: 550px; overflow: hidden; border: 1px solid #d4dce7; border-radius: 9px; color: #344054; background: #f5f7fa; box-shadow: 0 12px 36px #17212f08, 0 2px 5px #17212f03; text-align: left; }
.app-preview *, .app-preview *::before, .app-preview *::after { box-sizing: border-box; }
.app-preview-sidebar { min-width: 0; padding: 27px 11px 22px; border-right: 1px solid #e0e5ec; background: #fff; }
.app-preview-logo { width: 112px; height: 40px; margin: 0 13px 30px; object-fit: contain; }
.app-preview-label { display: block; margin: 24px 12px 9px; color: #667085; font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; }
.app-preview-label:first-of-type { margin-top: 0; }
.app-preview-organization { display: flex; justify-content: space-between; align-items: center; gap: 4px; min-height: 39px; padding: 8px 11px; border: 1px solid #dce2eb; border-radius: 5px; color: #475467; font-size: 11px; font-weight: 500; line-height: 1.5; }
.app-preview-organization > span { color: #667085; }
.app-preview-menu { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 39px; margin-top: 4px; padding: 10px 11px; border-radius: 5px; color: #536174; font-size: 12px; line-height: 1.5; }
.app-preview-menu > .icon { width: 16px; height: 16px; }
.app-preview-menu > span:not(.app-preview-nav-status, .app-preview-nav-count) { min-width: 0; }
.app-preview-menu small { display: block; margin-top: 2px; color: #667085; font-size: 10px; font-weight: 400; }
.app-preview-menu.active { color: #1d4ed8; background: #edf3fd; font-weight: 550; }
.app-preview-menu.active small { color: #6381af; }
.app-preview-back { display: block; margin: 16px 11px; color: #667085; font-size: 10px; line-height: 1.7; }
.app-preview-nav-status { margin-left: auto; color: #667085; font-size: 10px; font-weight: 500; }
.app-preview-nav-count { display: grid; place-items: center; width: 18px; height: 18px; margin-left: auto; border-radius: 4px; color: #986113; background: #fff5dc; font-size: 10px; font-weight: 600; }
.app-preview-liasse { display: flex; align-items: center; gap: 4px; margin: 26px 4px 0; padding: 3px; border: 1px solid #e0e5ec; border-radius: 5px; color: #667085; background: #f5f7fa; font-size: 10px; line-height: 1.5; }
.app-preview-liasse > span { flex: 1; padding: 5px; text-align: center; }
.app-preview-liasse > .active { border: 1px solid #d8e0ec; border-radius: 3px; color: #1d4ed8; background: #fff; box-shadow: 0 1px 2px #17212f05; }
.app-preview-main { min-width: 0; padding: 29px 28px 22px; }
.app-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-width: 0; margin-bottom: 24px; }
.app-preview-heading > div { min-width: 0; }
.app-preview .app-preview-context { margin: 0 0 7px; color: #667085; font-size: 11px; line-height: 1.5; }
.app-preview-heading h3 { margin: 0; color: #17212f; font-size: 24px; font-weight: 650; line-height: 1.35; letter-spacing: -.03em; }
.app-preview-heading p:not(.app-preview-context) { margin-top: 7px; color: #5d6879; font-size: 12px; line-height: 1.6; }
.app-preview-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.app-preview-action { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-height: 34px; padding: 8px 12px; border: 1px solid #2563eb; border-radius: 5px; color: #fff; background: #2563eb; font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.app-preview-surface { min-width: 0; overflow: hidden; border: 1px solid #dce2eb; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px #17212f03; }
.app-preview-filters { display: flex; align-items: stretch; flex-wrap: wrap; column-gap: 23px; min-height: 51px; padding: 0 17px; border-bottom: 1px solid #e4e9f0; }
.app-preview-filters > span { display: inline-flex; position: relative; align-items: center; gap: 6px; min-height: 50px; padding: 13px 0; color: #667085; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.app-preview-filters > .active { color: #2563eb; }
.app-preview-filters > .active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: #2563eb; }
.app-preview-filters b { display: inline-grid; place-items: center; min-width: 18px; min-height: 17px; padding: 0 4px; border-radius: 4px; color: #667085; background: #f1f4f8; font-size: 10px; font-weight: 500; }
.app-preview-filters > .active b { color: #2563eb; background: #edf3ff; }
.app-preview-toolbar { display: flex; align-items: center; gap: 8px; padding: 16px 17px 0; color: #667085; font-size: 11px; line-height: 1.5; }
.app-preview-toolbar > span { display: inline-flex; align-items: center; gap: 8px; min-height: 31px; padding: 6px 10px; border: 1px solid #dce2eb; border-radius: 4px; white-space: nowrap; }
.app-preview-toolbar > .app-preview-search { flex: 0 1 234px; min-width: 0; }
.app-preview-search > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-preview-toolbar > .app-preview-sort { margin-left: auto; border-color: transparent; font-size: 10px; }
.app-preview .app-preview-count { padding: 13px 17px 12px; color: #667085; font-size: 10px; line-height: 1.5; }
.app-preview-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #536174; font-size: 13px; line-height: 1.5; }
.app-preview-table th, .app-preview-table td { overflow-wrap: break-word; text-align: left; vertical-align: middle; }
.app-preview-table thead th { padding: 11px 14px; border-top: 1px solid #e7ecf2; border-bottom: 1px solid #e4e9f0; color: #667085; background: #f8fafc; font-size: 11px; font-weight: 550; line-height: 1.5; }
.app-preview-table tbody th, .app-preview-table tbody td { padding: 18px 14px; border-bottom: 1px solid #edf0f5; font-weight: 400; }
.app-preview-table tbody tr:last-child > * { border-bottom: 0; }
.app-preview-table td small { display: block; margin-top: 2px; color: #667085; font-size: 12px; line-height: 1.6; }
.app-preview-portfolio th:first-child { width: 26%; }
.app-preview-portfolio th:nth-child(2) { width: 19%; }
.app-preview-portfolio th:nth-child(3) { width: 16%; }
.app-preview-portfolio th:nth-child(4) { width: 23%; }
.app-preview-portfolio th:nth-child(5) { width: 16%; }
.app-preview-company { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-preview-avatar { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #e4e9f0; border-radius: 5px; color: #667085; background: #f8fafc; font-size: 11px; font-weight: 550; }
.app-preview-company > span:last-child { min-width: 0; color: #344054; font-size: 13px; font-weight: 550; line-height: 1.5; }
.app-preview-company small { display: block; margin-top: 3px; color: #667085; font-size: 11px; font-weight: 400; line-height: 1.5; }
.app-preview-badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; padding: 3px 7px; border: 1px solid transparent; border-radius: 4px; font-size: 11px; font-weight: 500; line-height: 1.45; text-align: center; }
.app-preview-badge.amber { border-color: #f0dca5; color: #8a5413; background: #fff8e7; }
.app-preview-badge.blue { border-color: #c8d9fb; color: #1d4ed8; background: #eff5ff; }
.app-preview-badge.green { border-color: #c7e7d8; color: #176142; background: #eff9f4; }
.app-preview-table .app-preview-note { color: #667085; font-size: 13px; }
.app-preview-table .app-preview-updated { color: #667085; font-size: 12px; }
.app-preview-updated > span { float: right; margin-left: 5px; color: #667085; font-size: 20px; line-height: 1; }
.app-preview .app-preview-footer { margin-top: 15px; color: #667085; font-size: 11px; line-height: 1.65; }
.app-preview-catalog thead th:first-child { width: 58%; }
.app-preview-catalog thead th:nth-child(2) { width: 22%; }
.app-preview-catalog thead th:nth-child(3) { width: 20%; }
.app-preview-catalog tbody th, .app-preview-catalog tbody td { padding-block: 16px; }
.app-preview-table .app-preview-group > th { padding: 10px 15px; border-bottom: 1px solid #e4e9f0; color: #536174; background: #f8fafc; font-size: 11px; font-weight: 550; }
.app-preview-group > th > span { margin-left: 8px; color: #667085; font-size: 9px; font-weight: 400; }
.app-preview-table-name { display: flex; align-items: center; gap: 10px; color: #536174; font-weight: 500; }
.app-preview-code { flex-shrink: 0; width: 33px; color: #667085; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.app-preview-catalog td:nth-child(2) { color: #667085; font-size: 13px; }
.app-preview-chevron { float: right; margin-left: 6px; color: #667085; font-size: 20px; line-height: 1.2; }
.application-showcase-caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; margin-top: 20px; }
.application-showcase-caption > p { max-width: 780px; color: #667085; font-size: 11px; line-height: 1.7; }
.application-showcase-caption > .text-link { flex-shrink: 0; font-size: 12px; }

@media (max-width: 1100px) {
  .application-showcase .application-showcase-intro { gap: 40px; }
  .app-preview { grid-template-columns: 168px minmax(0, 1fr); }
  .app-preview-main { padding: 24px 20px 20px; }
  .app-preview-sidebar { padding-inline: 9px; }
  .app-preview-logo { margin-left: 11px; }
  .app-preview-menu { gap: 7px; padding-inline: 9px; font-size: 11px; }
  .app-preview-organization { padding-inline: 8px; font-size: 10px; }
  .app-preview-heading { gap: 14px; }
  .app-preview-action { padding-inline: 9px; font-size: 10px; }
  .app-preview-filters { column-gap: 17px; padding-inline: 13px; }
  .app-preview-filters > span { font-size: 11px; }
  .app-preview-toolbar { gap: 5px; padding-inline: 13px; }
  .app-preview-toolbar > span { padding-inline: 7px; font-size: 10px; }
  .app-preview-toolbar > .app-preview-sort { display: none; }
  .app-preview-table thead th, .app-preview-table tbody th, .app-preview-table tbody td { padding-inline: 10px; }
  .app-preview-company { gap: 7px; }
  .app-preview-avatar { flex-basis: 25px; width: 25px; height: 27px; }
  .app-preview-company > span:last-child { font-size: 13px; }
  .app-preview-portfolio th:first-child { width: 27%; }
  .app-preview-portfolio th:nth-child(4) { width: 22%; }
  .app-preview-table-name { gap: 7px; }
  .app-preview-code { width: 26px; }
}

@media (max-width: 760px) {
  .application-showcase .application-showcase-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 27px; }
  .application-showcase-intro > p { max-width: 560px; padding-bottom: 0; font-size: 14px; }
  .product-view-tabs { max-width: none; gap: 6px; margin-bottom: 16px; }
  .product-view-tabs > button { column-gap: 8px; min-height: 76px; padding: 13px 12px; font-size: 13px; }
  .product-view-tabs > button > span { font-size: 11px; }
  .app-preview { display: block; min-height: 0; }
  .app-preview-sidebar { display: none; }
  .app-preview-main { padding: 23px 20px 19px; }
  .app-preview-heading { align-items: flex-start; margin-bottom: 19px; }
  .app-preview-heading h3 { font-size: 23px; }
  .app-preview-heading p:not(.app-preview-context) { max-width: 360px; font-size: 12px; }
  .app-preview-action, .app-preview-toolbar { display: none; }
  .app-preview-filters { column-gap: 18px; row-gap: 0; padding-inline: 16px; }
  .app-preview-filters > span { min-height: 44px; padding-block: 11px; font-size: 11px; }
  .app-preview .app-preview-count { padding: 13px 16px 0; }
  .app-preview-table { display: block; width: 100%; }
  .app-preview-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .app-preview-table tbody { display: grid; gap: 12px; padding: 16px; }
  .app-preview-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; overflow: hidden; border: 1px solid #e0e6ef; border-radius: 5px; background: #fff; }
  .app-preview-table tbody th, .app-preview-table tbody td { display: block; width: auto; min-width: 0; padding: 8px 13px; border: 0; }
  .app-preview-table tbody th { grid-column: 1 / -1; padding-top: 14px; padding-bottom: 10px; }
  .app-preview-table tbody th:first-child { width: auto; }
  .app-preview-table tbody td { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
  .app-preview-table td[data-label]::before { content: attr(data-label); display: block; color: #667085; font-size: 10px; font-weight: 400; line-height: 1.5; }
  .app-preview-table td small { margin-top: -3px; font-size: 11px; }
  .app-preview-company { gap: 10px; }
  .app-preview-avatar { flex-basis: 31px; width: 31px; height: 33px; }
  .app-preview-company > span:last-child { font-size: 14px; }
  .app-preview-company small { margin-top: 3px; font-size: 11px; }
  .app-preview-badge { font-size: 11px; }
  .app-preview-table .app-preview-note { grid-column: 1 / -1; padding-bottom: 12px; font-size: 12px; }
  .app-preview-table .app-preview-updated { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; gap: 7px; padding-block: 10px; border-top: 1px solid #edf0f5; color: #667085; background: #fafbfd; font-size: 11px; }
  .app-preview-updated > span { float: none; margin-left: auto; }
  .app-preview-catalog tbody { gap: 10px; }
  .app-preview-table tbody .app-preview-group { display: block; overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .app-preview-table .app-preview-group > th { display: block; padding: 5px 0; border: 0; background: transparent; font-size: 12px; }
  .app-preview-group > th > span { font-size: 10px; }
  .app-preview-catalog tbody td { padding-bottom: 13px; font-size: 12px; }
  .app-preview-table-name { align-items: baseline; gap: 9px; color: #475467; font-size: 13px; }
  .app-preview-code { width: 28px; font-size: 11px; }
  .app-preview-chevron { display: none; }
  .app-preview .app-preview-footer { margin-top: 13px; font-size: 11px; }
  .application-showcase-caption { align-items: flex-start; gap: 9px; margin-top: 16px; }
  .application-showcase-caption > p { flex-basis: 100%; font-size: 11px; }
}

@media (max-width: 460px) {
  .application-showcase .application-showcase-intro h2 { font-size: 32px; }
  .application-showcase-intro > p { font-size: 13px; }
  .product-view-tabs > button { grid-template-columns: 16px minmax(0, 1fr); column-gap: 6px; min-height: 80px; padding: 12px 8px; font-size: 12px; }
  .product-view-tabs > button > .icon { width: 16px; height: 16px; }
  .product-view-tabs > button > span { font-size: 10px; line-height: 1.5; }
  .app-preview { border-radius: 6px; }
  .app-preview-main { padding: 19px 12px 15px; }
  .app-preview-heading { gap: 10px; margin-bottom: 17px; }
  .app-preview-heading h3 { font-size: 21px; }
  .app-preview-title { gap: 8px; }
  .app-preview-title .app-preview-badge { font-size: 10px; }
  .app-preview-heading p:not(.app-preview-context) { font-size: 11px; }
  .app-preview-filters { column-gap: 15px; padding-inline: 12px; }
  .app-preview-filters > span { min-height: 39px; padding-block: 9px; font-size: 10px; }
  .app-preview-filters b { min-width: 16px; min-height: 16px; font-size: 9px; }
  .app-preview .app-preview-count { padding: 12px 12px 0; font-size: 9px; }
  .app-preview-table tbody { gap: 10px; padding: 12px 10px; }
  .app-preview-table tbody th, .app-preview-table tbody td { padding-inline: 11px; }
  .app-preview-company > span:last-child { font-size: 13px; }
  .app-preview-company small { font-size: 10px; }
  .app-preview-table .app-preview-note { font-size: 11px; }
  .app-preview-table .app-preview-updated { flex-wrap: wrap; column-gap: 5px; font-size: 10px; }
  .app-preview-table-name { gap: 7px; font-size: 12px; }
  .app-preview-code { width: 25px; font-size: 10px; }
  .app-preview .app-preview-footer { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-view-tabs > button { transition: none; }
}
