/* Quick3D Materials Hub
   Visual language: quiet product-page clarity. Light surfaces, one type family,
   hairlines instead of boxes, pill actions, colour only where it means something. */

:root {
	--bg: #ffffff;
	--bg-alt: #f5f5f7;
	--ink: #1d1d1f;
	--ink-2: #424245;
	--muted: #6e6e73;
	--faint: #86868b;
	--hair: #d2d2d7;
	--hair-soft: #e8e8ed;
	--link: #0066cc;
	--focus: #0071e3;
	--brand: #d4242c;
	--good: #1d8a4e;
	--fair: #b26a00;
	--poor: #c9302c;
	--nav-h: 48px;
	--sub-h: 52px;
	--r-s: 8px;
	--r-m: 12px;
	--r-l: 18px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
body.q3d { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; caret-color: var(--focus); }
.q3d *, .q3d *::before, .q3d *::after { box-sizing: border-box; }
.q3d ::selection { background: rgba(0, 113, 227, .18); color: var(--ink); }
.q3d a { color: var(--link); text-decoration: none; }
.q3d a:hover { text-decoration: underline; text-underline-offset: .18em; }
.q3d img { max-width: 100%; height: auto; }
.q3d h1, .q3d h2, .q3d h3 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
.q3d p { margin: 0; text-wrap: pretty; }
.q3d :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.q3d-wrap { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.q3d-wrap--wide { max-width: 1200px; }
.q3d-i { flex: none; }
.q3d-skip { position: absolute; left: -9999px; }
.q3d-skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: var(--r-s); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scrollbar-color: #c7c7cc transparent; }

/* ---------- actions ---------- */
.q3d-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent; font: 400 17px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.q3d .q3d-pill:hover { text-decoration: none; }
.q3d .q3d-pill--dark { background: var(--ink); color: #fff; }
.q3d .q3d-pill--dark:hover { background: #3a3a3c; }
.q3d .q3d-pill--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.q3d .q3d-pill--line:hover { background: var(--ink); color: #fff; }
.q3d .q3d-pill--blue { background: var(--focus); color: #fff; }
.q3d .q3d-pill--blue:hover { background: #0077ed; }
.q3d-pill--sm { min-height: 30px; padding: 0 14px; font-size: 14px; }
.q3d-pill[disabled] { opacity: .35; cursor: default; }
.q3d-more-link { display: inline-flex; align-items: center; font-size: 17px; }
.q3d-more-link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 5px; }
.q3d-textbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }
.q3d-textbtn:hover { text-decoration: underline; text-underline-offset: .18em; }

/* checkbox + toggles */
.q3d input[type="checkbox"] { appearance: none; width: 18px; height: 18px; margin: 0; flex: none; border: 1.5px solid #aeaeb2; border-radius: 5px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.q3d input[type="checkbox"]::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .2s var(--ease); }
.q3d input[type="checkbox"]:checked { background: var(--focus); border-color: var(--focus); }
.q3d input[type="checkbox"]:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.q3d-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; color: var(--ink); cursor: pointer; }
.q3d-check span { flex: 1; min-width: 0; }
.q3d-check small { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.q3d-check.is-zero { color: var(--faint); }
.q3d-fav { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: none; border: 0; padding: 0; color: var(--faint); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.q3d-fav:hover { background: var(--bg-alt); color: var(--ink); }
.q3d-fav[aria-pressed="true"] { color: var(--brand); }
.q3d-fav[aria-pressed="true"] svg { fill: currentColor; }

/* fields */
.q3d select, .q3d input[type="number"], .q3d input[type="search"], .q3d input[type="text"], .q3d input[type="email"], .q3d input[type="tel"], .q3d textarea {
	font: 17px var(--font); letter-spacing: -.01em; color: var(--ink); background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 0 14px; min-height: 48px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.q3d textarea { padding: 12px 14px; line-height: 1.4; resize: vertical; }
.q3d input:focus, .q3d select:focus, .q3d textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.q3d ::placeholder { color: var(--faint); opacity: 1; }
.q3d select { appearance: none; padding-right: 36px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* ---------- global nav ---------- */
.q3d-gnav { position: relative; z-index: 60; height: var(--nav-h); background: rgba(250, 250, 252, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.q3d-gnav .q3d-wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.q3d .q3d-logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.q3d .q3d-logo:hover { text-decoration: none; }
.q3d-logo img { width: 22px; height: auto; display: block; }
.q3d-logo span { font-weight: 400; color: var(--muted); }
.q3d-gnav__links { display: flex; gap: 28px; margin-left: auto; }
.q3d .q3d-gnav__links a { color: var(--ink); opacity: .8; font-size: 13px; letter-spacing: -.005em; transition: opacity .2s ease; }
.q3d .q3d-gnav__links a:hover { opacity: 1; text-decoration: none; }
.q3d-gnav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
/* language switch: EN · BM · 中文 (current one marked) */
.q3d-langs { display: flex; align-items: center; gap: 6px; flex: none; font-size: 12px; letter-spacing: 0; color: var(--faint); }
.q3d .q3d-langs a { color: var(--muted); padding: 4px 2px; line-height: 1; white-space: nowrap; transition: color .2s ease; }
.q3d .q3d-langs a:hover { color: var(--ink); text-decoration: none; }
.q3d .q3d-langs a[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- local nav (sticky, frosted) ---------- */
.q3d-subnav { position: sticky; top: 0; z-index: 50; height: var(--sub-h); background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.admin-bar .q3d-subnav { top: 32px; }
.q3d-subnav .q3d-wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.q3d-subnav__title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.q3d-subnav__links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.q3d .q3d-subnav__links a:not(.q3d-pill) { font-size: 12px; color: var(--ink); opacity: .8; }
.q3d .q3d-subnav__links a:not(.q3d-pill):hover { opacity: 1; text-decoration: none; }
.q3d .q3d-subnav__links a.is-active { opacity: 1; color: var(--muted); }

/* ---------- home ---------- */
.q3d-hero { text-align: center; padding: 96px 0 80px; }
.q3d .q3d-hero h1 { font-size: clamp(48px, 7.4vw, 80px); line-height: 1.05; letter-spacing: -.035em; animation: q3dRise 1.1s var(--ease) both; }
.q3d .q3d-hero__sub { max-width: 640px; margin: 18px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); letter-spacing: -.015em; text-wrap: balance; animation: q3dRise 1.1s .08s var(--ease) both; }
.q3d-hsearch { max-width: 720px; margin: 40px auto 0; animation: q3dRise 1.1s .16s var(--ease) both; }
.q3d-hsearch__bar { position: relative; display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 8px 0 22px; background: #fff; border: 1px solid var(--hair); border-radius: 980px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); transition: border-color .2s ease, box-shadow .2s ease; }
.q3d-hsearch__bar:focus-within { border-color: var(--focus); box-shadow: 0 0 0 4px rgba(0, 113, 227, .14), 0 10px 30px rgba(0, 0, 0, .06); }
.q3d-hsearch__icon { flex: none; color: var(--faint); }
.q3d .q3d-hsearch__bar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 19px; padding: 0 10px; box-shadow: none; }
.q3d .q3d-hsearch__bar input:focus { box-shadow: none; }
.q3d .q3d-hsearch__bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.q3d-hsearch__div { flex: none; width: 1px; height: 28px; background: var(--hair); }
.q3d .q3d-hsearch__bar select { flex: none; width: auto; min-height: 44px; border: 0; background-color: transparent; font-size: 17px; padding: 0 34px 0 14px; color: var(--ink); }
.q3d .q3d-hsearch__bar select:focus { box-shadow: none; color: var(--focus); }
.q3d-hsearch__go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .2s var(--ease); }
.q3d-hsearch__go:hover { background: #3a3a3c; }
.q3d-hsearch__go:active { transform: scale(.94); }

.q3d-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; margin: 0; padding: 8px; list-style: none; text-align: left; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: var(--r-l); box-shadow: 0 20px 50px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .05); animation: q3dPop .3s var(--ease) both; }
.q3d-suggest[hidden] { display: none; }
.q3d .q3d-suggest a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 14px; border-radius: var(--r-m); color: var(--ink); }
.q3d .q3d-suggest a:hover, .q3d .q3d-suggest [aria-selected="true"] a { background: var(--bg-alt); text-decoration: none; }
.q3d-suggest strong { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.q3d-suggest strong mark { background: none; color: var(--focus); }
.q3d-suggest span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.q3d-suggest__all { border-top: 1px solid var(--hair-soft); margin-top: 6px; padding-top: 6px; }
.q3d .q3d-suggest__all a { color: var(--link); font-size: 15px; justify-content: flex-start; }
.q3d-suggest__empty { padding: 12px 14px; font-size: 15px; color: var(--muted); }
.q3d-suggest__hint { padding: 8px 14px 6px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--hair-soft); margin-bottom: 4px; }

.q3d-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 0; padding: 0; border: 0; }
.q3d-tog { position: relative; cursor: pointer; }
.q3d .q3d-tog input { position: absolute; opacity: 0; pointer-events: none; }
.q3d-tog span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 980px; border: 1px solid var(--hair); font-size: 14px; color: var(--ink); background: #fff; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.q3d-tog:hover span { border-color: var(--ink); }
.q3d-tog input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.q3d-tog input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.q3d-tog.is-zero span { color: var(--faint); border-color: var(--hair-soft); }
.q3d .q3d-hsearch__status { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 17px; }
.q3d-hero__cta { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; animation: q3dRise 1.1s .16s var(--ease) both; }
@keyframes q3dRise { from { opacity: .001; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.q3d-section { padding: 88px 0; }
.q3d-section--alt { background: var(--bg-alt); }
.q3d-section--tight { padding-top: 0; }
.q3d-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.q3d .q3d-section__head h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.q3d .q3d-section__head p { color: var(--muted); font-size: 19px; margin-top: 10px; max-width: 520px; }

/* ---------- headline numbers (home) ---------- */
.q3d-stats { padding: 8px 0 72px; }
.q3d-stats__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--hair); }
.q3d-stat { display: flex; flex-direction: column; padding: 28px 24px 0 0; }
.q3d-stat + .q3d-stat { padding-left: 24px; border-left: 1px solid var(--hair); }
.q3d-stat strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-top: 10px; }
.q3d-stat__n { font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--ink) 30%, #6e6e73); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.q3d-stat__desc { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); max-width: 22ch; }
.q3d-stats__list.is-ready .q3d-stat { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.q3d-stats__list.is-ready.is-in .q3d-stat { opacity: 1; transform: none; }
.q3d-stats__list.is-in .q3d-stat:nth-child(2) { transition-delay: .1s; }
.q3d-stats__list.is-in .q3d-stat:nth-child(3) { transition-delay: .2s; }
.q3d-stats__list.is-in .q3d-stat:nth-child(4) { transition-delay: .3s; }
@media (max-width: 760px) {
	.q3d-stats__list { grid-template-columns: 1fr 1fr; }
	.q3d-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.q3d-stat:nth-child(n+3) { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .q3d-stats__list.is-ready .q3d-stat { opacity: 1; transform: none; transition: none; } }

/* ---------- jobs + applications (home) ---------- */
.q3d-jobs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.q3d .q3d-job { position: relative; display: flex; flex-direction: column; background: var(--bg-alt); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s ease; }
.q3d .q3d-job:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 40px rgba(0, 0, 0, .1); text-decoration: none; }
.q3d-job--wide { grid-column: span 2; flex-direction: row !important; }
.q3d-job__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.q3d-job--wide .q3d-job__img { flex: 1.2; aspect-ratio: auto; padding: 28px 0 28px 28px; }
.q3d-job__img { padding: 22px 22px 0; }
.q3d-job__img img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .10)); transition: transform .8s var(--ease); }
.q3d-job:hover .q3d-job__img img { transform: scale(1.04); }
.q3d-job__txt { display: flex; flex-direction: column; padding: 18px 22px 22px; }
.q3d-job--wide .q3d-job__txt { flex: 1; justify-content: flex-end; padding: 28px; }
.q3d-job strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.q3d-job--wide strong { font-size: 32px; }
.q3d-job__desc { margin: 6px 0 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.q3d-job__n { font-size: 13px; font-weight: 500; color: var(--focus); }
.q3d-job__n::after { content: " \203A"; }
.q3d .q3d-job--type { background: var(--ink); color: #fff; justify-content: flex-end; min-height: 180px; }
.q3d .q3d-job--type:hover { background: #000; }
.q3d-job--type strong { font-size: 28px; }
.q3d-job--type .q3d-job__desc { color: #a1a1a6; }
.q3d-job--type .q3d-job__n { color: #2997ff; }
.q3d .q3d-job--ask { background: var(--focus); }
.q3d .q3d-job--ask:hover { background: #0077ed; }
.q3d-job--ask .q3d-job__desc { color: rgba(255, 255, 255, .82); }
.q3d-job--ask .q3d-job__n { color: #fff; }
.q3d-uses__tabs { display: inline-flex; flex-wrap: wrap; background: #e8e8ed; border-radius: 980px; padding: 4px; margin-bottom: 28px; }
.q3d-uses__tabs button { border: 0; background: transparent; font: 500 15px var(--font); color: var(--ink-2); padding: 10px 20px; border-radius: 980px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.q3d-uses__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06); }
.q3d-uses__tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.q3d-uses__panel { animation: q3dFade .45s var(--ease) both; }
.q3d-uses__panel[hidden] { display: none; }
.q3d-uses__feat { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.q3d-uses__img { display: flex; align-items: center; justify-content: center; border-radius: 22px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; padding: 28px; }
.q3d-uses__img img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .10)); }
.q3d-uses__txt { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border-radius: 22px; padding: 36px; }
.q3d .q3d-uses__txt h3 { font-size: 32px; letter-spacing: -.025em; margin-bottom: 12px; }
.q3d .q3d-uses__txt p { flex: 1; font-size: 17px; line-height: 1.5; color: var(--ink-2); margin-bottom: 24px; }
.q3d .q3d-uses__h { font-size: 14px; color: var(--muted); margin: 32px 0 12px; }
.q3d-uses__recs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.q3d .q3d-rec { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 22px; color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.q3d .q3d-rec:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .09); text-decoration: none; }
.q3d-rec__mk { font-size: 12px; font-weight: 500; color: var(--muted); }
.q3d-rec strong { flex: 1; margin: 4px 0 18px; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.q3d-rec__num { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.q3d-rec__num small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.q3d-rec__lbl { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .q3d-jobs__grid, .q3d-uses__recs { grid-template-columns: 1fr 1fr; } .q3d-uses__feat { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.q3d-job--wide { flex-direction: column !important; }
	.q3d-job--wide .q3d-job__img { flex: none; aspect-ratio: 4 / 3; }
	.q3d-job--wide .q3d-job__txt { flex: none; padding: 18px 22px 22px; }
	.q3d-job--wide strong { font-size: 24px; }
	.q3d-uses__tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.q3d-uses__tabs button { white-space: nowrap; }
	.q3d-uses__txt { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { .q3d-job, .q3d-job__img img, .q3d-rec, .q3d-uses__panel { transition: none; animation: none; } }

/* ---------- manufacturers (home) ---------- */
.q3d .q3d-brands__h { font-size: 21px; font-weight: 600; letter-spacing: -.02em; text-align: center; color: var(--muted); margin-bottom: 28px; }
.q3d-brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 48px; }
.q3d .q3d-brands__list a { display: flex; align-items: center; height: 56px; color: #86868b; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
.q3d .q3d-brands__list a:hover { color: var(--ink); }
.q3d-brands__list span { font-size: 28px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.q3d-brands__list img { display: block; max-height: 44px; max-width: 180px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.q3d-brands__list a:hover img { filter: none; opacity: 1; }
.q3d .q3d-brands__note { text-align: center; font-size: 12px; color: var(--faint); margin-top: 20px; }
@media (max-width: 640px) { .q3d-brands__list { gap: 4px 28px; } .q3d-brands__list span { font-size: 20px; } }

/* ---------- polymer heatmap (home) ---------- */
.q3d-heat { --hue: rgb(255, 106, 0); }
.q3d-heat[hidden], .q3d-polygrid[hidden] { display: none; }
.q3d-heat__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.q3d-heat__seg { display: inline-flex; flex-wrap: wrap; background: #e8e8ed; border-radius: 980px; padding: 3px; }
.q3d-heat__seg button { border: 0; background: transparent; font: 500 14px var(--font); color: var(--ink-2); padding: 8px 18px; border-radius: 980px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.q3d-heat__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06); }
.q3d-heat__legend { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.q3d-heat__legend i { display: block; width: 150px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #fff, var(--hue)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.q3d-heat__map { position: relative; height: 640px; margin: 0 -4px; }
.q3d .q3d-heat__tile { position: absolute; color: inherit; text-decoration: none; outline: none; }
.q3d-heat__in { position: absolute; inset: 4px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 18px; padding: 16px 18px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .5s ease, color .5s ease; }
.q3d-heat__tile:hover .q3d-heat__in { transform: scale(1.02); box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 16px 36px rgba(0, 0, 0, .12); z-index: 2; }
.q3d-heat__tile:focus-visible .q3d-heat__in { box-shadow: 0 0 0 3px rgba(0, 113, 227, .5); }
.q3d-heat__tile.is-sm .q3d-heat__in { padding: 8px; justify-content: center; align-items: center; text-align: center; border-radius: 14px; }
.q3d-heat__tile b { font-weight: 600; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; }
.q3d-heat__v { font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.q3d-heat__v small { font-size: .5em; font-weight: 500; opacity: .72; margin-left: 3px; letter-spacing: 0; }
.q3d-heat__tile em { display: block; font-style: normal; font-size: 12px; font-weight: 500; opacity: .72; margin-top: 6px; }
.q3d-heat__tile.is-sm em { margin-top: 3px; font-size: 11px; }
.q3d-heat__in.is-na { background: repeating-linear-gradient(135deg, #fff 0 7px, #f0f0f3 7px 14px) !important; color: #86868b !important; }
.q3d .q3d-heat__note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.q3d-heat__tip { position: fixed; z-index: 80; pointer-events: none; width: 280px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 12px 40px rgba(0, 0, 0, .16); font-size: 13px; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.q3d-heat__tip.is-on { opacity: 1; transform: none; }
.q3d .q3d-heat__tip h4 { margin: 0 0 2px; font-size: 19px; letter-spacing: -.02em; }
.q3d-heat__tip .k { color: var(--muted); }
.q3d-heat__tip .big { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 2px; }
.q3d-heat__tip ul { margin: 10px 0 0; padding: 10px 0 0 16px; border-top: 1px solid rgba(0, 0, 0, .08); }
@media (max-width: 700px) { .q3d-heat__map { height: 820px; } .q3d-heat__legend i { width: 100px; } .q3d-heat__seg button { padding: 8px 12px; } }
@media (hover: none) { .q3d-heat__tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .q3d-heat__in, .q3d-heat__tip, .q3d-heat__seg button { transition: none; } }
.q3d-polygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.q3d .q3d-poly { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 20px 20px 18px; background: #fff; border-radius: var(--r-l); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.q3d .q3d-poly:hover { text-decoration: none; transform: scale(1.02); box-shadow: 0 12px 32px rgba(0, 0, 0, .08); }
.q3d-poly strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.q3d-poly span { display: block; font-size: 14px; color: var(--muted); }
.q3d-poly--lead { grid-column: span 2; }
.q3d .q3d-poly--lead { background: var(--ink); }
.q3d-poly--lead strong { color: #fff; font-size: 44px; }
.q3d-poly--lead span { color: #a1a1a6; }

/* sentence builder */
.q3d-sentence { max-width: 880px; margin: 0 auto; text-align: center; }
.q3d .q3d-sentence h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.q3d .q3d-sentence__p { margin-top: 28px; font-size: clamp(21px, 2.6vw, 30px); line-height: 2.05; letter-spacing: -.02em; color: var(--muted); }
.q3d .q3d-sentence select, .q3d .q3d-sentence input { display: inline-block; width: auto; min-height: 0; height: 1.5em; padding: 0 .3em; font-size: inherit; font-weight: 600; color: var(--ink); letter-spacing: -.02em; border: 0; border-bottom: 2px solid var(--hair); border-radius: 0; background-color: transparent; vertical-align: baseline; box-shadow: none; transition: border-color .2s ease; }
.q3d .q3d-sentence select { padding-right: 1.05em; background-position: right .12em center; background-size: .42em auto; max-width: 100%; }
.q3d .q3d-sentence input { width: 3.2em; text-align: center; -moz-appearance: textfield; }
.q3d-sentence input::-webkit-outer-spin-button, .q3d-sentence input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q3d .q3d-sentence select:hover, .q3d .q3d-sentence input:hover, .q3d .q3d-sentence select:focus, .q3d .q3d-sentence input:focus { border-bottom-color: var(--focus); box-shadow: none; }
.q3d-sentence__go { margin-top: 36px; display: flex; justify-content: center; gap: 24px; align-items: center; flex-wrap: wrap; }

.q3d-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q3d-duo > div { border-radius: var(--r-l); padding: 48px 44px 52px; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.q3d .q3d-duo h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.03em; }
.q3d .q3d-duo p { font-size: 19px; color: var(--muted); max-width: 380px; }
.q3d-duo__dark { background: var(--ink); }
.q3d .q3d-duo__dark h2 { color: #fff; }
.q3d .q3d-duo__dark p { color: #a1a1a6; }
.q3d .q3d-duo__dark a { color: #2997ff; }
.q3d-duo__light { background: var(--bg-alt); }
.q3d-content { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }

/* ---------- finder ---------- */
.q3d-findhead { padding: 56px 0 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.q3d .q3d-findhead h1 { font-size: clamp(40px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.05; }
.q3d-search { position: relative; width: min(360px, 100%); }
.q3d-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.q3d .q3d-search input { padding-left: 40px; background: var(--bg-alt); border-color: transparent; }
.q3d .q3d-search input:focus { background: #fff; border-color: var(--focus); }

.q3d-finder { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-bottom: 120px; }
.q3d-side { position: sticky; top: calc(var(--sub-h) + 20px); align-self: start; max-height: calc(100vh - var(--sub-h) - 40px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.admin-bar .q3d-side { top: calc(var(--sub-h) + 52px); }
.q3d-side__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.q3d-side__top strong { font-size: 14px; font-weight: 600; }
.q3d-side__top .q3d-textbtn { font-size: 14px; }
.q3d-facet { border-bottom: 1px solid var(--hair-soft); }
.q3d-facet summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.q3d-facet summary::-webkit-details-marker { display: none; }
.q3d-facet summary::after { content: ""; margin-left: auto; width: 11px; height: 11px; background: linear-gradient(var(--muted), var(--muted)) center / 11px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 11px no-repeat; transition: transform .35s var(--ease); }
.q3d-facet[open] summary::after { transform: rotate(45deg); }
.q3d-facet summary em { font-style: normal; font-weight: 400; color: var(--link); font-size: 13px; }
.q3d-facet__list { padding: 0 0 12px; max-height: 300px; overflow: auto; }
.q3d-ranges { display: grid; gap: 14px; padding-bottom: 16px; }
.q3d-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--ink-2); }
.q3d-range > span { grid-column: 1 / -1; }
.q3d-range small { color: var(--faint); }
.q3d .q3d-range input { min-height: 36px; border-radius: var(--r-s); font-size: 15px; padding: 0 10px; }

.q3d-results__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.q3d-results__count { font-size: 14px; color: var(--muted); }
.q3d-results__count b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.q3d-results__tools { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.q3d .q3d-results__tools select { width: auto; min-height: 32px; border: 0; padding: 0 22px 0 4px; background-position: right 4px center; font-size: 14px; color: var(--link); background-color: transparent; }
.q3d .q3d-results__tools select:focus { box-shadow: none; }
.q3d-results__tools label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.q3d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q3d-chips:not(:empty) { padding: 14px 0 2px; }
.q3d-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 980px; background: var(--bg-alt); border: 0; font: 14px var(--font); color: var(--ink); cursor: pointer; transition: background-color .15s ease; }
.q3d-chip:hover { background: var(--hair-soft); }
.q3d-chip::after { content: ""; width: 9px; height: 9px; background: linear-gradient(45deg, transparent 43%, var(--muted) 43%, var(--muted) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--muted) 43%, var(--muted) 57%, transparent 57%); }

.q3d-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; padding: 26px 0; border-bottom: 1px solid var(--hair-soft); }
.q3d-row__name { display: flex; align-items: flex-start; gap: 4px; margin-left: -6px; }
.q3d .q3d-row h2 { font-size: 24px; line-height: 1.17; letter-spacing: -.025em; padding-top: 3px; }
.q3d .q3d-row h2 a { color: var(--ink); }
.q3d .q3d-row__meta { margin: 4px 0 0 26px; font-size: 14px; color: var(--muted); }
.q3d-row__new { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--brand); vertical-align: 4px; letter-spacing: 0; }
.q3d-row__act { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.q3d-row__act label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); }
.q3d-specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 4px 0 0 26px; }
.q3d-specs div { min-width: 0; }
.q3d-specs dt { font-size: 12px; color: var(--muted); }
.q3d-specs dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.q3d-specs dd small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.q3d-specs dd.is-na { color: var(--faint); font-weight: 400; }
.q3d-empty { padding: 72px 0; text-align: center; color: var(--muted); }
.q3d-empty strong { display: block; font-size: 24px; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.q3d-more { display: flex; margin: 32px auto 0; }

.q3d-tray { position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 980px; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 10px 40px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .06); animation: q3dTray .5s var(--ease) both; }
@keyframes q3dTray { from { transform: translate(-50%, 24px); opacity: .001; } to { transform: translate(-50%, 0); opacity: 1; } }
.q3d-tray[hidden] { display: none; }
.q3d-tray span { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q3d-tray .q3d-textbtn { font-size: 14px; }

.q3d-dialog { width: min(1080px, calc(100vw - 24px)); max-height: calc(100vh - 48px); border: 0; border-radius: var(--r-l); padding: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.q3d-dialog[open] { animation: q3dPop .45s var(--ease) both; }
@keyframes q3dPop { from { transform: scale(.97); opacity: .001; } to { transform: none; opacity: 1; } }
.q3d-dialog::backdrop { background: rgba(0, 0, 0, .32); backdrop-filter: blur(6px); }
.q3d-dialog__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair-soft); z-index: 1; }
.q3d .q3d-dialog__head h2 { font-size: 21px; letter-spacing: -.02em; }
.q3d-dialog__body { padding: 0 28px 32px; }
.q3d-versus__intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.q3d .q3d-versus__intro p { font-size: 17px; color: var(--ink-2); }
.q3d-versus { margin-top: 22px; animation: q3dFade .35s var(--ease) both; }
.q3d-versus[hidden] { display: none; }
.q3d-versus__props { display: flex; flex-wrap: wrap; gap: 6px; }
.q3d-versus__pill { border: 0; border-radius: 980px; min-height: 32px; padding: 0 14px; background: var(--bg-alt); font: 500 14px var(--font); color: var(--ink); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.q3d-versus__pill:hover { background: var(--hair-soft); }
.q3d-versus__pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.q3d .q3d-versus__rank { margin: 18px 0 12px; font-size: 15px; color: var(--muted); }
.q3d-versus__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.q3d-versus__row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 8.5rem; align-items: center; gap: 14px; padding: 6px 10px; border-radius: 10px; }
.q3d-versus__row a { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q3d-versus__row a:hover { color: var(--brand); }
.q3d-versus__row em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.q3d-versus__track { height: 10px; border-radius: 5px; background: var(--bg-alt); overflow: hidden; }
.q3d-versus__track b { display: block; height: 100%; border-radius: 5px; background: #c7c7cc; transform-origin: left; animation: q3dGrow .6s var(--ease) both; }
.q3d-versus__val { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q3d-versus__val small { color: var(--muted); font-size: 12px; }
.q3d-versus__row.is-me { background: rgba(212, 36, 44, .06); }
.q3d .q3d-versus__row.is-me a { color: var(--ink); font-weight: 600; }
.q3d-versus__row.is-me .q3d-versus__track b { background: var(--brand); }
.q3d-versus__row.is-me .q3d-versus__val { color: var(--ink); font-weight: 600; }
.q3d-versus__none { padding: 10px 10px 0; font-size: 13px; color: var(--faint); }
@media (max-width: 640px) {
	.q3d-versus__row { grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 4px 10px; }
	.q3d-versus__row a { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .q3d-versus, .q3d-versus__track b { animation: none; } }
.q3d-dialog__tools { display: flex; align-items: center; gap: 16px; }
.q3d-cmpc0 { --c: #0071e3; } .q3d-cmpc1 { --c: #ff9500; } .q3d-cmpc2 { --c: #34c759; } .q3d-cmpc3 { --c: #af52de; }
.q3d-cmpdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 2px; }
.q3d-cmpgraph { padding: 24px 0 8px; border-bottom: 1px solid var(--hair); animation: q3dFade .35s var(--ease) both; }
.q3d-cmpgraph[hidden] { display: none; }
@keyframes q3dFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.q3d-cmpgraph__key { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-2); }
.q3d-cmpgraph__key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 6px; vertical-align: 0; }
.q3d-cmpgraph__prop { margin: 0 0 22px; display: grid; gap: 6px; }
.q3d-cmpgraph__prop figcaption { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.q3d-cmpgraph__prop figcaption span { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.q3d-cmpgraph__bar { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 14px; }
.q3d-cmpgraph__track { height: 12px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.q3d-cmpgraph__track b { display: block; height: 100%; border-radius: 6px; background: var(--c); transform-origin: left; animation: q3dGrow .6s var(--ease) both; }
@keyframes q3dGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.q3d-cmpgraph__val { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q3d-cmpgraph__val.is-na { color: var(--faint); }
@media (max-width: 640px) { .q3d-cmpgraph__bar { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .q3d-cmpgraph, .q3d-cmpgraph__track b { animation: none; } }
.q3d-cmp__row { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.q3d-cmp__label { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.q3d-cmp__row--head { border-bottom-color: var(--hair); padding: 24px 0 18px; }
.q3d .q3d-cmp__row--head a { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.q3d-cmp__row--head span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.q3d-cmp__row small { font-size: 13px; color: var(--muted); margin-left: 2px; }
.q3d-cmp__row > div { font-size: 17px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- datasheet ---------- */
.q3d-dhero { text-align: center; padding: 72px 0 64px; }
.q3d .q3d-dhero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; letter-spacing: -.035em; animation: q3dRise 1.1s var(--ease) both; }
.q3d .q3d-dhero__sub { margin-top: 12px; font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); letter-spacing: -.015em; }
.q3d .q3d-dhero__slogan { margin: 22px auto 0; max-width: 620px; font-size: 21px; line-height: 1.38; color: var(--ink-2); }
.q3d-dhero__cta { display: flex; justify-content: center; align-items: center; gap: 14px 28px; flex-wrap: wrap; margin-top: 32px; }
.q3d-dhero__tools { display: flex; justify-content: center; gap: 24px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.q3d-dhero__tools label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.q3d .q3d-dhero__tools .q3d-fav { width: auto; height: auto; border-radius: 0; gap: 6px; display: inline-flex; font: 14px var(--font); color: var(--ink-2); }
.q3d .q3d-dhero__tools .q3d-fav:hover { background: none; color: var(--ink); }
.q3d .q3d-dhero__tools .q3d-fav[aria-pressed="true"] { color: var(--brand); }

.q3d-spec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--hair); scroll-margin-top: calc(var(--sub-h) + 8px); }
.admin-bar .q3d-spec { scroll-margin-top: calc(var(--sub-h) + 40px); }
.q3d .q3d-spec > h2 { font-size: 28px; line-height: 1.14; letter-spacing: -.025em; }
.q3d-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.q3d .q3d-overview__text p { font-size: 19px; line-height: 1.47; color: var(--ink-2); max-width: 62ch; }
.q3d .q3d-overview__text p + p { margin-top: 14px; }
.q3d .q3d-overview__text h3 { font-size: 14px; margin: 24px 0 8px; }
.q3d-kv { margin: 0; }
.q3d-kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair-soft); font-size: 15px; }
.q3d-kv div:first-child { padding-top: 0; }
.q3d-kv dt { color: var(--muted); }
.q3d-kv dd { margin: 0; text-align: right; color: var(--ink); }
.q3d-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.q3d-tags li { background: var(--bg-alt); border-radius: 980px; padding: 4px 12px; font-size: 14px; }

.q3d-props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; margin: 0; }
.q3d-props div { min-width: 0; }
.q3d-props dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.q3d-props dd { margin: 4px 0 0; }
.q3d-props__v { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.q3d-props__v small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: -.01em; margin-left: 3px; }
.q3d-props__m { display: block; margin-top: 2px; font-size: 13px; color: var(--faint); }
.q3d-rating { display: inline-flex; align-items: center; gap: 8px; }
.q3d-rating::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.q3d-rating--good::before, .q3d-rating--excellent::before { background: var(--good); }
.q3d-rating--fair::before, .q3d-rating--moderate::before { background: var(--fair); }
.q3d-rating--poor::before { background: var(--poor); }

.q3d-dl-list { list-style: none; margin: 0; padding: 0; }
.q3d-dl-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); font-size: 17px; }
.q3d-dl-list li:first-child { padding-top: 0; }
.q3d-spec--last { padding-bottom: 96px; }
.q3d-dhero__tools > a { font-size: 14px; }
.q3d-dl-list span { color: var(--muted); font-size: 14px; }
.q3d-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.q3d .q3d-related a { display: block; padding: 20px; border-radius: var(--r-l); background: var(--bg-alt); color: var(--ink); transition: background-color .2s ease; }
.q3d .q3d-related a:hover { background: var(--hair-soft); text-decoration: none; }
.q3d-related strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.q3d-related span { font-size: 14px; color: var(--muted); }


/* ---------- badges ---------- */
.q3d-badge--biobased { --bc: #2f8a3b; }
.q3d-badge--recycled { --bc: #1f8a5b; }
.q3d-badge--hightemp { --bc: #d4542c; }
.q3d-badge--chemical { --bc: #7a4fc2; }
.q3d-badge--flame    { --bc: #c9302c; }
.q3d-badge--esd      { --bc: #b38600; }
.q3d-badge--flexible { --bc: #13859a; }
.q3d-badge--outdoor  { --bc: #c27a00; }
.q3d-badge--carbon   { --bc: #1d1d1f; }
.q3d-badge--glass    { --bc: #2f6db3; }
.q3d-badge--support  { --bc: #4a90c2; }
.q3d-bi { flex: none; color: var(--bc, var(--muted)); }
.q3d-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px auto 0; padding: 0; max-width: 680px; }
.q3d-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px 0 10px; border-radius: 980px; border: 1px solid var(--hair); background: #fff; font: 14px var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.q3d-badge:hover { border-color: var(--bc, var(--ink)); background: var(--bg-alt); }
.q3d-badge--sm { min-height: 26px; padding: 0 10px 0 7px; font-size: 12px; gap: 4px; }
.q3d-badge--sm .q3d-bi { width: 15px; height: 15px; }
.q3d-rowbadges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 26px; padding: 0; }
.q3d-check__b { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }

/* ---------- explain buttons ---------- */
.q3d-explain { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.q3d-explain__i { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid currentColor; font: italic 600 10px/1 Georgia, serif; color: var(--faint); transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.q3d-explain:hover .q3d-explain__i, .q3d-explain:focus-visible .q3d-explain__i { background: var(--focus); border-color: var(--focus); color: #fff; }
.q3d-explain:hover { color: var(--focus); }

/* ---------- explain dialog ---------- */
.q3d-xdlg { width: min(560px, calc(100vw - 24px)); }
.q3d-xd-wrap { margin: 20px 0 0; padding: 18px 24px; background: var(--bg-alt); border-radius: var(--r-m); }
.q3d-xd { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.q3d-xd .s { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.q3d-xd .s.f { fill: #fff; }
.q3d-xd .a { fill: none; stroke: var(--focus); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.q3d-xd .d { stroke-dasharray: 4 5; }
.q3d-xd text { font: 600 11px var(--font); fill: var(--focus); }
.q3d .q3d-xv { margin: 20px 0 0; font-size: 32px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.q3d-xv small { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: -.01em; }
.q3d-xq { margin: 18px 0 0; display: grid; gap: 14px; }
.q3d-xq dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.q3d-xq dd { margin: 3px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.q3d-xs { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hair-soft); }
.q3d .q3d-xs__h { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.q3d-xs__track { position: relative; height: 8px; border-radius: 4px; background: var(--hair-soft); }
.q3d-xs__ticks span { position: absolute; top: 1px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: #c7c7cc; }
.q3d-xs__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: rgba(0, 113, 227, .25); animation: q3dFill .9s var(--ease) both; }
@keyframes q3dFill { from { width: 0; } }
.q3d-xs__dot { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--focus); box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0, 0, 0, .25); }
.q3d-xs__ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.q3d .q3d-xs__msg { margin-top: 10px; font-size: 15px; color: var(--ink); }
.q3d-xb { display: grid; place-items: center; width: 72px; height: 72px; margin: 24px auto 0; border-radius: 50%; background: var(--bg-alt); }
.q3d-xb .q3d-bi { width: 36px; height: 36px; }
.q3d .q3d-xp { margin-top: 18px; font-size: 17px; line-height: 1.45; text-align: center; }


/* ---------- characteristics, applications, downloads ---------- */
.q3d-chars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.q3d-chars li { display: flex; gap: 14px; align-items: flex-start; }
.q3d-chars__i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); }
.q3d-chars__i .q3d-bi { width: 22px; height: 22px; }
.q3d-chars strong { display: block; font-size: 17px; letter-spacing: -.015em; margin-bottom: 2px; }
.q3d-chars li > span:last-child { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.q3d-certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.q3d-certs li { display: flex; gap: 12px; align-items: flex-start; }
.q3d-certs__i { flex: none; color: #1d8a4e; margin-top: 1px; }
.q3d-certs strong { display: block; font-size: 17px; letter-spacing: -.015em; margin-bottom: 2px; }
.q3d-certs li > span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.q3d-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.q3d .q3d-apps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); font-size: 15px; transition: background-color .2s ease; }
.q3d .q3d-apps a:hover { background: var(--hair-soft); text-decoration: none; }
.q3d .q3d-apps__note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 60ch; }
.q3d-dl-list__name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.q3d-dl-list__name > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.q3d-dl-list__name small { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.q3d-dl-list li { padding: 16px 0; }
.q3d-dl-list .q3d-pill svg { width: 15px; height: 15px; }
.q3d-print-head { display: none; }
.q3d .q3d-overview__text .q3d-source { margin-top: 10px; font-size: 13px; color: var(--muted); }

@media (max-width: 734px) {
	.q3d-chars, .q3d-certs { grid-template-columns: 1fr; }
	.q3d-dl-list li { flex-wrap: wrap; }
}

/* ---------- print / "Download PDF" summary ---------- */
@media print {
	@page { margin: 14mm 14mm 16mm; }
	body.q3d { font-size: 10.5pt; background: #fff; }
	.q3d-gnav, .q3d-subnav, .q3d-dhero__cta, .q3d-dhero__tools, .q3d-footer, .q3d-tray, .q3d-dialog, #wpadminbar, .q3d-spec--last, .q3d-apps__note, .q3d-dl-list .q3d-pill, .q3d-dl-list li:last-child, .q3d-skip { display: none !important; }
	.q3d-print-head { display: flex; justify-content: space-between; font-size: 9pt; color: #6e6e73; border-bottom: 1px solid #d2d2d7; padding-bottom: 6pt; margin-bottom: 10pt; }
	.q3d-dhero { padding: 0 0 12pt; text-align: left; }
	.q3d .q3d-dhero h1 { font-size: 24pt; animation: none; }
	.q3d .q3d-dhero__sub { font-size: 12pt; }
	.q3d-badges { justify-content: flex-start; margin: 8pt 0 0; }
	.q3d-badge { min-height: 0; padding: 2pt 8pt 2pt 6pt; font-size: 8.5pt; }
	.q3d-spec { grid-template-columns: 34mm 1fr; gap: 6mm; padding: 9pt 0; break-inside: avoid; }
	.q3d .q3d-spec > h2 { font-size: 13pt; }
	.q3d-props { gap: 7pt 18pt; }
	.q3d-props__v { font-size: 12pt; }
	.q3d-props__v small, .q3d-props__m { font-size: 8pt; }
	.q3d-explain__i { display: none; }
	.q3d-overview { gap: 14pt; }
	.q3d .q3d-overview__text p { font-size: 10.5pt; }
	.q3d-chars { gap: 8pt 18pt; }
	.q3d-chars__i { width: 26px; height: 26px; }
	.q3d-chars li > span:last-child { font-size: 9pt; }
	.q3d .q3d-apps a { min-height: 0; padding: 2pt 9pt; font-size: 9pt; }
	.q3d a { color: inherit; }
}


/* ---------- result cards (product-tile style) ---------- */
[data-q3d-list] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.q3d-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 26px 22px; border-radius: var(--r-l); background: var(--bg-alt); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s ease; }
.q3d-card:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 16px 40px rgba(0, 0, 0, .09); }
.q3d-card__top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; margin: -4px -8px 4px 0; }
.q3d-card__new { font-size: 12px; font-weight: 600; color: var(--brand); }
.q3d .q3d-card__title { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.q3d .q3d-card__title a { color: var(--ink); }
.q3d .q3d-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.q3d-card { position: relative; }
.q3d-card .q3d-fav, .q3d-card .q3d-badge, .q3d-card .q3d-explain, .q3d-card__cmp, .q3d-card .q3d-more-link { position: relative; z-index: 1; }
.q3d .q3d-card__meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.q3d-cardbadges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.q3d-card .q3d-badge { background: #fff; border-color: transparent; }
.q3d-card:hover .q3d-badge { background: var(--bg-alt); }
.q3d-cardspecs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .08); }
.q3d-cardspecs div { min-width: 0; }
.q3d-cardspecs dt { font-size: 12px; color: var(--muted); }
.q3d-cardspecs dd { margin: 3px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.q3d-cardspecs dd small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.q3d-cardspecs dd.is-na { font-size: 15px; font-weight: 400; color: var(--faint); }
.q3d-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; font-size: 14px; }
.q3d-card__cmp { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); }
.q3d-card .q3d-more-link { font-size: 15px; }
.q3d-empty { grid-column: 1 / -1; }
@media (max-width: 640px) { [data-q3d-list] { gap: 12px; } .q3d-card { padding: 20px; } .q3d-cardspecs { grid-template-columns: 1fr 1fr; } }

/* ---------- standard page + form ---------- */
.q3d-pagehead { text-align: center; padding: 80px 0 8px; }
.q3d .q3d-pagehead h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; line-height: 1.05; }
.q3d-page { max-width: 640px; padding-top: 20px; padding-bottom: 96px; }
.q3d .q3d-page > p:first-child { text-align: center; font-size: 21px; line-height: 1.38; color: var(--muted); margin-bottom: 44px; }
.q3d-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 28px; }
.q3d-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.q3d-form label i { font-style: normal; font-weight: 400; color: var(--faint); }
.q3d-form__full { grid-column: 1 / -1; }
.q3d-form__hp { position: absolute; left: -9999px; }
.q3d-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.q3d .q3d-form__foot p { font-size: 13px; color: var(--muted); }
.q3d-alert { padding: 14px 18px; border-radius: var(--r-m); margin: 0 0 24px; font-size: 15px; }
.q3d-alert--ok { background: #e9f6ee; color: #135c33; }
.q3d-alert--err { background: #fdecec; color: #8f1d19; }

/* ---------- footer ---------- */
.q3d-footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.4; padding: 20px 0 28px; }
.q3d-footer__legal { padding-bottom: 14px; border-bottom: 1px solid var(--hair); display: grid; gap: 8px; }
.q3d .q3d-footer__note strong { color: var(--ink-2); font-weight: 600; }
.q3d .q3d-footer__updated { color: var(--ink-2); }
.q3d-footer .q3d-footer__tm { gap: 2px; font-size: 11px; color: var(--faint); }
.q3d .q3d-updated { margin-top: 16px; }
.q3d-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.q3d .q3d-footer h3 { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.q3d-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q3d .q3d-footer a { color: var(--ink-2); }
.q3d-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.q3d-finder { grid-template-columns: 1fr; gap: 0; }
	.q3d-side { position: static; max-height: none; overflow: visible; padding: 0 0 24px; }
	.q3d-spec { grid-template-columns: 1fr; gap: 20px; }
	.q3d-overview { grid-template-columns: 1fr; }
}
@media (max-width: 734px) {
	.q3d-wrap { padding: 0 16px; }
	.q3d-gnav__toggle { display: grid; place-items: center; }
	.q3d-gnav .q3d-wrap { gap: 10px; }
	.q3d-gnav__toggle { margin-left: 0; margin-right: -10px; }
	.q3d-langs { margin-left: auto; font-size: 13px; }
	.q3d .q3d-langs a { padding: 10px 3px; }
	.q3d-gnav__links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 24px; background: rgba(250, 250, 252, .97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
	.q3d-gnav.is-open .q3d-gnav__links { display: flex; animation: q3dRise .5s var(--ease) both; }
	.q3d .q3d-gnav__links a { font-size: 24px; font-weight: 600; letter-spacing: -.02em; padding: 10px 0; opacity: 1; }
	.q3d .q3d-subnav__links a:not(.q3d-pill) { display: none; }
	.q3d-subnav__title { font-size: 19px; }
	.q3d-hero { padding: 64px 0 56px; }
	.q3d-hero__cta { flex-direction: column; gap: 18px; }
	.q3d-hsearch { margin-top: 28px; }
	.q3d-hsearch__bar { flex-wrap: wrap; height: auto; padding: 6px 6px 6px 18px; border-radius: 24px; }
	.q3d .q3d-hsearch__bar input { height: 48px; font-size: 17px; }
	.q3d-hsearch__div { display: none; }
	.q3d .q3d-hsearch__bar select { order: 3; flex: 1 1 100%; margin: 2px 0 0 -12px; border-top: 1px solid var(--hair-soft); border-radius: 0; text-align: left; }
	.q3d-quick { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.q3d-tog span { white-space: nowrap; }
	.q3d .q3d-hsearch__status { flex-direction: column; gap: 14px; align-items: center; }
	.q3d-section { padding: 64px 0; }
	.q3d-section__head { display: block; }
	.q3d-section__head > .q3d-more-link { margin-top: 12px; }
	.q3d-polygrid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.q3d .q3d-poly { min-height: 120px; padding: 16px; }
	.q3d-poly strong { font-size: 24px; }
	.q3d-poly--lead strong { font-size: 32px; }
	.q3d-sentence { text-align: left; }
	.q3d-sentence__go { justify-content: flex-start; }
	.q3d-duo { grid-template-columns: 1fr; }
	.q3d-duo > div { min-height: 240px; padding: 32px 28px 36px; }
	.q3d .q3d-duo h2 { font-size: 32px; }
	.q3d-findhead { padding-top: 40px; }
	.q3d-row { grid-template-columns: 1fr; }
	.q3d-row__act { margin-left: 26px; }
	.q3d-rowbadges { margin-left: 26px; }
	.q3d-specs { grid-template-columns: 1fr 1fr; }
	.q3d-props { grid-template-columns: 1fr; gap: 22px; }
	.q3d-dhero { padding: 48px 0 44px; }
	.q3d-dhero__cta { flex-direction: column; gap: 14px; }
	.q3d-form__grid { grid-template-columns: 1fr; }
	.q3d-footer__cols { grid-template-columns: 1fr; gap: 18px; }
	.q3d-tray { bottom: 12px; }
	.q3d-cmp__row { gap: 4px 12px; }
	.q3d-cmp__row > div { font-size: 15px; }
	.q3d-dialog__body, .q3d-dialog__head { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.q3d *, .q3d *::before, .q3d *::after { animation: none !important; transition: none !important; }
}

/* Dropdown menu in the site font (replaces the native macOS popup, which falls back to Times). */
.q3d-menu { position: absolute; z-index: 1000; margin: 0; padding: 6px; list-style: none; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; box-shadow: 0 10px 34px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .06); font: 400 15px/1.3 var(--font); letter-spacing: -.01em; color: var(--ink); animation: q3dMenuIn .14s ease-out; }
.q3d-menu [role="option"] { position: relative; padding: 8px 14px 8px 32px; border-radius: 8px; cursor: default; white-space: nowrap; }
.q3d-menu [aria-selected="true"]::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.q3d-menu .is-active { background: var(--focus); color: #fff; }
.q3d-menu [aria-disabled="true"] { color: var(--muted); opacity: .55; }
.q3d-menu [aria-disabled="true"].is-active { background: transparent; color: var(--muted); }
@keyframes q3dMenuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q3d-menu { animation: none; } }

/* "Buy this material" while the store isn't open yet. */
.q3d-soon { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--muted); cursor: default; }
.q3d-soon em { font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); background: var(--bg-alt); border-radius: 980px; padding: 4px 10px; }

/* "Email this list" form. */
.q3d-edlg { max-width: 520px; }
.q3d-eform { display: grid; gap: 14px; }
.q3d-eform label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.q3d-eform label small { font-weight: 400; color: var(--muted); }
.q3d-eform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q3d .q3d-eform textarea { min-height: 64px; padding: 10px 14px; resize: vertical; }
.q3d-eform__list { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.q3d-eform .q3d-eform__ok { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink-2); }
.q3d-eform__ok input { margin-top: 3px; }
.q3d-eform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q3d-eform__msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--brand); }
.q3d-eform .q3d-pill { justify-self: start; }
.q3d-eform__done { margin: 0; font-size: 17px; line-height: 1.5; }
@media (max-width: 560px) { .q3d-eform__row { grid-template-columns: 1fr; } }

/* "Help me choose" guide. */
.q3d-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }
.q3d-subnav__links .q3d-linkbtn { font-size: 12px; color: var(--ink-2); }
.q3d-subnav__links .q3d-linkbtn:hover { color: var(--link); }
.q3d-gdlg { max-width: 560px; }
.q3d-guide { display: grid; gap: 14px; }
.q3d-guide__dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.q3d-guide__dots li { width: 24px; height: 4px; border-radius: 2px; background: var(--hair); transition: background-color .3s var(--ease); }
.q3d-guide__dots .is-done { background: var(--ink); }
.q3d-guide__dots .is-now { background: var(--focus); }
.q3d-guide__step { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.q3d .q3d-guide__q { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.q3d-guide__opts { display: grid; gap: 8px; }
.q3d-guide__opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; font: 400 16px var(--font); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.q3d-guide__opt:hover { border-color: var(--ink-2); }
.q3d-guide__opt small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.q3d-guide__opt.is-on { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus) inset; background: rgba(0, 113, 227, .04); }
.q3d-guide__opt.is-zero:not(.is-on) { color: var(--muted); }
.q3d-guide__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.q3d-guide__n { opacity: .7; font-variant-numeric: tabular-nums; }
.q3d-guide__top { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.q3d-guide__top li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair-soft); font-size: 15px; }
.q3d-guide__top span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.q3d-guide__hint { margin: 0; color: var(--muted); }

/* ---------- translated pages (?lang=ms / ?lang=zh) ---------- */
/* Chinese: system CJK fonts after the Latin ones, and no negative tracking (it crowds Han characters). */
body.q3d-lang-zh { --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif; }
body.q3d-lang-zh, body.q3d-lang-zh :is(h1, h2, h3, h4, p, a, button, span, strong, label, summary, li, dt, dd, input, select) { letter-spacing: 0; }
/* The sentence's number boxes hold the "any" placeholder: "apa-apa" needs a little more room. */
.q3d.q3d-lang-ms .q3d-sentence input { width: 4.4em; }
/* Malay labels run longer: let buttons and pills wrap instead of overflowing on small screens. */
@media (max-width: 734px) {
	body.q3d-lang-ms .q3d-pill { white-space: normal; text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Resources ---------- */
.q3d-eyebrow { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--brand); }
.q3d-res__hero { padding: 88px 0 56px; text-align: center; }
.q3d .q3d-res__hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 16px; }
.q3d-res__lead { max-width: 640px; margin: 0 auto; font-size: 21px; line-height: 1.4; color: var(--muted); }
.q3d-res__jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.q3d .q3d-res__jump a { padding: 8px 16px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); font-size: 14px; text-decoration: none; transition: background-color .2s ease; }
.q3d .q3d-res__jump a:hover { background: #e8e8ed; }
.q3d-res__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.q3d-res__grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.q3d .q3d-res__card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--hair-soft) inset; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.q3d-section--alt .q3d-res__card { box-shadow: none; }
.q3d .q3d-res__card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.q3d-res__card strong { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.q3d-res__card strong::after { content: " ›"; color: var(--link); }
.q3d-res__card span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.q3d-res__grid--compact .q3d-res__card { padding: 16px 18px; }
.q3d-res__grid--compact .q3d-res__card strong { font-size: 16px; }
.q3d-res__cta { text-align: center; }
.q3d .q3d-res__cta h2 { font-size: 40px; letter-spacing: -.03em; margin: 0 0 10px; }
.q3d-res__cta p { color: var(--muted); font-size: 19px; }
.q3d-res__cta .q3d-pill { margin-right: 20px; }

.q3d-art__wrap { padding: 40px 0 96px; max-width: 1100px; }
.q3d-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.q3d .q3d-crumbs a { color: var(--muted); }
.q3d-art__head { max-width: 760px; margin-bottom: 40px; }
.q3d .q3d-art__head h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.07; letter-spacing: -.035em; margin: 0 0 16px; }
.q3d-art__lead { font-size: 21px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; }
.q3d-art__meta { font-size: 13px; color: var(--muted); margin: 0; }
.q3d-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.q3d-art__body { font-size: 17px; line-height: 1.65; color: var(--ink); max-width: 720px; }
.q3d .q3d-art__body h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.025em; margin: 48px 0 14px; }
.q3d .q3d-art__body h3 { font-size: 21px; letter-spacing: -.015em; margin: 32px 0 10px; }
.q3d-art__body p, .q3d-art__body ul, .q3d-art__body ol { margin: 0 0 16px; }
.q3d-art__body li { margin-bottom: 6px; }
.q3d-art__body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--focus); color: var(--ink-2); }
.q3d-art__body table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.q3d-art__body th, .q3d-art__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair-soft); vertical-align: top; }
.q3d-art__body th { font-weight: 600; color: var(--muted); font-size: 13px; }
.q3d-art__body thead th { border-bottom-color: var(--hair); }
.q3d-art__side { position: sticky; top: 72px; font-size: 14px; }
.q3d-art__sidehead { font-weight: 600; margin: 0 0 10px; }
.q3d-art__side ul { list-style: none; margin: 0 0 28px; padding: 0; border-left: 1px solid var(--hair); }
.q3d .q3d-art__side li a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.q3d .q3d-art__side li a:hover { color: var(--ink); }
.q3d .q3d-art__side li a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.q3d-art__ask { padding: 18px; border-radius: 14px; background: var(--bg-alt); }
.q3d-art__ask p { margin: 0 0 10px; font-weight: 600; }
/* shortcode blocks */
.q3d-rnum b { font-weight: 600; font-variant-numeric: tabular-nums; }
.q3d-rnum small { color: var(--muted); font-size: 14px; }
.q3d-rnum.is-na { color: var(--muted); font-style: italic; }
.q3d-rtop { margin: 16px 0 24px; overflow-x: auto; }
.q3d-rtop table { margin: 0; }
.q3d-rtop td:last-child, .q3d-rtop th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q3d-rlink { margin: 24px 0 8px; display: flex; align-items: center; gap: 14px; }
.q3d-rlink small { color: var(--muted); font-size: 14px; }
.q3d-rgloss { margin: 8px 0 28px; padding: 22px 24px; border-radius: 16px; background: var(--bg-alt); }
.q3d-rgloss__h { margin: 0 0 12px !important; font-weight: 600; }
.q3d-rgloss dl { margin: 0; display: grid; gap: 12px; }
.q3d-rgloss dt { font-size: 13px; color: var(--muted); }
.q3d-rgloss dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 1000px) {
	.q3d-res__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.q3d-res__grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.q3d-art__grid { grid-template-columns: 1fr; gap: 40px; }
	.q3d-art__side { position: static; }
}
@media (max-width: 560px) {
	.q3d-res__grid, .q3d-res__grid--compact { grid-template-columns: 1fr; }
	.q3d-res__hero { padding: 56px 0 32px; }
}
