/* Reverse folder reveal: photo recedes as the information cover opens.
   Pure presentation: no data writes, observers, timers or image duplication. */
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card){--reveal-distance:52px;--reveal-offset:var(--reveal-distance);--reveal-opacity:0;--reveal-text-shift:10px;--reveal-pointer:none;--reveal-delay:0ms;--reveal-ease:cubic-bezier(.22,1.22,.36,1)}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card):is(:hover,:focus-within){--reveal-offset:0px;--reveal-opacity:1;--reveal-text-shift:0px;--reveal-pointer:auto;--reveal-delay:75ms}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image){overflow:visible}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image)>img{height:calc(100% + var(--reveal-offset));max-height:none;transition:height 560ms var(--reveal-ease)}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image):not(:has(img))::before{content:"";position:absolute;inset:0 0 calc(-1 * var(--reveal-offset));border-radius:inherit;background:inherit;pointer-events:none;transition:bottom 560ms var(--reveal-ease)}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image) .gem{position:relative;translate:0 calc(var(--reveal-offset) / 2);transition:translate 560ms var(--reveal-ease)}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info){position:relative;z-index:2;overflow:visible;background:linear-gradient(145deg,var(--cabinet-wash,#dcece2),color-mix(in srgb,var(--aura-mid,#a9d4bb) 65%,var(--cabinet-soft,#edf5ef)));box-shadow:inset 0 1px #ffffffa6,0 -2px 10px color-mix(in srgb,var(--cabinet-ink,#233e32) 8%,transparent);border-radius:20px 20px 0 0;transform:translateY(var(--reveal-offset));transition:transform 560ms var(--reveal-ease);isolation:isolate}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info)::before{content:"";position:absolute;z-index:-1;top:-13px;left:0;width:63%;height:25px;background:inherit;border-radius:16px 18px 0 0;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 100%,0 100%);pointer-events:none}
html body :is(#catalogBody:not(.table-mode)>.product-card .product-info>:not(.article):not(.type),#systemPage .product-card[data-candidate] .product-info>:not(strong),#partsList .product-info>strong,#legacyGrid .model-card-info>p,#legacyGrid .model-card-extra,#legacyGrid .legacy-card-footer,#unassignedGrid .model-card-info>small,#unassignedGrid .unassigned-status,#catalogBody:not(.table-mode)>.product-card .status-dot,#systemPage .product-card[data-candidate] .placeholder){opacity:var(--reveal-opacity,1);transform:translateY(var(--reveal-text-shift,0px));pointer-events:var(--reveal-pointer,auto);transition:opacity 240ms ease var(--reveal-delay,0ms),transform 380ms var(--reveal-ease,ease) var(--reveal-delay,0ms)}
html body :is(#legacyGrid .legacy-card-footer,#unassignedGrid .unassigned-status){z-index:3}
html body #unassignedGrid .unassigned-card-remove{z-index:4}
/* Parts use the article and type as their stable cover label. */
html body #systemPage #partsList .product-info>strong{position:absolute;left:10px;right:10px;top:88px;font-size:12px;line-height:1.3;-webkit-line-clamp:2}
html body #systemPage #partsList .product-info>p{margin:0 0 8px;font-size:var(--model-card-title,22px);font-weight:500;line-height:1.2;letter-spacing:-.03em}
@media(prefers-reduced-motion:reduce){
 html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image)>img,html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image)::before,html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-image,.model-card-image) .gem,html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info),html body :is(#catalogBody:not(.table-mode)>.product-card .product-info>:not(.article):not(.type),#systemPage .product-card[data-candidate] .product-info>:not(strong),#partsList .product-info>strong,#legacyGrid .model-card-info>p,#legacyGrid .model-card-extra,#legacyGrid .legacy-card-footer,#unassignedGrid .model-card-info>small,#unassignedGrid .unassigned-status,#catalogBody:not(.table-mode)>.product-card .status-dot,#systemPage .product-card[data-candidate] .placeholder){transition:none}
}

/* The reference arrow follows the folder cover beside its article. */
html body #catalogPage #catalogBody>.product-card .card-actions-trigger{top:calc(100% - var(--model-card-body,160px) - var(--model-card-padding,9px) + var(--reveal-offset,0px) + 14px);right:16px;bottom:auto;width:28px;height:28px;padding:5px;border:0;background:transparent;box-shadow:none;border-radius:8px;color:var(--cabinet-ink,#233e32);z-index:5;transition:top 560ms var(--reveal-ease),background-color 160ms}
html body #catalogPage #catalogBody>.product-card .card-actions-trigger:hover{background:#ffffff7a}
html body #catalogPage #catalogBody>.product-card .product-info>.article{padding-right:27px}
html body .card-actions-trigger svg{display:block;width:18px;height:18px;pointer-events:none}
@media(prefers-reduced-motion:reduce){html body #catalogPage #catalogBody>.product-card .card-actions-trigger{transition:none}}

/* Extend the moving cover past the clipped lower edge at every reveal position. */
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info)::after{content:"";position:absolute;z-index:-1;top:calc(100% - 1px);left:0;right:0;height:90px;background:inherit;pointer-events:none}
.catalog-file-drag{position:fixed;left:0;top:0;width:170px;height:112px;z-index:2147483000;pointer-events:none;color:var(--drag-ink,#233e32);filter:drop-shadow(0 10px 14px #173b292b)}
.catalog-file-drag-front,.catalog-file-drag-sheet{position:absolute;inset:8px 0 0;background:var(--drag-paper,#dcece2);border-radius:0 16px 16px 16px}
.catalog-file-drag-front::before,.catalog-file-drag-sheet::before{content:'';position:absolute;left:0;top:-12px;width:63%;height:20px;background:inherit;border-radius:12px 12px 0 0;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 100%,0 100%)}
.catalog-file-drag-front{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:14px 18px}.catalog-file-drag-front strong{font-size:22px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-file-drag-front small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-file-drag-sheet{transform:translate(calc(var(--sheet)*5px),calc(var(--sheet)*-5px)) rotate(calc(var(--sheet)*4deg));border:1px solid #ffffff88}.catalog-file-drag-count{position:absolute;right:-9px;top:-9px;display:grid;place-items:center;min-width:24px;height:24px;padding:3px;border-radius:50%;background:var(--drag-ink,#233e32);color:white;font-size:12px}
/* One continuous paper gradient across the panel and its lower extension. */
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info){background-size:100% calc(var(--model-card-body,160px) + 90px);background-repeat:no-repeat}
html body :is(#catalogBody:not(.table-mode)>.product-card,#systemPage .product-card[data-candidate],#partsList .product-card,#legacyGrid>.legacy-card,#unassignedGrid>.unassigned-card) :is(.product-info,.model-card-info)::after{background-position:left bottom}

/* Reviewed catalogue covers keep their article and descriptive information.
   Validation details remain intact inside the model's yellow review folder. */
html body #catalogBody>.product-card:has(.status-dot:not(.review)) :is(.status-dot,.warning-count){display:none!important}
