/* Fixed presentation: home portrait / catalog and detail landscape.
   Geometry and copy budgets originate in the SKILL presentation profile. */
@layer zcodUiCorrections {
html body .home-product-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-template-rows:repeat(2,auto) !important;align-content:center !important;flex:0 1 auto !important;width:100% !important;max-width:min(100%,calc((100dvh - 210px)*1.5)) !important;gap:16px !important;}
html body .home-product-card {aspect-ratio:var(--zc-home-ratio,9/6) !important;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) !important;grid-template-rows:minmax(0,1fr) var(--zc-home-footer-height,40px) !important;padding:16px !important;gap:12px !important;--pad:16px;min-height:0 !important;border:0 !important;overflow:visible !important;}
html body .home-card-copy {grid-column:1 !important;grid-row:1 !important;min-width:0 !important;gap:8px !important;justify-content:space-between !important;}
html body .home-card-heading {gap:10px !important;}
html body .home-card-icon {width:34px !important;height:34px !important;border-radius:10px !important;box-shadow:none !important;}
html body .home-card-heading-text {min-width:0 !important;}
html body .home-product-card h2 {font-size:var(--zc-home-title,22px) !important;line-height:1.25 !important;margin:0 !important;}
html body .home-card-brief {font-size:16px !important;line-height:1.5 !important;margin:4px 0 0 !important;}
html body .home-card-features {gap:2px !important;margin:0 !important;}
html body .home-card-features li {font-size:16px !important;line-height:1.4 !important;min-height:22px !important;}
html body .home-card-features li.is-empty {visibility:hidden !important;}
html body .home-card-bottom {margin:0 !important;padding:0 !important;}
html body .home-card-actions {gap:10px !important;flex-wrap:nowrap !important;}
html body .home-card-actions :is(a,button) {min-height:40px !important;font-size:14px !important;padding:8px 12px !important;border:0 !important;box-shadow:none !important;white-space:nowrap !important;}
html body .home-card-actions .home-card-detail {background:var(--n-well) !important;}
html body .home-product-card :is(h2,.home-card-brief,.home-card-features li span,.home-card-meta dd) {display:block !important;-webkit-line-clamp:unset !important;-webkit-box-orient:initial !important;text-overflow:clip !important;overflow:visible !important;white-space:normal !important;word-break:normal !important;overflow-wrap:normal !important;}
html body .home-card-meta {grid-column:1/-1 !important;grid-row:2 !important;display:grid !important;grid-template-columns:repeat(3,auto) !important;justify-content:space-between !important;gap:8px !important;height:var(--zc-home-footer-height,40px) !important;box-sizing:border-box !important;padding:6px 10px !important;margin:0 !important;align-content:center !important;border:0 !important;box-shadow:none !important;border-radius:12px !important;background:var(--n-well) !important;}
html body .home-card-meta > div {display:flex !important;align-items:center !important;gap:6px !important;white-space:nowrap !important;min-width:0 !important;border:0 !important;padding:0 !important;}
html body .home-card-meta dt {font-size:12px !important;margin-bottom:0 !important;}
html body .home-card-meta dd {white-space:nowrap !important;font-size:14px !important;line-height:1.4 !important;margin:0 !important;}
html body .home-card-media {--sh-btn:none;--sh-btn-up:none;--sh-btn-in:none;grid-column:2 !important;grid-row:1 !important;position:relative !important;display:grid !important;place-items:center !important;width:100% !important;height:100% !important;min-height:0 !important;max-height:none !important;aspect-ratio:auto !important;align-self:stretch !important;padding:0 !important;border:0 !important;border-radius:12px !important;overflow:visible !important;background:transparent !important;box-shadow:none !important;}
html body .home-card-media > img {position:static !important;display:block !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;margin:0 !important;object-fit:contain !important;object-position:center !important;border:0 !important;border-radius:8px !important;box-shadow:none !important;transform:none !important;}
html body .home-card-zoom {display:none !important;}
html body .app-preview.has-shot {aspect-ratio:16/9 !important;height:auto !important;padding:0 !important;overflow:hidden !important;border:0 !important;border-radius:14px !important;}
html body .app-preview.has-shot > img {width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;margin:0 !important;border-radius:inherit !important;object-fit:cover !important;transform:none !important;}

html body #software-detail {padding:12px !important;align-items:center !important;justify-content:center !important;}
html body #software-detail .detail-panel {width:min(1120px,calc(100vw - 24px)) !important;height:min(960px,calc(100dvh - 24px)) !important;max-height:calc(100dvh - 24px) !important;display:flex !important;flex-direction:column !important;}
/* The canonical corner layer owns the44px/16px close target. */
html body #software-detail .detail-body {flex:1 1 auto !important;min-height:0 !important;padding:16px !important;overflow:hidden !important;}
html body #software-detail [data-detail-layout="poster"] {display:grid !important;grid-template-columns:minmax(0,1fr) !important;grid-template-rows:minmax(0,1fr) clamp(260px,30dvh,320px) !important;width:100% !important;height:100% !important;min-height:0 !important;gap:12px !important;}
html body #software-detail .detail-summary-preview {grid-column:1 !important;grid-row:1 !important;width:100% !important;height:100% !important;min-height:0 !important;min-width:0 !important;max-height:none !important;aspect-ratio:auto !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:12px !important;background:transparent !important;box-shadow:none !important;overflow:hidden !important;}
html body #software-detail :is(.detail-gallery,.detail-shot) {width:100% !important;height:100% !important;min-height:0 !important;max-height:100% !important;aspect-ratio:auto !important;padding:0 !important;margin:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;overflow:hidden !important;}
html body #software-detail .detail-shot {display:flex !important;align-items:center !important;justify-content:center !important;}
html body #software-detail .detail-shot > img {width:auto !important;height:auto !important;min-width:0 !important;min-height:0 !important;flex:0 1 auto !important;align-self:center !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;object-position:center !important;border:0 !important;border-radius:8px !important;box-shadow:none !important;}
html body #software-detail .product-detail-content {grid-column:1 !important;grid-row:2 !important;display:grid !important;grid-template-rows:auto 42px minmax(0,1fr) auto !important;min-height:0 !important;gap:8px !important;}
html body #software-detail .detail-head {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:2px 12px !important;min-height:0 !important;height:auto !important;padding:0 !important;margin:0 !important;background:transparent !important;box-shadow:none !important;}
html body #software-detail .detail-icon {width:40px !important;height:40px !important;margin:0 !important;}
html body #software-detail .detail-primary-actions {grid-column:1 !important;grid-row:1 !important;display:flex !important;justify-content:center !important;align-items:center !important;flex-wrap:wrap !important;gap:8px !important;margin:0 !important;}
html body #software-detail .detail-primary-actions :is(button,a) {min-height:40px !important;font-size:16px !important;padding:8px 16px !important;border:0 !important;}
html body #software-detail .detail-copy-status {grid-column:1/-1 !important;grid-row:2 !important;display:block !important;height:18px !important;min-height:18px !important;font-size:12px !important;line-height:18px !important;text-align:center !important;}
html body #software-detail .product-detail-tabs {display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;padding:0 !important;}
html body #software-detail .product-detail-tabs > button {width:100% !important;min-width:0 !important;height:42px !important;min-height:42px !important;padding:6px 8px !important;font-size:14px !important;border:0 !important;border-radius:10px !important;background:var(--n-well) !important;color:var(--n-text) !important;box-shadow:none !important;}
html body #software-detail .product-detail-tabs > button[aria-selected="true"] {background:var(--f-blue) !important;color:#fff !important;opacity:1 !important;filter:none !important;}
html body #software-detail .product-detail-panes {min-height:0 !important;min-width:0 !important;padding:12px 16px !important;border-radius:12px !important;background:var(--n-well) !important;overflow:hidden !important;}
html body #software-detail .product-detail-pane {width:100% !important;height:100% !important;min-height:0 !important;overflow:hidden !important;}
html body #software-detail .product-detail-pane[hidden],html body #software-detail .product-detail-pagination[hidden] {display:none !important;}
html body #software-detail .product-detail-flow {width:100% !important;height:100% !important;column-count:auto !important;column-gap:24px !important;column-fill:auto !important;font-size:14px !important;line-height:1.6 !important;overflow:visible !important;}
html body #software-detail .product-detail-flow :is(.detail-specs,.detail-desc,.detail-features,.detail-feature-list,.detail-versions,.detail-version-timeline,.detail-integrity) {height:auto !important;max-height:none !important;min-height:0 !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;overflow:visible !important;}
html body #software-detail .detail-feature-list {display:block !important;list-style:none !important;}
html body #software-detail .detail-feature-list li {display:flex !important;align-items:baseline !important;gap:16px !important;font-size:16px !important;line-height:1.6 !important;margin:0 0 6px !important;padding:0 !important;white-space:normal !important;break-inside:avoid !important;}
html body #software-detail .detail-feature-list li strong {flex:0 0 4em !important;color:var(--n-text) !important;}
html body #software-detail .detail-feature-list li span {color:var(--n-muted) !important;}
html body #software-detail .detail-feature-list li.is-empty {display:none !important;}
html body #software-detail .detail-specs {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:6px 16px !important;margin-bottom:10px !important;break-inside:avoid !important;}
html body #software-detail .detail-specs > span {display:flex !important;align-items:baseline !important;gap:10px !important;min-width:0 !important;min-height:0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important;}
html body #software-detail .detail-specs :is(small,b) {display:inline !important;font-size:14px !important;line-height:1.5 !important;white-space:normal !important;text-align:left !important;}
html body #software-detail .detail-desc {font-size:14px !important;line-height:1.6 !important;}
html body #software-detail .product-detail-flow :is(h3,h4) {font-size:14px !important;margin:0 0 8px !important;break-after:avoid !important;}
html body #software-detail .detail-ver {break-inside:avoid !important;margin:0 0 12px !important;}
html body #software-detail .detail-ver-notes {white-space:pre-line !important;}
html body #software-detail .detail-download-help {font-size:13px !important;line-height:1.6 !important;margin:12px 0 !important;}
html body #software-detail .detail-integrity code {font-size:12px !important;line-height:1.6 !important;overflow-wrap:anywhere !important;white-space:normal !important;}
html body #software-detail .product-detail-pagination {display:flex !important;align-items:center !important;justify-content:center !important;gap:16px !important;height:34px !important;min-height:0 !important;}
html body #software-detail .product-detail-pagination > button {width:88px !important;height:34px !important;min-height:34px !important;font-size:13px !important;padding:4px 10px !important;}
html body #software-detail [data-detail-page-status] {font-size:12px !important;min-width:60px !important;text-align:center !important;}
/* The download tab uses the available height and two real columns, not extra pages. */
html body #software-detail [data-detail-active="download"] {grid-template-rows:minmax(120px,1fr) clamp(380px,50dvh,450px) !important;}
html body #software-detail .detail-download-grid {display:grid !important;grid-template-columns:minmax(0,1fr) minmax(180px,.32fr) !important;gap:20px !important;}
html body #software-detail .detail-download-aside {min-width:0 !important;}
html body #software-detail .detail-download-aside .detail-download-help {margin:0 0 12px !important;}
html body #software-detail .detail-version-timeline {list-style:none !important;}
html body #software-detail .detail-ver {display:block !important;padding:0 !important;margin:0 !important;}
html body #software-detail .detail-ver::before,html body #software-detail .detail-version-timeline::before {display:none !important;}
html body #software-detail .detail-ver-head {display:flex !important;align-items:center !important;gap:8px !important;margin:0 0 6px !important;}
html body #software-detail .detail-ver-notes {font-size:14px !important;line-height:1.5 !important;margin:0 0 6px !important;}
html body #software-detail .detail-ver-meta {font-size:12px !important;line-height:1.5 !important;}
html body #software-detail .detail-ver-action {display:none !important;}
html body #software-detail .detail-integrity button {font-size:13px !important;min-height:36px !important;padding:6px 10px !important;white-space:nowrap !important;}
html body #software-detail .detail-primary-actions :is(a,button),html body #software-detail .product-detail-tabs button {white-space:nowrap !important;}
html body #software-detail .detail-download-grid > .detail-versions {grid-column:1 !important;grid-row:1 !important;display:block !important;}
html body #software-detail .detail-download-grid > .detail-download-aside {grid-column:2 !important;grid-row:1 !important;}
html body #software-detail .detail-ver-main {display:block !important;width:100% !important;}
html body #software-detail .detail-ver-notes {display:block !important;visibility:visible !important;}
html body #software-detail .detail-shot > img {border-radius:14px !important;clip-path:inset(0 round 14px) !important;}
@media(max-width:1000px){
html body #software-detail [data-detail-active="download"] {grid-template-rows:0 minmax(0,1fr) !important;gap:0 !important;}
html body #software-detail [data-detail-active="download"] .detail-summary-preview {visibility:hidden !important;}
html body #software-detail .detail-download-grid {grid-template-columns:minmax(0,1fr) !important;gap:14px !important;}
html body #software-detail .detail-download-grid > .detail-download-aside {grid-column:1 !important;grid-row:2 !important;}

html body .view[data-panel="home"].home-grid-view {overflow-y:auto !important;}
html body .home-product-grid {grid-template-columns:1fr !important;grid-template-rows:auto !important;max-width:min(100%,650px) !important;flex:none !important;}
}
@media(max-width:600px){
html body .home-product-card {aspect-ratio:auto !important;grid-template-columns:minmax(0,2fr) minmax(0,1fr) !important;grid-template-rows:minmax(235px,auto) var(--zc-home-footer-height,40px) !important;padding:12px !important;gap:12px !important;}
html body .home-card-copy {gap:8px !important;}
html body .home-card-heading {gap:8px !important;}
html body .home-card-icon {width:28px !important;height:28px !important;}
html body .home-product-card h2 {font-size:20px !important;}
html body .home-card-brief {font-size:14px !important;}
html body .home-card-actions {display:grid !important;grid-template-columns:1fr !important;gap:8px !important;}
html body .home-card-actions :is(button,a) {width:100% !important;}
html body .home-card-meta {gap:4px !important;padding:6px 8px !important;}
html body .home-card-meta > div {gap:4px !important;}
html body .home-card-meta dt svg {display:none !important;}
html body #software-detail {padding:8px !important;}
html body #software-detail .detail-panel {width:calc(100vw - 16px) !important;height:calc(100dvh - 16px) !important;max-height:calc(100dvh - 16px) !important;}
html body #software-detail .detail-body {padding:12px !important;}
html body #software-detail [data-detail-layout="poster"] {grid-template-rows:minmax(0,1fr) minmax(300px,43dvh) !important;gap:8px !important;}
html body #software-detail .detail-primary-actions {gap:6px !important;}
html body #software-detail .detail-primary-actions :is(button,a) {padding:8px 10px !important;font-size:14px !important;min-height:40px !important;}
html body #software-detail .detail-feature-list li {font-size:14px !important;gap:12px !important;}
html body #software-detail .product-detail-panes {padding:12px !important;}
html body #software-detail .detail-specs > span {display:block !important;}
html body #software-detail .detail-specs :is(small,b) {display:block !important;}
html body #software-detail [data-detail-active="download"] {grid-template-rows:0 minmax(0,1fr) !important;gap:0 !important;}
html body #software-detail [data-detail-active="download"] .detail-summary-preview {visibility:hidden !important;}
html body #software-detail .detail-download-grid {grid-template-columns:minmax(0,1fr) !important;gap:14px !important;}

html body #software-detail .detail-download-grid > .detail-download-aside {grid-column:1 !important;grid-row:2 !important;}

}
}

/* Detail cards: one spacing contract, stable full content, unchanged poster/theme. */
@layer zcodUiCorrections {
html body #software-detail {--detail-gap:16px;padding:var(--detail-gap) !important;}
html body #software-detail .detail-panel {width:min(1200px,calc(100vw - 2*var(--detail-gap))) !important;height:min(1000px,calc(100dvh - 2*var(--detail-gap))) !important;max-height:calc(100dvh - 2*var(--detail-gap)) !important;}
/* Keep semantic title/close nodes without reserving an empty title row. */
html body #software-detail .detail-topbar {display:contents !important;}
html body #software-detail .detail-accessible-title {position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip-path:inset(50%) !important;white-space:nowrap !important;}
html body #software-detail .detail-body {padding:var(--detail-gap) !important;overflow:hidden !important;}
html body #software-detail [data-detail-layout="poster"] {grid-template-rows:minmax(120px,1fr) auto !important;gap:var(--detail-gap) !important;}
html body #software-detail .product-detail-cards {display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;grid-template-rows:auto !important;align-items:stretch !important;gap:var(--detail-gap) !important;}
html body #software-detail .product-detail-card {display:flex !important;flex-direction:column !important;gap:var(--detail-gap) !important;min-width:0 !important;min-height:0 !important;padding:var(--detail-gap) !important;margin:0 !important;background:var(--n-well) !important;border:0 !important;border-radius:14px !important;box-shadow:none !important;overflow:visible !important;}
html body #software-detail .product-detail-card > h3 {margin:0 !important;font-size:16px !important;line-height:1.35 !important;color:var(--n-text) !important;}
html body #software-detail .product-detail-card :is(.detail-features,.detail-feature-list,.detail-versions,.detail-version-timeline,.detail-integrity) {height:auto !important;max-height:none !important;min-height:0 !important;padding:0 !important;margin:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;overflow:visible !important;}
html body #software-detail .product-detail-card .detail-feature-list li {display:block !important;margin:0 0 12px !important;font-size:14px !important;line-height:1.45 !important;white-space:normal !important;}
html body #software-detail .product-detail-card .detail-feature-list li :is(strong,span) {display:block !important;flex:none !important;max-width:none !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;}
html body #software-detail .product-detail-card .detail-feature-list li strong {margin-bottom:4px !important;}
html body #software-detail .product-detail-card .detail-feature-list li.is-empty {display:none !important;}
html body #software-detail .product-detail-card .detail-specs {grid-template-columns:minmax(0,1fr) !important;gap:12px !important;margin:0 !important;}
html body #software-detail .product-detail-card .detail-specs > span {display:flex !important;justify-content:space-between !important;align-items:baseline !important;gap:8px !important;}
html body #software-detail .product-detail-card .detail-specs :is(small,b) {font-size:13px !important;line-height:1.45 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;}
html body #software-detail .product-detail-card .detail-specs b {text-align:right !important;}
html body #software-detail .product-detail-card .detail-ver-notes {white-space:pre-line !important;font-size:13px !important;line-height:1.45 !important;}
html body #software-detail .product-detail-card .detail-download-help {margin:0 !important;font-size:12px !important;line-height:1.5 !important;}
html body #software-detail .product-detail-card .detail-primary-actions {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:var(--detail-gap) !important;justify-content:stretch !important;margin-top:auto !important;}
html body #software-detail .product-detail-card .detail-primary-actions > :is(button,a) {width:100% !important;min-width:0 !important;max-width:none !important;min-height:44px !important;flex:none !important;justify-content:center !important;padding:8px !important;font-size:14px !important;white-space:nowrap !important;border:0 !important;box-shadow:none !important;}
html body #software-detail .product-detail-card .detail-integrity button {min-height:24px !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;}
html body #software-detail .product-detail-card .detail-feedback {height:36px !important;min-height:36px !important;line-height:18px !important;margin:0 !important;white-space:normal !important;}
html body #software-detail .product-detail-card :is(p,li,b,small,span) {overflow-wrap:anywhere !important;}
@media(max-width:699px) {
html body #software-detail .product-detail-cards {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
html body #software-detail [data-detail-card="download"] {grid-column:1/-1 !important;}
html body #software-detail .product-detail-card {gap:var(--detail-gap) !important;padding:var(--detail-gap) !important;}
html body #software-detail .product-detail-card .detail-specs > span {display:block !important;}
html body #software-detail .product-detail-card .detail-specs b {display:block !important;text-align:left !important;}
html body #software-detail .product-detail-card .detail-feature-list li {font-size:13px !important;margin-bottom:8px !important;}
html body #software-detail .product-detail-card .detail-feedback {height:18px !important;min-height:18px !important;}
}
}
@layer zcodUiCorrections {
html body #software-detail .detail-body {padding-top:var(--detail-gap) !important;}
html body #software-detail .product-detail-card > * {flex:0 0 auto !important;}
html body #software-detail .product-detail-card .detail-feedback {flex:0 0 auto !important;width:100% !important;height:36px !important;min-height:36px !important;}
html body #software-detail .product-detail-card .detail-specs {padding:0 !important;background:transparent !important;border:0 !important;border-radius:0 !important;overflow:visible !important;}
html body #software-detail .detail-download-current {font-size:15px !important;font-weight:700 !important;line-height:1.4 !important;}
@media(max-width:699px) {
html body #software-detail .product-detail-cards {grid-template-rows:auto auto !important;}
html body #software-detail .product-detail-card .detail-feedback {height:18px !important;min-height:18px !important;}
}
}
@layer zcodUiCorrections {
html body #software-detail .detail-panel {width:min(var(--detail-dialog-width,1200px),calc(100vw - 2*var(--detail-gap))) !important;height:min(var(--detail-dialog-height,1000px),calc(100dvh - 2*var(--detail-gap))) !important;}
html body #software-detail .detail-summary-preview {height:var(--detail-poster-height,auto) !important;align-self:end !important;}
html body #software-detail .detail-shot > img {width:100% !important;height:auto !important;max-height:none !important;}
}
