/* ChemSight C concept: scoped brand overrides */
.brand img{width:210px!important;height:auto!important;max-height:none!important;object-fit:contain}
.footer-product-logo{background:#fff;border-radius:8px;padding:6px 10px;display:inline-flex}
.footer-product-logo img{width:205px!important;height:auto!important;object-fit:contain}
@media(max-width:600px){.brand img{width:166px!important}.footer-product-logo img{width:170px!important}}

.cms-delete{color:#a32929!important;border-color:#d8a8a8!important}.cms-delete:hover{background:#fff0f0}.cms-row>span:first-child{flex:1;min-width:180px}

.news-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:8px 0}.news-card-meta .small-label{margin:0}.news-card-date{margin-left:auto;white-space:nowrap;font-size:12px;color:#597182;font-weight:400;font-variant-numeric:tabular-nums}

.news-photo-kind{display:block;color:#637c8b;font-size:11px;margin:4px 0 0;font-weight:400}

.module-card-visual{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#edf6fa;border-radius:7px;margin:0 0 14px}.module-detail-visual{margin:0 0 28px}.module-detail-visual img{display:block;width:100%;height:auto!important;max-height:620px;object-fit:contain;background:#edf6fa;border-radius:10px}

/* Product overview and workflow */
.product-lead{padding:28px;border:1px solid #d3e5ed;border-radius:12px;background:linear-gradient(135deg,#eef8fa,#fff)}
.product-lead h2{font-size:clamp(26px,3vw,40px);line-height:1.35;margin:14px 0;color:#082d50}.product-lead p{max-width:760px;line-height:1.85}.product-lead img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:9px;margin-top:24px}
.product-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.product-actions a,.product-actions button{display:inline-block;padding:11px 17px;border:1px solid #b3d4df;border-radius:6px;background:white;color:#086878;font:inherit;text-decoration:none;cursor:pointer}.product-actions a:hover,.product-actions button:hover{background:#e3f3f5}.product-actions :focus-visible,.flow-links a:focus-visible{outline:3px solid #008d94;outline-offset:3px}
.product-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.product-benefit{padding:24px;border:1px solid #d3e5ed;border-radius:10px;background:#f7fbfd}.product-benefit>span{font-size:25px;font-weight:700;color:#008d94}.product-benefit h3{margin:10px 0}.product-benefit p{margin:0;line-height:1.8}
.product-next{padding:24px;background:#edf6f8;border-radius:10px;margin:30px 0}.product-next h2{margin-top:0}
.product-flow{padding:24px;background:#f2f8fa;border:1px solid #d3e5ed;border-radius:12px}.flow-stage{position:relative;padding:24px;border:1px solid #bfdbe4;border-top:4px solid #008b94;border-radius:9px;background:white}.flow-stage h3{margin:8px 0;color:#083b55}.flow-stage p{line-height:1.75;margin:10px 0 18px}.flow-number{font-size:14px;font-weight:bold;color:#00818b}.flow-links{display:flex;flex-wrap:wrap;gap:8px}.flow-links a{padding:9px 12px;background:#edf7f8;border:1px solid #cde4e9;border-radius:5px;color:#075b70;text-decoration:none}.flow-links a:hover{background:#d8eef0}.flow-arrow{text-align:center;font-size:32px;color:#008b94;line-height:1.5}.flow-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.flow-join{text-align:center;color:#0b6675;margin:18px 0 0;font-weight:600}
@media(max-width:700px){.product-benefits,.flow-branches{grid-template-columns:1fr}.product-lead,.product-flow{padding:16px}.flow-stage{padding:18px}.product-lead img{object-fit:contain}.product-actions a,.product-actions button{max-width:100%}}

.diagram-scroll{overflow-x:auto;border:1px solid #d3e5ed;border-radius:10px;background:#fff}.structure-diagram{position:relative;min-width:760px}.structure-diagram>img{display:block;width:100%;height:auto}.diagram-hotspot{position:absolute;display:block;border-radius:7px;transition:background .15s,box-shadow .15s}.diagram-hotspot:hover,.diagram-hotspot:focus-visible{background:rgba(0,143,153,.15);box-shadow:inset 0 0 0 2px #008d94;outline:2px solid #008d94;outline-offset:2px}.module-hover-description{position:fixed;z-index:10000;width:max-content;max-width:min(300px,calc(100vw - 24px));padding:12px 15px;background:#082e48;color:white;border-radius:8px;box-shadow:0 5px 20px #082e4833;font-size:14px;line-height:1.7}.module-hover-description[hidden]{display:none}

/* Short pages retain a footer at the bottom; long pages grow naturally. */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>header,body>footer{flex-shrink:0}
body>main{flex:1 0 auto}

/* Compact footer: logo, company details, and back-to-top share one row. */
.company-footer>.wrap{display:grid;grid-template-columns:210px minmax(0,1fr) auto;column-gap:28px;row-gap:12px;align-items:start}
.company-footer .company-top{display:contents}
.company-footer .footer-brand-lockup{grid-column:1;grid-row:1;align-items:flex-start;padding-top:3px}
.company-footer .footer-product-logo{display:block;width:200px;max-width:100%}
.company-footer .footer-product-logo img{display:block;width:100%;height:auto;object-fit:contain}
.company-footer .company-info{grid-column:2;grid-row:1;min-width:0}
.company-footer .back-top{grid-column:3;grid-row:1;align-self:start;padding-top:5px}
.company-footer .company-bottom{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;margin-top:0;padding-top:9px}
.company-footer .company-contact{display:flex;flex-wrap:wrap;gap:2px 18px}
@media(max-width:900px){.company-footer>.wrap{grid-template-columns:170px minmax(0,1fr);column-gap:20px}.company-footer .footer-product-logo{width:160px}.company-footer .back-top{grid-column:1;grid-row:2}.company-footer .company-bottom{grid-row:3}}
@media(max-width:600px){.company-footer>.wrap{display:block}.company-footer .company-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.company-footer .footer-brand-lockup{padding:0}.company-footer .back-top{padding:0}.company-footer .company-info{margin-bottom:12px}.company-footer .company-bottom{display:flex;flex-direction:column;gap:8px}.company-footer .company-contact{gap:3px 12px}}
