.product-sheet .modal-h { gap: 12px; }
.product-sheet .modal-h h2 { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.product-sheet .modal-h small { display: block; margin-top: 3px; font-size: .77rem; font-weight: 500; color: var(--muted); }
.product-cover { width: 42px; height: 48px; border-radius: 7px; object-fit: cover; }
.product-sheet .modal-b { background: var(--surface); padding-top: 0; }
.product-sheet .tabs {
  position: sticky; top: 0; z-index: 3; background: var(--surface);
  padding: 9px 0; flex-wrap: wrap; overflow: visible; gap: 5px;
}
.product-sheet [data-pane]:not(.hidden) { padding: 0; }
.product-section-title { margin: 16px 0 10px; font-size: 1.2rem; }
.product-section-title:has(+ .hidden) { display: none; }
.product-links, .cz-settings, .product-sheet .product-description {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.product-links { margin: 12px 0 2px; }
.product-links summary, .cz-settings summary, .product-description > summary { cursor: pointer; font-weight: 650; }
.product-links[open] > summary, .cz-settings[open] > summary, .product-description[open] > summary { margin-bottom: 12px; }
.product-sheet .pr-version-table table { min-width: 960px; }
.cz-settings { margin-bottom: 12px; }
.cz-result { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 12px 14px 0; }
.cz-result > div { padding: 12px; border-radius: 9px; border: 1px solid var(--line); }
.cz-result > div:nth-child(2) { color: var(--violet); }
.cz-result small, .cz-result strong { display: block; }
.cz-result strong { font-size: clamp(1.1rem,2vw,1.55rem); font-variant-numeric: tabular-nums; }
.cz-result span { font-size: .77rem; }
.cz-result .cz-empty { grid-column: 1/-1; }
.cz-card .cz-q { grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); border: 1px solid var(--line); padding: 10px; gap: 8px; align-items: end; }
.cz-card .cz-q.on { border-color: var(--violet); }
.cz-quote-field { display: grid; gap: 3px; font-size: .75rem; min-width: 0; }
.cz-quote-field input { width: 100%; }
@media (max-width: 720px) {
  .product-sheet .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .product-sheet .tabs button { flex: none; }
  .product-sheet .pr-product-fields { grid-template-columns: 1fr; }
  .product-sheet .pr-product-name { grid-column: 1/-1 !important; }
  .product-sheet .modal-f { flex-wrap: wrap; }
  .cz-card .cz-body { grid-template-columns: minmax(0,1fr); }
  .cz-result { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
}
.cz-result > .cz-channels { grid-column: 1/-1; background: transparent; padding: 0; }
.product-sheet .gallery .g { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--surface); }
.product-sheet .gallery .g img { aspect-ratio: 1; height: auto; object-fit: contain; }
.product-sheet .gallery .acts { position: static; padding: 6px; justify-content: center; flex-wrap: wrap; background: white; }
.product-sheet .gallery .acts button { min-height: 32px; }
.product-sheet .product-review-item { background: var(--surface); border-radius: 8px; padding: 10px; }
.product-sheet [data-pane=mov] thead th { position: sticky; top: 0; background: var(--surface); }
@media (max-width: 720px) {
  .product-sheet .pob-card { flex-wrap: wrap; }
  .product-sheet .pob-card > .row { flex-basis: 100%; }
}

.cz-card .cz-body { display: block; }
.cz-card .cz-q[hidden] { display: none; }
.cz-card .cz-q { padding: 14px; background: var(--surface); }
.quote-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.quote-heading h3 { font-size: 1rem; }
.quote-list { width: 100%; font-variant-numeric: tabular-nums; }
.quote-list td small { display: block; }
.quote-actions .btn { margin: 2px; }
.cost-fold { border-top: 1px solid var(--line); padding: 10px 0; }
.cost-fold summary { cursor: pointer; font-weight: 650; }
.cost-fold[open] summary { margin-bottom: 12px; }
.cost-fold .cz-gsum { float: right; }
.cz-result > .cz-channels { border: 0; }
@media(max-width:720px) {
  .quote-list, .quote-list tbody { display: block; }
  .quote-list thead { display: none; }
  .quote-list tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; border-top: 1px solid var(--line); padding: 10px 0; }
  .quote-list tr td { display:block; padding: 0; border: 0; white-space: normal; }
  .quote-list td:first-child, .quote-actions { grid-column: 1/-1; }
  .quote-list td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--ink-2); }
}
.review-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.review-group h3, .review-exception-title { font-size: .96rem; margin: 8px 0; }
.review-group .product-review-item { border-radius: 0; min-height: 38px; }
.review-exception-title { margin-top: 18px; }
.content-panels { grid-column: 1/-1; display: grid; gap: 8px; min-width: 0; }
.content-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.product-description .desc-prev, .seo-sample { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.description-source { width: 100%; line-height: 1.55; font-family: monospace; }
.description-images { margin-top: 12px; }
.description-images summary { cursor: pointer; font-weight: 600; }
.description-images .desc-imgs { grid-template-columns: repeat(auto-fill,minmax(min(190px,100%),1fr)); }
.seo-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.seo-fields { display: grid; gap: 10px; }
.seo-fields small { float: right; }
.seo-sample { padding: 14px; overflow-wrap: anywhere; }
.seo-sample h4 { margin: 0 0 10px; }
@media (max-width: 720px) {
  .review-groups, .seo-layout { grid-template-columns: 1fr; }
}
.price-workspace { min-width: 0; }
.price-actions, .price-filters, .price-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.price-actions { margin-bottom: 16px; }
.price-tools { margin-left: auto; position: relative; }
.price-tools summary { cursor: pointer; font-weight: 600; padding: 8px; }
.price-tool-list { position: absolute; right: 0; top: 100%; z-index: 5; width: min(290px,80vw); padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.price-tool-list .cfg { display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.price-catalog { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(10px,2vw,20px); }
.price-catalog h2 { margin: 0 0 12px; }
.price-filters .q { flex: 1 1 180px; }
.price-filters .only { flex: 0 1 250px; }
.price-catalog .stats { font-size: .79rem; color: var(--ink-2); margin: 8px 0 14px; }
.price-list { width: 100%; table-layout: fixed; }
.price-list th:first-child { width: 35%; }
.price-list th:last-child { width: 94px; }
.price-list td { overflow-wrap: anywhere; }
.price-list td small, .price-name small { display: block; color: var(--muted); font-size: .75rem; }
.price-name { border: 0; background: transparent; text-align: left; display: flex; align-items: center; gap: 10px; padding: 0; cursor: pointer; }
.price-name:hover b { text-decoration: underline; }
.price-detail-body { display: grid; grid-template-columns: minmax(90px,.65fr) 2fr 1fr auto; gap: 14px; align-items: start; }
.price-detail-body .sp-chips { margin: 6px 0; }
.price-pages { margin-top: 14px; }
.price-pages span { margin-right: auto; }
@media(max-width:720px) {
  .price-list, .price-list tbody, .price-detail, .price-detail td { display: block; }
  .price-list thead { display: none; }
  .price-album { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; border-top: 1px solid var(--line); padding: 12px 0; }
  .price-list tr.price-album td { padding: 0; border: 0; }
  .price-album td:first-child, .price-album td:nth-child(2) { grid-column: 1/-1; }
  .price-album td[data-label]::before { display: block; content: attr(data-label); color: var(--ink-2); font-size: .75rem; }
  .price-detail-body { grid-template-columns: minmax(0,1fr); }
  .price-filters .only { flex: 1 1 180px; }
}
.quote-album-fields { grid-template-columns: 2fr 1fr 1fr; }
.price-tool-list { max-height: 65vh; overflow-y: auto; }
@media(max-width:720px) {
  .quote-album-fields { grid-template-columns: minmax(0,1fr); }
}
