:root{background:#f5f5f5;color:#333333}.shell{max-width:1360px}.brand small{font-size:9px;letter-spacing:1.5px;color:#999999}.topbar nav a.active{color:#ff2442;background:#fff0f2}.eyebrow{color:#ff2442}.page-title{padding-top:42px}.page-title h1{font-size:36px}.surface{border-color:#e8e8e8;box-shadow:none;padding:24px}.section-head{flex-wrap:wrap}.section-head h2{font-size:20px}.section-head form,.phone-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar button,.section-head button,button{color:#333333;border:1px solid #e5e5e5;background:#fff;border-radius:8px;padding:8px 12px;font:inherit}.primary,button.primary{background:#ff2442;border-color:#ff2442;color:white}button:hover{filter:brightness(.97)}button:disabled{opacity:.45;cursor:default}input,textarea,select{border:1px solid #e5e5e5;border-radius:8px;padding:9px;background:#fff;color:inherit}textarea{width:100%;font:13px/1.6 ui-monospace,monospace;resize:vertical}#cookie-form{margin-top:18px}#cookie-form>label{display:block;margin-bottom:8px;font-size:13px}details>summary{cursor:pointer;color:#ff2442}.pill{background:#fff0f2;color:#ff2442}.muted{font-size:13px;color:#999999}.message{color:#666666}.message.error{color:#ff2442}.sync-status{padding:12px 15px;border:1px solid #e8e8e8;background:#fafafa;border-radius:10px;color:#666666;font-size:13px}.breadcrumb{display:flex;align-items:center;gap:12px;padding:14px 0;color:#666666;font-size:13px}.breadcrumb span:before{content:' / ';margin-right:9px;color:#cccccc}.breadcrumb button{border:0;background:transparent;padding:4px;color:#ff2442}.table-wrap{margin-top:15px}th{background:#fafafa;color:#666666;font-weight:500;font-size:12px}td{font-size:13px;color:#333333;border-bottom-color:#eeeeee}td strong{font-weight:600}td small{display:block;color:#999999;margin-top:4px}td .row-action{white-space:nowrap;color:#ff2442}td.highlight{color:#ff2442;font-weight:600}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric{padding:18px 14px;background:#fff;border:1px solid #eeeeee;border-radius:13px}.metric span,.metric small{display:block;font-size:12px;color:#999999}.metric strong{display:block;font-size:25px;color:#333333;font-weight:600;margin:9px 0 2px;font-variant-numeric:tabular-nums}.metric small{font-size:10px}.chart-wrap{position:relative;height:310px;margin-top:18px}.chart-wrap .empty{height:100%;display:grid;place-items:center;background:#fafafa;border-radius:10px}.detail-heading h2{font-size:26px}.pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:15px;font-size:12px}.empty{color:#999999}.toolbar>a{color:#ff2442}dialog{width:min(1060px,96vw);max-height:94vh;overflow:auto;border:1px solid #eeeeee;border-radius:18px;padding:24px;color:#333333;box-shadow:0 24px 100px #00000022}dialog::backdrop{background:#00000066}.phone-fields label{display:flex;align-items:center;gap:8px;font-size:13px}.phone-fields input{max-width:190px}.agreement{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:12px}.agreement input{flex-shrink:0}.preview-wrap{background:#f5f5f5;border:1px solid #eeeeee;border-radius:12px;min-height:180px;overflow:hidden}#phone-screen{width:100%;display:block;touch-action:none;user-select:none;cursor:crosshair}#phone-dialog .toolbar input{min-width:200px;flex:1}#sync-failures{font-size:12px;color:#ff2442}footer{color:#999999}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ff8a9c;outline-offset:3px}@media(max-width:1050px){.metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.shell{padding:0 18px}.surface{padding:17px}.page-title h1{font-size:29px}.metrics{grid-template-columns:repeat(2,1fr)}.metric strong{font-size:23px}.section-head form{width:100%}.section-head form input{flex:1;min-width:120px}.topbar nav a{padding:8px}.phone-fields{display:grid;grid-template-columns:1fr 1fr}.phone-fields label{display:block}.phone-fields input{width:100%;max-width:none;margin-top:5px}dialog{padding:16px}.breadcrumb{flex-wrap:wrap}.chart-wrap{height:260px}.detail-heading h2{font-size:22px}}

html[data-platform=xiaohongshu]{--ink:#333;--muted:#999;--line:#e8e8e8;--accent:#ff2442;--focus:#ff2442;--surface:#fff;--subtle:#fafafa;--tint:#fff0f2;background:#f5f5f5}html[data-platform=xiaohongshu] body{background:#f5f5f5;color:#333;font-size:14px}.shell{max-width:1600px}.topbar{background:#fff;border-color:#e8e8e8;height:64px}.topbar nav{background:transparent;border:0;box-shadow:none}.topbar nav a{color:#666;border-radius:4px;font-size:14px}.topbar nav a.active,.topbar nav a:hover{color:#ff2442;background:#fff0f2}.page-title{padding-top:28px}.page-title h1{font-size:26px;font-weight:600;color:#333}.surface{border-radius:6px}.toolbar{background:transparent;border:0;box-shadow:none;padding:0}.section-head h2{font-size:18px;color:#333}.metric{border-radius:6px}.row-action{border:0;color:#ff2442;padding:4px;background:transparent}.sync-status{border-radius:4px}.chart-wrap{height:330px}.brand{color:#333}.brand small{color:#999}.table-wrap th{background:#fafafa;color:#666}tr:hover td{background:#fafafa}



.xhs-brand-mark{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;background:#ff2442;color:white;font-size:13px;border-radius:16px;font-weight:600}.primary,button.primary{background:#4e64ef;border-color:#4e64ef;color:#fff}td .row-action,.toolbar>a{color:#4e64ef;border:0;background:transparent}.breadcrumb button{color:#666}.breadcrumb button:hover{color:#4e64ef}.pill{background:#eef1ff;color:#4e64ef}.metric strong{color:#333}#crumb-anchor:before{content:'/';color:#aaa;margin-right:12px}



#curve-values{margin-top:16px;font-size:13px}#curve-values summary{color:#4e64ef}.chart-wrap{height:330px}.chart-wrap .empty{background:#fafafa;color:#888;line-height:1.8;padding:24px}

.daily-sync{margin-top:20px;border-top:3px solid #4e64ef}.daily-sync .section-head{align-items:center}.daily-sync .eyebrow{color:#4e64ef;margin-bottom:6px}.daily-sync h2{margin:0}.daily-description{color:#666;line-height:1.8;margin:18px 0}.daily-summary{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:16px;margin:18px 0}.daily-summary>div{min-width:0;background:#fafafa;border:1px solid #eee;border-radius:6px;padding:14px 16px}.daily-summary dt{font-size:12px;color:#999;margin-bottom:8px}.daily-summary dd{margin:0;color:#333;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.daily-sync .attention{background:#fff4df;color:#9c6507}.daily-sync .toolbar{margin-top:16px;flex-wrap:wrap}#daily-note:empty{display:none}@media(max-width:800px){.daily-summary{grid-template-columns:1fr;gap:9px}.daily-summary>div{padding:12px 14px}.daily-summary dt{margin-bottom:4px}}@media(max-width:600px){.daily-sync .section-head{align-items:flex-start;gap:14px}.daily-sync .toolbar button{max-width:100%;white-space:normal;text-align:center}.daily-description{font-size:13px}.daily-sync h2{font-size:18px}}

/* Platform connection dialogs */
.xhs-login-methods{display:flex;gap:10px;flex-wrap:wrap}
dialog.xhs-auth-dialog{box-sizing:border-box;max-height:calc(100dvh - 40px);border:1px solid #e8eaf0;background:#fff;color:#253047;border-radius:24px;padding:28px;box-shadow:0 28px 90px #17203326,0 4px 18px #1720330a}
dialog.xhs-auth-dialog::backdrop{background:#11182770;backdrop-filter:blur(5px)}
#qr-dialog,#phone-dialog{width:min(448px,calc(100vw - 32px))}
.xhs-auth-heading{align-items:flex-start;gap:16px;flex-wrap:nowrap;margin:0}
.xhs-auth-identity{display:flex;align-items:center;gap:12px;min-width:0}
.xhs-auth-mark{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#ff2442;color:#fff;font-size:22px;font-weight:700;box-shadow:0 5px 12px #ff24421c}
.xhs-auth-eyebrow{margin:0 0 3px;color:#949ba8;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:.06em}
#qr-dialog .section-head h2,#phone-dialog .section-head h2,#phone-verification-dialog .section-head h2{margin:0;font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.02em;color:#253047}
#close-qr,#close-phone,#close-phone-verification{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:-5px -7px 0 0;border:0;border-radius:50%;padding:0;background:#f5f6f8;color:#9ca3af;font:24px/1 Arial,sans-serif;transition:background .15s,color .15s}
#close-qr:hover,#close-phone:hover,#close-phone-verification:hover{background:#eef0f4;color:#49536a;filter:none}
.xhs-auth-intro{margin:20px 0 0;color:#7c8493;font-size:13px;line-height:1.7;text-align:center}
.xhs-qr-content{text-align:center;padding-top:20px}
.xhs-qr-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:250px;padding:12px;background:#fafbfe;border:1px solid #eceff5;border-radius:18px}
#qr-image{display:block;width:280px;max-width:100%;height:auto;margin:0 auto;border-radius:10px}
.xhs-qr-placeholder{min-height:250px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;color:#9299a7;font-size:13px}
.xhs-qr-placeholder::before{content:"";display:block;width:24px;height:24px;border:2px solid #e8ebf3;border-top-color:#6574eb;border-radius:50%;animation:xhs-auth-spin .9s linear infinite}
@keyframes xhs-auth-spin{to{transform:rotate(360deg)}}
#qr-status,#phone-status,#phone-verification-status{box-sizing:border-box;min-height:0;margin:20px 0 16px;padding:12px 14px;background:#f4f6fc;border:1px solid #edf0f8;border-radius:11px;color:#6d778b;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
#qr-status:empty,#phone-status:empty,#phone-verification-status:empty{display:none}
#qr-status{text-align:center}
.xhs-auth-dialog button.primary{border:1px solid #4e64ef;background:#4e64ef;color:#fff;box-shadow:0 5px 12px #4e64ef16;border-radius:11px;font-weight:600;transition:background .15s,box-shadow .15s}
.xhs-auth-dialog button.primary:hover{background:#4157df;border-color:#4157df;filter:none;box-shadow:0 6px 15px #4e64ef24}
.xhs-auth-dialog .xhs-auth-secondary{border:1px solid #e1e5ef;border-radius:10px;background:#fff;color:#5369de;font-size:13px;font-weight:550;padding:10px 16px;transition:border-color .15s,background .15s}
.xhs-auth-dialog .xhs-auth-secondary:hover{background:#f7f8ff;border-color:#cbd3f3;filter:none}
.xhs-auth-footnote{margin:18px 0 0;color:#a0a6b1;font-size:11px;line-height:1.8}
.xhs-auth-footnote a,.xhs-auth-dialog .agreement a{color:#7583ba;margin:0 3px}
.xhs-auth-footnote a:hover,.xhs-auth-dialog .agreement a:hover{text-decoration:underline}
#phone-form .phone-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 10px;align-items:end}
#phone-form .phone-fields label{display:flex;flex-direction:column;align-items:stretch;gap:8px;color:#667085;font-size:12px;font-weight:500}
#phone-form .phone-fields label:first-child,#phone-submit{grid-column:1/-1}
#phone-form .phone-fields input{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;padding:12px 14px;border:1px solid #e4e7ee;background:#fcfcfe;border-radius:10px;color:#344054;font-size:14px;line-height:20px;transition:border-color .15s,box-shadow .15s,background .15s}
#phone-form .phone-fields input::placeholder{color:#b0b7c3;font-size:13px}
#phone-form .phone-fields input:focus{outline:none;border-color:#8d9aef;background:#fff;box-shadow:0 0 0 3px #4e64ef0c}
#phone-form .phone-fields button{min-height:46px}
#phone-submit{margin-top:4px;padding:12px;font-size:14px}
#phone-form .agreement{display:flex;align-items:flex-start;gap:7px;margin:18px 0 0;color:#939aa7;font-size:11px;line-height:1.9}
#phone-form .agreement input{flex:none;margin:4px 0 0;accent-color:#4e64ef}
#phone-form .agreement span{display:block}
#resume-phone-verification{display:block;margin:16px auto 0}
#phone-verification-dialog{width:min(980px,calc(100vw - 32px))}
#phone-verification-dialog.is-secondary-qr{width:min(448px,calc(100vw - 32px))}
#phone-verification-dialog.is-identity-selection{width:min(860px,calc(100vw - 32px))}
.xhs-auth-dialog .preview-wrap{border:1px solid #e9ecf3;border-radius:16px;background:#fafbfe;overflow:hidden}
.xhs-verification-stage{position:relative;min-height:160px}
#phone-verification-dialog.is-secondary-qr .preview-wrap{min-height:0;padding:6px;background:#fff}
#phone-screen,#qr-screen{width:100%;display:block;touch-action:none;user-select:none;cursor:crosshair}
#phone-verification-dialog.is-secondary-qr #phone-screen{cursor:pointer;border-radius:11px}
#phone-verification-dialog.is-identity-selection #phone-screen{cursor:pointer}
#phone-verification-loading{padding:45px 20px;font-size:13px;color:#a0a7b4}
#refresh-phone-verification{display:block;margin:16px auto 0}
#phone-verification-dialog .xhs-verification-tools{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 0}
#phone-verification-dialog .xhs-verification-tools input{min-width:140px;flex:1;border-radius:9px;border-color:#e4e7ee;padding:9px 12px;font-size:12px}
#phone-verification-dialog .xhs-verification-tools button{border-color:#e4e7ee;border-radius:9px;padding:9px 11px;font-size:12px;color:#7b8494}
.xhs-verification-footnote{display:flex;align-items:center;justify-content:center;gap:6px;margin:16px 0 0;color:#a8aebb;font-size:10px;line-height:1.5}
.xhs-verification-footnote span{font-size:7px;color:#9ca8c4}
#qr-dialog.has-challenge{width:min(980px,calc(100vw - 32px))}
.xhs-verification-section{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5}
.xhs-official-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#667085}
.xhs-official-label span{width:6px;height:6px;border-radius:50%;background:#a2adc9}
.xhs-verification-section .muted{font-size:12px;line-height:1.7;color:#9aa2b0;margin:8px 0 12px}
@media(max-width:600px){dialog.xhs-auth-dialog{max-height:calc(100dvh - 24px);padding:22px 20px;border-radius:20px}.xhs-auth-mark{width:38px;height:38px;border-radius:12px;font-size:20px}.xhs-auth-identity{gap:10px}#qr-dialog .section-head h2,#phone-dialog .section-head h2,#phone-verification-dialog .section-head h2{font-size:18px}.xhs-auth-intro{font-size:12px;margin-top:18px}.xhs-qr-stage{padding:8px}.xhs-auth-dialog .xhs-auth-secondary{padding:10px 12px}#phone-form .phone-fields{gap:13px 9px}#phone-form .phone-fields input{padding:11px 12px}#phone-form .agreement{font-size:10px}#phone-verification-dialog .xhs-verification-tools input{min-width:100%;width:100%}}
@media(prefers-reduced-motion:reduce){.xhs-qr-placeholder::before{animation:none}.xhs-auth-dialog button,.xhs-auth-dialog input{transition:none}}
#phone-verification-dialog.is-secondary-qr .preview-wrap{padding:22px;background:#fafafa;border:1px solid #f0f0f0;border-radius:16px;display:grid;place-items:center;min-height:280px}#phone-verification-dialog.is-secondary-qr #phone-screen{width:260px;max-width:100%;height:auto;border-radius:8px}#phone-verification-dialog.is-secondary-qr #phone-verification-loading{margin:0}

/* Data workspace: compact summaries, persistent table context, and focused detail views. */
body.xhs-workspace-page{background:#f5f7fb;color:#202939;font-size:14px}
.xhs-workspace-page .shell{max-width:1480px;padding:0 36px}
.xhs-workspace-page main{padding-bottom:36px}
.xhs-workspace-page [hidden]{display:none!important}
.xhs-workspace-page .topbar{height:64px;min-height:64px;border-color:#e6eaf0}
.xhs-workspace-page .topbar nav a{font-size:13px}
.xhs-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0 10px}
.xhs-location{display:none}
.xhs-page-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.8px;margin:0;font-weight:700;color:#172132}
.xhs-page-heading .muted{margin:6px 0 0;color:#7b8596}
.xhs-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.xhs-workspace-page button{font-size:13px;font-weight:500;border-color:#dfe4ed;min-height:36px;border-radius:7px}
.xhs-workspace-page .primary{background:#ed2447;border-color:#ed2447;color:#fff}
.xhs-heading-actions .xhs-export-button{display:inline-flex;align-items:center;gap:7px;background:#222e43;border-color:#222e43;padding:9px 15px}
.xhs-export-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.xhs-account-line{display:flex;align-items:center;gap:12px;min-height:30px;margin-bottom:10px}
.xhs-workspace-page .pill{font-size:11px;line-height:1.6;padding:4px 9px;border-radius:5px;background:#edf2fa;color:#536783;border:1px solid #e5ebf5}
.xhs-account-hint{color:#929bad;font-size:12px}
.xhs-account-tools{position:relative;margin-left:auto;font-size:12px}
.xhs-account-tools>summary{color:#818a99;list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer}
.xhs-account-tools>summary::-webkit-details-marker{display:none}
.xhs-account-tools>summary:after{content:'⌄';font-size:14px;line-height:1}
.xhs-account-tools>div{position:absolute;right:0;top:26px;z-index:20;display:none;gap:8px;background:white;border:1px solid #e6eaf0;padding:12px;border-radius:9px;box-shadow:0 10px 30px #192a4414;white-space:nowrap}
.xhs-account-tools[open]>div{display:grid}
.xhs-collection-access-note{margin:8px 0;color:#8a6571;font-size:12px;line-height:1.7}
.xhs-workspace-page .message:empty{display:none}
.xhs-workspace-page #message{padding:10px 12px;background:#eef3fb;border-radius:7px;margin:0 0 14px}
.xhs-workspace-page #message.error{background:#fff0f3}
.xhs-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:4px 0 14px}
.xhs-kpi-grid article{padding:12px 18px;background:white;border:1px solid #e5e9f0;border-radius:10px;position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
.xhs-kpi-grid article:before{display:none}
.xhs-kpi-grid article:nth-child(2):before{border-color:#e9effb;background:#6483bc}
.xhs-kpi-grid article:nth-child(3):before{border-color:#e7f5ef;background:#4c9d7b}
.xhs-kpi-grid article:nth-child(4):before{border-color:#f0ebf8;background:#9a7fc4}
.xhs-kpi-grid span{font-size:12px;color:#7e8899}
.xhs-kpi-grid strong{display:block;font-size:26px;line-height:1.2;letter-spacing:-.7px;margin:0;font-variant-numeric:tabular-nums;color:#1d293c}
.xhs-kpi-grid small{display:none}
.xhs-workspace-page .surface{border:1px solid #e4e8ef;border-radius:10px;background:#fff;padding:22px;box-shadow:0 2px 6px #192b4203}
.xhs-workspace-page .xhs-sync-panel{padding:10px 18px;margin-bottom:10px}
#workspace.is-focused>.xhs-kpi-grid,#workspace.is-focused>.xhs-sync-panel{display:none}
.xhs-sync-top,.xhs-sync-title,.xhs-sync-actions{display:flex;align-items:center;gap:10px}
.xhs-sync-top{justify-content:space-between;gap:18px}
.xhs-sync-title h2{font-size:13px;font-weight:600;margin:0}
.xhs-live-dot{width:7px;height:7px;background:#53aa86;border-radius:50%;box-shadow:0 0 0 3px #edf8f2;margin-right:3px}
.xhs-sync-actions button{font-size:12px;padding:6px 10px;min-height:30px}
.xhs-sync-actions .xhs-text-button{border-color:transparent;color:#7a879b}
.xhs-sync-panel #sync-status{font-size:12px;color:#7f8a9b;margin:6px 0 0;line-height:1.5}
#sync-progress{width:100%;height:4px;margin-top:6px;accent-color:#ed5470;border:0;border-radius:5px;overflow:hidden}
#sync-progress::-webkit-progress-bar{background:#edf0f5}#sync-progress::-webkit-progress-value{background:#ed5470}
.xhs-sync-more{margin-top:5px;font-size:11px}
.xhs-sync-more>summary{color:#96a0af}
.xhs-collect-date-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #eef0f5;font-size:12px;color:#6e7b90}
.xhs-collect-date-row label{display:flex;gap:7px;align-items:center;white-space:nowrap}
.xhs-collect-date-row input[type=checkbox]{accent-color:#ed2447}
.xhs-collect-date-row select,.xhs-collect-date-row input[type=date]{padding:5px 8px;font-size:12px;min-height:30px}
#collect-date-controls,#collect-custom-dates{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#collect-date-note{font-size:11px;color:#8e99a9}
.xhs-sync-more .daily-summary{margin-top:16px}
.xhs-sync-more #sync-failures{max-height:180px;overflow:auto}
.xhs-data-tabs,.xhs-detail-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #e0e5ee;margin-bottom:18px}
.xhs-data-tabs button,.xhs-detail-tabs button{border:0;border-radius:0;background:transparent;color:#7c8798;padding:11px 0;margin-bottom:-1px;border-bottom:2px solid transparent;min-height:42px;font-weight:500}
.xhs-data-tabs button.is-active,.xhs-detail-tabs button.is-active{color:#df294a;border-bottom-color:#ed2447;font-weight:600}
.xhs-data-tabs span{font-size:10px;background:#e9edf4;color:#8692a6;padding:2px 6px;border-radius:4px;margin-left:5px}
.xhs-workspace-page .breadcrumb{padding:0 0 14px;min-height:0;font-size:12px}
.xhs-workspace-page .breadcrumb button{font-size:12px;min-height:22px;color:#7e899b}
.xhs-workspace-page .breadcrumb button:last-of-type{color:#27334a}
.xhs-workspace-page .section-head{align-items:center;gap:18px;margin:0 0 16px}
.xhs-workspace-page .section-head h2{font-size:17px;letter-spacing:-.2px;margin:0}
.xhs-workspace-page .section-head p{margin:6px 0 0}
.xhs-workspace-page .muted{color:#8a95a6;font-size:12px;line-height:1.7}
.xhs-search{display:flex;gap:8px;align-items:center}
.xhs-search input{min-width:260px;background:#fafbfd;font-size:12px;padding:9px 12px;border-color:#e4e8ee}
.xhs-search button{padding:7px 13px}
.xhs-table-controls{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:0 0 14px}
.xhs-table-controls label{font-size:12px;color:#7c8798;display:flex;align-items:center;gap:8px}
.xhs-table-controls select,.xhs-table-controls input{font-size:12px;min-height:32px;padding:6px 10px;border-color:#e4e8ef;color:#52627a}
.xhs-table-controls>.muted{margin-left:auto;font-size:11px}
.xhs-data-panel .table-wrap,.xhs-workspace-page #channels,.xhs-workspace-page #covers{border:1px solid #e8ecf2;border-radius:8px;max-height:620px;overflow:auto;margin-top:0}
.xhs-workspace-page table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap}
.xhs-workspace-page th{position:sticky;top:0;z-index:3;background:#f7f9fc;font-size:11px;color:#8490a4;font-weight:500;letter-spacing:.1px;padding:13px 15px;border-bottom:1px solid #e7ebf1}
.xhs-workspace-page td{font-size:12px;line-height:1.6;padding:14px 15px;border-bottom:1px solid #edf0f5;vertical-align:middle;color:#3b4960}
.xhs-workspace-page tbody tr:last-child td{border-bottom:0}
.xhs-workspace-page tbody tr:hover td{background:#fbfcff}
.xhs-data-panel th:first-child,.xhs-data-panel td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:210px}
.xhs-data-panel th:first-child{z-index:5;background:#f7f9fc}
.xhs-data-panel th:last-child,.xhs-data-panel td:last-child{position:sticky;right:0;z-index:2;background:#fff}
.xhs-data-panel th:last-child{z-index:5;background:#f7f9fc}
.xhs-workspace-page td strong{display:block;font-size:13px;color:#28354c;font-weight:600;max-width:280px;overflow:hidden;text-overflow:ellipsis}
.xhs-workspace-page td small{font-size:10px;color:#9aa4b4;line-height:1.7;margin-top:3px}
.xhs-workspace-page td .row-action{border:0;background:#fff3f5;color:#db3452;font-size:11px;padding:6px 10px;min-height:28px}
.xhs-avatar{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#edf0f5;flex-shrink:0;overflow:hidden}
.xhs-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.xhs-gift-person{min-width:150px;max-width:320px}
.xhs-gift-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xhs-workspace-page .xhs-session-saved{display:inline-flex;align-items:center;margin-top:5px;padding:3px 8px;border:1px solid #cdebdc;border-radius:5px;background:#eaf7ef;color:#25805a;font-size:11px;font-weight:600;line-height:1.4}
.xhs-search-control{position:relative;display:flex;align-items:center;min-width:0}
.xhs-search-control input{width:100%;padding-right:34px!important}
.xhs-workspace-page .xhs-search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:24px;height:24px;min-height:0;border:0;border-radius:50%;padding:0;background:#edf0f5;color:#8995a7;font-size:18px;line-height:1}
.xhs-workspace-page a.row-action{display:inline-flex;border-radius:6px;white-space:nowrap;align-items:center}
.xhs-room-page .room-topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:15px}
.xhs-room-page .room-topbar a{font-size:13px;color:#79869b}
.xhs-room-page .detail-heading{margin-top:0}
.xhs-room-page #detail-panel{padding-bottom:30px}
@media(max-width:640px){.xhs-search-control{flex:1}.xhs-room-page .room-topbar{flex-wrap:wrap}}
.xhs-anchor-cell{display:flex;align-items:center;gap:11px}
.xhs-anchor-actions,.xhs-anchor-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.xhs-workspace-page td .xhs-collect-anchor{background:#eef1ff;color:#4e64ef}
.xhs-anchor-header-actions{gap:14px}
.xhs-anchor-header-actions>button{font-size:12px;white-space:nowrap}
.xhs-anchor-sync-status{margin:0 0 16px;padding:10px 12px;border-radius:7px;background:#f5f7fc;color:#708098;font-size:12px;line-height:1.7}
.xhs-anchor-sync-status.error{background:#fff3f3;color:#bf4354}
.xhs-data-badge{display:inline-block;font-size:10px;color:#469275;background:#edf8f3;padding:3px 7px;border-radius:4px}
.xhs-data-badge.pending{color:#8b95a8;background:#f1f4f8}
.xhs-workspace-page .pager{justify-content:flex-end;gap:8px;margin-top:18px;color:#8a95a6}
.xhs-workspace-page .pager>span{margin-right:auto;font-size:12px}
.xhs-workspace-page .pager button{min-height:30px;font-size:11px;padding:5px 10px}
.xhs-segment{display:flex;align-items:center;background:#f2f4f8;border:1px solid #e9edf3;border-radius:7px;padding:3px;gap:3px}
.xhs-segment button{border:0;background:transparent;color:#8a94a5;font-size:12px;padding:5px 14px;min-height:28px}
.xhs-segment button.is-active{background:white;color:#d33250;box-shadow:0 1px 4px #26395710}
.xhs-anchor-overview{background:#fbfcfe;border:1px solid #edf0f6;border-radius:8px;padding:16px;margin-bottom:26px}
.xhs-anchor-overview .metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}
.xhs-anchor-overview .metric{border:0;border-radius:0;background:transparent;padding:10px 14px;border-right:1px solid #e8edf4}
.xhs-anchor-overview .metric:last-child{border-right:0}
.xhs-anchor-overview .metric strong{font-size:25px;color:#243148}
.xhs-anchor-overview .metric span{font-size:11px;color:#8b96a9}
.xhs-anchor-overview>p{margin:0 0 8px;font-size:11px;color:#8c98aa}
.xhs-anchor-overview details{margin-top:10px;font-size:11px}
.xhs-anchor-overview details>summary{color:#8c98aa}
.xhs-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.xhs-list-heading h3{font-size:15px;margin:0;color:#344159}
.xhs-list-heading .xhs-table-controls{margin:0}
.xhs-workspace-page .detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.xhs-workspace-page .detail-heading h2{font-size:24px;margin:6px 0 10px}
.xhs-workspace-page .detail-heading .toolbar{white-space:nowrap;gap:12px}
.xhs-workspace-page .detail-heading .eyebrow{font-size:10px;letter-spacing:1px}
.xhs-workspace-page .detail-heading .muted{max-width:940px;margin:0;font-size:11px}
.xhs-workspace-page #metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.xhs-workspace-page .metric{border-color:#e5eaf1;border-radius:9px;padding:20px;background:#fff}
.xhs-workspace-page .metric strong{font-size:29px;letter-spacing:-.6px;color:#253149}
.xhs-workspace-page .metric span{color:#8c98ab}
.xhs-workspace-page .metric small{color:#a1aaba}
.xhs-extra-metrics>summary{font-size:12px;color:#7e8c9f;list-style:none}
.xhs-extra-metrics .metrics{margin-top:20px;grid-template-columns:repeat(4,minmax(0,1fr))}
.xhs-workspace-page #cover-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.xhs-workspace-page #cover-metrics .metric{background:#fbfcff}
.xhs-workspace-page #gift-summary{width:100%;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:18px 0}
.xhs-workspace-page #gift-summary .metric{min-width:0}
.xhs-workspace-page #gift-summary .metric strong{font-size:clamp(20px,2.2vw,28px);line-height:1.35;letter-spacing:-.4px;white-space:nowrap}
.xhs-workspace-page #gift-summary .metric small{font-size:12px;line-height:1.6}
.xhs-export-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));padding:24px;max-height:calc(100dvh - 40px);border-radius:14px}
.xhs-export-dialog .section-head{margin-bottom:7px}
.xhs-export-dialog h2{font-size:21px!important}
.xhs-export-dialog .eyebrow{font-size:10px;letter-spacing:1.4px;margin:0 0 7px}
.xhs-export-dialog>.muted{font-size:12px}
.xhs-export-field{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;color:#526078;margin-top:17px}
.xhs-export-field :is(select,input){width:66%;min-width:0;font-size:12px;border-color:#e2e7ef;padding:10px;background:#fafbfd}
.xhs-export-anchor-picker{position:relative;width:66%;min-width:0}
.xhs-export-anchor-picker input{width:100%}
.xhs-export-anchor-popup{position:absolute;z-index:2;inset:calc(100% + 4px) 0 auto;background:#fff;border:1px solid #e2e7ef;border-radius:8px;box-shadow:0 6px 18px #25314720}
.xhs-export-anchor-popup ul{list-style:none;margin:0;padding:4px;max-height:210px;overflow-y:auto;overscroll-behavior:contain}
.xhs-export-anchor-popup li{padding:7px 9px;border-radius:5px;cursor:pointer;overflow-wrap:anywhere}
.xhs-export-anchor-popup li[aria-selected="true"]{color:#bd163e}
.xhs-export-anchor-popup li:hover,.xhs-export-anchor-popup li.is-active{background:#fff0f3}
.xhs-export-anchor-popup small{display:block;font-size:11px;color:#64748b}
.xhs-export-anchor-popup p{margin:0;padding:10px}
.xhs-export-dates{display:flex;gap:12px;margin:12px 0 0}
.xhs-export-dates label{font-size:11px;color:#8c97a9;flex:1}
.xhs-export-dates input{display:block;width:100%;margin-top:5px;font-size:12px}
.xhs-export-groups{border:1px solid #e6ebf2;border-radius:9px;padding:6px 16px;margin:18px 0 12px}
.xhs-export-groups legend{font-size:12px;color:#6d7b91;padding:0 5px}
.xhs-export-groups label{display:flex;gap:11px;align-items:flex-start;padding:7px 0;cursor:pointer}
.xhs-export-groups input{margin:2px 0 0;accent-color:#ec3657;width:15px;height:15px;padding:0;flex-shrink:0}
.xhs-export-groups strong{font-size:12px;font-weight:500;display:block;color:#3e4d65}
.xhs-export-groups small{font-size:10px;color:#9aa5b5;display:block;margin-top:3px}
.xhs-export-note{font-size:11px;line-height:1.7;color:#919caf;margin:14px 0}
.xhs-export-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9edf3;padding-top:18px;margin-top:14px}
.xhs-export-footer>span{font-size:11px;color:#9aa5b5}
.xhs-export-footer .primary{padding:10px 20px}
.xhs-room-anchors{margin-top:10px;font-size:12px;max-width:800px}
.xhs-room-anchors summary{color:#68788e}
.xhs-room-anchors p{line-height:1.9;overflow-wrap:anywhere;color:#8a96a8}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.xhs-workspace-page .shell{padding:0 24px}.xhs-kpi-grid{gap:12px}.xhs-anchor-overview .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.xhs-anchor-overview .metric:nth-child(3){border-right:0}.xhs-workspace-page #metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.xhs-sync-top{flex-wrap:wrap}.xhs-workspace-page .detail-heading{display:block}.xhs-workspace-page .detail-heading .toolbar{margin-top:14px}.xhs-list-heading{flex-wrap:wrap}}
@media(max-width:640px){.xhs-workspace-page .shell{padding:0 16px}.xhs-page-heading{display:block;padding-top:22px}.xhs-page-heading h1{font-size:26px}.xhs-heading-actions{margin-top:18px}.xhs-heading-actions button{flex:1;justify-content:center}.xhs-account-line{gap:8px}.xhs-account-hint{display:none}.xhs-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.xhs-kpi-grid article{padding:15px}.xhs-kpi-grid strong{font-size:27px}.xhs-kpi-grid article:before{top:17px;right:15px;width:6px;height:6px;border-width:4px}.xhs-workspace-page .surface{padding:16px}.xhs-sync-actions{flex-wrap:wrap;gap:6px}.xhs-data-tabs{gap:20px}.xhs-workspace-page .section-head{align-items:flex-start}.xhs-search{width:100%}.xhs-search input{min-width:0;flex:1}.xhs-table-controls{gap:9px}.xhs-table-controls>.muted{display:none}.xhs-anchor-overview{padding:10px}.xhs-anchor-overview .metric{padding:10px}.xhs-anchor-overview .metric strong{font-size:22px}.xhs-anchor-overview .metric span{font-size:10px}.xhs-detail-tabs{gap:18px;overflow:auto;white-space:nowrap}.xhs-workspace-page .metric{padding:16px}.xhs-workspace-page .metric strong{font-size:25px}.xhs-workspace-page .xhs-extra-metrics .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.xhs-workspace-page #cover-metrics{grid-template-columns:1fr}.xhs-export-dialog{padding:22px}.xhs-export-dates{flex-wrap:wrap}.xhs-export-dates label{min-width:160px}}
