/* design.gujo.ai Refero 검색 셸 — 흰 캔버스, 상단 메뉴바, 거대 스크린샷 2열. 토큰만 gujo-ui. */

.rf-body{
  margin:0;
  min-height:100vh;
  background:var(--gujo-white,#fff);
  color:var(--gujo-text,#141414);
  font-family:'Pretendard Variable','Pretendard','Apple SD Gothic Neo',ui-sans-serif,system-ui,sans-serif;
  font-size:var(--fs-body,15px);
  line-height:1.5;
  word-break:keep-all;
  -webkit-font-smoothing:antialiased;
}
.rf-body a{color:inherit;text-decoration:none}
/* gujo-ui 버튼 색은 .rf-body a{color:inherit} 보다 우선(같은 특이도, 나중 로드 파일이 이기던 버그 수정) */
.rf-body a.gj-btn--primary{color:var(--gujo-accent-fg,#fff)}
.rf-body a.gj-btn--ghost{color:var(--gujo-text,#141414)}
.rf-body a.gj-btn--danger{color:var(--gujo-danger,#c0392b)}
.rf-body .gj-ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- 상단 바 ---------- */
.rf-topbar{
  position:sticky;top:0;z-index:40;
  height:64px;padding:0 24px;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  background:var(--gujo-white,#fff);
  border-bottom:1px solid var(--gujo-border,#e8e8ea);
}
.rf-logo{display:flex;align-items:center;gap:6px;justify-self:start}
.rf-logo img{display:block;height:24px;width:auto}
.rf-logo-chip{border-radius:4px;background:var(--gujo-black,#141414);color:var(--gujo-white,#fff);padding:2px 6px;font-size:9px;font-weight:700;letter-spacing:.04em}
.rf-topbar-nav{display:flex;align-items:center;gap:4px;justify-self:center}
.rf-body .rf-topbar-link{
  display:flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  font-size:15px;font-weight:500;color:var(--gujo-text,#141414);
  border:1px solid transparent;white-space:nowrap;
}
.rf-topbar-link .gj-ico{width:20px;height:20px}
.rf-topbar-link:hover{background:var(--gujo-surface2,#f5f5f7)}
.rf-topbar-link.is-active{background:var(--gujo-surface2,#f5f5f7);border-color:var(--gujo-border,#e8e8ea)}
.rf-topbar-actions{display:flex;align-items:center;justify-self:end;gap:8px}
.rf-topbar-search{
  width:40px;height:40px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--gujo-text,#141414);
}
.rf-topbar-search:hover{background:var(--gujo-surface2,#f5f5f7)}
.rf-body .rf-cta{
  display:flex;align-items:center;gap:8px;
  height:40px;padding:0 16px;border-radius:12px;
  background:var(--gujo-black,#141414);color:var(--gujo-white,#fff);
  font-size:15px;font-weight:600;line-height:1;white-space:nowrap;
}
.rf-cta-plus{font-size:20px;line-height:1;font-weight:500}

.rf-stage{max-width:1440px;margin:0 auto;min-height:calc(100vh - 64px);padding:24px 32px 72px}
.rf-search{max-width:1440px;margin:0 auto}

/* ---------- 검색 캡슐 ---------- */
.rf-capsule{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  width:100%;margin:0 0 20px;
  padding:6px 8px 6px 22px;min-height:68px;
  border:1px solid var(--gujo-border,#e8e8ea);
  border-radius:16px;background:var(--gujo-surface2,#f5f5f7);
}
.rf-capsule:focus-within{background:#fff;border-color:#c9c9cc}
.rf-capsule input[type=search]{
  flex:1;min-width:200px;border:0;background:transparent;
  font:inherit;font-size:22px;font-weight:400;padding:10px 12px 10px 0;outline:none;
  -webkit-appearance:none;appearance:none;
}
.rf-capsule input[type=search]::placeholder{color:var(--gujo-dim,#9a9aa0)}
.rf-capsule-go{
  width:48px;height:48px;border-radius:12px;border:0;background:transparent;
  display:inline-flex;align-items:center;justify-content:center;color:var(--gujo-sub,#6e6e73);cursor:pointer;
}
.rf-capsule-go:hover{background:#fff}
.rf-site-chip{
  display:inline-flex;align-items:center;gap:6px;flex:none;
  border-radius:999px;padding:8px 12px;
  background:#fff;border:1px solid var(--gujo-border,#e8e8ea);
  font-size:14px;font-weight:600;white-space:nowrap;
}
.rf-site-chip .gj-ico{width:14px;height:14px}

/* ---------- 모드 / 단위 칩 ---------- */
.rf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px;flex-wrap:wrap}
.rf-modes,.rf-kinds{display:flex;gap:10px;flex-wrap:wrap}
.rf-chip{
  display:inline-flex;align-items:center;gap:10px;
  border:1px solid var(--gujo-border,#e8e8ea);
  border-radius:14px;padding:12px 20px;
  font-size:17px;font-weight:500;background:#fff;color:var(--gujo-sub,#6e6e73);
  cursor:pointer;white-space:nowrap;
}
.rf-chip .gj-ico{width:22px;height:22px}
.rf-chip:hover{background:var(--gujo-surface2,#f5f5f7)}
.rf-chip.is-active,.rf-chip:has(input:checked){background:var(--gujo-surface2,#f5f5f7);color:var(--gujo-text,#141414);font-weight:600}
.rf-chip input[type=radio]{position:absolute;opacity:0;width:0;height:0}

/* ---------- 결과 그리드 ---------- */
.rf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 28px}
.rf-grid--app{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}
.rf-card a{display:flex;flex-direction:column;gap:14px}
.rf-shot{
  position:relative;overflow:hidden;border-radius:10px;
  background:var(--gujo-surface2,#f5f5f7);
  border:1px solid var(--gujo-border,#e8e8ea);
}
.rf-shot--web{aspect-ratio:16/10}
.rf-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.rf-card:hover .rf-shot{border-color:#c9c9cc}
@media (hover:hover) and (pointer:fine){
  .rf-card--shot:hover .rf-shot{box-shadow:0 10px 20px rgba(7,25,31,.1)}
  .rf-card--shot:hover .rf-screen-title{color:var(--gujo-text,#141414)}
}
.rf-scrub-now{transition:opacity .2s ease}
@media (prefers-reduced-motion:reduce){
  .rf-scrub-now{transition:none}
}
.rf-scrub-bar{
  position:absolute;left:10px;right:10px;bottom:8px;z-index:4;
  display:flex;gap:3px;height:3px;pointer-events:none;
}
.rf-scrub-bar i{flex:1;background:rgba(255,255,255,.35);border-radius:99px}
.rf-scrub-bar i.is-on{background:var(--gujo-black,#141414)}
.rf-phone{
  margin:0 auto;width:100%;max-width:300px;
  padding:12px 10px 16px;border-radius:32px;
  background:#141414;box-shadow:0 12px 32px rgba(0,0,0,.18);
}
.rf-shot--phone{aspect-ratio:9/19;border-radius:22px;border:0}
.rf-stack{position:relative;aspect-ratio:16/10;margin:0 40px 20px 0}
.rf-stack-shot{
  position:absolute;inset:0 auto auto 0;width:100%;height:100%;
  overflow:hidden;border-radius:10px;background:var(--gujo-surface2,#f5f5f7);
  border:1px solid var(--gujo-border,#e8e8ea);
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.rf-stack-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.rf-stack-shot[data-i="0"]{z-index:3}
.rf-stack-shot[data-i="1"]{z-index:2;transform:translate(20px,12px) scale(.97)}
.rf-stack-shot[data-i="2"]{z-index:1;transform:translate(40px,24px) scale(.94)}
.rf-shot-ph{display:flex;align-items:center;justify-content:center;height:100%;color:var(--gujo-dim,#9a9aa0);font-size:14px}

.rf-caption{display:flex;align-items:center;gap:12px;min-height:28px}
.rf-caption--flow{flex-direction:column;align-items:flex-start;gap:2px}
.rf-flow-name{font-size:17px;font-weight:600}
.rf-favicon{
  width:28px;height:28px;border-radius:7px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--gujo-black,#141414);color:#fff;font-size:13px;font-weight:700;
}
.rf-product{font-size:17px;font-weight:600;white-space:nowrap}
.rf-screen-title{font-size:15px;color:var(--gujo-sub,#6e6e73);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-empty{padding:96px 16px;text-align:center;color:var(--gujo-sub,#6e6e73)}
.rf-empty strong{display:block;margin-bottom:8px;color:var(--gujo-text,#141414);font-size:18px}
.rf-empty a{text-decoration:underline}

/* ---------- 홈 ---------- */
.rf-home{max-width:1180px;margin:10vh auto 0;text-align:center}
.rf-home-title{margin:0 0 16px;font-size:clamp(40px,5.2vw,68px);line-height:1.1;font-weight:700;letter-spacing:-.035em}
.rf-home-lead{margin:0 auto 36px;max-width:640px;color:var(--gujo-sub,#6e6e73);font-size:20px;line-height:1.5}
.rf-research{
  text-align:left;margin:0 0 36px;
  border:1px solid var(--gujo-border,#e8e8ea);border-radius:18px;background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.rf-research-head{display:flex;flex-direction:column;gap:4px;padding:20px 22px 16px}
.rf-research-head strong{font-size:18px;font-weight:600}
.rf-research-head span{font-size:15px;color:var(--gujo-sub,#6e6e73)}
.rf-capsule--home{
  display:block;margin:0;border-radius:0 0 18px 18px;border:0;border-top:1px solid var(--gujo-border,#e8e8ea);
  padding:12px 16px 14px 22px;
}
.rf-capsule--home input[type=search]{width:100%;font-size:24px;padding:6px 0 12px}
.rf-capsule-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rf-capsule-foot .rf-chip{position:relative;background:#fff}
.rf-submit{
  width:52px;height:52px;border-radius:999px;border:0;cursor:pointer;
  background:var(--gujo-border,#e8e8ea);color:#fff;display:inline-flex;align-items:center;justify-content:center;
}
.rf-capsule--home:focus-within .rf-submit{background:var(--gujo-black,#141414)}
.rf-suggests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px;text-align:left}
.rf-suggest{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:500;padding:6px 0}
.rf-suggest .gj-ico{color:var(--gujo-dim,#9a9aa0)}
.rf-suggest:hover{text-decoration:underline}

@media (max-width:980px){
  .rf-grid{grid-template-columns:1fr}
}
@media (max-width:780px){
  .rf-topbar{padding:0 12px}
  .rf-topbar-link span,.rf-cta-label{display:none}
  .rf-topbar-link{padding:8px}
  .rf-cta{width:40px;padding:0;justify-content:center}
  .rf-stage{padding:16px}
  .rf-grid,.rf-grid--app{grid-template-columns:1fr;gap:24px}
  .rf-home{margin-top:24px}
  .rf-suggests{grid-template-columns:1fr}
  .rf-capsule input[type=search]{font-size:18px}
}

.rf-favicon{background:var(--gujo-white,#fff);border:1px solid var(--gujo-border,#e8e8ea);overflow:hidden;padding:4px}
.rf-favicon img{display:block;width:100%;height:100%;object-fit:contain}

/* ---------- 결과 + 필터 사이드바 ---------- */
.rf-results{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;align-items:start}
.rf-results-main{min-width:0}
.rf-facets{position:sticky;top:76px;display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 88px);overflow:auto;padding-right:6px}
.rf-facets-clear{font-size:14px;color:var(--gujo-sub,#6e6e73);text-decoration:underline;margin:0 0 8px 4px}
.rf-facet{border-top:1px solid var(--gujo-border,#e8e8ea);padding:10px 0 6px}
.rf-facet summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600;padding:6px 4px}
.rf-facet summary::-webkit-details-marker{display:none}
.rf-facet summary::after{content:'';width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-right:6px;transition:transform .15s}
.rf-facet:not([open]) summary::after{transform:rotate(-45deg)}
.rf-facet ul{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:1px}
.rf-facet-item{display:flex;align-items:center;gap:10px;padding:7px 6px;border-radius:10px;font-size:15px;color:var(--gujo-text,#141414)}
.rf-facet-item:hover{background:var(--gujo-surface2,#f5f5f7)}
.rf-facet-item i{width:18px;height:18px;border-radius:5px;border:1.5px solid #c9c9cc;flex:none;background:#fff}
.rf-facet-item.is-on i{background:var(--gujo-black,#141414);border-color:var(--gujo-black,#141414);position:relative}
.rf-facet-item.is-on i::after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg)}
.rf-facet-item.is-on{font-weight:600}
.rf-facet-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-facet-item b{font-weight:500;font-size:13px;color:var(--gujo-dim,#9a9aa0);font-feature-settings:'tnum'}
.rf-facet-item .rf-favicon{width:20px;height:20px;border-radius:5px;padding:2px}

/* ---------- 태그 칩 ---------- */
.rf-tags{display:flex;flex-wrap:wrap;gap:8px}
.rf-tag{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gujo-border,#e8e8ea);border-radius:999px;padding:7px 14px;font-size:14px;font-weight:500;background:#fff}
.rf-tag:hover{background:var(--gujo-surface2,#f5f5f7)}
.rf-tag b{font-weight:500;color:var(--gujo-dim,#9a9aa0);font-size:13px}
.rf-tag--soft{background:var(--gujo-surface2,#f5f5f7);border-color:transparent}
.rf-tags--lg .rf-tag{padding:10px 18px;font-size:16px}

/* ---------- 홈 섹션 ---------- */
.rf-home-sections{max-width:1180px;margin:72px auto 0;display:flex;flex-direction:column;gap:56px}
.rf-home-section h2{margin:0 0 18px;font-size:24px;font-weight:700;letter-spacing:-.02em}
.rf-sites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.rf-site{display:flex;flex-direction:column;gap:12px}
.rf-site-shot{display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;border:1px solid var(--gujo-border,#e8e8ea);background:var(--gujo-surface2,#f5f5f7)}
.rf-site-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.rf-site:hover .rf-site-shot{border-color:#c9c9cc}

/* ---------- 화면 상세 ---------- */
.rf-detail-page{max-width:1440px;margin:0 auto}
.gj-modal.rf-detail{width:min(1440px,100%);grid-template-columns:minmax(0,1fr) 360px;border-radius:18px;max-height:calc(100vh - 48px)}
.gj-modal.rf-detail.gj-modal--inline{max-height:none;border:0;box-shadow:none;border-radius:0}
.gj-modal-scrim{background:rgba(255,255,255,.92);padding:24px}
.rf-detail-stage{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--gujo-surface2,#f5f5f7);border-radius:18px 0 0 18px}
.gj-modal--inline .rf-detail-stage{border-radius:18px;border:1px solid var(--gujo-border,#e8e8ea)}
.rf-detail-top{display:flex;align-items:center;gap:14px;padding:14px 18px}
.rf-detail-back{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;color:var(--gujo-sub,#6e6e73)}
.rf-detail-back .gj-ico{width:18px;height:18px}
.rf-detail-count{margin-left:auto;font-size:14px;color:var(--gujo-sub,#6e6e73);font-feature-settings:'tnum'}
.rf-detail-navs{display:flex;gap:6px}
.rf-iconbtn{width:36px;height:36px;border-radius:999px;border:1px solid var(--gujo-border,#e8e8ea);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--gujo-text,#141414)}
.rf-iconbtn .gj-ico{width:18px;height:18px}
.rf-iconbtn.is-disabled{opacity:.35}
.rf-detail-body{flex:1;min-height:0;overflow:auto;padding:0 28px 28px}
.rf-detail-shot{position:relative;background:#fff;border:1px solid var(--gujo-border,#e8e8ea);border-radius:10px;overflow:hidden}
.rf-detail-shot img{display:block;width:100%;height:auto}
.rf-detail-shot--phone{max-width:390px;margin:0 auto}
.rf-detail-side{padding:26px 26px 40px;display:flex;flex-direction:column;gap:26px;overflow:auto;border-left:1px solid var(--gujo-border,#e8e8ea);font-size:15px}
.gj-modal--inline .rf-detail-side{border:0;padding-top:8px}
.rf-detail-product{display:flex;align-items:center;gap:12px}
.rf-detail-product .rf-favicon{width:40px;height:40px;border-radius:10px}
.rf-detail-product > div{display:flex;flex-direction:column;min-width:0;flex:1}
.rf-detail-appname{font-size:17px;font-weight:600}
.rf-detail-host{font-size:13px;color:var(--gujo-sub,#6e6e73)}
.rf-detail-visit{color:var(--gujo-sub,#6e6e73)}
.rf-detail-title{margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.25}
.rf-detail-meta{margin:-14px 0 0;font-size:13px;color:var(--gujo-sub,#6e6e73);word-break:break-all}
.rf-detail-actions{display:flex;flex-wrap:wrap;gap:8px}
.rf-detail-section h4{margin:0 0 10px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--gujo-dim,#9a9aa0);display:flex;align-items:center;justify-content:space-between;gap:8px}
.rf-detail-toggle{text-transform:none;letter-spacing:0;font-size:12px;color:var(--gujo-sub,#6e6e73)}
.rf-detail-none{margin:0;font-size:14px;color:var(--gujo-dim,#9a9aa0)}
.rf-related{display:flex;flex-direction:column;gap:12px}
.rf-related-item{display:flex;gap:12px;align-items:center}
.rf-related-shot{width:96px;aspect-ratio:16/10;border-radius:6px;overflow:hidden;border:1px solid var(--gujo-border,#e8e8ea);background:var(--gujo-surface2,#f5f5f7);flex:none}
.rf-related-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.rf-related-name{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-swatch{display:inline-block;width:18px;height:18px;border-radius:5px;background:var(--gj-swatch,var(--gujo-white,#fff));border:1px solid var(--gujo-border,#e8e8ea);flex:none;vertical-align:middle}
.rf-tag-color{gap:8px}
.rf-palette{display:flex;gap:4px;margin:12px 0}
.rf-palette .rf-swatch{width:28px;height:28px;border-radius:8px}
.rf-type-sample{display:block;font-size:var(--gj-fs,14px);line-height:var(--gj-lh,1.2);letter-spacing:-.02em}
.rf-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rf-style-card{display:block;border:1px solid var(--gujo-border,#e8e8ea);border-radius:16px;padding:22px;background:var(--gujo-white,#fff)}
.rf-style-card:hover{box-shadow:0 10px 20px rgba(7,25,31,.1)}
.rf-style-card h2{margin:0 0 8px;font-size:22px}
.rf-style-card p{margin:0;color:var(--gujo-sub,#6e6e73);font-size:14px}
.rf-style-kicker{margin:0 0 6px;font-size:13px;color:var(--gujo-dim,#9a9aa0);text-transform:uppercase;letter-spacing:.04em}
.rf-style-north{font-size:17px;max-width:52rem}
.rf-style-theme{color:var(--gujo-sub,#6e6e73)}
.rf-style-links{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 24px}
.rf-style-table{width:100%;border-collapse:collapse;font-size:14px}
.rf-style-table th,.rf-style-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--gujo-border,#e8e8ea)}
.rf-style-list{margin:0;padding-left:18px}
.rf-facet-item i.rf-bucket{border-radius:50%;border:1px solid var(--gujo-border,#e8e8ea)}
.rf-facet-item.is-on i.rf-bucket::after{display:none}
.rf-bucket[data-bucket="black"]{background:var(--gujo-black,#141414)}
.rf-bucket[data-bucket="white"]{background:var(--gujo-white,#fff)}
.rf-bucket[data-bucket="gray"]{background:var(--gujo-sub,#6e6e6e)}
.rf-bucket[data-bucket="red"]{background:var(--gujo-danger,#dc2626)}
.rf-bucket[data-bucket="orange"]{background:var(--gujo-r15,#d97706)}
.rf-bucket[data-bucket="yellow"]{background:#eab308}
.rf-bucket[data-bucket="green"]{background:var(--gujo-ok,#059669)}
.rf-bucket[data-bucket="teal"]{background:#0d9488}
.rf-bucket[data-bucket="blue"]{background:var(--brand,#0a6cff)}
.rf-bucket[data-bucket="navy"]{background:var(--gujo-navy,#071d49)}
.rf-bucket[data-bucket="purple"]{background:#7c3aed}
.rf-bucket[data-bucket="pink"]{background:#db2777}
.rf-grid--2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}

@media (max-width:1100px){
  .rf-results{grid-template-columns:1fr}
  .rf-facets{position:static;max-height:none;flex-direction:row;flex-wrap:wrap;gap:12px}
  .rf-facet{border:1px solid var(--gujo-border,#e8e8ea);border-radius:12px;padding:6px 10px;min-width:200px}
  .gj-modal.rf-detail{grid-template-columns:1fr}
  .rf-sites{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- 페이지 본문 (검색·홈·상세 외) ---------- */
.rf-page{max-width:1180px;margin:0 auto}
.rf-page-head{margin:4px 0 32px}
.rf-page-head h1{margin:0;font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.rf-page-head p{margin:8px 0 0;font-size:16px;line-height:1.5;color:var(--gujo-sub,#6e6e73)}
.rf-page-meta{margin:8px 0 20px;font-size:16px;line-height:1.5;color:var(--gujo-sub,#6e6e73)}
.rf-page-section{margin:0 0 40px}
.rf-page-section h2{margin:0 0 14px;font-size:18px;font-weight:600;letter-spacing:-.02em;display:flex;align-items:baseline;gap:8px}
.rf-page-section h2 b{font-weight:500;color:var(--gujo-dim,#9a9aa0);font-size:14px}
.rf-page-copy{max-width:68ch}
.rf-page-copy .gj-btn{margin-right:8px;margin-top:16px}
.rf-page-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.rf-page-more{display:inline-flex;align-items:center;margin-top:12px;font-size:14px;font-weight:500;color:var(--gujo-sub,#6e6e73);text-decoration:underline}
.rf-tag.is-on{background:var(--gujo-black,#141414);color:#fff;border-color:var(--gujo-black,#141414)}
.rf-tag.is-on b{color:rgba(255,255,255,.72)}
.rf-tag-dot{width:6px;height:6px;border-radius:999px;background:var(--gujo-black,#141414);flex:none}
.rf-tag.is-on .rf-tag-dot{background:#fff}
.rf-prose{max-width:68ch;font-size:16px;line-height:1.65}
.rf-prose h1{margin:0 0 12px;font-size:24px;line-height:1.3;font-weight:700}
.rf-prose h2{margin:28px 0 10px;font-size:20px;font-weight:700}
.rf-prose p,.rf-prose li{color:var(--gujo-sub,#6e6e73);margin:0 0 8px}
.rf-prose ul,.rf-prose ol{margin:0 0 12px;padding-left:1.2em}
.rf-prose pre{margin:12px 0 16px;border:1px solid var(--gujo-border,#e8e8ea);border-radius:12px;background:var(--gujo-surface2,#f5f5f7);padding:16px 18px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;white-space:pre;overflow-x:auto}
.rf-prose code{font-family:ui-monospace,Menlo,monospace;font-size:.92em;background:var(--gujo-surface2,#f5f5f7);border-radius:4px;padding:1px 5px}
.rf-table{width:100%;border-collapse:collapse;font-size:14px}
.rf-table th{text-align:left;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--gujo-dim,#9a9aa0);padding:10px 16px 10px 0;border:0}
.rf-table td{padding:12px 16px 12px 0;border:0;border-top:1px solid var(--gujo-border,#e8e8ea);vertical-align:middle}
.rf-table code{font-family:ui-monospace,Menlo,monospace;font-size:13px}
.rf-swatch{display:inline-block;width:24px;height:24px;border-radius:6px;border:1px solid var(--gujo-border,#e8e8ea);vertical-align:middle;background:var(--gj-swatch,var(--gujo-surface2,#f5f5f7))}
.rf-token-bar{display:inline-block;height:8px;width:var(--gj-size,24px);max-width:120px;border-radius:4px;background:var(--gujo-black,#141414);vertical-align:middle}
.rf-token-sample{font-size:var(--gj-fs,15px);line-height:var(--gj-lh,1.5);font-weight:var(--gj-fw,400);font-family:var(--gj-font,inherit)}
.rf-card--demo{border:1px solid var(--gujo-border,#e8e8ea);border-radius:12px;padding:20px;background:#fff;overflow:auto}
.rf-shot .gj-shot-full{position:absolute;left:0;top:0;width:100%}
.rf-shot .gj-shot-full img{display:block;width:100%;height:auto}
.rf-shot .gj-marks{position:absolute;inset:0;pointer-events:none}
.rf-page-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0 28px}
.rf-page-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.rf-code{margin:12px 0 0;border:1px solid var(--gujo-border,#e8e8ea);border-radius:12px;background:var(--gujo-surface2,#f5f5f7);padding:16px 18px;font-family:ui-monospace,Menlo,monospace;font-size:12px;line-height:1.6;overflow-x:auto}
.rf-details{margin:14px 0 0}
.rf-details summary{cursor:pointer;font-size:14px;font-weight:600}
.rf-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 16px}
.rf-step .n{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--gujo-dim,#9a9aa0)}
.rf-step h3{margin:6px 0 6px;font-size:16px;font-weight:600}
.rf-step p{margin:0;font-size:14px;color:var(--gujo-sub,#6e6e73)}
.rf-collect-failures{margin:0;padding-left:1.2em;color:var(--gujo-sub,#6e6e73);font-size:14px}
@media (max-width:780px){
  .rf-steps{grid-template-columns:1fr}
}

/* ---------- 제품 색인·카드 ---------- */
.rf-products{max-width:1440px;margin:0 auto}
.rf-products-h1{margin:8px 0 28px;font-size:clamp(36px,4.4vw,56px);font-weight:700;letter-spacing:-.03em}
.rf-cat-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 36px}
.rf-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.rf-pcard{display:flex;flex-direction:column;gap:12px;min-width:0}
.rf-pcard-art{
  position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;
  background:var(--gujo-surface2,#f5f5f7);border:1px solid var(--gujo-border,#e8e8ea);
}
.rf-pcard-art > img,.rf-pcard-art .rf-scrub-now{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.rf-pcard-overlay img{position:static;width:100%;height:100%;object-fit:contain}
.rf-pcard-art-shade{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(to top,rgba(7,25,31,.55),rgba(7,25,31,.08) 52%,transparent);
}
.rf-pcard-overlay{
  position:absolute;left:0;right:0;bottom:0;z-index:2;pointer-events:none;
  display:flex;align-items:center;gap:10px;padding:14px 16px;color:var(--gujo-white,#fff);
}
.rf-pcard-overlay .rf-favicon{border-color:transparent;background:var(--gujo-white,#fff)}
.rf-pcard-name{font-size:17px;font-weight:600}
.rf-pcard-meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.rf-pcard-desc{font-size:14px;color:var(--gujo-sub,#6e6e73);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rf-pcard-count{font-size:13px;color:var(--gujo-dim,#9a9aa0)}
.rf-product-hero{display:flex;align-items:flex-start;gap:16px;margin:4px 0 28px}
.rf-product-hero .rf-favicon{width:40px;height:40px;border-radius:10px}
.rf-product-hero-copy h1{margin:0 0 8px;font-size:32px;font-weight:700;letter-spacing:-.03em}
.rf-product-hero-meta{display:flex;flex-wrap:wrap;gap:10px 16px;margin:0;font-size:14px;color:var(--gujo-sub,#6e6e73)}
.rf-product-hero-meta a{display:inline-flex;align-items:center;gap:4px;text-decoration:underline}
.rf-product-hero-meta .gj-ico{width:14px;height:14px}
.rf-sheet-open{display:none}
.rf-sheet-scrim{position:fixed;inset:0;z-index:60;background:rgba(7,25,31,.28)}
.rf-sheet{
  position:fixed;left:0;right:0;bottom:0;z-index:61;max-height:86vh;overflow:auto;
  background:var(--gujo-white,#fff);border-radius:18px 18px 0 0;padding:16px 18px 28px;
  box-shadow:0 -10px 40px rgba(7,25,31,.12);
}
.rf-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.rf-sheet-head button{width:36px;height:36px;border:0;border-radius:999px;background:var(--gujo-surface2,#f5f5f7);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.rf-empty--page{padding-top:18vh}
@media (max-width:1100px){
  .rf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:780px){
  .rf-facets--desktop{display:none}
  .rf-sheet-open{display:inline-flex}
  .rf-product-grid{grid-template-columns:1fr}
  .rf-results{grid-template-columns:1fr}
}

/* ---------- Research 결과 ---------- */
.rf-research-page{max-width:1440px}
.rf-analysis{
  margin:0 0 40px;padding:24px 26px;
  border:1px solid var(--gujo-border,#e8e8ea);border-radius:18px;background:#fff;
}
.rf-analysis-q{margin:0 0 12px;font-size:20px;font-weight:700;letter-spacing:-.02em}
.rf-analysis-body{margin:12px 0 0;font-size:16px;line-height:1.6}
.rf-analysis-meta{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 0;font-size:13px;color:var(--gujo-sub,#6e6e73)}
.rf-badge{
  display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;
  background:var(--gujo-surface2,#f5f5f7);font-size:13px;font-weight:600;
}
.rf-research-block{margin:0 0 48px}
.rf-research-block h2{margin:0 0 18px;font-size:22px;font-weight:700;letter-spacing:-.02em}
.rf-why{margin:8px 0 0;font-size:14px;color:var(--gujo-sub,#6e6e73);line-height:1.45}
.rf-followups{display:flex;flex-direction:column;gap:8px;max-width:720px}
.rf-research-points{margin:24px 0 0;font-size:13px;color:var(--gujo-dim,#9a9aa0)}
