/* Chạm Loa Public — system-detail family stylesheet (one file per family since the 14/11/2026 CSS cleanup).
 * Hand-owned: no longer generated from Demo V2. Former files, in their original cascade order: system-detail.css → hub-hero.css → system-project-l7.css. */

/* ───────────── from system-detail.css ───────────── */
/* GENERATED by apps/web/scripts/demo-source/port-family-css.mjs from qa/parity/source/system-detail/port.json — do not edit by hand.
 * Source: Demo V2 @399d25b, load order: he-thong/css/detail.css → shared/linked-brands.css → shared/global-v14-details.css → shared/chamloa-refresh.css → shared/global-v14-header.css → shared/image-watermark.css → shared/footer-mobile.css.
 * Kept 266 rules. Dropped (selector count): family: document 2; family: no markup match 17; family: body state class 17; shared: document 11; shared: shell or other page 2101; shared: unscoped body 242; shared: element outside page 3; shared: no markup match 265; shared: id outside page 9; shared: other page 6. */
@layer demo {
:where(body[data-family="system"]){--dark:#081820;--ink:#101a20;--line:#d6e2e6;--motion-slow:480ms;--motion-standard:260ms;--muted:#526773;--ocean-accent-dark:#82aaa4;--ocean-accent-light:#43849a;--ocean-accent-text:#5b8798;--ocean-action:#08777f;--ocean-blue:#087f9a;--ocean-cyan:#32c9dd;--ocean-deep:#063349;--ocean-muted:#526773;--ocean-navy:#081820}
/* Production wrapper: the legacy .public-wrap box must not constrain the full-bleed Demo sections. */
body[data-family="system"] .public-wrap{max-width:none;margin:0;padding-left:0;padding-right:0}
:where(body[data-family="system"] main),:where(body[data-family="system"] main) *{box-sizing:border-box}
:where(body[data-family="system"] main) a{text-decoration:none;color:inherit}
:where(body[data-family="system"] main) button,:where(body[data-family="system"] main) input,:where(body[data-family="system"] main) select{font:inherit}
:where(body[data-family="system"] main) button{cursor:pointer}
:where(body[data-family="system"] main) button:disabled{cursor:default;opacity:.48}
:where(body[data-family="system"] main) a:focus-visible,:where(body[data-family="system"] main) button:focus-visible,:where(body[data-family="system"] main) input:focus-visible,:where(body[data-family="system"] main) select:focus-visible{outline:2px solid #16868c;outline-offset:3px}
:where(body[data-family="system"] main) img{display:block;max-width:100%}
:where(body[data-family="system"] main) .wrap{max-width:1480px;margin:0 auto}
:where(body[data-family="system"] main) .eyebrow{font-size:11px;letter-spacing:.18em;font-weight:750;text-transform:uppercase}
:where(body[data-family="system"] main) .label{font-size:11px;letter-spacing:.09em;color:var(--muted)}
:where(body[data-family="system"] main) .serif{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-style:italic;letter-spacing:-.055em}
:where(body[data-family="system"] main) h1,:where(body[data-family="system"] main) h2,:where(body[data-family="system"] main) h3,:where(body[data-family="system"] main) p{margin-top:0}
:where(body[data-family="system"] main) h1{line-height:1.055;letter-spacing:-.075em;font-weight:780}
:where(body[data-family="system"] main) h2{line-height:1.1;letter-spacing:-.067em;margin:0}
:where(body[data-family="system"] main) h3{letter-spacing:-.05em;margin:0}
:where(body[data-family="system"] main) .btn-dark,:where(body[data-family="system"] main) .btn-outline{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:51px;padding:16px 20px;border:1px solid var(--dark);font-size:13px;font-weight:720}
:where(body[data-family="system"] main) .btn-outline{background:transparent;color:var(--ink)}
:where(body[data-family="system"] main) .btn-outline:hover{background:#e5eeea}
:where(body[data-family="system"] main) .ar{font-size:21px;line-height:1;font-weight:400}
:where(body[data-family="system"] main) .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
:where(body[data-family="system"] main) .breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
:where(body[data-family="system"] main) .breadcrumb b{font-weight:500}
:where(body[data-family="system"] main) .breadcrumbs-arrow{color:#92a19b}
body[data-family="system"] .d-hero-visual{position:relative;overflow:hidden}
body[data-family="system"] .d-hero-visual img{width:100%;height:100%;object-fit:cover}
body[data-family="system"] .related-grid{display:flex;align-items:stretch;gap:15px;min-width:0;margin-top:0;padding:2px 2px 14px}
body[data-family="system"] .related-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;scroll-snap-align:start}
body[data-family="system"] .related-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
body[data-family="system"] .related-card .txt{display:flex;flex:1;flex-direction:column;align-items:flex-start}
body[data-family="system"] .rail-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
body[data-family="system"] .rail-controls{display:flex;align-items:center;gap:7px;white-space:nowrap}
body[data-family="system"] .rail-arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid #becfc7;background:transparent;color:#1b5150;font-size:19px;line-height:1}
body[data-family="system"] .rail-arrow:disabled{opacity:.27;cursor:default}
body[data-family="system"] .rail-viewport{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bed1c8 transparent;scroll-snap-type:x mandatory;scroll-padding-inline:1px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
body[data-family="system"] .project-connection[hidden]{display:none!important}
body[data-family="system"] .project-rail{display:flex;align-items:stretch;gap:15px;min-width:0;padding:2px 2px 14px}
body[data-family="system"] .project-rail .project-compact{flex:0 0 100%;min-width:0;max-height:290px;scroll-snap-align:start}
body[data-family="system"] .project-compact{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);min-height:240px;overflow:hidden;border:1px solid var(--line);background:#eef1ec}
body[data-family="system"] .project-media{position:relative;min-height:240px;background:#1b3337}
body[data-family="system"] .project-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[data-family="system"] .project-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:clamp(22px,3vw,38px)}
body[data-family="system"] .project-copy p{max-width:610px;margin:0;color:#607771;font-size:13px;line-height:1.6}
body[data-family="system"] .project-link{margin-top:17px;color:var(--ocean-action);font-size:12px;font-weight:700}
body[data-family="system"] .diagram-image-button picture{display:block;width:100%}
body[data-family="system"] .diagram-dialog{inset:0;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(850px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);margin:auto!important;padding:0!important;overflow:hidden!important;border:0;background:#fafaf7;box-shadow:0 20px 85px #071d2065}
body[data-family="system"] .diagram-dialog::backdrop{background:#081e23d9}
body[data-family="system"] .diagram-viewer{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0}
body[data-family="system"] .diagram-toolbar{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #d7e0d8;background:#fafaf7}
body[data-family="system"] .diagram-toolbar span{color:#496963;font-size:11px;letter-spacing:.1em;font-weight:700}
body[data-family="system"] .diagram-tools{display:flex;gap:8px}
body[data-family="system"] .diagram-tools button{min-width:43px;min-height:43px;padding:8px 13px;border:1px solid #c5d4cb;background:#fff;color:#163d3a;font-size:13px}
body[data-family="system"] .diagram-tools .diagram-close{position:static;width:43px;height:43px;padding:0;font-size:24px;line-height:1}
body[data-family="system"] .diagram-viewer-viewport{display:flex;flex:1 1 auto;align-items:center;justify-content:center;min-width:0;min-height:0;padding:14px;overflow:auto;overscroll-behavior:contain;background:#e9efea;touch-action:pan-x pan-y}
body[data-family="system"] .diagram-viewer-viewport img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;object-fit:contain}
body[data-family="system"] .diagram-viewer.is-zoomed .diagram-viewer-viewport{display:block}
body[data-family="system"] .diagram-viewer.is-zoomed .diagram-viewer-viewport img{width:max(1060px,135%);min-width:1060px;max-width:none;max-height:none;margin:0}
body[data-family="system"] .diagram-viewer #diagramLargeCaption{flex:0 0 auto;max-height:80px;margin:0;padding:11px 16px 13px;overflow:auto;color:#54716b;font-size:11px;line-height:1.5}
:where(body[data-family="system"] main) .mobile-sticky{display:none}
@media(max-width:760px){
body[data-family="system"] .project-compact{display:flex;flex-direction:column;max-height:none}
body[data-family="system"] .project-media{min-height:0;aspect-ratio:1.75}
body[data-family="system"] .diagram-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}
body[data-family="system"] .diagram-viewer-viewport{padding:8px}
body[data-family="system"] .diagram-viewer.is-zoomed .diagram-viewer-viewport img{width:850px;min-width:850px}
body[data-family="system"] .diagram-toolbar{padding:10px}
body[data-family="system"] .diagram-toolbar span{font-size:9px}
body[data-family="system"] .mobile-sticky{position:fixed;right:0;bottom:0;left:0;z-index:75;display:flex;align-items:center;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));transform:translateY(140%);border-top:1px solid #dae3dc;background:#fafaf7f2;backdrop-filter:blur(18px);transition:transform .3s}
body[data-family="system"] .mobile-sticky.visible{transform:translateY(0)}
body[data-family="system"] .mobile-sticky .btn-dark{flex:1;min-height:47px;justify-content:center}
body[data-family="system"] .mobile-sticky .iconbtn{display:grid;place-items:center;width:49px;min-height:47px;border:1px solid #abbdb6;background:transparent}
}
@media(prefers-reduced-motion:reduce){
:where(body[data-family="system"] main),:where(body[data-family="system"] main) *,:where(body[data-family="system"] main) *:before,:where(body[data-family="system"] main) *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}
}
body[data-family="system"]{--detail-ink:#102830;--detail-body:#526c74;--detail-muted:#667d82;--detail-line:#cbdadd;--detail-surface:#f3f8fa;--detail-deep:#071d25}
body[data-family="system"] .detail-wrap{width:100%;max-width:1480px;margin-inline:auto;padding-inline:18px}
body[data-family="system"] .serif{color:var(--ocean-accent-light)}
body[data-family="system"] .breadcrumb{padding:18px 0 16px;color:var(--detail-muted);font-size:12px}
body[data-family="system"] .breadcrumb b{max-width:72vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#264b54}
body[data-family="system"] .d-hero{display:flex;flex-direction:column;gap:0}
body[data-family="system"] .d-hero-text{order:2;padding:30px 0 24px}
body[data-family="system"] .d-hero-visual{order:1;width:100%;height:auto;min-height:0;margin-inline:0;aspect-ratio:4/3;background:#17333b}
body[data-family="system"] .d-hero-text .eyebrow{color:var(--ocean-action);font-size:10px}
body[data-family="system"] .d-hero-text h1{max-width:100%;margin:14px 0;color:var(--detail-ink);font-size:clamp(34px,10.6vw,42px);line-height:1.01;letter-spacing:-.06em;text-wrap:balance}
body[data-family="system"] .d-hero-text>p{max-width:620px;margin:0;color:var(--detail-body);font-size:15px;line-height:1.65}
body[data-family="system"] .key-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:24px 0 0;padding:0;border-block:1px solid var(--detail-line)}
body[data-family="system"] .metric{min-width:0;padding:15px 10px 15px 0}
body[data-family="system"] .metric:nth-child(2){padding-left:12px;border-left:1px solid var(--detail-line)}
body[data-family="system"] .metric small{display:block;margin-bottom:8px;color:#71878c;font-size:10px;line-height:1.2}
body[data-family="system"] .metric b{display:block;color:var(--detail-ink);font-size:14px;line-height:1.4}
body[data-family="system"] .hero-budget{display:block;margin:24px 0 18px}
body[data-family="system"] .budget-label{display:block;margin-bottom:8px;color:#587e86}
body[data-family="system"] .hero-budget strong{display:block;color:var(--detail-ink);font-size:30px}
body[data-family="system"] .hero-budget small{max-width:135px;color:var(--detail-muted);font-size:11px;line-height:1.5}
body[data-family="system"] .d-actions{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(104px,1fr);gap:8px}
body[data-family="system"] .d-actions .btn-dark{width:100%;min-width:0;min-height:54px;padding:12px 13px;background:var(--detail-deep);border-color:var(--detail-deep);font-size:12px;line-height:1.25}
body[data-family="system"] .d-actions .btn-outline{min-width:0;min-height:54px;padding:12px 13px;justify-content:center;border-color:#9fb8be;font-size:12px;line-height:1.25;white-space:nowrap}
body[data-family="system"] .detail-section.section{margin-top:0!important;padding-top:64px}
body[data-family="system"] .detail-section .section-head{display:block;margin-bottom:26px}
body[data-family="system"] .detail-section .section-head h2,body[data-family="system"] .logic-lead h2{max-width:720px;margin-top:12px;color:var(--detail-ink);font-size:clamp(32px,9vw,40px);line-height:1.05;letter-spacing:-.055em}
body[data-family="system"] .detail-section .section-head p{max-width:680px;margin-top:13px;color:var(--detail-body);font-size:15px;line-height:1.62}
body[data-family="system"] .detail-section .eyebrow{color:var(--ocean-action)}
body[data-family="system"] .component-product:hover,body[data-family="system"] .component-product:focus-visible{border-color:var(--ocean-action);background:#edf5f4}
body[data-family="system"] .component-product-brand{grid-column:1;color:var(--ocean-action);font-size:10px;letter-spacing:.12em}
body[data-family="system"] .component-product strong{grid-column:1;font-size:15px;line-height:1.35}
body[data-family="system"] .component-product-media{display:block;aspect-ratio:1;background:#e8f1f2;overflow:hidden}
body[data-family="system"] .component-product-media img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;background:transparent}
body[data-family="system"] .component-product-copy{display:grid;gap:5px;min-width:0}
body[data-family="system"] .component-product-brand,body[data-family="system"] .component-product strong{grid-column:auto;grid-row:auto}
body[data-family="system"] .component-product-summary{color:var(--detail-body);font-size:12px;line-height:1.45}
body[data-family="system"] .diagram-section{margin-top:0}
body[data-family="system"] .diagram-section .section-head>.label{display:none}
body[data-family="system"] .diagram-figure{margin:22px 0 0;border-color:var(--detail-line);background:#edf4f2}
body[data-family="system"] .diagram-image-button{background:#edf4f2}
body[data-family="system"] .diagram-image-button img{width:100%;max-height:none;aspect-ratio:5/4;object-fit:contain}
body[data-family="system"] .diagram-zoom{right:10px;bottom:10px;min-height:44px;padding:11px 13px;background:#fafaf7ef;border-color:#bfd0d3;color:#173e48;font-size:11px}
body[data-family="system"] .diagram-figure figcaption{padding:13px 15px;color:var(--detail-body);font-size:12px;line-height:1.55}
body[data-family="system"] .logic-layout{display:grid;grid-template-columns:1fr;gap:26px;padding-top:0;border-top:0}
body[data-family="system"] .logic-lead .context-note{max-width:620px;margin:17px 0 0;color:var(--detail-body);font-size:15px;line-height:1.65}
body[data-family="system"] .reasons-list{border-top:1px solid var(--detail-line)}
body[data-family="system"] .reasons-list .reason{grid-template-columns:30px minmax(0,1fr);gap:12px;padding:18px 0;background:transparent;border-bottom:1px solid var(--detail-line)}
body[data-family="system"] .reasons-list .reason:first-child{padding-top:18px}
body[data-family="system"] .reasons-list .reason h3{color:var(--detail-ink);font-size:20px}
body[data-family="system"] .reasons-list .reason p{color:var(--detail-body);font-size:14px;line-height:1.58}
body[data-family="system"] #related .section-head{display:block}
body[data-family="system"] #related .rail-head-actions{justify-content:space-between;width:100%;margin-top:18px}
body[data-family="system"] #related .rail-controls{display:none}
body[data-family="system"] .related-rail{margin-top:20px}
body[data-family="system"] .related-card{flex:0 0 min(86%,320px);border-color:var(--detail-line);background:#f9fcfc}
body[data-family="system"] .related-card-link{position:relative;color:inherit;transition:transform var(--motion-standard) cubic-bezier(.2,.8,.2,1),border-color var(--motion-standard),box-shadow var(--motion-standard)}
body[data-family="system"] .related-card-link:hover{transform:translateY(-3px);border-color:#8fb4bb;box-shadow:0 14px 32px #183a4214}
body[data-family="system"] .related-card-link:focus-visible{outline:2px solid var(--ocean-action);outline-offset:-2px}
body[data-family="system"] .related-card-link img{transition:transform var(--motion-slow) cubic-bezier(.2,.8,.2,1)}
body[data-family="system"] .related-card-link:hover img,body[data-family="system"] .related-card-link:focus-visible img{transform:scale(1.025)}
body[data-family="system"] .related-card .txt{position:relative;min-height:145px;padding:18px 52px 22px 18px}
body[data-family="system"] .related-card small{color:var(--ocean-action);font-size:10px;letter-spacing:.12em}
body[data-family="system"] .related-card h3{margin:9px 0 0;color:var(--detail-ink);font-size:22px}
body[data-family="system"] .detail-contact{display:flex;flex-direction:column;align-items:flex-start;gap:25px;margin:72px 0 0;padding:44px 22px;background:var(--detail-deep);box-shadow:0 0 0 100vmax var(--detail-deep);clip-path:inset(0 -100vmax)}
body[data-family="system"] .detail-contact .eyebrow{color:#79cbd0}
body[data-family="system"] .detail-contact h2{max-width:800px;margin:15px 0 0;color:#f2f7f5;font-size:clamp(34px,9vw,42px);line-height:1.05}
body[data-family="system"] .detail-contact .serif{color:var(--ocean-accent-dark)}
body[data-family="system"] .detail-contact p{max-width:720px;color:#b7cccf;font-size:14px;line-height:1.62}
body[data-family="system"] .detail-contact .btn-outline{min-height:52px;background:#e8f2ef;color:#15383d}
body[data-family="system"] main{padding-bottom:78px}
body[data-family="system"] .mobile-sticky{z-index:89}
body[data-family="system"] .mobile-sticky .btn-dark{background:var(--detail-deep);border-color:var(--detail-deep)}
@media(min-width:768px){
body[data-family="system"] .detail-wrap{padding-inline:clamp(28px,5vw,64px)}
body[data-family="system"] .d-hero-text{padding:38px 0}
body[data-family="system"] .d-hero-visual{width:100%;margin-inline:0;aspect-ratio:16/10}
body[data-family="system"] .d-hero-text h1{font-size:clamp(44px,6vw,58px)}
body[data-family="system"] .key-metrics{grid-template-columns:minmax(0,40%) minmax(0,60%)}
body[data-family="system"] .metric{padding:17px 14px 17px 0}
body[data-family="system"] .metric:nth-child(2){padding:17px 14px 17px 18px;border-left:1px solid var(--detail-line)}
body[data-family="system"] .d-actions{display:flex}
body[data-family="system"] .d-actions .btn-dark{width:auto;min-width:220px}
body[data-family="system"] .detail-section.section{padding-top:80px}
body[data-family="system"] .detail-section .section-head h2,body[data-family="system"] .logic-lead h2{font-size:clamp(40px,5vw,50px)}
body[data-family="system"] .diagram-image-button img{aspect-ratio:16/8}
body[data-family="system"] #related .section-head{display:flex}
body[data-family="system"] #related .rail-head-actions{width:auto;margin-top:0}
body[data-family="system"] #related .rail-controls{display:flex}
body[data-family="system"] .related-card{flex:0 0 calc((100% - 15px)/2)}
body[data-family="system"] .detail-contact{margin-top:88px;padding:56px clamp(36px,6vw,76px)}
}
@media(min-width:1024px){
body[data-family="system"] .d-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr);gap:clamp(32px,3.4vw,52px);align-items:stretch}
body[data-family="system"] .d-hero-visual{order:0;height:clamp(540px,47vw,650px);aspect-ratio:auto}
body[data-family="system"] .d-hero-text{order:0;display:flex;flex-direction:column;justify-content:center;padding:30px 0}
body[data-family="system"] .d-hero-text h1{max-width:590px;font-size:clamp(48px,3.7vw,58px)}
body[data-family="system"] .detail-section.section{padding-top:96px}
body[data-family="system"] .logic-layout{grid-template-columns:minmax(0,42%) minmax(0,58%);gap:clamp(50px,7vw,110px);padding-top:24px;border-top:1px solid var(--detail-line)}
body[data-family="system"] .reasons-list{border-top:0}
body[data-family="system"] .reasons-list .reason:first-child{padding-top:0}
body[data-family="system"] .related-card{flex:0 0 calc((100% - 30px)/3)}
body[data-family="system"] .detail-contact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:60px;margin-top:104px;padding-block:68px}
body[data-family="system"] .detail-contact h2{font-size:clamp(44px,4vw,58px)}
body[data-family="system"] main{padding-bottom:0}
}
@media(max-width:360px){
body[data-family="system"] .key-metrics{grid-template-columns:1fr}
body[data-family="system"] .metric:nth-child(2){padding:15px 0;border-top:1px solid var(--detail-line);border-left:0}
}
body[data-family="system"] .diagram-dialog[open]{animation:detailDialogIn 280ms cubic-bezier(.2,.8,.2,1) both}
body[data-family="system"] .diagram-dialog[open]::backdrop{animation:detailBackdropIn 220ms ease both}
body[data-family="system"] .diagram-viewer-viewport img{transition:width 260ms cubic-bezier(.2,.8,.2,1),transform 260ms cubic-bezier(.2,.8,.2,1)}
@keyframes detailContentIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes detailDialogIn{from{opacity:0;transform:scale(.975) translateY(8px)}to{opacity:1;transform:none}}
@keyframes detailBackdropIn{from{background:#081e2300}to{background:#081e23d9}}
body[data-family="system"] .d-actions .btn-outline{display:inline-flex;align-items:center;gap:9px}
body[data-family="system"] .d-actions .btn-outline svg,body[data-family="system"] .mobile-sticky .iconbtn svg{display:block;width:21px;height:21px;flex:none}
body[data-family="system"] .d-actions .btn-outline.saved svg{color:var(--ocean-action)}
body[data-family="system"] .mobile-sticky .iconbtn.saved{color:var(--ocean-action);background:#e8f3f1}
body[data-family="system"] .configuration-section .section-head{max-width:780px}
body[data-family="system"] .configuration-section .component-list{margin-top:28px;border-top:1px solid var(--detail-line)}
body[data-family="system"] .system-role-row{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:26px 0;border-bottom:1px solid var(--detail-line)}
body[data-family="system"] .system-role-copy{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start}
body[data-family="system"] .system-role-index{padding-top:4px;color:var(--ocean-action);font-size:11px;font-weight:750;letter-spacing:.12em}
body[data-family="system"] .system-role-copy h3{color:var(--detail-ink);font-size:clamp(22px,7vw,30px);line-height:1.12}
body[data-family="system"] .system-role-copy p{max-width:560px;margin:10px 0 0;color:var(--detail-body);font-size:14px;line-height:1.62}
body[data-family="system"] .system-role-copy small{display:block;margin-top:12px;color:var(--detail-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
body[data-family="system"] .system-role-products{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
body[data-family="system"] .system-role-products .component-product{display:grid;grid-template-columns:80px minmax(0,1fr) 20px;gap:12px;align-items:center;min-width:0;padding:10px;border:1px solid var(--detail-line);background:#fff;color:var(--detail-ink);text-decoration:none}
body[data-family="system"] .system-role-products .component-product-media{width:80px;aspect-ratio:1}
body[data-family="system"] .system-role-products .component-product strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
body[data-family="system"] .system-role-products .component-product-summary{display:none}
body[data-family="system"] .configuration-section .linked-brands-heading{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px}
body[data-family="system"] .configuration-section .linked-brands-list{justify-content:center}
body[data-family="system"] .configuration-section .linked-brand{width:min(100%,260px)}
@media(min-width:600px){
body[data-family="system"] .system-role-products{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
body[data-family="system"] .system-role-products .component-product{grid-template-columns:96px minmax(0,1fr) 22px;padding:12px}
body[data-family="system"] .system-role-products .component-product-media{width:96px}
body[data-family="system"] .system-role-products .component-product-summary{display:block}
}
@media(min-width:900px){
body[data-family="system"] .system-role-row{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:clamp(38px,6vw,96px);padding:34px 0}
body[data-family="system"] .system-role-copy{grid-template-columns:34px minmax(0,1fr)}
body[data-family="system"] .configuration-section .linked-brands{padding-top:34px}
body[data-family="system"] .configuration-section .linked-brand{width:clamp(210px,24vw,300px);height:112px}
}
:where(body[data-family="system"] main) .linked-brands{margin:34px 0 0;padding:25px 0 0;border-top:1px solid #d0dfe2}
:where(body[data-family="system"] main) .linked-brands-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:18px;color:#087f9a;font-size:12px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
:where(body[data-family="system"] main) .linked-brands-heading small{color:#6b8187;font-size:11px;white-space:nowrap}
:where(body[data-family="system"] main) .linked-brands-list{display:flex;flex-wrap:wrap;gap:12px}
:where(body[data-family="system"] main) .linked-brand{display:flex;align-items:center;justify-content:center;min-width:150px;width:clamp(150px,18vw,235px);height:92px;padding:18px;border:1px solid #d0dfe2;background:#f9fbfb;color:#173139;text-decoration:none;transition:border-color .2s ease,background .2s ease}
:where(body[data-family="system"] main) .linked-brand:hover,:where(body[data-family="system"] main) .linked-brand:focus-visible{border-color:#087f9a;background:#edf5f6}
:where(body[data-family="system"] main) .linked-brand img{display:block;width:100%;height:100%;object-fit:contain}
:where(body[data-family="system"] main) .linked-brand strong{display:none;text-align:center;font-size:17px;line-height:1.2}
:where(body[data-family="system"] main) .linked-brand.is-text strong{display:block}
:where(body[data-family="system"] main) .linked-brand.is-text img{display:none}
@media(max-width:600px){
:where(body[data-family="system"] main) .linked-brands{margin-top:22px}
:where(body[data-family="system"] main) .linked-brands-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
:where(body[data-family="system"] main) .linked-brand{width:100%;min-width:0;height:78px;padding:14px}
:where(body[data-family="system"] main) .linked-brand strong{font-size:14px}
}
:where(body[data-family="system"]) .cl-v14-family-content{position:relative; z-index:1; padding-top:clamp(112px,10vw,154px)}
:where(body[data-family="system"]) .cl-v14-family-content > [id="siteHeader"]{display:none!important}
:where(body[data-family="system"]) .cl-v14-family-content [data-cl-legacy-global]{display:none!important}
@media(max-width:760px){
:where(body[data-family="system"]) .cl-v14-family-content{padding-top:106px}
}
:where(body[data-family="system"]) .cl-v14-family-content main{min-height:200px}
:where(body[data-family="system"] main) .btn-dark{background:var(--ocean-navy); color:#fff;}
:where(body[data-family="system"] main) .btn-dark:hover{background:var(--ocean-deep);}
:where(body[data-family="system"] main) .btn-outline{border-color:#91aab5;}
:where(body[data-family="system"] main) a:focus-visible,:where(body[data-family="system"] main) button:focus-visible,:where(body[data-family="system"] main) input:focus-visible{outline-color:var(--ocean-cyan);}
:where(body[data-family="system"] main) .section-head p{color:var(--ocean-muted)!important;}
:where(body[data-family="system"] main) .eyebrow{color:var(--ocean-blue);}
:where(body[data-family="system"] main) h1 em,:where(body[data-family="system"] main) h2 em,:where(body[data-family="system"] main) h3 em{color:var(--ocean-accent-text)!important;}
body[data-family="system"].cl-v14-detail .cl-v14-family-content{padding-top:166px}
@media(max-width:760px){
body[data-family="system"].cl-v14-detail .cl-v14-family-content{padding-top:106px}
}
}

/* ───────────── from hub-hero.css ───────────── */
/* GENERATED by apps/web/scripts/demo-source/port-hub-hero-css.mjs from public/ds/families/home.css — do not edit by hand.
 * The Home full-bleed hero (Demo V2 index.html @399d25b) rescoped to .cl-hub-media for every hub (OD-1106-01). Kept 84 rules. */
@layer demo{
.cl-hub-media .btn-outline{border:1px solid #c8d0d0;background:transparent;color:var(--ink)}
.cl-hub-media .hero{color:#fff}
.cl-hub-media .hero-inner{grid-template-columns:44% 56%;margin:auto}
.cl-hub-media .hero-copy{flex-direction:column}
.cl-hub-media .hero .eyebrow{color:#50d4d5}
.cl-hub-media .hero h1{font-weight:650;max-width:560px}
.cl-hub-media .hero h1 em{font-family:var(--serif);font-size:.94em;letter-spacing:-.055em;font-weight:400}
.cl-hub-media .hero-ctas{display:flex;flex-wrap:wrap;gap:10px}
.cl-hub-media .hero-art{overflow:hidden}
.cl-hub-media .hero-art:before{content:"";position:absolute;inset:-20%;background:linear-gradient(111deg,transparent 32%,rgba(224,240,227,.09) 43%,transparent 56%);transform:rotate(-14deg)}
.cl-hub-media .hero-art:after{content:"";position:absolute;bottom:0;left:-10%;right:-10%;height:23%;background:linear-gradient(180deg,rgba(1,5,7,.02),rgba(0,0,0,.63)),repeating-linear-gradient(95deg,transparent 0 80px,rgba(255,255,255,.025) 81px 82px);transform:perspective(320px) rotateX(55deg);transform-origin:bottom}
@media (max-width:950px){
.cl-hub-media .hero-inner{grid-template-columns:43% 57%}}
@media (max-width:760px){
.cl-hub-media .hero{min-height:0}
.cl-hub-media .hero-inner{flex-direction:column-reverse;position:relative}
.cl-hub-media .hero-ctas .btn{flex:1}}
@media (max-width:375px){
.cl-hub-media .hero .hero-ctas{flex-direction:column}
.cl-hub-media .hero-art{height:285px}}
.cl-hub-media .hero{min-height:100svh;position:relative;isolation:isolate;overflow:hidden;background:#172428}
.cl-hub-media .hero-inner{display:block;max-width:none;min-height:100svh;position:relative}
.cl-hub-media .hero-art{position:absolute;inset:0;min-height:100%;height:100%;z-index:0;background:radial-gradient(ellipse 48% 56% at 65% 22%,rgba(156,191,184,.34),transparent 78%),linear-gradient(120deg,#34494a 12%,#132124 48%,#111c22 100%)}
.cl-hub-media .hero:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(90deg,rgba(2,9,11,.79) 0%,rgba(2,9,11,.38) 38%,transparent 78%),linear-gradient(0deg,rgba(2,9,11,.94),rgba(2,9,11,.30) 35%,transparent 74%)}
.cl-hub-media .hero-copy{position:relative;z-index:2;min-height:100svh;max-width:var(--max);margin:auto;display:flex;align-items:flex-start;justify-content:flex-end;padding:210px clamp(20px,5vw,74px) max(84px,9vh);pointer-events:none}
.cl-hub-media .hero-copy>*{pointer-events:auto}
.cl-hub-media .hero-copy .eyebrow,.cl-hub-media .hero-copy h1,.cl-hub-media .hero-copy .hero-p,.cl-hub-media .hero-copy .hero-ctas{max-width:740px}
.cl-hub-media .hero h1{font-size:clamp(54px,5.2vw,82px);line-height:1.015;letter-spacing:-.071em;margin:18px 0 18px}
.cl-hub-media .hero-p{color:#e0e8e5;font-size:clamp(15px,1.3vw,18px);line-height:1.6;margin:0 0 29px;max-width:590px!important}
.cl-hub-media .hero-ctas .btn-outline{color:#fff}
.cl-hub-media .hero-scroll-cue{position:absolute;right:clamp(22px,5vw,74px);bottom:35px;z-index:3;color:#e9f4f2;font-size:12px;letter-spacing:.04em;border-bottom:1px solid #cadad7;padding-bottom:8px}
.cl-hub-media .hero-scroll-cue:hover{color:#7cf1ee}
@media (max-width:760px){
.cl-hub-media .hero,.cl-hub-media .hero-inner{min-height:100svh}
.cl-hub-media .hero-art{height:100%;min-height:100%;flex-shrink:initial}
.cl-hub-media .hero:after{background:linear-gradient(0deg,rgba(2,8,10,.95) 0%,rgba(2,8,10,.74) 23%,rgba(2,8,10,.20) 61%,rgba(2,8,10,.20) 100%)}
.cl-hub-media .hero-inner{display:block;min-height:100svh}
.cl-hub-media .hero-copy{min-height:100svh;justify-content:flex-end;align-items:flex-start;padding:clamp(120px,18vh,180px) 22px calc(72px + env(safe-area-inset-bottom));position:relative}
.cl-hub-media .hero .eyebrow{font-size:11px;letter-spacing:.14em}
.cl-hub-media .hero h1{font-size:clamp(37px,9.8vw,54px);line-height:1.06;margin:17px 0 16px;max-width:540px}
.cl-hub-media .hero-p{font-size:15px;line-height:1.55;margin-bottom:23px;max-width:450px!important}
.cl-hub-media .hero-ctas{display:flex;flex-direction:column;align-items:stretch;width:min(100%,350px);gap:9px}
.cl-hub-media .hero-ctas .btn{width:100%;min-height:48px;font-size:13px;padding:12px 14px}
.cl-hub-media .hero-scroll-cue{bottom:22px;right:22px;font-size:11px}}
@media (max-width:375px){
.cl-hub-media .hero-copy{padding:120px 20px 58px}
.cl-hub-media .hero h1{font-size:clamp(35px,9vw,41px)}
.cl-hub-media .hero-p{font-size:14px;line-height:1.47}
.cl-hub-media .hero-ctas .btn{min-height:45px}
.cl-hub-media .hero-scroll-cue{display:none}}
@media (max-height:700px) and (max-width:760px){
.cl-hub-media .hero-copy{padding-top:116px;padding-bottom:35px}
.cl-hub-media .hero h1{font-size:clamp(34px,8.5vw,44px)}
.cl-hub-media .hero-p{font-size:14px}
.cl-hub-media .hero-scroll-cue{display:none}}
.cl-hub-media .hero-copy{min-width:0}
.cl-hub-media .hero-ctas .btn{min-width:0}
@media (max-width:520px){
.cl-hub-media .hero-copy{padding-inline:clamp(17px,4.5vw,23px)}
.cl-hub-media .hero h1{font-size:clamp(34px,9.1vw,46px);overflow-wrap:break-word}
.cl-hub-media .hero-p{font-size:clamp(14px,3.55vw,16px)}
.cl-hub-media .hero-ctas{flex-wrap:wrap}}
@media (max-width:520px) and (max-height:720px){
.cl-hub-media .hero-art{height:clamp(185px,35svh,272px)}
.cl-hub-media .hero-copy{padding-top:24px;padding-bottom:34px}
.cl-hub-media .hero h1{margin-block:12px}
.cl-hub-media .hero-p{margin-bottom:16px}
.cl-hub-media .hero-scroll-cue{display:none}}
@media (min-width:761px) and (max-width:1100px) and (hover:none){
.cl-hub-media .hero h1{font-size:clamp(40px,5.3vw,55px)}
.cl-hub-media .hero-copy{padding:clamp(25px,4vw,50px)}
.cl-hub-media .hero-copy .eyebrow,.cl-hub-media .hero-copy h1,.cl-hub-media .hero-copy .hero-p,.cl-hub-media .hero-copy .hero-ctas{max-width:min(49vw,460px)}
.cl-hub-media .hero-p{max-width:min(49vw,420px)!important}
.cl-hub-media .hero-ctas .btn{white-space:normal;text-align:center}}
@media (min-width:600px) and (max-width:1100px) and (max-height:730px){
.cl-hub-media .hero-inner{min-height:min(590px,95dvh)}
.cl-hub-media .hero-copy{padding-block:32px 38px}
.cl-hub-media .hero h1{font-size:clamp(37px,5.4vw,53px);margin-block:14px}
.cl-hub-media .hero-p{font-size:15px;line-height:1.48;margin-bottom:20px}
.cl-hub-media .hero-scroll-cue{display:none}}
.cl-hub-media .hero-cta-mobile{display:none;}
.cl-hub-media .btn-light{background:var(--ocean-cyan); color:#061b24;}
.cl-hub-media .btn-outline{border-color:#91aab5;}}

/* ───────────── from system-project-l7.css ───────────── */
/* L7 — Hệ thống & Dự án (R05–R08), copied verbatim from the approved artifact 7novgYDU54rzxSBrySRpjp, in its load order
 * review/sp.css → sp2.css → sp3.css → sp4.css (same @layer demo as the sources), loaded after the System/Project family CSS.
 * No change: the selectors already target production classes (`body.hub-sheet-lock` is set by global-v14.js;
 * `body.rv-hdr-on` / `--rv-hh` by the header-state sync in global-v14.js, shared with the L6 pages). OD-1111-20. */

/* ---- review/sp.css ---- */
@layer demo{
/* ===== System + Project review upgrades (layered on real production CSS) ===== */
/* --- Hub media hero: real full-bleed under the overlay header (OD-1106-01 intent) --- */
body:has([data-header-mode="overlay"]) .cl-v14-family-content{padding-top:0!important}
[data-header-mode="overlay"] .header-stack.is-overlay{background:transparent!important}
[data-header-mode="overlay"] .header-stack.is-overlay .site-header{background:linear-gradient(to bottom,rgba(8,14,17,.55),rgba(8,14,17,0))!important}
.cl-hub-media{width:100vw;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}


/* --- Hub media hero: one look for every hub (Home full-bleed), not taller than needed --- */
body .cl-hub-media .hero{display:block!important;grid-template-columns:none!important;min-height:0!important;border:0!important;padding:0!important;margin:0!important;background:#171d1f!important}
body .cl-hub-media .hero-inner{display:block!important;min-height:clamp(540px,74svh,720px)!important}
body .cl-hub-media .hero-copy{min-height:clamp(540px,74svh,720px)!important;padding-top:160px!important;padding-bottom:64px!important}
body .cl-hub-media .hero-art{position:absolute!important;inset:0!important;height:auto!important}
body .cl-hub-media .hero-art::after{height:55%!important;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(6,12,14,.78))!important}
body .cl-hub-media .hero h1{color:#fff!important;font-size:clamp(44px,5vw,76px)!important}
body .cl-hub-media .hero-p{color:#d3dddc!important}
body .cl-hub-media .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;font-size:14px;font-weight:650;text-decoration:none;border-radius:0;line-height:1}
body .cl-hub-media .btn-light{background:#e5f4f2!important;color:#122526!important;border:1px solid #e5f4f2}
body .cl-hub-media .btn-outline{border:1px solid rgba(255,255,255,.55)!important;color:#fff!important;background:transparent!important}
body .cl-hub-media .hero-cta-mobile{display:none}
@media(max-width:760px){
 body .cl-hub-media .hero-inner,body .cl-hub-media .hero-copy{min-height:clamp(480px,78svh,640px)!important}
 body .cl-hub-media .hero-copy{padding:120px 20px 40px!important}
 body .cl-hub-media .hero h1{font-size:clamp(36px,10vw,46px)!important}
 body .cl-hub-media .hero-ctas{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
 body .cl-hub-media .hero-cta-desktop{display:none}body .cl-hub-media .hero-cta-mobile{display:inline}
}

/* --- Sheets (quick view, filters, sort): lock the page and sit above the header --- */
body.hub-sheet-lock,html:has(body.hub-sheet-lock){overflow:hidden!important;overscroll-behavior:none}
body.hub-sheet-lock .cl-v14-family-content,body:has(.quick-view-panel:not([hidden])) .cl-v14-family-content,body:has(.filter-sheet:not([hidden])) .cl-v14-family-content,body:has(.project-sort-sheet:not([hidden])) .cl-v14-family-content{z-index:100!important}
body.hub-sheet-lock .system-type-rail,body.hub-sheet-lock .project-type-rail{visibility:hidden!important}

/* --- Quick view content --- */
body .quick-view-panel .rv-qv-media{margin:-4px 0 18px;aspect-ratio:16/9;overflow:hidden;background:#dfe6e3}
body .quick-view-panel .rv-qv-media img{width:100%;height:100%;object-fit:cover;display:block}
body .quick-view-panel #quickViewRoles{display:grid!important;gap:14px!important;border:0!important}
body .quick-view-panel .rv-qv-role h4{margin:0 0 6px;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#1d6b72;font-weight:700}
body .quick-view-panel .rv-qv-dev{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #dfe6e3;color:#16282a;text-decoration:none}
body .quick-view-panel .rv-qv-dev img{width:52px;height:52px;object-fit:cover;background:#e6eae5}
body .quick-view-panel .rv-qv-dev small{display:block;font-size:10.5px;letter-spacing:.08em;color:#6b7c78}
body .quick-view-panel .rv-qv-dev b{display:block;font-size:14.5px;font-weight:620;line-height:1.3}
body .quick-view-panel .rv-qv-dev em{font-style:normal;font-size:13px;font-weight:650;color:#3a4f4c;font-variant-numeric:tabular-nums}
body .quick-view-panel .rv-qv-dev:hover b{color:#1d6b72;text-decoration:underline;text-underline-offset:3px}

/* --- Hubs: one filter bar (sticky), no floating side rail, grid uses the full width --- */
body .system-type-rail,body .project-type-rail{display:none!important}
body .filter-row,body .system-grid,body .project-filter-row,body .project-grid{margin-left:0!important}
body .discovery-toolbar,body .project-switcher{position:sticky!important;top:0;z-index:20;background:var(--bg,#f8f9f6)}

/* --- System detail --- */
body .system-role-index,body .reason > small{display:none!important}
body .system-role-copy{display:block!important;grid-template-columns:none!important}
body .reason{grid-template-columns:1fr!important}
body .diagram-image-button picture{display:block;width:100%}
body .component-product-media{width:76px!important;height:76px!important;flex:none;overflow:hidden;padding:0!important;background:#e6eae5!important}
body .component-product-media img{width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important}
body .diagram-figure{border:0!important}
body .diagram-image-button{border:0!important;padding:0!important;background:none!important;width:100%;position:relative}
body .diagram-image-button img{width:100%!important;height:auto!important;max-height:none!important;display:block}

/* --- Project detail --- */
body .gallery-main{padding:0!important;background:#dfe6e3!important;overflow:hidden}
body .gallery-main > img{width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important}
body .project-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important}
body .project-facts > div{margin:0!important;padding:14px 16px 14px 0!important;border-left:0!important;border-top:1px solid #dfe5e1!important}
body .eq-card img{width:76px!important;height:76px!important;object-fit:cover!important;padding:0!important;flex:none}

/* ===== Round 2 ===== */
/* Filter bar: follows the view inside its section, steps below the header when it returns */
body .project-catalog,body .discovery-library{overflow:visible!important;transform:none!important}
body[data-family] .cl-v14-family-content{overflow:clip!important}
body .project-catalog.reveal{transform:none!important;opacity:1!important}
body .discovery-toolbar,body .project-switcher{transition:top .24s cubic-bezier(.22,.61,.36,1)}
body.rv-hdr-on .discovery-toolbar,body.rv-hdr-on .project-switcher{top:var(--rv-hh,122px)!important}

/* Standard action row: "Tư vấn …" fills, "Lưu" compact, one row, 52px */
body .rv-actions{display:flex!important;flex-direction:row!important;gap:10px!important;align-items:stretch;flex-wrap:nowrap!important}
body .rv-actions > *{min-height:52px!important;height:52px;margin:0!important}
body .rv-actions .btn-dark{flex:1 1 auto;justify-content:center;width:auto!important}
body .rv-actions [data-save-detail]{flex:0 0 auto;width:auto!important;padding:0 20px!important;white-space:nowrap}
body .hero-budget strong{font-size:clamp(34px,3.2vw,46px)!important;font-weight:760!important;letter-spacing:-.045em!important}

/* Shared device card (system roles, project equipment) */
body .system-role-row{display:grid!important;grid-template-columns:minmax(0,260px) minmax(0,1fr)!important;gap:32px!important;align-items:start}
body .system-role-copy h3{font-size:26px!important;line-height:1.15!important}
body .system-role-products,body .equipment-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body .component-product,body .eq-card{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:12px!important;border:1px solid #dfe5e1!important;background:#fff!important;min-height:0!important;width:auto!important;text-decoration:none;color:#16282a}
body .component-product-media,body .eq-card img{width:72px!important;height:72px!important}
body .component-product-summary,body .component-product-arrow,body .eq-arrow{display:none!important}
body .component-product-brand,body .eq-copy .role{font-size:10.5px!important;letter-spacing:.08em!important}
body .component-product-copy strong,body .eq-copy strong{font-size:15px!important;line-height:1.3!important}
body .rv-qty{font-style:normal;font-size:13px;font-weight:650;color:#3a4f4c;font-variant-numeric:tabular-nums}
body .component-product:hover,body .eq-card:hover{border-color:#8fb0a8!important}
body .section-kicker{display:flex!important;align-items:baseline;gap:16px;flex-wrap:wrap}
@media(max-width:1099px){body .system-role-products,body .equipment-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body .system-role-row{grid-template-columns:1fr!important;gap:14px!important}body .system-role-products,body .equipment-list{grid-template-columns:1fr!important}}

/* Media link card 7 / 5 (system "Ứng dụng") */
body .project-compact{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(0,5fr)!important;min-height:0!important}
body .project-compact .project-media{aspect-ratio:3/2;height:auto!important;overflow:hidden}
body .project-compact .project-media img{width:100%!important;height:100%!important;object-fit:cover!important}
body .project-compact .project-copy{display:flex!important;flex-direction:column;justify-content:center;gap:10px;padding:40px 44px!important;background:#eef2f0!important}
body .project-compact .project-copy h3{font-size:clamp(24px,2.1vw,32px)!important;line-height:1.15!important;margin:0!important}
@media(max-width:760px){body .project-compact{grid-template-columns:1fr!important}body .project-compact .project-copy{padding:22px 20px!important}}

/* Project hero */
body .detail-head h1{font-size:clamp(34px,3.4vw,54px)!important;line-height:1.06!important}
body .rv-consult{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 32px;margin-top:22px;font-weight:650;width:100%;max-width:360px}
body .rv-thumbs{display:flex;gap:8px;margin-top:10px;align-items:center}
body .rv-thumbs button{width:72px;height:54px;padding:0;border:1px solid #dfe5e1;background:#e6eae5;overflow:hidden;cursor:pointer}
body .rv-thumbs button img{width:100%;height:100%;object-fit:cover;display:block}
body .rv-thumbs span{font-size:13px;color:#5e706c;font-weight:600}

/* Approach: three equal columns, thin rule, no boxes, no dark middle card */
body .story-step,body .story-step.story-solution{background:none!important;border:0!important;border-top:1px solid #cdd6d2!important;box-shadow:none!important;padding:20px 0 0!important;min-height:0!important;color:#16282a!important}
body .story-step h3{color:#13232a!important;font-size:22px!important}
body .story-step p{color:#5e706c!important}
body .story-step .eyebrow{color:#1d6b72!important}
body .story-number{font-size:20px!important;color:#1d6b72!important}

/* Gallery: horizontal strip, fades, PC arrows, counter */
body .rv-strip{position:relative}
body .rv-strip .gallery-row{display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 56px),transparent)}
body .rv-strip.at-start .gallery-row{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent)}
body .rv-strip.at-end .gallery-row{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px);mask-image:linear-gradient(to right,transparent,#000 40px)}
body .rv-strip.at-start.at-end .gallery-row{-webkit-mask-image:none;mask-image:none}
body .rv-strip .gallery-row::-webkit-scrollbar{display:none}
body .rv-strip .gallery-row > button{flex:0 0 auto!important;width:560px!important;height:420px!important;padding:0!important;border:0!important;scroll-snap-align:start;overflow:hidden;cursor:zoom-in;grid-column:auto!important;grid-row:auto!important}
body .rv-strip .gallery-row > button img{width:100%!important;height:100%!important;object-fit:cover!important}
body .rv-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid #cdd6d2;background:rgba(255,255,255,.92);font-size:24px;line-height:1;color:#13232a;cursor:pointer;z-index:2}
body .rv-nav.prev{left:10px}body .rv-nav.next{right:10px}
body .rv-strip.at-start .rv-nav.prev,body .rv-strip.at-end .rv-nav.next{display:none}
body .rv-count{position:absolute;right:12px;bottom:12px;padding:4px 10px;background:rgba(10,18,22,.7);color:#fff;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:760px){body .rv-strip .gallery-row > button{width:347px!important;height:260px!important;max-width:86vw}body .rv-nav{display:none!important}}
}

/* ---- review/sp2.css ---- */
/* Round 3 — mobile first: base rules are the phone, min-width queries add PC. */
@layer demo{
/* 1) Gallery: lead image bigger, hover-only zoom */
body .rv-strip .gallery-row > button.rv-lead{width:92vw!important;max-width:none;height:300px!important}
body .rv-strip .gallery-row > button img{transition:transform .5s ease}
@media(hover:hover){body .rv-strip .gallery-row > button:hover img{transform:scale(1.03)}}
@media(prefers-reduced-motion:reduce){body .rv-strip .gallery-row > button img{transition:none;transform:none!important}}
@media(min-width:761px){
 body .rv-strip .gallery-row > button.rv-lead{width:min(820px,64vw)!important;height:540px!important}
 body .rv-strip .gallery-row > button:not(.rv-lead){height:540px!important;width:400px!important}
}

/* 2) Related equipment + linked system: 2-column devices, system card same height */
body .relation-zone{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;align-items:stretch!important}
body .equipment-list{grid-template-columns:1fr!important;gap:10px!important}
body .section-kicker{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;width:100%}
body .section-head > div{flex:1}
body .system-aside{align-self:start;display:flex!important;flex-direction:column;gap:10px;padding:20px!important;margin:0!important}
body .system-aside img{aspect-ratio:21/9;max-height:none!important;height:auto!important;width:100%;object-fit:cover;flex:none}
body .system-aside a,body .system-aside .text-link{margin-top:auto}
@media(min-width:761px){body .equipment-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(min-width:1100px){body .relation-zone{grid-template-columns:minmax(0,8fr) minmax(0,4fr)!important;gap:24px!important}}

/* 3) Approach: one block — project image + vertical timeline */
body .rv-journey{display:grid;grid-template-columns:1fr;background:#eef2f0;overflow:hidden}
body .rv-journey figure{margin:0;aspect-ratio:4/3;overflow:hidden}
body .rv-journey figure img{width:100%;height:100%;object-fit:cover;display:block}
body .rv-journey .story-flow{display:block!important;padding:24px 20px 8px!important;position:relative;margin:0!important}
body .rv-journey .story-connector{display:none!important}
body .rv-journey .story-step,body .rv-journey .story-step.story-solution{border:0!important;padding:0 0 26px 40px!important;position:relative}
body .rv-journey .story-step::before{content:"";position:absolute;left:11px;top:30px;bottom:0;width:2px;background:#c4d3cf}
body .rv-journey .story-step:last-of-type::before{display:none}
body .rv-journey .story-number{position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#1d6b72!important;color:#fff!important;font-size:11px!important;font-weight:700;display:grid;place-items:center}
body .rv-journey .story-label{display:block!important;min-height:24px}
body .rv-journey .story-step .eyebrow,body .rv-journey .story-solution .eyebrow{color:#1d6b72!important;line-height:24px}
body .rv-journey .story-step h3{font-size:19px!important;margin:6px 0 4px!important}
@media(min-width:761px){
 body .rv-journey{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
 body .rv-journey figure{aspect-ratio:auto;min-height:100%}
 body .rv-journey .story-flow{padding:40px 48px 18px!important;align-self:center}
 body .rv-journey .story-step h3{font-size:22px!important}
}

/* 4) System "Ứng dụng": image 60%, facts, arrows beside the heading */
body .project-compact{grid-template-columns:1fr!important}
body .project-compact .project-media{aspect-ratio:4/3}
body .project-compact .project-copy{padding:22px 20px!important;gap:8px!important}
body .rv-pfacts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:4px 0 6px;font-size:13px;color:#4c5f5b}
body .rv-pfacts b{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#7a8b87;font-weight:650}
body .project-rail .project-compact,body .project-compact{max-height:none!important;min-height:0!important;height:auto!important;overflow:visible!important}
body #project .project-head{display:flex!important;justify-content:space-between;align-items:flex-end;gap:16px}
body #project .project-head #projectControls{margin:0!important;display:none!important}
@media(min-width:761px){body #project .project-head #projectControls:not([hidden]){display:flex!important}}
@media(min-width:761px){
 body .project-compact{grid-template-columns:minmax(0,6fr) minmax(0,4fr)!important}
 body .project-compact .project-media{aspect-ratio:auto;height:420px!important}
 body .project-compact .project-copy{padding:36px 40px!important}
}
}
@layer demo{body[data-family] .system-aside .system-linked-image{aspect-ratio:21/9!important;min-height:0!important;height:auto!important;margin:12px 0 4px!important}body[data-family] .system-aside h3{margin:6px 0 4px!important}body[data-family] .system-aside p{margin:0!important}}

/* ---- review/sp3.css ---- */
/* Round 4 — the two hubs. Mobile first; min-width adds PC. */
@layer demo{
/* ---------- 1+4) One featured card for both hubs: image 7, light copy 5 ---------- */
body .featured-spotlight,body .featured-project-card{display:grid!important;grid-template-columns:1fr!important;background:#eef2f0!important;border:1px solid #dbe3df!important;color:#13232a!important;min-height:0!important;overflow:hidden;text-decoration:none}
body .featured-project{padding:0!important;margin:28px auto 8px!important;background:none!important}
body .featured-spotlight-media,body .featured-project-media{position:relative;aspect-ratio:4/3;min-height:0!important;height:auto!important;background:#dfe5e2}
body .featured-spotlight-media img,body .featured-project-media img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;-webkit-mask-image:none!important;mask-image:none!important}
body .featured-spotlight-media::after,body .featured-project-media::after,body .featured-spotlight::before,body .featured-spotlight::after{display:none!important;background:none!important}
body .featured-spotlight-copy,body .featured-project-copy{background:none!important;color:#13232a!important;padding:22px 20px 24px!important;display:flex!important;flex-direction:column;gap:10px;justify-content:center;min-height:0!important}
body .featured-spotlight-copy .eyebrow,body .featured-project-type{color:#1d6b72!important;font-size:11px!important;letter-spacing:.14em;font-weight:700;text-transform:uppercase}
body .featured-spotlight-copy h3,body .featured-project-copy h2{color:#13232a!important;font-size:clamp(24px,2.4vw,34px)!important;line-height:1.12!important;margin:0!important;letter-spacing:-.02em}
body .featured-spotlight-copy p,body .featured-project-copy p{color:#4c5f5b!important;margin:0!important;font-size:15px!important}
body .featured-spotlight-content,body .featured-project-copy{display:flex!important;flex-direction:column;gap:10px;align-items:flex-start!important}
body .featured-spotlight-count{color:#6b7d79!important}
body .featured-spotlight-top{display:flex!important;justify-content:space-between;align-items:center}
body .rv-ffacts{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0}
body .rv-ffacts span{font-size:12.5px;padding:4px 9px;border:1px solid #cfd9d5;background:#fff;color:#2d3f3c}
body .rv-fbudget{display:flex;flex-direction:column;gap:2px;margin-top:2px}
body .rv-fbudget small{font-size:10.5px;letter-spacing:.12em;color:#6b7d79;font-weight:650}
body .rv-fbudget strong{font-size:22px;color:#13232a;font-variant-numeric:tabular-nums}
body .rv-facts-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
body .featured-spotlight-link,body .featured-project-link{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:0 24px!important;background:#0c1d24!important;color:#fff!important;border:0!important;font-weight:650!important;font-size:14px!important;text-decoration:none!important;margin:0!important}
body .featured-project-link b{display:none!important}
body .rv-fquick{min-height:48px;padding:0 20px;border:1px solid #9fb1ac;background:#fff;font-weight:650;font-size:14px;color:#13232a;cursor:pointer}
/* navigation: dots + small arrows; names hidden */
body .featured-spotlight-nav{display:flex!important;align-items:center;gap:10px;border:0!important;padding:8px 0 0!important;margin:0!important}
body .featured-spotlight-tabs{display:flex!important;gap:8px;flex:0 0 auto;overflow:visible!important}
body .featured-spotlight-tab{width:9px!important;height:9px!important;min-width:0!important;padding:0!important;border-radius:50%;background:#b9c7c3!important;border:0!important;font-size:0!important}
body .featured-spotlight-tab[aria-current="true"]{width:26px!important;border-radius:5px;background:#1d6b72!important}
body .featured-spotlight-tab span{display:none!important}
body .featured-spotlight-arrow{width:36px!important;height:36px!important;border:1px solid #c4d0cc!important;background:#fff!important;color:#13232a!important;display:none!important;place-items:center;font-size:16px!important}
body .featured-spotlight-arrow[disabled]{opacity:.35}
body .featured-spotlight-mobile-arrow{display:none!important}
body .featured-spotlight-media{touch-action:pan-y}
@media(min-width:761px){
 body .featured-spotlight,body .featured-project-card{grid-template-columns:minmax(0,7fr) minmax(0,5fr)!important}
 body .featured-spotlight-media,body .featured-project-media{aspect-ratio:auto;min-height:440px!important}
 body .featured-spotlight-copy,body .featured-project-copy{padding:40px 44px!important;gap:14px}
 body .featured-spotlight-arrow{display:grid!important}
 body .featured-spotlight-nav{margin-top:6px!important}
}

/* ---------- 2+5) Cards ---------- */
body .system-card .system-media{aspect-ratio:4/3!important;height:auto!important}
body .system-card .system-media img{width:100%;height:100%;object-fit:cover}
body .system-card .system-body{padding:16px 16px 18px!important;gap:8px!important;display:flex!important;flex-direction:column}
body .system-card .system-body h3{font-size:20px!important;line-height:1.22!important;margin:2px 0 0!important}
body .system-card .system-body > p{font-size:14px!important;line-height:1.5!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .system-card .system-actions a{display:none!important}
body .system-card .system-bottom{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;text-align:left!important;gap:12px;margin-top:auto!important;padding-top:14px!important}
body .system-card .system-bottom > div:first-child{text-align:left!important;align-items:flex-start!important}
body .system-card .system-bottom strong{font-size:18px!important}
body .system-card .system-actions{margin:0!important;display:block!important}
body .system-card .system-actions button{min-height:40px;padding:0 14px!important;border:1px solid #9fb1ac!important;background:#fff!important;font-weight:650;color:#13232a!important;text-decoration:none!important}
body .system-card .system-actions button::after{display:none!important}
body .project-card .cat{font-size:11px!important}
body .rv-pmeta{font-size:12.5px;color:#6b7d79;margin-top:6px}
/* watermark: one place, one size on every card */
body .system-card .cl-image-watermark,body .project-card .cl-image-watermark,body .featured-project-media .cl-image-watermark,body .featured-spotlight-media .cl-image-watermark{left:12px!important;right:auto!important;bottom:10px!important;top:auto!important;width:84px!important}
body .featured-project-media .cl-image-watermark,body .featured-spotlight-media .cl-image-watermark{width:110px!important}
@media(min-width:761px){body .system-card .system-body{padding:20px 22px 22px!important}}

/* ---------- 3) Filter bar released with the grid ---------- */
body .discovery-library,body .project-catalog{padding-bottom:0!important;margin-bottom:56px!important}
body .system-grid,body .project-grid{margin-bottom:0!important}

/* ---------- 6) One count style, one control style ---------- */
body #resultCount,body #resultText{color:#1d6b72!important;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase}
body .mobile-filter-open,body .project-mobile-sort-open{min-height:40px;padding:0 14px!important;border:1px solid #9fb1ac!important;background:#fff!important;font-weight:650!important;font-size:13px!important;color:#13232a!important;border-radius:0!important}

/* ---------- 7) Hub approach: steps joined by a line ---------- */
body .approach-compact .project-steps{display:block!important;background:#eef2f0;padding:24px 20px 4px!important;border:0!important}
body .approach-compact .project-steps article{position:relative;border:0!important;padding:0 0 24px 42px!important;min-height:0!important}
body .approach-compact .project-steps article::before{content:"";position:absolute;left:12px;top:30px;bottom:0;width:2px;background:#c4d3cf}
body .approach-compact .project-steps article:last-child::before{display:none}
body .approach-compact .project-steps span{position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:#1d6b72;color:#fff!important;font-size:11px!important;font-weight:700;display:grid!important;place-items:center;line-height:1!important}
body .approach-compact .project-steps span::after{display:none!important}
body .approach-compact .project-steps h3{font-size:19px!important;margin:2px 0 4px!important}
body .approach-compact .project-steps p{color:#4c5f5b!important}
@media(min-width:761px){
 body .approach-compact .project-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:36px 40px 30px!important;position:relative}
 body .approach-compact .project-steps article{padding:42px 28px 0 0!important}
 body .approach-compact .project-steps article::before{left:30px;right:0;top:12px;bottom:auto;width:auto;height:2px}
 body .approach-compact .project-steps article:last-child::before{display:none}
}

/* ---------- 8) One consult block with a picture, button "Tư vấn" ---------- */
body .rv-cta{display:grid!important;grid-template-columns:1fr!important;background:#0b2b38!important;color:#fff;padding:0!important;margin:0!important;border:0!important;max-width:none!important;width:100%}
body .rv-cta .contact-image{aspect-ratio:16/10;overflow:hidden;margin:0!important;position:relative!important}
body .rv-cta .contact-image img{width:100%!important;height:100%!important;object-fit:cover!important;-webkit-mask-image:none!important;mask-image:none!important;position:static!important}
body .rv-cta .contact-copy{padding:28px 20px 34px!important;display:flex!important;flex-direction:column;gap:12px;align-items:flex-start;justify-content:center}
body .rv-cta .eyebrow{color:#8fd3d6!important}
body .rv-cta h2{color:#fff!important;font-size:clamp(28px,3vw,44px)!important;line-height:1.1!important;margin:0!important}
body .rv-cta h2 .serif{color:#a9cfcf!important}
body .rv-cta p{color:#c8d6d8!important;max-width:52ch;margin:0!important}
body .rv-cta button{min-height:52px;padding:0 40px!important;background:#e6f2ee!important;color:#0c1d24!important;border:0!important;font-weight:700!important;font-size:15px!important;margin-top:6px}
@media(min-width:761px){
 body .rv-cta{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 body .rv-cta .contact-image{aspect-ratio:auto;min-height:420px}
 body .rv-cta .contact-copy{padding:48px 56px!important}
}
body .project-end{max-width:none!important;padding:0!important;width:100%}
}
@layer demo{
body[data-family] #featuredSpotlight .featured-spotlight-tabs .featured-spotlight-tab{width:9px!important;height:9px!important;min-height:0!important;padding:0!important;border-radius:50%!important;background:#b9c7c3!important;border:0!important;box-shadow:none!important}
body[data-family] #featuredSpotlight .featured-spotlight-tabs .featured-spotlight-tab[aria-current="true"]{width:26px!important;border-radius:5px!important;background:#1d6b72!important}
body[data-family] #featuredSpotlight .featured-spotlight-tab::before,body[data-family] #featuredSpotlight .featured-spotlight-tab::after{display:none!important}
body .rv-facts-row{width:100%}body .rv-facts-row > *{flex:1 1 0}
@media(min-width:761px){body .rv-facts-row{width:auto}body .rv-facts-row > *{flex:0 0 auto}}
body[data-family] .system-card .system-bottom{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;grid-template-columns:none!important}
body[data-family] .system-card .system-bottom > div:first-child{display:flex!important;flex-direction:column;align-items:flex-start!important;text-align:left!important}
body[data-family] .approach-compact .project-steps article{display:block!important;grid-template-columns:none!important}
}
@layer demo{body[data-family] .system-card .system-bottom{flex-wrap:nowrap!important}body[data-family] .system-card .system-bottom > div:first-child{width:auto!important}}
@layer demo{body[data-family] .system-card .system-bottom small{white-space:nowrap!important}body[data-family] .system-card .system-actions{margin-left:auto!important}}

/* ---- review/sp4.css ---- */
/* Round 5 — one type scale, one palette, one set of controls for System + Project (hubs and details).
   Mobile first. Tokens: ink #13232a · body #3f524e · muted #5b6e6a · teal #1d6b72 · line #d6dfdb.
   Weights 400 / 600 / 700 only. */
@layer demo{
:root{--rv-ink:#13232a;--rv-body:#3f524e;--rv-muted:#5b6e6a;--rv-teal:#1d6b72;--rv-line:#d6dfdb}

/* ---------- Section rhythm: 64 phone / 96 PC between blocks ---------- */
body[data-family] main .section{padding-top:32px!important;padding-bottom:32px!important}
@media(min-width:761px){body[data-family] main .section{padding-top:48px!important;padding-bottom:48px!important}}
body[data-family] main .discovery-library,body[data-family] main .project-catalog{padding-bottom:0!important;margin-bottom:32px!important}
@media(min-width:761px){body[data-family] main .discovery-library,body[data-family] main .project-catalog{margin-bottom:48px!important}}

/* ---------- Headings ---------- */
body[data-family] main .section h2,body[data-family] main .section-head h2,body[data-family] main .logic-lead h2,body[data-family] main .linked-brands h2{font-size:32px!important;line-height:1.1!important;font-weight:700!important;letter-spacing:-.025em!important;color:var(--rv-ink)!important}
body[data-family] main .section h2 .serif,body[data-family] main .section-head h2 .serif{font-weight:400!important;color:#4f7d86!important}
body[data-family] #systemName,body[data-family] main .detail-head h1{font-size:36px!important;line-height:1.08!important;font-weight:700!important;letter-spacing:-.03em!important;color:var(--rv-ink)!important}
body[data-family] .featured-spotlight-copy h3,body[data-family] .featured-project-copy h2{font-size:24px!important;font-weight:700!important}
body[data-family] .system-card h3,body[data-family] .project-card h3,body[data-family] .related-card h3,body[data-family] .rail-card h3,body[data-family] .project-compact h3,body[data-family] .system-aside h3{font-size:20px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.015em!important;color:var(--rv-ink)!important}
body[data-family] .system-role-copy h3,body[data-family] .reason h3,body[data-family] .story-step h3,body[data-family] .project-steps h3{font-size:20px!important;font-weight:700!important;color:var(--rv-ink)!important}
@media(min-width:761px){
 body[data-family] main .section h2,body[data-family] main .section-head h2,body[data-family] main .logic-lead h2,body[data-family] main .linked-brands h2{font-size:46px!important}
 body[data-family] #systemName,body[data-family] main .detail-head h1{font-size:52px!important}
 body[data-family] .featured-spotlight-copy h3,body[data-family] .featured-project-copy h2{font-size:32px!important}
 body[data-family] .system-role-copy h3,body[data-family] .reason h3,body[data-family] .story-step h3,body[data-family] .project-steps h3{font-size:22px!important}
}

/* ---------- Body text: 15 phone / 16 PC, body colour ---------- */
body[data-family] .system-card .system-body > p,body[data-family] .project-card p,body[data-family] .related-card p,body[data-family] .rail-card p,body[data-family] .project-compact p,body[data-family] .system-aside p,body[data-family] .featured-spotlight-copy p,body[data-family] .featured-project-copy p,body[data-family] .story-step p,body[data-family] .project-steps p,body[data-family] .reason p,body[data-family] .system-role-copy p,body[data-family] main .section-head p,body[data-family] main .section-head + p,body[data-family] .context-note,body[data-family] .detail-head > p,body[data-family] .d-hero p,body[data-family] .logic-lead p{font-size:15px!important;line-height:1.55!important;color:var(--rv-body)!important;font-weight:400!important}
@media(min-width:761px){body[data-family] .featured-spotlight-copy p,body[data-family] .featured-project-copy p,body[data-family] .detail-head > p,body[data-family] .d-hero p,body[data-family] main .section-head p,body[data-family] .context-note,body[data-family] .logic-lead p{font-size:16px!important}}

/* ---------- Labels in capitals: 12px, 700, .12em ---------- */
body[data-family] main .eyebrow,body[data-family] .system-card .meta,body[data-family] .project-card .cat,body[data-family] .featured-project-type,body[data-family] .featured-spotlight-copy .eyebrow,body[data-family] .section-kicker .eyebrow,body[data-family] .story-label .eyebrow,body[data-family] .system-aside small{font-size:12px!important;font-weight:700!important;letter-spacing:.12em!important;color:var(--rv-teal)!important;text-transform:uppercase}
body[data-family] .system-bottom small,body[data-family] .rv-fbudget small,body[data-family] .rv-pfacts b,body[data-family] .d-hero .label,body[data-family] main .label,body[data-family] .project-facts small,body[data-family] .project-facts dt,body[data-family] .featured-spotlight-count,body[data-family] .section-count,body[data-family] .budget-label{font-size:12px!important;font-weight:600!important;letter-spacing:.1em!important;color:var(--rv-muted)!important}
body[data-family] .budget-label{color:var(--rv-teal)!important;font-weight:700!important}
/* secondary text */
body[data-family] .rv-pmeta,body[data-family] .rv-pfacts,body[data-family] .system-role-copy small,body[data-family] .system-role-count,body[data-family] .breadcrumb,body[data-family] .breadcrumb a,body[data-family] .breadcrumbs,body[data-family] .breadcrumbs a,body[data-family] .crumbs,body[data-family] .crumbs a,body[data-family] [aria-label="Breadcrumb"] *,body[data-family] nav[aria-label*="Đường dẫn"] *{color:var(--rv-muted)!important}
body[data-family] .rv-pmeta,body[data-family] .rv-pfacts{font-size:14px!important}

/* ---------- Filters: 14 phone / 15 PC, 44px target, one look on both hubs ---------- */
body[data-family] .app-tabs .chip,body[data-family] .filters .filter{font-size:14px!important;min-height:44px!important;padding:0 16px!important;font-weight:400!important;color:var(--rv-body)!important;display:inline-flex!important;align-items:center}
body[data-family] .app-tabs .chip.active,body[data-family] .filters .filter.active{font-weight:600!important;color:var(--rv-ink)!important}
@media(min-width:761px){body[data-family] .app-tabs .chip,body[data-family] .filters .filter{font-size:15px!important;padding:0 20px!important;min-height:52px!important}}
body[data-family] #resultCount,body[data-family] #resultText{font-size:12px!important;color:var(--rv-teal)!important}

/* ---------- Buttons: primary 52px / 15px / 600; secondary in cards 40px / 14px ---------- */
body[data-family] #heroCta .btn-dark,body[data-family] #heroCta .btn-outline,body[data-family] #heroCta a,body[data-family] #heroCta button,body[data-family] .rv-consult,body[data-family] .featured-spotlight-link,body[data-family] .featured-project-link,body[data-family] .rv-fquick,body[data-family] .rv-cta button,body[data-family] .detail-contact button,body[data-family] .detail-contact a.btn-dark{min-height:52px!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important}
body[data-family] .system-card .system-actions button,body[data-family] .mobile-filter-open,body[data-family] .project-mobile-sort-open{min-height:40px!important;font-size:14px!important;font-weight:600!important}
body[data-family] .project-compact a,body[data-family] .system-aside a,body[data-family] .project-link,body[data-family] .arrow-link{font-size:14px!important;font-weight:600!important;color:var(--rv-teal)!important}

/* ---------- Arrow controls: one square 40px control with the same chevron ---------- */
body[data-family] .rail-arrow,body[data-family] .featured-spotlight-arrow,body[data-family] #projectControls button{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:1px solid #b9c7c3!important;background:#fff!important;color:var(--rv-ink)!important;border-radius:0!important;padding:0!important}
body[data-family] .rv-chev{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
body[data-family] .rv-nav{display:grid!important;place-items:center;font-size:0!important}
body[data-family] .rv-nav .rv-chev{width:20px;height:20px}
body[data-family] .rail-arrow:disabled,body[data-family] .featured-spotlight-arrow[disabled]{opacity:.35!important}
@media(max-width:760px){body[data-family] .featured-spotlight-arrow{display:none!important}}

/* ---------- Project card: same frame as the system card ---------- */
body[data-family] .project-card{background:#fff!important;border:1px solid var(--rv-line)!important;display:flex!important;flex-direction:column}
body[data-family] .project-card .info{padding:16px 16px 18px!important;border:0!important}
@media(min-width:761px){body[data-family] .project-card .info{padding:20px 22px 22px!important}}
body[data-family] .system-card{background:#fff!important;border:1px solid var(--rv-line)!important}

/* ---------- Keep dark blocks light-on-dark ---------- */
body[data-family] .rv-cta .eyebrow,body[data-family] .detail-contact .eyebrow{color:#8fd3d6!important}
body[data-family] .rv-cta h2,body[data-family] main .detail-contact h2{color:#fff!important}
body[data-family] .rv-cta h2 .serif,body[data-family] main .detail-contact h2 .serif{color:#a9cfcf!important}
body[data-family] .rv-cta p,body[data-family] .detail-contact p{color:#c8d6d8!important}
body[data-family] .rv-cta h2{font-size:28px!important}
@media(min-width:761px){body[data-family] .rv-cta h2{font-size:40px!important}}
}
@layer demo{
body[data-family] .metric small,body[data-family] .quick-budget span,body[data-family] .system-role-copy small,body[data-family] .linked-brands-heading small,body[data-family] .diagram-toolbar span,body[data-family] .diagram-zoom{font-size:12px!important;font-weight:600!important;letter-spacing:.1em!important;color:var(--rv-muted)!important}
body[data-family] .diagram-viewer p{font-size:13px!important;color:var(--rv-muted)!important}
body[data-family] .component-product-brand,body[data-family] .eq-copy .role,body[data-family] .txt > small,body[data-family] .linked-brands-heading > span,body[data-family] .rv-qv-dev small{font-size:12px!important;font-weight:700!important;letter-spacing:.1em!important;color:var(--rv-teal)!important}
body[data-family] .breadcrumbs-arrow,body[data-family] .crumb span{color:var(--rv-muted)!important}
body[data-family] .story-number,body[data-family] .project-steps span{font-size:12px!important}
}
@layer demo{
body[data-family] .project-compact h3{font-size:24px!important}
@media(min-width:761px){body[data-family] .project-compact h3{font-size:28px!important}}
body[data-family] main .section-head{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:16px}
body[data-family] main .section-head > div:first-child{flex:1 1 auto;min-width:0}
body[data-family] .detail-hero + .section,body[data-family] .d-hero + .section,body[data-family] .d-hero + section{padding-top:64px!important}
@media(min-width:761px){body[data-family] .detail-hero + .section,body[data-family] .d-hero + .section,body[data-family] .d-hero + section{padding-top:96px!important}}
}
@layer demo{
body[data-family] main .section-head{flex-wrap:wrap!important;max-width:none!important;width:100%!important}
body[data-family] main .section-head > div:first-child{flex:1 1 260px!important}
body[data-family] main .section-head > p{flex:0 1 420px;margin:0!important}
body[data-family] .rail-head-actions{margin-left:auto!important}
@media(max-width:760px){body[data-family] .rail-head-actions{display:none!important}}
}
@layer demo{body[data-family] .rail-head-actions{justify-content:flex-end!important;flex:0 0 auto!important;width:auto!important}}
@layer demo{
/* ===== Shared hub hero rule (Owner 10/11): PC 520 / phone 460, H1 52/36, copy at the bottom on the page frame ===== */
body .cl-hub-media .hero-inner,body .cl-hub-media .hero-copy{min-height:460px!important}
body .cl-hub-media .hero-copy{padding:112px 20px 36px!important;display:flex!important;flex-direction:column;justify-content:flex-end}
body .cl-hub-media .hero h1{font-size:36px!important;font-weight:700!important;line-height:1.08!important;letter-spacing:-.03em!important}
body .cl-hub-media .hero h1 em{font-weight:400!important}
body .cl-hub-media .hero-p{font-size:15px!important}
body .cl-hub-media .btn{min-height:52px!important;font-size:15px!important;font-weight:600!important}
@media(min-width:761px){
 body .cl-hub-media .hero-inner,body .cl-hub-media .hero-copy{min-height:520px!important}
 body .cl-hub-media .hero-copy{padding:160px max(32px,calc((100vw - 1352px)/2)) 56px!important}
 body .cl-hub-media .hero h1{font-size:52px!important}
 body .cl-hub-media .hero-p{font-size:16px!important}
}
@media(min-width:1100px){body .cl-hub-media .hero-copy{padding-left:max(64px,calc((100vw - 1352px)/2))!important;padding-right:max(64px,calc((100vw - 1352px)/2))!important}}
}

/* ───────────── L7b (OD-1115-02(2), artifact 4EUNGB9Kdmqrk7nouzd2S4): the Product price block + deal bar (product-detail.css L5),
 * copied verbatim and scoped to the System detail page. ───────────── */
@layer demo{
body[data-family="system"]{--deal:#a4502e;--deal-ink:#7e3a1f;--deal-soft:#f7ece6;--deal-line:#e6cfc2}
body[data-family="system"] #priceBlock.pb{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:150px}
body[data-family="system"] #priceBlock .pb-kicker{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#2d7a8f}
body[data-family="system"] #priceBlock .pb-kicker.is-deal{color:var(--deal)}
body[data-family="system"] #priceBlock .pb-row{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:16px;row-gap:6px;min-height:56px}
body[data-family="system"] #priceBlock .pb-price{font-size:46px;font-weight:760;letter-spacing:-.045em;line-height:1.05;color:#13232a;font-variant-numeric:tabular-nums;transition:opacity .15s}
body[data-family="system"] #priceBlock .pb-price.is-deal{color:var(--deal)}
body[data-family="system"] #priceBlock .pb-price.is-quote{font-size:30px;font-weight:700;letter-spacing:-.02em}
body[data-family="system"] #priceBlock .pb-aside{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;font-size:15px;color:#5e706c;transition:opacity .15s}
body[data-family="system"] #priceBlock .pb-aside s{color:#8a9894}
body[data-family="system"] #priceBlock .pb-chip{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:4px;background:var(--deal-soft);color:var(--deal-ink);font-size:13px;font-weight:650}
body[data-family="system"] #priceBlock .pb-chip.line{background:transparent;border:1px solid var(--deal-line)}
body[data-family="system"] .rv-fade{opacity:0!important}

/* ---------- deal bar: one line, same height for every colour ---------- */
body[data-family="system"] .dealbar{margin-top:14px;border:1px solid var(--deal-line);border-left:3px solid var(--deal);background:#fff}
body[data-family="system"] .dealbar[hidden]{display:none}
body[data-family="system"] .dealbar .db-row{display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 14px;transition:opacity .15s}
body[data-family="system"] .dealbar .db-kind{flex:none;display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border-radius:4px;background:var(--deal);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
body[data-family="system"] .dealbar .db-title{flex:1;min-width:0;font-weight:620;color:#1d2c30;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-family="system"] .dealbar .db-meta{flex:none;font-size:13px;color:#6c7b77;white-space:nowrap}
body[data-family="system"] .dealbar .db-more{flex:none;font-size:13px;font-weight:700;color:var(--deal-ink)}
body[data-family="system"] .dealbar .db-toggle{flex:none;display:inline-flex;align-items:center;gap:6px;font-weight:650;font-size:13.5px;color:#1d2c30;padding:6px 2px;cursor:pointer;background:none;border:0}
body[data-family="system"] .dealbar .db-toggle svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;transition:transform .2s}
body[data-family="system"] .dealbar.open .db-toggle svg{transform:rotate(180deg)}
body[data-family="system"] .dealbar .db-none{flex:1;min-width:0;color:#6c7b77;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-family="system"] .dealbar .db-go{flex:none;font-weight:650;font-size:13.5px;color:var(--deal-ink);background:none;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
body[data-family="system"] .dealbar .db-list{display:none;border-top:1px solid var(--deal-line);padding:6px 14px 14px}
body[data-family="system"] .dealbar.open .db-list{display:grid;gap:0}
body[data-family="system"] .db-item{padding:14px 0;border-bottom:1px solid #f0e4dd}
body[data-family="system"] .db-item:last-child{border-bottom:0;padding-bottom:2px}
body[data-family="system"] .db-item h4{margin:6px 0 4px;font-size:15.5px;letter-spacing:-.01em}
body[data-family="system"] .db-item p{margin:0 0 8px;color:#5e706c;font-size:13.5px}
body[data-family="system"] .db-item .db-kind{display:inline-flex;min-height:22px;padding:1px 8px;border-radius:4px;background:var(--deal);color:#fff;font-size:11px;font-weight:700}
body[data-family="system"] .db-item .db-kind.alt{background:var(--deal-soft);color:var(--deal-ink)}
body[data-family="system"] .db-gifts{display:grid;gap:8px;margin:8px 0}
body[data-family="system"] .db-gift{display:flex;align-items:center;gap:10px;font-size:13.5px}
body[data-family="system"] .db-gift img{width:44px;height:44px;object-fit:cover;border-radius:4px;background:#eee}
body[data-family="system"] .db-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}
body[data-family="system"] .db-choice div{border:1px solid var(--deal-line);padding:10px;border-radius:4px;font-size:13px;color:#5e706c}
body[data-family="system"] .db-choice b{display:block;font-size:16px;color:var(--deal);margin-bottom:2px}
body[data-family="system"] .db-cond{margin:6px 0;padding-left:18px;font-size:13px;color:#4e605c}
body[data-family="system"] .db-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12.5px;color:#6c7b77;margin-top:6px}
body[data-family="system"] .db-foot a{color:var(--deal-ink);font-weight:650;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
 body[data-family="system"] #priceBlock.pb{min-height:150px}
 body[data-family="system"] #priceBlock .pb-price{font-size:34px}
 body[data-family="system"] #priceBlock .pb-row{min-height:76px;align-content:flex-start}
 body[data-family="system"] .dealbar .db-row{display:grid;grid-template-columns:auto 1fr auto auto;grid-template-areas:"kind meta more toggle" "title title title title";min-height:88px;row-gap:6px;column-gap:10px}
 body[data-family="system"] .dealbar .db-kind{grid-area:kind}.dealbar .db-meta{grid-area:meta}.dealbar .db-more{grid-area:more}.dealbar .db-toggle{grid-area:toggle}
 body[data-family="system"] .dealbar .db-title{grid-area:title;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 body[data-family="system"] .dealbar .db-none{grid-column:1/-1;white-space:normal}
 body[data-family="system"] .dealbar .db-go{grid-column:1/-1;justify-self:start}
 body[data-family="system"] .db-choice{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#priceBlock .pb-price,#priceBlock .pb-aside,.dealbar .db-row{transition:none}}
body[data-family="system"] #priceBlock .pb-tag{display:inline-flex;align-self:center}
body[data-family="system"] #priceBlock .pb-tag[hidden],body[data-family="system"] #priceBlock .pb-aside[hidden]{display:none}
body[data-family="system"] .dealbar{margin-top:18px}
body[data-family="system"] .db-price{color:var(--deal)}
body[data-family="system"] .mobile-sticky .sticky-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
body[data-family="system"] .mobile-sticky .sticky-meta strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-family="system"] .mobile-sticky .sticky-meta span.is-deal{font-size:12px;font-weight:700;color:var(--deal)}
}
