/* Transparent original silhouette, colored to match each interface theme. */
html body #header>.brand,html body footer>.brand{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:106px;height:52px;padding:0;background:transparent;border-radius:0;line-height:1;position:relative;isolation:isolate;}
html body .brand img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);}
/* Render the transparent image directly, including when opened via file://. */
html body .brand img{opacity:1;visibility:visible;filter:brightness(0) saturate(100%) invert(89%) sepia(17%) saturate(737%) hue-rotate(145deg) brightness(103%) contrast(96%);}
html[data-theme=light] body .brand img{filter:brightness(0) saturate(100%) invert(29%) sepia(28%) saturate(1053%) hue-rotate(149deg) brightness(94%) contrast(92%);}
.drdraft-mark{display:inline-flex;align-items:center;width:220px;max-width:100%;background:transparent;border-radius:0;overflow:visible;}
.drdraft-mark img{display:block;width:100%;height:auto;}
html body .contact-details{font-style:normal;line-height:1.8;overflow-wrap:anywhere;}
html body .contact-details p{font-size:14px;margin:7px 0;color:var(--text);}
html body .contact-email{display:inline-block;font-size:clamp(17px,2vw,26px);color:var(--cyan);border-bottom:0;text-decoration:none;padding:4px 0;}
html body footer{flex-wrap:wrap;}
html body footer .contact-details{flex-basis:100%;order:5;padding-top:18px;border-top:1px solid var(--line);}
html body footer .contact-details p,html body footer .contact-email{font-size:13px;}
@media(max-width:700px){html body #header>.brand{width:82px;height:42px;padding:0;}.drdraft-mark{width:180px;}html body .contact-details p{font-size:13px;}}

/* Context-specific brand sizing keeps logos aligned with adjacent text. */
html body .drdraft-mark{width:200px;flex:0 1 200px;line-height:1;vertical-align:middle;}
html body .drdraft-mark img{width:100%;height:auto;display:block;}
html body .product-kicker,html body .platform-kicker{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
html body .product-kicker .drdraft-mark{width:250px;flex-basis:250px;}
html body .section-top .drdraft-mark--section{width:115px;flex-basis:115px;}
html[data-theme=light] body .drdraft-mark img{filter:brightness(.45) saturate(1.5);}
html body footer>.brand{width:96px;height:45px;}
@media(max-width:700px){
 html body .drdraft-mark,html body .product-kicker .drdraft-mark{width:180px;flex-basis:180px;}
 html body .product-kicker,html body .platform-kicker{gap:12px;}
 html body .section-top .drdraft-mark--section{width:100px;flex-basis:100px;}
}

/* Separate original left emblem from the larger, readable brand name. */
html body #header>.brand,html body footer>.brand{width:auto;height:62px;gap:12px;justify-content:flex-start;letter-spacing:0;}
html body .brand img.brand-icon{width:54px;height:60px;flex:none;object-fit:contain;}
html body .brand .brand-wordmark{display:inline-flex;align-items:flex-start;font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:54px;font-weight:850;line-height:1;letter-spacing:-1.8px;color:#b4edf2;white-space:nowrap;}
html body .brand .brand-wordmark sup{position:static;font-size:29px;line-height:1;margin:0 0 0 3px;letter-spacing:0;}
html[data-theme=light] body .brand .brand-wordmark{color:#22687a;}
@media(max-width:700px){
 html body #header>.brand,html body footer>.brand{height:48px;gap:8px;}
 html body .brand img.brand-icon{width:40px;height:46px;}
 html body .brand .brand-wordmark{font-size:40px;letter-spacing:-1px;}
 html body .brand .brand-wordmark sup{font-size:22px;}
}

/* Pi话多: transparent symbol paired with a readable name. */
html body .pi-talk-mark{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;color:#b4edf2;font-size:26px;font-weight:750;line-height:1.2;letter-spacing:0;white-space:nowrap;}
html body .pi-talk-mark img{display:block;width:58px;height:58px;object-fit:contain;flex:none;}
html body .product-kicker .pi-talk-mark{font-size:32px;gap:14px;}
html body .product-kicker .pi-talk-mark img{width:72px;height:72px;}
html body .pi-talk-mark--small{font-size:16px;gap:8px;}
html body .pi-talk-mark--small img{width:34px;height:34px;}
html[data-theme=light] body .pi-talk-mark{color:#22687a;}
html[data-theme=light] body .pi-talk-mark img{filter:brightness(.55) saturate(1.3);}
@media(max-width:700px){
 html body .pi-talk-mark,html body .product-kicker .pi-talk-mark{font-size:24px;gap:10px;}
 html body .pi-talk-mark img,html body .product-kicker .pi-talk-mark img{width:52px;height:52px;}
 html body .pi-talk-mark--small{font-size:15px;}
 html body .pi-talk-mark--small img{width:30px;height:30px;}
}

@media(max-width:380px){
 html body .brand .brand-wordmark{font-size:34px;}
 html body .brand .brand-wordmark sup{font-size:20px;}
}

/* AeroLab pairs a clear wordmark with its Chinese laboratory name. */
html body .aerolab-mark{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;max-width:100%;color:var(--cyan);line-height:1.2;}
html body .aerolab-name{font-size:32px;font-weight:750;letter-spacing:-1px;white-space:nowrap;}
html body .aerolab-description{font-size:16px;font-weight:600;letter-spacing:1px;white-space:nowrap;}
@media(max-width:700px){
 html body .aerolab-name{font-size:28px;}
 html body .aerolab-description{font-size:14px;}
}

.aerolab-mark:has(.aerolab-original){display:grid;grid-template-columns:72px auto;column-gap:15px;align-items:center}.aerolab-mark>.aerolab-original{grid-row:1/3}.aerolab-original{width:72px;height:72px;object-fit:contain;border-radius:14px;mix-blend-mode:screen}html[data-theme=light] .aerolab-original{filter:invert(1) hue-rotate(180deg);mix-blend-mode:multiply}.al-brand{display:flex;gap:18px;align-items:center;margin-bottom:28px}.al-brand>span{font-size:30px;font-weight:650}.al-brand small{display:block;font-size:13px;font-weight:400;letter-spacing:3px;margin-top:4px}

/* Approved A1 artwork presented as a clipped sprite without redrawing the selected lettering */
.aerolab-wordmark{display:inline-block;width:240px;aspect-ratio:650/235;flex:none;background-image:url("assets/aerolab-a1-approved.png");background-repeat:no-repeat;background-size:236.3076923% 435.7446809%;background-position:11.2866817% 5.0697085%;border-radius:3px;vertical-align:middle;mix-blend-mode:screen}
html[data-theme=light] .aerolab-wordmark{background-size:219.4285714% 435.7446809%;background-position:97.84689% 5.0697085%;mix-blend-mode:multiply}
.aerolab-mark:has(.aerolab-wordmark){display:flex!important;gap:16px;align-items:center}.aerolab-mark>.aerolab-original{grid-row:auto}.al-brand>.aerolab-wordmark{width:300px}.al-heading>.aerolab-wordmark{width:155px}.nav-submenu .aerolab-wordmark,.product-related .aerolab-wordmark{width:156px}.al-heading{flex-wrap:wrap}
@media(max-width:600px){.al-brand>.aerolab-wordmark{width:225px}.al-brand>.aerolab-original{width:54px;height:54px}.aerolab-mark>.aerolab-wordmark{width:210px}.aerolab-mark>.aerolab-original{width:54px;height:54px}}
.aerolab-wordmark,html[data-theme=light] .aerolab-wordmark{mix-blend-mode:normal}
