/* =========================================================== 아리 — 리서치 · tasks.css(토큰·상단바·사이드바) 뒤에 로드 =========================================================== */ /* ---------- 사이드바: 뷰 전환 내비 ---------- */ .rs-nav { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; } .rs-navrow { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; border-radius: 11px; transition: background 0.13s; } .rs-navrow:hover { background: var(--glass-2); } .rs-navrow.on { background: var(--fill); } .rs-nav-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--card-2); color: var(--ink-2); } .rs-nav-ic .ic { width: 15px; height: 15px; } .rs-nav-ic.tone-blue { background: color-mix(in oklab, var(--blue) 15%, transparent); color: var(--blue); } .rs-nav-ic.tone-green { background: color-mix(in oklab, var(--green) 15%, transparent); color: var(--green); } .rs-nav-ic.tone-coral { background: color-mix(in oklab, var(--coral) 15%, transparent); color: var(--coral); } .rs-navrow.on .rs-nav-ic { background: rgba(255,255,255,0.16); color: var(--on-fill); } .rs-nav-tx { flex: 1; min-width: 0; line-height: 1.25; } .rs-nav-tx b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; } .rs-nav-tx span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; } .rs-navrow.on .rs-nav-tx b { color: var(--on-fill); } .rs-navrow.on .rs-nav-tx span { color: color-mix(in oklab, var(--on-fill) 70%, transparent); } /* ---------- 새 조사 홈: 입구 카드 ---------- */ .rs-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .rs-entry { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--shadow-sm), var(--glass-hi); transition: transform 0.14s, box-shadow 0.14s; } .rs-entry:hover { transform: translateY(-2px); box-shadow: var(--shadow), var(--glass-hi); } .rs-entry .rs-ci { margin-bottom: 8px; } .rs-entry-k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); } .rs-entry-t { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .rs-entry-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; } .rs-entry-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); } .rs-entry-go .ic { width: 13px; height: 13px; } .rs-entry:hover .rs-entry-go { color: var(--coral); } /* ---------- 사이드바: 지식 베이스 ---------- */ .rs-sn-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 7px; } .rs-cols, .rs-srcs { display: flex; flex-direction: column; gap: 2px; } .rs-col { display: flex; align-items: center; gap: 9px; text-align: left; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; } .rs-col:hover { background: var(--glass-2); } .rs-col .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .rs-col .nm { flex: 1; min-width: 0; } .rs-col .n { font-size: 11px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; } .rs-srcrow { display: flex; align-items: center; gap: 9px; text-align: left; padding: 7px 10px; border-radius: 10px; } .rs-srcrow:hover { background: var(--glass-2); } .rs-srcic { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--card-2); color: var(--ink-2); } .rs-srcic .ic { width: 13px; height: 13px; } .rs-srcrow .tx { flex: 1; min-width: 0; line-height: 1.25; } .rs-srcrow .tx b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rs-srcrow .tx span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; } .rs-learned { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--green) 16%, transparent); color: var(--green); } .rs-learned .ic { width: 9px; height: 9px; } .rs-learning { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--amber); animation: rs-blink 1.3s ease infinite; } @media (prefers-reduced-motion: reduce) { .rs-learning { animation: none; } } @keyframes rs-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } } .rs-sn-hint { font-size: 11.5px; line-height: 1.5; color: var(--muted); padding: 10px 10px 0; margin: 0; } /* ---------- 메인 ---------- */ .rs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 18px; } .rs-head h1 { margin: 0; font-family: var(--font-disp); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; } .rs-head p { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); } /* 컴포저 */ .rs-composer { display: flex; flex-direction: column; gap: 10px; } .rs-cbox { display: flex; align-items: center; gap: 11px; padding: 8px 9px 8px 16px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); border-radius: 16px; box-shadow: var(--shadow-sm), var(--glass-hi); } .rs-cspark { width: 22px; height: 22px; display: grid; place-items: center; color: var(--coral); flex-shrink: 0; } .rs-cspark .ic { width: 18px; height: 18px; } .rs-cbox input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-size: 14.5px; color: var(--ink); padding: 9px 0; } .rs-cbox input::placeholder { color: var(--faint); } .rs-go { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; white-space: nowrap; padding: 10px 16px; border-radius: 11px; font-size: 13px; font-weight: 700; background: var(--fill); color: var(--on-fill); transition: filter 0.13s, opacity 0.13s; } .rs-go .ic { width: 14px; height: 14px; } .rs-go:disabled { opacity: 0.45; cursor: default; } .rs-go:not(:disabled):hover { filter: brightness(1.15); } .rs-chips { display: flex; flex-wrap: wrap; gap: 8px; } .rs-chip { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass-2); transition: all 0.13s; } .rs-chip:hover { border-color: var(--ink-2); color: var(--ink); } .rs-queued { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid color-mix(in oklab, var(--blue) 30%, transparent); background: color-mix(in oklab, var(--blue) 8%, var(--card)); } .rs-qpulse { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex-shrink: 0; animation: rs-blink 1.3s ease infinite; } .rs-queued p { flex: 1; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); } .rs-queued b { color: var(--ink); } .rs-queued button { font-size: 11.5px; font-weight: 700; color: var(--muted); flex-shrink: 0; } .rs-queued button:hover { color: var(--ink); } /* 카드 공통 */ .rs-card { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); border-radius: var(--radius); box-shadow: var(--shadow-sm), var(--glass-hi); padding: 20px 22px; } .rs-ch { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 14px; } .rs-ci { width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; } .rs-ci .ic { width: 19px; height: 19px; } .rs-ci.tone-blue { background: color-mix(in oklab, var(--blue) 15%, transparent); color: var(--blue); } .rs-ci.tone-green { background: color-mix(in oklab, var(--green) 15%, transparent); color: var(--green); } .rs-ci.tone-coral { background: color-mix(in oklab, var(--coral) 15%, transparent); color: var(--coral); } .rs-cht { flex: 1; min-width: 0; line-height: 1.3; } .rs-k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; } .rs-cht h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; } .rs-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; } .rs-counts { display: flex; gap: 7px; flex-wrap: wrap; flex-shrink: 0; } .rs-count { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); } .rs-count .dot { width: 7px; height: 7px; border-radius: 50%; } .rs-synth { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); } .rs-synth b { color: var(--ink); } /* 교차 분석 표 */ .rs-cross { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-bottom: 13px; } .rs-cross-head, .rs-cross-row { display: grid; grid-template-columns: 150px 1fr 170px; gap: 14px; align-items: center; padding: 9px 14px; } .rs-cross-head { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--card-2); } .rs-cross-row { border-top: 1px solid var(--line); font-size: 12.5px; } .rs-src { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; } .rs-src .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; } .rs-claim { color: var(--ink-2); line-height: 1.4; } .rs-stance { color: var(--muted); font-size: 12px; } .rs-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); } .rs-note .ic { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--amber); } /* Q&A */ .rs-q { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; padding: 10px 13px; border-radius: 12px; background: var(--card-2); margin-bottom: 11px; } .rs-q .ic { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; } .rs-a { margin: 0 0 13px; font-size: 13px; line-height: 1.6; color: var(--ink-2); } .rs-a b { color: var(--ink); } .rs-refs { display: flex; flex-direction: column; gap: 7px; } .rs-ref { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--line-2); font-size: 12px; transition: all 0.13s; } .rs-ref:hover { border-color: var(--green); border-style: solid; } .rs-ref .ic { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; } .rs-ref b { font-weight: 700; } .rs-ref span { color: var(--muted); margin-left: auto; flex-shrink: 0; font-size: 11px; } /* 차트 */ .rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } .rs-chart { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding: 8px 4px 0; margin-bottom: 13px; } .rs-bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; } .rs-bv { font-size: 11px; font-weight: 600; color: var(--muted); } .rs-bcol { width: 100%; max-width: 52px; border-radius: 9px 9px 4px 4px; position: relative; background: linear-gradient(180deg, color-mix(in oklab, var(--coral) 78%, var(--card)), color-mix(in oklab, var(--coral) 48%, var(--card))); min-height: 12px; } .rs-bar.forecast .rs-bcol { background: repeating-linear-gradient(-45deg, color-mix(in oklab, var(--coral) 38%, transparent) 0 6px, color-mix(in oklab, var(--coral) 14%, transparent) 6px 12px); border: 1.5px dashed color-mix(in oklab, var(--coral) 60%, transparent); } .rs-btag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 999px; background: var(--coral); color: #fff; white-space: nowrap; } .rs-by { font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; } .rs-bar.forecast .rs-by, .rs-bar.forecast .rs-bv { color: var(--coral); font-weight: 700; } .rs-insight { margin: 0 0 11px; font-size: 13px; line-height: 1.55; color: var(--ink-2); } .rs-insight b { color: var(--ink); } .entered .rs-main > * { animation: rs-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; } .entered .rs-main > *:nth-child(2) { animation-delay: 0.04s; } .entered .rs-main > *:nth-child(3) { animation-delay: 0.08s; } .entered .rs-main > *:nth-child(4) { animation-delay: 0.12s; } @keyframes rs-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } @media (max-width: 1180px) { .rs-grid { grid-template-columns: 1fr; } .rs-entries { grid-template-columns: 1fr; } } @media (max-width: 1080px) { .subnav { display: none; } } @media (max-width: 760px) { .rs-cross-head, .rs-cross-row { grid-template-columns: 1fr; gap: 4px; } .rs-cross-head span:nth-child(n+2) { display: none; } .rs-counts { display: none; } }