/* Shared engineering media language: quiet surfaces, explicit provenance, readable data. */
.product-card{border-radius:16px;overflow:hidden;box-shadow:0 2px 9px #17304b06;transition:box-shadow .18s,border-color .18s}.product-card:hover{box-shadow:0 9px 26px #17304b12;border-color:#acbccf}.card-visual{aspect-ratio:4/3;height:auto;min-height:190px;background:#f2f5f8;position:relative}.card-visual img{width:100%;height:100%;object-fit:contain;max-width:none;max-height:none;padding:0}.card-type{font-size:10px!important;max-width:calc(100% - 60px);white-space:normal;text-transform:none!important;background:#ffffffed!important;padding:5px 8px!important;border:1px solid #dce4ec;border-radius:6px;letter-spacing:.015em!important}.card-body{padding:18px}.card-org{color:#657789;font-weight:600;font-size:11px;letter-spacing:.025em}.card-body h3{font-size:17px;line-height:1.42;min-height:48px;margin:7px 0}.card-sku{font-variant-numeric:tabular-nums;font-size:11px;overflow-wrap:anywhere}.card-facts{margin:16px 0;display:grid;gap:7px}.card-facts div{display:flex;gap:8px;justify-content:space-between;font-size:11px;border-bottom:1px solid #eaf0f4;padding-bottom:6px}.card-facts dt{color:#637386;max-width:62%}.card-facts dd{margin:0;text-align:right;color:#203246;font-weight:600;font-variant-numeric:tabular-nums}.card-facts dd span{font-weight:400;color:#728194}.card-bottom{align-items:center;gap:8px}.card-project-actions{border-top:1px solid #eef1f5;padding-top:10px}.product-gallery{min-width:0;align-self:start}.gallery-stage{display:flex;position:relative;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid #dfe7ef;border-radius:16px;background:#f3f6f9;padding:0;cursor:zoom-in}.gallery-stage img{width:100%;height:100%;object-fit:contain;max-height:none}.gallery-enlarge{position:absolute;bottom:12px;right:12px;color:#3c5876;background:#fff;border:1px solid #dce5ee;border-radius:7px;padding:6px 10px;font-size:11px}.gallery-summary{display:flex;justify-content:space-between;gap:8px;padding:12px 0;color:#6b7a89;font-size:11px}.media-kind{color:#315d86;font-weight:600}.gallery-thumbs{display:flex;gap:8px;overflow:auto;padding:2px 2px 6px}.gallery-thumbs button{flex:0 0 88px;width:88px;height:68px;background:#f3f6f9;border:1px solid #dbe4ed;border-radius:8px;padding:0;overflow:hidden;cursor:pointer}.gallery-thumbs button[aria-current=true]{outline:2px solid #347db8;outline-offset:1px}.gallery-thumbs img{width:100%;height:100%;object-fit:contain}.product-gallery>p{font-size:12px;line-height:1.65;color:#607183}.media-provenance{font-size:12px;line-height:1.7;color:#637386;padding:8px 0;overflow-wrap:anywhere}.media-provenance summary{cursor:pointer;color:#425f7d}.media-provenance p{margin:8px 0}.image-error{padding:20px;color:#667b90;font-size:12px}.image-error[hidden]{display:none}.gallery-empty{flex-direction:column;cursor:default}.gallery-empty img{height:65%;width:70%}.gallery-empty p{font-size:12px;margin:0 12px;text-align:center}.image-viewer{width:min(1100px,96vw);max-width:96vw;padding:22px;border:1px solid #dbe4ef;border-radius:16px;max-height:96dvh;overflow:auto;background:#fff}.image-viewer::backdrop{background:#12243bea;backdrop-filter:blur(5px)}.image-viewer header,.image-viewer footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.image-viewer h2{font-size:18px;margin:0;line-height:1.5}.image-viewer header p{font-size:12px;color:#697d90;margin:6px 0 12px}.image-viewer header>div{min-width:0}.image-viewer header>button{flex-shrink:0}.image-viewer-canvas{width:100%;height:min(62vh,740px);overflow:auto;background:#f3f6f9;border-radius:10px;touch-action:pan-y}.image-viewer-canvas img{display:block;width:100%;height:100%;object-fit:contain}.image-viewer-canvas.zoomed img{width:200%;height:200%;max-width:none}.image-viewer footer{margin-top:12px}.media-editor .section-title{align-items:start}.media-edit-list{display:grid;gap:14px}.media-edit-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:16px;border:1px solid #dce5ee;border-radius:12px}.media-edit-preview{background:#f3f6f9;border-radius:8px;aspect-ratio:4/3;overflow:hidden;align-self:start}.media-edit-preview img{width:100%;height:100%;object-fit:contain}.media-edit-item h3{font-size:14px;margin:9px 0;overflow-wrap:anywhere}.media-edit-item p{font-size:12px}.media-edit-item .row-actions{flex-wrap:wrap;gap:8px}.media-incomplete{color:#8a520c}.media-upload{margin:16px 0;padding:22px!important}.media-upload input{display:block!important;position:static!important;opacity:1!important;width:100%;height:auto!important;margin-top:12px;font-size:12px}#media-error,#media-form-error,#media-delete-error{color:#a43124;font-size:13px}#media-progress{font-size:13px;color:#315d86}.editor-side>img{object-fit:contain;background:#f4f7f9;border-radius:8px}.external-document .sub{display:block}.detail-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
@media(prefers-reduced-motion:reduce){.product-card{transition:none}}@media(max-width:760px){.detail-grid{grid-template-columns:1fr}.product-gallery{max-width:100%}.media-edit-item{grid-template-columns:1fr}.media-edit-preview{max-width:240px}.image-viewer{padding:14px}.image-viewer h2{font-size:15px}.image-viewer header{align-items:start}.image-viewer header .btn{font-size:11px;padding:7px}.image-viewer footer .btn{font-size:11px;padding:8px}.image-viewer-canvas{height:52dvh}.card-facts div{font-size:12px}.media-editor .section-title{display:block}.gallery-stage{border-radius:12px}}

.product-titlebar{display:flex;justify-content:space-between;align-items:start;gap:22px;margin:20px 0 24px}.product-titlebar h1{font-size:30px;line-height:1.25;margin:10px 0 12px;letter-spacing:-.025em}.product-titlebar .detail-tags{margin:12px 0 0}.product-titlebar>.btn{flex-shrink:0}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}.detail-info>p:first-child{margin-top:0}.product-card .card-visual img{transform:none}
@media(max-width:760px){.product-titlebar{display:block;margin:18px 0}.product-titlebar h1{font-size:25px}.product-titlebar>.btn{margin-top:14px}.product-detail{grid-template-columns:minmax(0,1fr);gap:22px}.gallery-stage{aspect-ratio:4/3}}

.product-gallery>.media-scope{padding:10px 13px;border-left:3px solid #cbdcec;background:#edf3f8;border-radius:0 7px 7px 0;color:#425970;font-size:12px}
