:root{color-scheme:light;--red:#ff2442;--dark-red:#a31630;--rose:#fff1f4;--ink:#19202d;--muted:#77808e;--line:#ebe9ed;--paper:#fff;--background:#faf9fa;font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--background);font-size:14px}button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:inherit;padding:9px 14px;transition:background .15s}button:hover{background:var(--rose)}button:focus-visible{outline:3px solid #ff8a9b;outline-offset:2px}button:disabled{cursor:default;color:#999fa8;background:#f1f1f3}button.primary{background:var(--red);border-color:var(--red);color:white}button.link{border:0;padding:4px 0;color:var(--red);background:none;white-space:nowrap}button.link:hover{text-decoration:underline}
.app-header{height:74px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;gap:18px}.brand{display:flex;align-items:center;gap:16px;white-space:nowrap}.brand strong{font-size:24px;letter-spacing:-1px}.play-mark{color:var(--red);font-size:30px}.divider{height:28px;width:1px;background:#d6d4da}.project{font-weight:650;font-size:17px}.header-actions{display:flex;align-items:center;gap:10px}.workspace{padding:20px 24px;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:22px;height:calc(100vh - 74px);min-height:740px}.watch-column{min-width:0;display:flex;flex-direction:column;gap:12px}.video-shell{border-radius:10px;overflow:hidden;background:#111;line-height:0;box-shadow:0 3px 16px #2119240a}video{width:100%;aspect-ratio:960/544;display:block;max-height:48vh}.playback-caption{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;padding:0 2px}.playback-caption strong{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 11px}.section-heading h2{font-size:18px;margin:0}.section-heading h2 span{font-size:13px;color:var(--muted);font-weight:400;margin-left:6px}.section-heading>span{font-size:12px;color:var(--muted)}.audience-section{min-height:0;flex:1}.audience-grid{display:grid;grid-template-columns:repeat(var(--columns,4),minmax(0,1fr));gap:9px}.viewer-card{text-align:left;display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);background:#fff;min-width:0;min-height:68px}.viewer-card.selected{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:#fff7f8}.avatar{width:37px;height:37px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(145deg,#ffe4e9,#f6bec9);color:#9c213a;font-size:16px;font-weight:700}.avatar.tone-1{background:linear-gradient(145deg,#e7eaf0,#ccd4df);color:#4e6279}.avatar.tone-2{background:linear-gradient(145deg,#faeedb,#ecd6ba);color:#8c6346}.avatar.tone-3{background:linear-gradient(145deg,#efebf3,#ded3e7);color:#765e8b}.viewer-copy{overflow:hidden;min-width:0;flex:1}.viewer-name{font-weight:650;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-label{color:var(--muted);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-status{font-size:11px;margin-top:4px;color:var(--red)}.viewer-status.left,.viewer-status.pending{color:var(--muted)}.viewer-status.finished{color:#9f1631}.scope-note{font-size:11px;color:#969ba5;margin:0;padding-top:2px}.inspector{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px 20px;scrollbar-width:thin;scrollbar-color:#e0d6d9 transparent}.person-heading{display:flex;align-items:center;gap:13px;padding:0 0 16px;border-bottom:1px solid var(--line)}.person-heading .avatar{width:54px;height:54px;font-size:22px}.person-heading h1{font-size:23px;margin:0 0 7px}.person-meta{display:flex;gap:12px;font-size:12px;color:var(--muted)}.person-meta .status{color:var(--red)}.profile-id{font-size:13px;font-weight:400;color:var(--muted)}.detail-section{padding:16px 0;border-bottom:1px solid var(--line)}.detail-section h2{font-size:17px;margin:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.section-title .timestamp{font-size:12px;font-weight:400;color:var(--muted);margin-left:6px}.biography{line-height:1.85;font-size:13px;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.reaction{background:var(--rose);border-left:3px solid var(--red);padding:14px 16px;line-height:1.8;font-size:14px;border-radius:4px 8px 8px 4px;white-space:pre-wrap;margin:0}.empty{padding:20px;color:var(--muted);font-size:13px;line-height:1.8}.interaction-heading{font-size:13px;font-weight:650;margin:14px 0 8px}.operation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.operation{border:1px solid var(--line);border-radius:6px;padding:10px 9px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:5px}.operation strong{font-weight:500;color:var(--muted)}.operation.active{border-color:#ffd4db;background:#fff7f8}.operation.active strong{color:var(--red)}.comments{margin:8px 0 0;padding:10px 12px;background:#faf9fa;border-radius:6px;font-size:12px;line-height:1.7}.comments h3{font-size:12px;margin:0 0 4px}.comments p{margin:5px 0}.muted,.subtle{color:var(--muted);font-size:12px}.history-preview{display:flex;gap:8px;overflow:hidden}.history-card{flex:1;min-width:0;padding:11px;text-align:left;background:#fff5f7;border:0;border-radius:8px}.history-card time{font-size:11px;color:var(--dark-red)}.history-card p{font-size:12px;line-height:1.7;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.summary-button{width:100%;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px;border-color:#ffd4dd;color:var(--dark-red);background:#fff5f7}.summary-button span{font-size:11px;font-weight:400}.summary-button strong{font-size:15px}.context-note{font-size:11px;color:var(--muted);margin:9px 0 0}.dialog-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px}.dialog-heading h2{margin:0;font-size:22px}.dialog-heading button{font-size:25px;border:0;padding:2px 12px}.dialog-heading .subtle{display:inline-block;margin-top:7px}dialog{width:min(780px,92vw);max-height:88vh;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 25px 90px #30212d38;color:var(--ink)}dialog::backdrop{background:#27233355;backdrop-filter:blur(3px)}.long-text{white-space:pre-wrap;line-height:1.95;font-size:14px}.full-event{padding:16px 0;border-bottom:1px solid var(--line)}.event-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px}.full-event p{line-height:1.8;font-size:14px;margin:10px 0}.event-operations{color:var(--dark-red);font-size:12px}.summary-section h3{font-size:17px;color:var(--dark-red);margin:16px 0 8px}.summary-section p{line-height:1.9;font-size:14px}.evidence-row{display:block;width:100%;text-align:left;margin:8px 0;line-height:1.7;font-size:13px}.stats-dialog{width:min(1180px,94vw)}.stats-overview{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}.stat-pill{background:#fff3f6;border-radius:8px;padding:12px 16px;min-width:110px}.stat-pill strong{font-size:24px;margin-right:8px}.stat-pill span{font-size:12px;color:#775b66}.stats-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.stats-grid h3{font-size:16px;margin:5px 0 13px}.chart-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted);margin-top:12px}.chart-legend i{display:inline-block;width:14px;height:3px;vertical-align:middle;margin-right:5px}.chart{width:100%;height:auto;display:block}.stats-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:14px}.stats-table th,.stats-table td{padding:10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.stats-table th{background:#faf6f8;color:var(--muted);font-weight:500}.stats-table td:last-child{line-height:1.7}.stats-records{margin-top:24px}.stats-records h3{font-size:16px}.stats-table button{padding:2px 5px;font-size:12px}.notice-inline{background:#fff4e3;padding:12px;font-size:12px;line-height:1.7;color:#8c5d20;border-radius:8px}#notice{padding:10px 24px;background:#fff0e3;color:#8a3d22;margin:0}#notice:not([hidden])+.workspace{height:calc(100vh - 116px)}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.inspector{padding:22px 26px}.viewer-card{padding:12px}.biography{-webkit-line-clamp:5}}
@media(max-width:1200px){.project{font-size:14px}.brand strong{font-size:20px}.brand{gap:10px}.workspace{padding:16px;gap:16px}.viewer-card{padding:8px;gap:6px}.avatar{width:30px;height:30px;font-size:13px}.viewer-label{font-size:10px}.operation{display:block}.operation strong{display:block;margin-top:5px}.inspector{padding:15px}.scope-note{font-size:10px}}
@media(max-width:850px){.app-header{height:auto;min-height:70px;padding:12px 16px;flex-wrap:wrap}.brand{flex-wrap:wrap;gap:9px}.project{font-size:13px}.header-actions{margin-left:auto}.header-actions button{font-size:12px;padding:7px 10px}.workspace{display:block;height:auto;min-height:0}.watch-column{gap:10px}video{max-height:none}.audience-section{margin-top:7px}.audience-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.viewer-card{display:block;text-align:center;min-height:93px}.viewer-card .avatar{margin:0 auto 6px}.viewer-label{display:none}.scope-note{margin:4px 0 16px}.inspector{overflow:visible}.stats-grid{grid-template-columns:1fr}.operation{display:flex}.history-card p{-webkit-line-clamp:4}.stat-pill{min-width:90px;padding:9px 12px}.stat-pill strong{font-size:20px}}
.video-shell{flex-shrink:0;background:#171319}.video-shell video{max-height:39vh;object-fit:contain}.player-controls{display:flex;align-items:center;gap:9px;padding:10px 12px;color:#fff;line-height:1;font-size:11px;font-variant-numeric:tabular-nums}.player-controls[hidden]{display:none}.player-controls button{border:0;background:transparent;color:inherit;padding:4px;font-size:13px;white-space:nowrap}.player-controls button:hover{color:#ff8a9b}.player-controls input{accent-color:var(--red);min-width:0;cursor:pointer}.player-controls #seek{flex:1;width:80px}.player-controls #volume{width:55px}#player-time{white-space:nowrap}#clip-position{white-space:nowrap;color:#d6cbd1;font-size:10px}.clip-strip{display:flex;gap:2px;padding:0 12px 10px;height:19px;line-height:1}.clip-strip button{padding:0;min-width:0;flex-basis:0;border:0;border-radius:2px;background:#63545c}.clip-strip button.played{background:#ba5367}.clip-strip button.current{background:var(--red);box-shadow:0 0 0 1px #ffc9d2}.chapters{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;flex-shrink:0}.chapter{border:0;border-top:6px solid #ffa5b5;background:#fff0f4;border-radius:4px;padding:7px 2px 8px;text-align:center;line-height:1.5;min-width:0}.chapter span{display:block;font-size:11px;color:var(--red);font-weight:650}.chapter time{font-size:9px;white-space:nowrap;color:#796772}.chapter strong{display:block;font-size:11px;white-space:nowrap;margin-top:2px}.chapter.current{border-top-color:var(--red);background:#ffdce5}.chapter.current strong{color:#d60a35}.audience-section{display:flex;flex-direction:column;overflow:hidden}.audience-grid{min-height:0;overflow:auto;scrollbar-width:thin;padding:1px 3px 2px 1px}.video-shell:fullscreen{display:flex;flex-direction:column;justify-content:center}.video-shell:fullscreen video{max-height:calc(100vh - 70px);flex:1}.video-shell:fullscreen .player-controls{padding:16px 24px}.video-shell:fullscreen .clip-strip{padding:0 24px 12px}
@media(max-width:1100px){.player-controls{gap:6px;padding:9px}.chapter strong{font-size:10px}.chapter time{font-size:8px}}
@media(max-width:850px){.video-shell video{max-height:none}.audience-grid{max-height:340px}.chapters{overflow-x:auto;grid-template-columns:repeat(8,minmax(72px,1fr))}.player-controls #clip-position{display:none}}
.watch-column{min-height:0}.audience-grid{flex:1}

.volume-control{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#ddd1d8}.volume-control output{min-width:30px;text-align:right;font-variant-numeric:tabular-nums}.player-controls .volume-control #volume{display:block;width:64px}.audience-grid{gap:5px}.viewer-card{min-height:48px;padding:6px;gap:6px;border-radius:6px}.viewer-card .avatar{width:26px;height:26px;font-size:12px}.viewer-name{font-size:12px}.viewer-name small{font-size:9px;color:var(--muted);font-weight:400}.viewer-status{font-size:10px;margin-top:3px}.word-cloud{min-height:230px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;gap:4px 16px;padding:14px 8px}.cloud-word{border:0;background:none;border-radius:4px;padding:3px 1px;line-height:1.15;font-weight:650;white-space:nowrap}.cloud-word:hover{background:var(--rose);text-decoration:underline}.cloud-word sup{font-size:10px;font-weight:400;vertical-align:super;margin-left:3px;color:var(--muted)}.cloud-tone-0{color:var(--red)}.cloud-tone-1{color:var(--dark-red)}.cloud-tone-2{color:#bd5870}
@media(max-width:1250px){.audience-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.player-controls{flex-wrap:wrap;gap:8px}.player-controls #clip-position{display:none}.player-controls #seek{min-width:100px}}
@media(max-width:850px){.audience-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.viewer-card{display:flex;text-align:left;min-height:48px}.viewer-card .avatar{margin:0}.viewer-name{font-size:11px}.word-cloud{min-height:180px}}

.speed-control{position:relative;flex-shrink:0}.player-controls #speed{display:flex;align-items:center;gap:5px;min-width:43px;justify-content:center;border-radius:5px}.player-controls #speed[aria-expanded="true"]{background:#ffffff1a;color:#ff8a9b}.speed-chevron{font-size:15px;line-height:.7}.speed-menu{position:absolute;right:0;bottom:calc(100% + 12px);width:160px;padding:10px;border:1px solid #f1dce2;border-radius:11px;background:#fff;color:var(--ink);box-shadow:0 8px 30px #39202e2e;z-index:3;line-height:1.4}.speed-menu[hidden]{display:none}.speed-menu-title{display:block;padding:1px 5px 8px;color:var(--muted);font-size:11px}.speed-options{display:grid;grid-template-columns:1fr 1fr;gap:5px}.player-controls .speed-options button{color:var(--ink);background:#faf7f8;border:1px solid transparent;border-radius:6px;padding:7px 5px;font-size:13px;font-weight:500}.player-controls .speed-options button:hover{background:var(--rose);color:var(--red)}.player-controls .speed-options button[aria-checked="true"]{background:var(--red);border-color:var(--red);color:#fff}.player-controls .speed-options button:focus-visible{outline:2px solid #ff8a9b;outline-offset:1px}
.workspace{height:auto;min-height:calc(100vh - 74px);align-items:start;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}.watch-column{gap:14px}.inspector{max-height:calc(100vh - 112px);position:sticky;top:18px;overflow:auto}.inspector #inspector{padding:0;border:0;overflow:visible}.video-shell video{max-height:36vh}.audience-section{flex:none;overflow:visible}.audience-grid{display:block;padding:0;overflow:visible;max-height:none;flex:none}.section-heading h2{font-size:16px}.scope-note{line-height:1.6}
.feedback{border:1px solid var(--line);border-radius:12px;background:white;padding:17px 18px}.feedback h2{font-size:18px;margin:0}.feedback-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.feedback-metrics button{padding:11px 4px;text-align:center;background:#fff5f7;border:0}.feedback-metrics strong{display:block;color:var(--dark-red);font-size:25px;line-height:1.1}.feedback-metrics span{display:block;font-size:11px;color:#805763;margin-top:8px}.cohort-comparison{margin:13px 0 9px;border-bottom:1px solid var(--line);padding-bottom:10px}.cohort-comparison>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:2.2;gap:8px}.cohort-comparison small{font-weight:400;color:var(--muted);margin-left:5px}.cohort-comparison>div>span{color:var(--muted)}.feedback-line{display:grid;grid-template-columns:112px 1fr;gap:8px;padding:4px 0;align-items:start}.feedback-line button{font-size:12px;text-align:left}.feedback-line p{margin:4px 0;font-size:12px;line-height:1.7;color:#5b5863;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tag-browser h3{font-size:12px;margin:13px 0 7px}.person-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.person-tags button{border:1px solid #f1e2e6;border-radius:5px;font-size:11px;padding:4px 8px;background:#fff8fa;color:#805963}.person-tags small{color:var(--muted);padding-left:3px}
.cohort{border:1px solid var(--line);border-radius:9px;background:white;margin-bottom:8px}.cohort>summary{display:flex;align-items:center;gap:10px;padding:13px 14px;cursor:pointer;font-size:13px}.cohort>summary::before{content:'\203a';font-size:19px;color:var(--red);line-height:1}.cohort[open]>summary::before{transform:rotate(90deg)}.cohort>summary>span{color:var(--muted);font-size:11px}.expand-label{margin-left:auto}.cohort-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0 12px 12px}.cohort-note{color:var(--muted);font-size:11px;line-height:1.8;padding:0 14px;margin:0 0 10px}
.inspection-mode{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:15px;color:var(--muted);font-size:12px}.inspection-mode>div{display:flex;background:#f6f3f5;border-radius:6px;padding:3px}.inspection-mode button{border:0;background:transparent;font-size:11px;padding:5px 9px;border-radius:4px;color:var(--muted)}.inspection-mode button[aria-pressed=true]{background:white;color:var(--red);box-shadow:0 1px 4px #30202b0d}.person-heading{padding-bottom:13px}.person-heading h1{font-size:22px}.person-meta{font-size:11px;flex-wrap:wrap;gap:8px}.background{border-bottom:1px solid var(--line);padding:0 0 12px;color:var(--muted);font-size:12px}.background summary,.source-records summary{cursor:pointer;padding:6px 0;line-height:1.7}.background .long-text{font-size:13px;color:var(--ink);margin-bottom:0}.summary-section h3{font-size:13px;color:var(--dark-red);margin:12px 0 6px}.summary-section p{font-size:13px;line-height:1.85;margin:0 0 10px}.source-records{background:#faf8fa;padding:5px 10px;border-radius:6px;font-size:11px;color:#756473}.source-event{padding:11px 0;border-bottom:1px solid var(--line)}.source-event:last-child{border-bottom:0}.source-event>div{display:flex;justify-content:space-between;align-items:center;font-size:11px}.source-event blockquote{margin:10px 0 8px;padding:9px 12px;background:#fff1f4;color:var(--ink);border-left:2px solid var(--red);font-size:13px;line-height:1.8}.reaction-reason{font-size:12px;line-height:1.8;color:#756773;margin:9px 0 0}.reaction-reason>span{color:var(--dark-red);font-weight:600;margin-right:8px}.finding-person{padding:18px 0;border-bottom:1px solid var(--line)}.finding-person>p{font-size:13px;line-height:1.8}.finding-person small{color:var(--muted);font-size:11px;font-weight:400;margin-left:7px}.tag-source{padding:12px 14px;background:#faf6f8;border-left:2px solid #dfc5cd;color:#70616a}.stats-findings{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.stats-findings button{font-size:12px;border-color:#f1dbe2;color:var(--dark-red);background:#fff8fa}.stats-findings strong{font-size:19px;margin-right:5px}.reaction{font-size:13px;padding:12px 14px}.detail-section h2{font-size:15px}.detail-section{padding:15px 0}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}}
@media(max-width:1100px){.cohort-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feedback{padding:14px}.feedback-line{grid-template-columns:105px 1fr}.feedback-metrics span{font-size:10px}.inspector{padding:15px}.cohort-comparison>div{flex-wrap:wrap;gap:0}.video-shell video{max-height:34vh}}
@media(max-width:850px){.workspace{display:block;min-height:0}.inspector{position:static;max-height:none;margin-top:16px;overflow:visible}.video-shell video{max-height:none}.feedback-line{grid-template-columns:110px 1fr}.cohort-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cohort-comparison>div{flex-wrap:nowrap}.feedback-metrics strong{font-size:24px}.source-event>div{gap:8px}.source-event .link{font-size:11px}}
@media(max-width:420px){.feedback-metrics{gap:5px}.feedback-metrics button{padding:10px 2px}.feedback-metrics span{font-size:10px}.cohort-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand .divider{display:none}.cohort-comparison>div{font-size:10px}.event-heading{gap:12px}.event-heading strong{line-height:1.7}.feedback-line{grid-template-columns:100px 1fr}}
.feedback-line>.link{white-space:normal;line-height:1.65;text-align:left}
