.analysis-source-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0 8px 14px; }
.analysis-source-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.analysis-source-card strong,.analysis-source-card span,.analysis-source-card small { display: block; overflow-wrap: anywhere; }
.analysis-source-card strong { font-size: 12px; }
.analysis-source-card span { margin: 5px 0; font-weight: 900; }
.analysis-source-card small { color: var(--muted); line-height: 1.45; }
.analysis-filters { width: 100%; overflow: visible; }
.analysis-filter-row { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: end; gap: 12px; }
.analysis-filters label { display: grid; gap: 6px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 900; }
.analysis-filters select,.analysis-filters button { width: 100%; min-width: 0; }
.analysis-filters select,.analysis-filters button,#analysisDetail button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-weight: 800; }
.analysis-filters button,#analysisDetail button { cursor: pointer; color: #fff; border-color: var(--green); background: var(--green); }
.analysis-boundary { margin: 10px 10px 0; color: var(--muted); font-size: 12px; }
.analysis-alert { margin: 14px 8px 0; padding: 13px 15px; border: 1px solid #efd8aa; border-radius: 12px; color: #70511e; background: #fff9ed; font-size: 12px; line-height: 1.55; }
.analysis-alert.bad { color: #863c34; border-color: #efc7c2; background: #fff2f0; }
.analysis-empty { min-height: 170px; padding: 22px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); color: var(--muted); }
.analysis-empty strong { display: block; margin-bottom: 8px; color: var(--ink); }
.analysis-status { display: inline-flex; width: max-content; padding: 3px 7px; border-radius: 999px; color: #58636d; background: #eef1f4; font-size: 11px; font-weight: 900; }
.analysis-status.ok { color: var(--green); background: var(--green-soft); }
.analysis-status.stale,.analysis-status.check { color: var(--amber); background: var(--amber-soft); }
.analysis-status.missing,.analysis-status.unknown { color: var(--red); background: var(--red-soft); }
.analysis-table small { display: block; margin-top: 4px; color: var(--muted); white-space: normal; }
.analysis-table button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 800; }
#analysisDetail { width: min(980px,calc(100vw - 30px)); max-height: 86vh; padding: 18px; border: 0; border-radius: 14px; box-shadow: 0 20px 70px rgba(0,0,0,.25); }
#analysisDetail::backdrop { background: rgba(12,32,22,.4); }
#analysisDetail form { text-align: right; }
@media(max-width:1100px){.analysis-source-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.analysis-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.analysis-filter-row{grid-template-columns:1fr}.analysis-source-strip{grid-template-columns:1fr}.analysis-filters label,.analysis-filters select,.analysis-filters button{width:100%}}

/* 피드백 허브 A12(2026-10-14): 연결 안 된 원천 카드를 숨긴 뒤 남은 카드가 칸을 채우게 */
.analysis-source-strip { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }

/* 2026-10-19 카페별 우리 발행 글과 노출 표(시안 A안): 제품 탭 + 어제·저번주·이번달·전체. 2026-10-23 A안: 노출률은 '모바일 측정 전'(막대·상태 점 뺌) */
.cafe-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cafe-head h2 { margin: 0; }
.cafe-note { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.6; text-align: right; }
.cafe-tabs { display: flex; gap: 6px; margin: 6px 0 10px; }
.cafe-tab { padding: 7px 16px; border: 1px solid var(--line); border-radius: 9px; background: #f3f6f4; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.cafe-tab.on { color: #fff; border-color: var(--green); background: var(--green); }
.cafe-scroll { overflow-x: auto; }
.cafe-table th, .cafe-table td { padding: 9px 5px; }
.cafe-table thead th { position: static; border-radius: 0; }
.cafe-table th.g { text-align: center; }
.cafe-table th.g small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; font-weight: 400; }
.cafe-table th.c, .cafe-table td.c { text-align: center; }
.cafe-table th.n, .cafe-table td.n { text-align: right; }
.cafe-table td.rank { color: var(--green); font-weight: 800; }
.cafe-table td.z { color: #a3ada6; }
.cafe-table td small { display: block; font-size: 10.5px; font-weight: 400; }
.cafe-table tr.sum td { border-top: 2px solid #cfe0d5; background: #f3f8f4; font-weight: 800; }
.cafe-table tr.out td { color: #64736a; background: #fbfbfb; }   /* 2026-11-20 D408 '그 밖' 한 줄(메인 카페 밖, 합계에 안 듦) */

/* 2026-10-23 경쟁사 현황판(A안, 14칸). 판정 색은 경쟁지도 v46 pill 과 같은 4가지 */
.board-table { font-size: 11.5px; }
.board-table th { padding: 7px 5px; line-height: 1.3; vertical-align: bottom; white-space: normal; word-break: keep-all; }
.board-table td { padding: 8px 5px; white-space: nowrap; }
.board-table th.n, .board-table td.n { text-align: right; }
.board-table td.l { white-space: normal; word-break: keep-all; }
.analysis-table.board-table td small { display: inline; margin: 0 0 0 3px; color: #8a958e; font-size: 10.5px; }
.analysis-table.board-table td.n small { display: block; margin: 2px 0 0; }
.board-table tr.base td { background: #f6f8f7; }
/* 2026-10-28 메타 위주 탭: 브랜드 옆 제품 표시 */
.board-prod { display: inline-block; padding: 0 6px; border-radius: 6px; background: #eef2f0; color: #5c6b63; font-size: 10.5px; font-weight: 700; }
.board-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.board-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.board-pill.p-ok { color: #1e7a46; background: #e3f4ea; } .board-pill.p-bad { color: #b7352b; background: #fdecea; }
.board-pill.p-warn { color: #9a6a00; background: #fff4dc; } .board-pill.p-mute { color: #7a857f; background: #f1f3f2; }
/* 2026-10-28 글 삭제 확인: 사라진 글이 있는 브랜드 줄은 눌러서 아래에 목록을 펼친다(시안C 꼴) */
.board-table tr.del-open { cursor: pointer; } .board-table tr.del-open:hover td { background: #f6faf7; }
.del-caret { color: #8a958e; font-size: 10px; }
.board-table td.z { color: #a3ada6; }
.board-table tr.del-list > td { padding: 8px 12px 12px; border: 1px dashed #e0b84a; background: #fffdf5; white-space: normal; }
/* 카페 상태판(2026-10-27): 경쟁사 현황판 표 모양을 그대로 쓰고, 7일·30일 평균 옆 "측정 n일"은 값 옆에 작게, 들어온 경쟁사 칸은 줄바꿈 */
.analysis-table.board-table.status-table td.n small { display: inline; margin: 0 0 0 4px; }
.status-table td.l { min-width: 150px; line-height: 1.5; }
/* 2026-11-06 카페 상태판 B안: 부분 측정일이면 '우리 노출률(참고)' 숫자를 흐리게 + '일부 측정' 알약, 표 아래 한 줄. 주요 카페 평균 줄 이름 아래 구성 설명 */
.status-table .cafe-dim { color: #a3ada6; font-weight: 400; }
.status-table .cafe-part { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; color: #9a6a00; background: #fff4dc; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-table small.major-note { display: block; margin: 2px 0 0; color: #7a857f; font-size: 10.5px; font-weight: 400; white-space: nowrap; }
.cafe-foot { margin: 8px 2px 0; padding: 5px 4px; color: #44524a; font-size: 12px; text-align: right; }
/* 2026-10-28 글 생존 표 D안(형님 "d 가 괜찮은데"): 측정 시점 칸마다 막대 하나(초록 남음·노랑 회원 전용·파랑 새로·빨강 빗금 삭제). 너비는 CSP 때문에 5% 단위 클래스 */
.surv-table td.c, .surv-table th.c { text-align: center; }
.surv-table th small { display: block; margin-top: 2px; color: #8a958e; font-size: 10.5px; font-weight: 400; }
.analysis-table.surv-table td.c small { display: block; margin: 3px 0 0; white-space: normal; }
.analysis-table.surv-table td.c small.z { color: #a3ada6; }
.surv-table tr.sv-todo td { background: #fafbfa; }
.surv-table td.sv-pv b { font-size: 13px; }
.sv-bar { display: flex; width: 150px; height: 14px; margin: 0 auto; }
.sv-bar i { display: block; height: 14px; }
.sv-bar i:first-child { border-radius: 4px 0 0 4px; } .sv-bar i:last-child { border-radius: 0 4px 4px 0; } .sv-bar i:only-child { border-radius: 4px; }
.sv-pub { background: #2e9e5e; } .sv-mem { background: #e9b44c; } .sv-new { background: #3b78e7; }
.sv-del { box-sizing: border-box; border: 2px solid #d9534a; background: repeating-linear-gradient(135deg, #fff 0 4px, #fbe3e1 4px 7px); }
.sv-bar i.sv-del:not(:first-child) { border-left-width: 0; }
.sv-w1{width:5%} .sv-w2{width:10%} .sv-w3{width:15%} .sv-w4{width:20%} .sv-w5{width:25%} .sv-w6{width:30%} .sv-w7{width:35%} .sv-w8{width:40%} .sv-w9{width:45%} .sv-w10{width:50%} .sv-w11{width:55%} .sv-w12{width:60%} .sv-w13{width:65%} .sv-w14{width:70%} .sv-w15{width:75%} .sv-w16{width:80%} .sv-w17{width:85%} .sv-w18{width:90%} .sv-w19{width:95%} .sv-w20{width:100%}
.sv-m { color: #9a6a00; } .sv-n, .board-table td.sv-n { color: #2f64c4; } .sv-g, .board-table td.sv-g { color: #b7352b; }
.sv-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 8px; color: #5c6b63; font-size: 12px; font-weight: 700; }
.sv-legend i { display: inline-block; width: 14px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
/* 2026-11-04 C-1안: 글 삭제 확인을 표 둘('지금 상위' · '글 삭제 확인')로 나눔. 제목·부제, 지난번 대비 ▲▼, 20위 빠짐 이유 */
.sv-sub { margin: 18px 0 2px; font-size: 14px; } .sv-q { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.sv-big { font-size: 15px; font-weight: 800; } .sv-up { color: #1e7a46; font-weight: 800; } .sv-dn { color: #b7352b; font-weight: 800; } .sv-fl { color: #8a958e; }
.analysis-table.surv-table td small.sv-i { display: inline; margin: 0 0 0 4px; color: #8a958e; font-size: 10.5px; }
/* 2026-10-28 현황판 '노출 글' 칸: 작은 글(회원 전용·새로)이 줄바꿈되지 않게 */
.analysis-table.board-table td.bp small { white-space: nowrap; }
