#raypcb-page .ac-cluster{--ac-orange:#f38b24;--ac-navy:#17344a}
#raypcb-page .ac-cluster .rp-button,#raypcb-page .ac-cluster .ac-quote,.ray-assembly-tool .ac-quote{background:#f38b24;color:#152c3d!important;border:1px solid #b96310;border-radius:3px;font-weight:750;text-decoration:none}
#raypcb-page .ac-cluster .rp-button-secondary{background:#fff;color:#006ca3!important;border:1px solid #9bb3c3}
#raypcb-page .ac-cluster .rp-hero{background:#f4f6f7;border-top:5px solid #006da3}
#raypcb-page .ac-cluster .rp-wrap{max-width:1180px;padding-top:42px;padding-bottom:42px}
#raypcb-page .ac-cluster h1{max-width:720px;font-size:clamp(29px,3.5vw,44px)}
#raypcb-page .ac-cluster .ac-photo{aspect-ratio:3/2;background:#e8eef1;display:grid;place-items:center;overflow:hidden}
#raypcb-page .ac-cluster .ac-photo img{width:100%;height:100%;object-fit:contain;border-radius:0}
#raypcb-page .ac-cluster .ac-diagram{width:100%;height:auto;aspect-ratio:12/5;object-fit:contain;background:#f5f8fa}
#raypcb-page .ac-cluster .ac-nav{display:flex;flex-wrap:wrap;gap:12px 24px;border-bottom:1px solid #cbd8df;padding:18px 0}
#raypcb-page .ac-cluster .ac-nav a{font-size:15px;font-weight:650}
#raypcb-page .ac-cluster .ac-section{border-bottom:1px solid #dce5ea}
#raypcb-page .ac-cluster .ac-section p{max-width:930px}
#raypcb-page .ac-cluster .ac-section:nth-of-type(even){background:#fafcfd}
#raypcb-page .ac-cluster .ac-table{table-layout:auto}
#raypcb-page .ac-cluster .ac-table th{width:26%;background:#f0f5f8;font-weight:650}
#raypcb-page .ac-cluster .ac-table th,#raypcb-page .ac-cluster .ac-table td{vertical-align:top;font-size:16px}
#raypcb-page .ac-cluster .ac-summary{border-left:4px solid #0073a8;padding:20px 24px;background:#f0f6f9}
#raypcb-page .ac-cluster .ac-related{columns:2;column-gap:36px;padding-left:20px}
#raypcb-page .ac-cluster .ac-related li{break-inside:avoid;margin:0 0 15px}
#raypcb-page .ac-cluster .pcbsync-shell{border-radius:3px;box-shadow:none}
#raypcb-page .ac-cluster .ps-hull{background:#173b55;border-radius:0}
#raypcb-page .ac-cluster .ps-mark{display:none}
.ray-assembly-tool{font:16px/1.6 system-ui,sans-serif;color:#17344a;padding:20px}
.ray-assembly-tool .ac-tool-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}
.ray-assembly-tool .ac-fields{display:grid;gap:15px}
.ray-assembly-tool label{font-weight:650;display:block}
.ray-assembly-tool input,.ray-assembly-tool select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #8aa5b6;background:#fff;color:#17344a;border-radius:2px;font:inherit;box-sizing:border-box}
.ray-assembly-tool input:disabled{background:#edf0f2;color:#596d78}
.ray-assembly-tool .ac-result{padding:20px;background:#edf5fa;border-top:3px solid #0073a8;align-self:start;min-height:160px}
.ray-assembly-tool .ac-result h4{margin:0 0 18px;font-size:21px}
.ray-assembly-tool .ac-result li{margin-bottom:10px}
.ray-assembly-tool .ac-tool-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 14px;align-items:center}
.ray-assembly-tool .ac-tool-actions a,.ray-assembly-tool button{padding:11px 16px;font:600 15px/1.4 system-ui;cursor:pointer;border:1px solid #7e9caf;background:#fff;color:#075b86;border-radius:3px}
.ray-assembly-tool button:disabled,.ray-assembly-tool [aria-disabled=true]{opacity:.6;cursor:not-allowed}
.ray-assembly-tool .ac-small{font-size:13px;color:#4e6271}
.ray-assembly-tool :focus-visible{outline:3px solid #ba5900;outline-offset:3px}
@media(max-width:760px){.ray-assembly-tool .ac-tool-grid{grid-template-columns:1fr}.ray-assembly-tool{padding:12px}#raypcb-page .ac-cluster .ac-related{columns:1}#raypcb-page .ac-cluster .rp-wrap{padding:30px 18px}#raypcb-page .ac-cluster .ac-table th{width:33%}}

/* Prototype R2: authentic project gallery and scoped calculator. */
#raypcb-page .prototype-r2 .proto-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
#raypcb-page .prototype-r2 .proto-gallery figure{margin:0;border:1px solid #b9ceda;background:white;border-radius:3px;overflow:hidden}
#raypcb-page .prototype-r2 .proto-gallery a{display:block;aspect-ratio:4/3;background:#f4f7f9}
#raypcb-page .prototype-r2 .proto-gallery img{width:100%;height:100%;object-fit:contain;border-radius:0}
#raypcb-page .prototype-r2 .proto-gallery figcaption{margin:0;padding:13px 12px;background:#006c9e;color:white;font-size:14px;line-height:1.4;font-weight:650;min-height:66px}
#raypcb-page .prototype-r2 .proto-intro{max-width:850px}
.ray-prototype-tool .ac-result{position:sticky;top:18px}
.ray-prototype-tool .ac-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.ray-prototype-tool .proto-model-note{border-left:4px solid #ce7922;padding:14px;background:#fff6e8}
.ray-prototype-tool .proto-check{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #d8e3ea;font-weight:500}
.ray-prototype-tool .proto-check input{width:20px;min-height:20px;height:20px;flex:0 0 20px;margin:3px 0}
.ray-prototype-tool details{margin-top:22px}
.ray-prototype-tool summary{cursor:pointer;font-weight:700}
@media(max-width:900px){#raypcb-page .prototype-r2 .proto-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.ray-prototype-tool .ac-result{position:static}}
@media(max-width:420px){#raypcb-page .prototype-r2 .proto-gallery{gap:12px 8px}#raypcb-page .prototype-r2 .proto-gallery figcaption{font-size:12px;padding:10px 8px}}
@media(max-width:600px){.ray-prototype-tool .ac-fields{grid-template-columns:1fr}}

/* Process guide: readable steps and user-controlled sequence. */
#raypcb-page .process-r2 .process-index{columns:2;padding-left:24px;line-height:1.9}
#raypcb-page .process-r2 .process-table{overflow-x:auto}
#raypcb-page .process-r2 .process-table table{min-width:560px}
.process-explorer .process-route{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}
.process-explorer button{padding:10px 14px;border:1px solid #7894a8;background:white;color:#17344a;cursor:pointer;border-radius:3px}
.process-explorer button[aria-current=step]{background:#006c9e;color:white}
.process-explorer button:disabled{opacity:.45;cursor:default}
.process-explorer .process-controls{display:flex;gap:10px;margin:18px 0}
.process-demo{position:relative;height:180px;max-width:600px;background:#eef4f6;overflow:hidden;border:1px solid #b3c8d5}
.process-demo span{position:absolute;display:block;transition:transform .6s ease,opacity .6s ease,background .6s ease}
.process-board{left:12%;top:125px;width:76%;height:18px;background:#26755d;border-bottom:5px solid #c58b48}
.process-paste{left:37%;top:117px;width:26%;height:8px;background:repeating-linear-gradient(90deg,#aaa 0 12px,transparent 12px 20px);opacity:0}
.process-chip{left:40%;top:35px;width:20%;height:40px;background:#243b4b;border:5px solid #9bacb6;opacity:0}
.process-camera{left:65%;top:20px;width:40px;height:30px;background:#006c9e;opacity:0}
.phase-print .process-paste,.phase-place .process-paste,.phase-reflow .process-paste,.phase-inspect .process-paste{opacity:1}
.phase-place .process-chip{opacity:1;transform:translateY(30px)}
.phase-reflow .process-chip,.phase-inspect .process-chip,.phase-test .process-chip,.phase-release .process-chip,.phase-pop .process-chip{opacity:1;transform:translateY(32px)}
.phase-reflow{background:#fff1db}.phase-inspect .process-camera{opacity:1}
.phase-flip .process-board{transform:rotateX(180deg)}
.process-demo.reduced span{transition:none}
@media(prefers-reduced-motion:reduce){.process-demo span{transition:none}}
@media(max-width:640px){#raypcb-page .process-r2 .process-index{columns:1}}

#raypcb-page .faq-r2 .faq-topic-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 22px;margin-top:24px}
#raypcb-page .faq-r2 .faq-topic-nav a{padding:10px 0;border-bottom:1px solid #cbd8df}
#raypcb-page .faq-r2 .faq-category-image{float:right;width:30%;margin:0 0 24px 30px}
#raypcb-page .faq-r2 .faq-category .rp-wrap:after{content:'';display:block;clear:both}
#raypcb-page .faq-r2 details{scroll-margin-top:30px;border-bottom:1px solid #cad8e1;padding:16px 0}
#raypcb-page .faq-r2 summary{font-weight:650;cursor:pointer;line-height:1.5}
#raypcb-page .faq-r2 .faq-permalink{font-size:13px}
#raypcb-page .faq-r2 [hidden]{display:none!important}
.faq-search-controls{padding:20px;background:#f1f6f8;display:grid;gap:12px}
.faq-search-controls input,.faq-search-controls select{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #7894a8;font-size:16px;background:white;color:#17344a}
.faq-search-actions{display:flex;flex-wrap:wrap;gap:10px}
.faq-search-actions button{padding:10px 14px;background:white;color:#17344a;border:1px solid #7894a8;cursor:pointer;border-radius:3px}
@media(max-width:700px){#raypcb-page .faq-r2 .faq-topic-nav{grid-template-columns:1fr 1fr}#raypcb-page .faq-r2 .faq-category-image{float:none;width:100%;margin:0 0 20px;max-width:430px}}

#raypcb-page .hub-r4 .hub-file-note{font-size:15px;border-left:3px solid #006c9e;padding-left:14px}
#raypcb-page .hub-r4 .hub-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#raypcb-page .hub-r4 .hub-projects figure{margin:0}
#raypcb-page .hub-r4 .hub-projects figcaption{font-size:15px;line-height:1.5}
#raypcb-page .hub-r4 .hub-equipment{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}
#raypcb-page .hub-r4 .hub-equipment figure{margin:0}
#raypcb-page .hub-r4 .hub-equipment figcaption{font-size:13px;padding-top:8px}
#raypcb-page .hub-r4 .ray-project-actions .ray-exact-quote{background:#f38b24;color:#17344a!important}
@media(max-width:800px){#raypcb-page .hub-r4 .hub-projects{grid-template-columns:1fr}#raypcb-page .hub-r4 .hub-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}}
