/* Platform preview is intentionally neutral; the workspace retains Wawa green. */
#xhs-open.xhs-pill{position:relative;background:#ff2442;border:0;padding:0 13px;min-width:76px;height:38px;color:white;border-radius:24px;box-shadow:none}
.xhs-wordmark{display:block;width:56px;height:22px;font-size:0!important;transform:none;background:url('/assets/xiaohongshu-wordmark.svg') center/contain no-repeat}
#xhs-open .xhs-status-dot{display:none;position:absolute;right:0;bottom:0;border:2px solid white;width:10px;height:10px}
#xhs-open[data-state=connected] .xhs-status-dot{display:block;background:#258265}
#xhs-open[data-state=working]{opacity:.65}
.analysis-summary{border:1px solid #e2ebe5;border-radius:15px;background:#f5faf7;font-size:12px;color:#4b6759}
.analysis-summary summary{display:flex;align-items:center;gap:7px;padding:13px;cursor:pointer;font-weight:600}
.analysis-summary summary svg{width:15px;height:15px}
.analysis-summary>div{padding:0 14px 14px}.analysis-summary strong{font-size:11px;color:#267d68}.analysis-summary p{font-size:12px;margin:4px 0 12px}.analysis-summary small{font-size:10px;color:#82968a}
.result-note.xhs-note,.canvas-content .result-note.xhs-note{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,1fr);gap:0;align-items:stretch;max-width:1100px;border-radius:20px;border:1px solid #ececec;background:white;overflow:hidden;box-shadow:0 12px 36px #18352b0a}
.xhs-note .note-carousel,.canvas-content .xhs-note .note-carousel{position:relative;aspect-ratio:3/4;width:100%;align-self:start;border-radius:0;margin:0;max-height:none;background:#f7f7f7}
.xhs-note .note-carousel>img,.canvas-content .xhs-note .note-carousel>img{width:100%;height:100%;object-fit:contain;display:block}
.xhs-note .carousel-nav{position:absolute;inset:0;transform:none;backdrop-filter:none;pointer-events:none;background:none;display:flex;align-items:center;justify-content:space-between;padding:14px;border-radius:0}
.xhs-note .carousel-nav button{pointer-events:auto;border:0;width:32px;height:32px;background:#0003;color:#fff;border-radius:50%;display:grid;place-items:center}
.xhs-note .carousel-nav button svg{width:18px;height:18px}
.xhs-note .carousel-nav>span{position:absolute;right:14px;top:14px;background:#0004;color:white;border-radius:15px;padding:4px 9px;font-size:11px}
.note-dots{position:absolute;bottom:15px;left:20px;right:20px;display:flex;gap:5px;justify-content:center}.note-dots i{width:5px;height:5px;border-radius:50%;background:#fff8;box-shadow:0 1px 3px #0002}.note-dots i.active{background:#ff2442}
.xhs-note .note-copy,.canvas-content .xhs-note .note-copy{padding:0;min-height:0;min-width:0;display:flex;flex-direction:column;color:#333;position:relative}
.xhs-note .note-author,.canvas-content .xhs-note .note-author{display:flex;gap:10px;align-items:center;padding:22px 24px;margin:0;border-bottom:1px solid #f6f6f6;font-size:12px;color:#555;flex-shrink:0}
.xhs-note .note-author img,.canvas-content .xhs-note .note-author img{width:34px;height:34px;border-radius:50%}
.note-preview-label{margin-left:auto;border:1px solid #ff2442;color:#ff2442;border-radius:22px;padding:6px 14px;white-space:nowrap;font-size:11px}
.xhs-note .note-scroll{flex:1;min-height:0;overflow:auto;padding:22px 24px;scrollbar-width:thin;max-height:420px}
.xhs-note .note-copy h3,.canvas-content .xhs-note .note-copy h3{color:#222;font-size:17px;line-height:1.6;font-weight:650;margin:0 0 14px;letter-spacing:0}
.xhs-note .note-copy p,.canvas-content .xhs-note .note-copy p{color:#333;font-size:13px;line-height:1.95;white-space:pre-wrap;margin:0 0 14px;max-height:none;overflow:visible}
.xhs-note .note-tags,.canvas-content .xhs-note .note-tags{font-size:12px;line-height:1.8;color:#224c79}
.note-meta{font-size:10px;color:#aaa;margin:17px 0}.note-comments{border-top:1px solid #f0f0f0;padding:30px 0 18px;color:#bbb;display:flex;flex-direction:column;gap:12px;align-items:center;font-size:10px;text-align:center}.note-comments svg{width:34px;height:34px;stroke-width:1.2}
.xhs-note .note-social,.canvas-content .xhs-note .note-social{border-top:1px solid #eee;display:flex;align-items:center;gap:16px;margin:0;padding:16px 20px;min-height:66px;color:#333;flex-shrink:0}
.note-social>span{display:flex}.note-social svg{width:23px;height:23px}.note-comment-placeholder{background:#f6f6f6;color:#aaa;border-radius:30px;flex:1;min-width:40px;padding:10px 14px;font-size:11px}.note-preview-caption{text-align:center;color:#89968e;font-size:10px;margin:14px auto 0}.xhs-note .preview-action{padding:0 20px 18px}
@media(min-width:1201px){.canvas-content .result-note.xhs-note{max-width:min(1100px,calc((100dvh - 220px)*1.42))}.canvas-content .xhs-note .note-scroll{max-height:max(180px,calc(100dvh - 370px))}}
@media(max-width:1200px){.result-note.xhs-note,.canvas-content .result-note.xhs-note{grid-template-columns:1fr;max-width:460px}.xhs-note .note-scroll{max-height:none}.xhs-note .note-comments{display:none}}
@media(max-width:760px){.editor-mode .editor-context{display:none}#xhs-open.xhs-pill{min-width:70px;height:40px;padding:0 11px}.xhs-wordmark{font-size:19px}.xhs-note .note-author,.canvas-content .xhs-note .note-author{padding:17px 18px}.xhs-note .note-scroll{padding:18px}.xhs-note .note-social,.canvas-content .xhs-note .note-social{padding:14px 18px;gap:15px}.xhs-note .carousel-nav button{width:44px;height:44px}.analysis-summary p{font-size:12px}}
