vignette/apps/web/src/pages/avatar-expression-lab.css
Yun Chan 4511383cd9 전수 E2E 순회·소유자 결정 6건 구현·디자인 감사 반영
- 전수 순회: IA 전 라우트 412개 기능 인벤토리를 체크리스트 백로그로 관리
  (docs/ops/e2e-full-sweep-2026-07-27.md), 신규 full-sweep 스펙 10파일 추가.
  RED→GREEN으로 결함 12건 수정: 관리자 무한 렌더 프리즈(TanStack autoReset
  루프), 복수 코호트 저장 유실, 페르소나 보관 503(SQL 컬럼 모호성), PII 과잉
  마스킹, /admin/ai watchdog 오탐 오버레이, 모바일 겹침 2건, 설정 스크롤
  스파이, 온보딩 전화번호 무검증, 리뷰 조사·난도 라벨, pending 피드백 등.
- 소유자 결정 구현: 설정 아바타 변경, 동의 철회·재동의 전체 흐름, 신규
  학습자 기초 우선 추천, 학생 분석 테이블 가상화(@tanstack/react-virtual),
  저작 모드 죽은 레일 정리, 감정 밸런스 타임라인 차트(deep turn_valence +
  결정론 파생 폴백).
- 디자인 감사(142차): 라이트 팔레트 AA 대비, 다크 토큰 별칭 통일, 미정의
  CSS 변수 정리, 한글 keep-all 전역화, 탭 타깃 24px, LCP preconnect.
- 검증: npm run e2e 병렬 432 수집 GREEN + 직렬 49/49 exit 0, 백엔드 pytest
  421, gateway 29, typecheck/build/design-ssot/dead-code/중복 게이트 통과,
  layout-visual-gate 15/15, session-layout 8/8. 상세는 SSOT 대시보드
  142~144차 노트.
2026-07-27 14:25:24 +09:00

239 lines
4.1 KiB
CSS

.axl {
width: min(100%, 1440px);
margin: 0 auto;
padding: var(--sp-7) var(--sp-6) var(--sp-8);
display: flex;
flex-direction: column;
gap: var(--sp-7);
}
.axl__head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--sp-5);
align-items: end;
padding-bottom: var(--sp-5);
border-bottom: 1px solid var(--border-subtle);
}
.axl__head h1,
.axl__persona-title h2 {
margin: 0;
color: var(--text-strong);
letter-spacing: 0;
}
.axl__head h1 {
font-size: clamp(28px, 4vw, 38px);
line-height: 1.05;
}
.axl__head p {
max-width: 720px;
margin: var(--sp-2) 0 0;
color: var(--text-muted);
font-size: var(--fs-sm);
line-height: 1.6;
}
.axl__stats {
display: flex;
flex-wrap: wrap;
gap: var(--sp-2);
justify-content: flex-end;
}
.axl__stats span {
min-width: 104px;
padding: 10px 12px;
border: 1px solid var(--border-subtle);
border-radius: 8px;
background: var(--surface);
color: var(--text-muted);
font-size: var(--fs-xs);
font-weight: 700;
text-transform: uppercase;
}
.axl__stats b {
display: block;
color: var(--text-strong);
font-family: var(--font-num);
font-size: 22px;
line-height: 1.1;
}
.axl__stack {
display: flex;
flex-direction: column;
gap: var(--sp-8);
}
.axl__persona {
display: flex;
flex-direction: column;
gap: var(--sp-5);
padding-bottom: var(--sp-7);
border-bottom: 1px solid var(--border-subtle);
}
.axl__persona-head {
display: grid;
grid-template-columns: 156px minmax(0, 1fr);
gap: var(--sp-5);
align-items: center;
}
.axl__persona-head .vg-avatar {
justify-self: start;
}
.axl__persona-title {
min-width: 0;
display: flex;
flex-direction: column;
gap: var(--sp-3);
}
.axl__persona-title h2 {
font-size: 24px;
line-height: 1.2;
overflow-wrap: anywhere;
}
.axl__persona-title dl {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--sp-3);
margin: 0;
}
.axl__persona-title dl > div {
min-width: 0;
padding: 10px 12px;
border: 1px solid var(--border-subtle);
border-radius: 8px;
background: color-mix(in srgb, var(--surface) 82%, transparent);
}
.axl__persona-title dt {
margin: 0 0 4px;
color: var(--text-muted);
font-size: var(--fs-xs);
font-weight: 800;
text-transform: uppercase;
}
.axl__persona-title dd {
margin: 0;
color: var(--text-body);
font-family: var(--font-num);
font-size: var(--fs-xs);
overflow-wrap: anywhere;
}
.axl__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
gap: 12px;
}
.axl__card {
--tone: #53616f;
min-width: 0;
min-height: 188px;
position: relative;
display: grid;
justify-items: center;
align-content: start;
gap: 8px;
padding: 10px;
border: 1px solid var(--border-subtle);
border-radius: 8px;
background: var(--surface);
overflow: hidden;
}
.axl__card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: var(--tone);
}
.axl__card--positive {
--tone: #2f7d57;
}
.axl__card--negative {
--tone: #a84444;
}
.axl__card--defensive {
--tone: #7a5730;
}
.axl__card--cognitive {
--tone: #386f9d;
}
.axl__card--energy {
--tone: #7565a8;
}
.axl__card .vg-avatar {
flex: none;
}
.axl__card .vg-avatar__stage {
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.axl__card-meta {
width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
text-align: center;
}
.axl__card-meta b {
color: var(--text-strong);
font-size: var(--fs-sm);
line-height: 1.2;
overflow-wrap: anywhere;
}
.axl__card-meta span,
.axl__card-meta small {
color: var(--text-muted);
font-family: var(--font-num);
font-size: 11px;
line-height: 1.25;
overflow-wrap: anywhere;
}
@media (max-width: 820px) {
.axl {
padding: var(--sp-5) var(--sp-4) var(--sp-7);
}
.axl__head,
.axl__persona-head {
grid-template-columns: 1fr;
}
.axl__stats {
justify-content: flex-start;
}
.axl__persona-title dl {
grid-template-columns: 1fr;
}
.axl__grid {
grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
}
}