/* Original workbench CSS is shared unchanged. Only access-dependent controls differ. */
.crawl-notice-dialog{width:min(440px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;border:1px solid #d8ddcf;border-radius:12px;background:#fffefa;color:#243a33;box-shadow:0 18px 60px #142b2033}
.crawl-notice-dialog::backdrop{background:#122a2466;backdrop-filter:blur(4px)}
.crawl-notice-dialog h2{margin:0 0 18px;font-size:21px;line-height:1.5}
.crawl-notice-dialog p{margin:12px 0;font-size:14px;line-height:1.9}
.crawl-notice-dialog .button{display:block;width:100%;margin-top:24px;padding:13px 16px;border:1px solid #234338;border-radius:6px;background:#234338;color:#fffefa;font:inherit;font-size:14px;cursor:pointer}
html[data-workbench-access="readonly"] :is(
  #today,#settings-view,#storyboard-view,[data-view="today"],[data-view="settings"],[data-view="storyboard"],
  #library-view [aria-label="后台控制"],[aria-label="企微收件与追踪状态"],.tracking-control-panel,#records-open,#worker-status,#deletion-progress,#retry-failed-reverse,#batch-tag-open,
  [data-pin],[data-open-binding],[data-open-tags],[data-reverse],[data-compress],[data-delete-material],.material-tags-line,.library-card-tools,
  [data-edit-main-framework],[data-extend-monitor],[data-ack-alert],[data-open-alerts],[data-select-material],
  [data-workbench-action],.script-guard,.script-error-icon,
  #material-detail-candidate,#material-detail-delete,#material-detail-framework,[data-open-material-folder],
  [data-copy-material="video"],[data-copy-material="script"],
  #cb-focus-products,#cb-shortlist-count,#cb-show-shortlist,#cb-creations-view,#cb-results-panel,
  .cb-selection,.cb-framework-pick,.cb-card-actions,[data-cb-select],[data-cb-shortlist],[data-cb-use],
  [data-cb-rename],[data-cb-rename-family],[data-cb-material-families],[data-cb-assign-one],
  [data-cb-group="candidates"],[data-cb-group="creations"],[data-cb-group="organize"],[data-cb-group="unassigned"],
  [data-cb-action="new-family"],[data-cb-action="group-name"],[data-cb-action="group-families"],#cb-save-state
){display:none!important}
html[data-workbench-access="readonly"] .tracking-status{cursor:default;opacity:1;pointer-events:none}
html[data-workbench-access] :is(.sales-compact-head,.sales-compact-login,.sales-compact-footer,#sales-status-notice,.monitor-settings label:has(#sales-threshold-input),.dashboard-rank-panel:has(#dashboard-sales-title)){display:none!important}
html[data-workbench-access="readonly"][data-member-tier="free"] .material-detail-chart-card:has(#material-detail-sales-chart){display:none!important}
html[data-workbench-access="readonly"] .material-detail-chart-grid{grid-template-columns:1fr}
html[data-workbench-access="readonly"] .material-detail-current[hidden]{display:none!important}
html[data-workbench-access="readonly"][data-member-tier="free"] :is(.material-cover-actions,.material-detail-script,[data-open-script],[data-copy-material="text"],.script-status){display:none!important}
.member-pro-lock{display:none;padding:20px;border-top:1px solid #e0e4d9;font-size:12px}
html[data-member-tier="free"] .member-pro-lock{display:block}
.member-pro-tab:after{content:'Pro';font-size:9px;margin-left:auto;padding:2px 5px;border:1px solid #cbd5c4;border-radius:3px;color:#667d53}
.member-pro-tab .nav-index{display:none}
.member-tiers{width:100%;border-collapse:collapse;font-size:12px;margin:12px 0}
.member-tiers th,.member-tiers td{text-align:left;padding:9px 6px;border-bottom:1px solid #e0e4d9}
html[data-workbench-access="readonly"] .profile{cursor:pointer}
html[data-workbench-access="admin"] .sidebar-note{display:none}
html[data-workbench-access="admin"] #main-sidebar nav{min-height:0;overflow-y:auto;flex-shrink:1}
#main-sidebar nav{scrollbar-width:none;-ms-overflow-style:none}
#main-sidebar nav::-webkit-scrollbar{display:none}
html[data-workbench-access="readonly"] .topbar-right{gap:16px}
html[data-workbench-access="readonly"] .topbar-right .button{font-size:12px;padding:8px 13px;white-space:nowrap}
.member-account-status{color:var(--muted,#7b8279);font-size:11px;white-space:nowrap}
.member-view-switcher{display:inline-flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}
.member-view-switcher select{padding:7px 10px;border:1px solid #cfd6c7;border-radius:4px;background:#fafbf7;color:#344a40;font:inherit}
.member-houqi-open{font-size:12px;padding:8px 12px;white-space:nowrap}
.member-houqi-dialog [hidden]{display:none!important}
.member-houqi-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:none;border:1px solid #d8ddcf;border-radius:12px;padding:26px;background:#fffefa;color:#243a33;box-shadow:0 18px 60px #142b2033}
.member-houqi-dialog::backdrop{background:#122a2466;backdrop-filter:blur(4px)}
.member-houqi-dialog h2{margin:0 0 14px;font-size:21px}
.member-houqi-dialog p{font-size:13px;line-height:1.8}
.member-houqi-dialog code{box-sizing:border-box;max-width:100%;display:block;margin:16px 0;padding:16px;background:#f1f3ec;border-radius:8px;text-align:center;font-size:16px;letter-spacing:.04em;overflow-wrap:anywhere;word-break:break-all;white-space:normal}
.member-houqi-close{float:right;border:0;background:transparent;color:inherit;font-size:26px;cursor:pointer}
.member-houqi-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.member-houqi-help{font-size:11px!important;color:#70796d}
.member-houqi-repeat{margin-top:20px;padding-top:16px;border-top:1px solid #d8ddcf}
.member-houqi-repeat h3{margin:0 0 8px;font-size:15px}
.member-houqi-repeat textarea{box-sizing:border-box;width:100%;min-height:140px;margin:8px 0;padding:10px;border:1px solid #d8ddcf;border-radius:6px;background:#fff;font-family:inherit;font-size:12px;line-height:1.7;color:inherit;resize:vertical;white-space:pre-wrap}
@media(max-width:700px){.member-view-switcher>span{display:none}.member-view-switcher select{max-width:105px}}
.member-content-badge{position:absolute;right:8px;top:8px;z-index:1;padding:4px 6px;background:#f7f4e9ed;color:#536149;border-radius:3px;font-size:9px;pointer-events:none}
html[data-member-active="false"] :is(.cb-week-chart,.cb-week-direction,.cb-hot-variants,.cb-variant-trend){display:none!important}
html[data-workbench-access="readonly"][data-member-active="false"] .cb-family-count:after{content:' · 会员可查看趋势';font-size:10px;color:#8a927c}
#membership-dialog{width:min(420px,calc(100vw - 28px));max-width:none;height:fit-content;max-height:calc(100dvh - 32px)}
#membership-dialog .modal-head{padding:14px 18px}
#membership-dialog .script-dialog-body{padding:16px 18px;line-height:1.6;max-height:calc(100dvh - 100px)}
#membership-dialog .modal-note{font-size:11px;line-height:1.6;margin:8px 0}
#membership-dialog h3{font-size:15px;margin:12px 0 8px}
#membership-dialog .button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:10px 18px;border:1px solid #c6cfc2;border-radius:6px;background:linear-gradient(#fff,#eef2e9);color:#344a40;box-shadow:0 2px 0 #c6cfc2,inset 0 1px 0 #fff;font:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}
#membership-dialog .button:hover{background:linear-gradient(#f7faf3,#e2eadb);border-color:#a6b59d}
#membership-dialog .button:active{transform:translateY(2px);box-shadow:inset 0 1px 3px #203c3426}
#membership-dialog .button:focus-visible{outline:2px solid #667d53;outline-offset:4px}
#membership-dialog :is(#member-login,.button.primary){background:linear-gradient(#34564a,#203c34);border-color:#203c34;color:#fff;box-shadow:0 2px 0 #152a24,inset 0 1px 0 #ffffff26}
#membership-dialog :is(#member-login,.button.primary):hover{background:linear-gradient(#3e6556,#294c40)}
#membership-dialog :is(#member-login,.button.primary):active{box-shadow:inset 0 2px 4px #0003}
#membership-dialog #member-login{display:flex;width:min(240px,100%);margin:12px auto 0}
#membership-dialog hr{border:0;border-top:1px solid #e0e4d9;margin:12px 0}
#member-redeem label{display:block;font-size:11px;margin:8px 0 6px}
.member-redeem-row{display:flex;gap:10px}
.member-redeem-row input{flex:1;min-width:0;border:1px solid #cfd6c7;border-radius:4px;background:#fafbf7;padding:10px;font:inherit;font-size:12px}
#member-message{color:#667d53}
#membership-dialog [hidden]{display:none!important}
.member-account-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;margin-top:16px;font-size:12px}
#membership-dialog .member-account-actions .button{width:min(240px,100%)}
#member-admin-view{max-width:none;padding:0;height:calc(100dvh - 79px)}
#member-admin-view[hidden]{display:none!important}
#member-admin-frame{display:block;width:100%;height:100%;border:0}
.member-intake-view{max-width:960px;padding:28px 32px}.member-intake-view[hidden]{display:none!important}.member-intake-heading h1{margin:0 0 10px;font-size:25px}.member-intake-heading p{color:var(--muted,#7b8279);font-size:13px;line-height:1.7}.member-intake-panel{margin-top:24px;padding:24px;background:var(--card,#fff);border:1px solid var(--border,#e0e4d9);border-radius:8px}.member-intake-panel fieldset{border:0;padding:0;margin:0}.member-intake-panel label{display:block;font-size:13px;margin-bottom:10px}.member-intake-switch{display:flex!important;align-items:center;gap:10px;margin-bottom:22px!important}.member-intake-panel textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cfd6c7;border-radius:4px;background:#fafbf7;color:inherit;font:inherit;font-size:13px;line-height:1.6;resize:vertical}.member-intake-panel .modal-note{font-size:12px;line-height:1.7;color:var(--muted,#7b8279)}.member-intake-message{min-height:20px;font-size:12px;color:#667d53}.member-intake-message.is-error{color:#a43f37}.member-intake-recent-head,.member-intake-sender{display:flex;align-items:center;justify-content:space-between;gap:16px}.member-intake-recent-head{margin-top:28px}.member-intake-recent-head h2{font-size:16px;margin:0}.member-intake-sender{padding:14px 0;border-bottom:1px solid #e0e4d9;font-size:12px}.member-intake-sender>div{min-width:0;overflow-wrap:anywhere}.member-intake-sender small{display:block;margin-top:6px;color:var(--muted,#7b8279)}
@media(max-width:700px){.member-intake-view{padding:20px 16px}.member-intake-panel{padding:18px}}
.member-intake-panel .button{appearance:none;border:1px solid #cfd6c7;border-radius:5px;background:#fafbf7;color:#344a40;padding:9px 14px;font:inherit;font-size:12px;line-height:1.4;cursor:pointer}.member-intake-panel .button.primary{background:#203c34;border-color:#203c34;color:#fff}.member-intake-panel .button:disabled{opacity:.5;cursor:default}.member-intake-switch input{accent-color:#203c34;width:14px;height:14px}
@media(max-width:700px){.member-account-status{display:none}html[data-workbench-access="readonly"] .topbar-right{gap:10px}}

html[data-workbench-access] :is(#today,#storyboard-view,#settings-view){display:none!important}

html[data-workbench-access] [aria-label="企微收件与追踪状态"]{display:none!important}

#ve-video-promo,#member-team-promo{width:min(500px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:1px solid #e4e5dc;border-radius:14px;background:#fffefa;color:#243a33;box-shadow:0 18px 60px #142b2033}
:is(#ve-video-promo,#member-team-promo)::backdrop{background:#122a2466;backdrop-filter:blur(4px)}
:is(#ve-video-promo,#member-team-promo) .ve-promo-banner{background:#234338;color:#f6f5e9;padding:26px 30px 28px;position:relative}
:is(#ve-video-promo,#member-team-promo) .ve-promo-brand{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:2px;color:#c7b17b;padding-right:32px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-brand strong{font-family:var(--serif);font-weight:500;font-size:17px;letter-spacing:3px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-close{position:absolute;right:16px;top:16px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#f6f5e9;font-size:26px;cursor:pointer}
:is(#ve-video-promo,#member-team-promo) .ve-promo-close:hover{background:#ffffff12}
:is(#ve-video-promo,#member-team-promo) .ve-promo-film{display:flex;align-items:center;gap:18px;margin:26px 0 22px;font-family:var(--serif);font-size:22px;line-height:1.65;letter-spacing:1px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-frame{width:86px;height:66px;flex-shrink:0;display:grid;place-items:center;border:1px solid #bdbf9f66;position:relative}
:is(#ve-video-promo,#member-team-promo) .ve-promo-frame:before,:is(#ve-video-promo,#member-team-promo) .ve-promo-frame:after{content:'';position:absolute;left:7px;right:7px;height:3px;background:repeating-linear-gradient(90deg,#c7b17b77 0 6px,transparent 6px 12px)}
:is(#ve-video-promo,#member-team-promo) .ve-promo-frame:before{top:6px}:is(#ve-video-promo,#member-team-promo) .ve-promo-frame:after{bottom:6px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-frame span{z-index:1;color:#c7b17b;font-size:30px;line-height:1}
:is(#ve-video-promo,#member-team-promo) .ve-promo-frame svg{width:27px;height:27px;color:#c7b17b}
:is(#ve-video-promo,#member-team-promo) .ve-promo-banner-foot{display:flex;align-items:center;gap:12px;color:#d3d9c9;font-size:10px;letter-spacing:2px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-banner-foot i{width:30px;height:1px;background:#a6ac9277}
:is(#ve-video-promo,#member-team-promo) .ve-promo-copy{padding:30px 32px 25px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-eyebrow{margin:0 0 10px;color:#717c72;font-size:11px;letter-spacing:2px}
:is(#ve-video-promo,#member-team-promo) h2{margin:0 0 15px;font-family:var(--serif);font-size:36px;line-height:1.45;font-weight:600;letter-spacing:1px}
:is(#ve-promo-description,#member-team-promo-description){margin:0;color:#717c72;font-size:14px;line-height:1.9}
:is(#ve-video-promo,#member-team-promo) .ve-promo-offer{margin:17px 0 0;color:#52634f;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
:is(#ve-video-promo,#member-team-promo) .ve-promo-offer strong{display:inline-block;color:#916b29;font-weight:600}
:is(#ve-video-promo,#member-team-promo) .ve-promo-uses{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:22px 0 25px;font-size:12px}
:is(#ve-video-promo,#member-team-promo) .ve-promo-uses i{color:#717c72;font-style:normal;opacity:.55}
:is(#ve-video-promo,#member-team-promo) .ve-promo-cta{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:#234338;color:#fffefa;border:1px solid transparent;border-radius:6px;text-decoration:none;font:500 15px var(--sans);letter-spacing:1px;cursor:pointer}
:is(#ve-video-promo,#member-team-promo) .ve-promo-cta:hover{background:#34564a}
:is(#ve-video-promo,#member-team-promo) .ve-promo-continue{border:0;background:transparent;color:#717c72;font:inherit;font-size:12px;display:block;margin:10px auto 0;padding:10px 18px;cursor:pointer}
@media(max-width:460px){:is(#ve-video-promo,#member-team-promo) .ve-promo-banner{padding:24px}:is(#ve-video-promo,#member-team-promo) .ve-promo-copy{padding:25px 24px 22px}:is(#ve-video-promo,#member-team-promo) h2{font-size:30px}:is(#ve-video-promo,#member-team-promo) .ve-promo-film{font-size:20px}}
#tab-ve-video{flex-wrap:wrap;row-gap:7px}
#tab-ve-video .ve-nav-offer{display:block;flex-basis:100%;color:#bac8bd;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
#tab-ve-video .ve-nav-offer strong{display:inline-block;color:#d1bd91;font-weight:500}
.nav-collapsed #tab-ve-video .ve-nav-offer{display:none}
@media(max-width:960px){html:not(.nav-expanded) #tab-ve-video .ve-nav-offer{display:none}}

[data-member-download]{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:var(--white);font-size:12px;cursor:pointer;margin-top:10px}[data-member-download]:disabled{opacity:.6;cursor:wait}[data-download-status]{display:block;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.6}

.member-houqi-tutorial{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:14px 15px;border:1px solid #d4d7a2;border-left:4px solid #9c9737;border-radius:8px;background:#f8f6e6}
.member-houqi-tutorial h3{margin:0 0 4px;color:#3e472e;font-size:14px;line-height:1.4}
.member-houqi-tutorial span{display:block;color:#67705a;font-size:11px;line-height:1.5}
.member-houqi-tutorial-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:9px 12px;border-radius:6px;background:#435f49;color:#fff;font-size:12px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.member-houqi-tutorial-link:hover{background:#344c39}
.member-houqi-tutorial-link:focus-visible{outline:2px solid #293d2f;outline-offset:2px}
@media(max-width:420px){.member-houqi-tutorial{align-items:stretch;flex-direction:column}.member-houqi-tutorial-link{width:100%}}

.member-team-view{box-sizing:border-box;width:100%;max-width:1190px;margin:0 auto;padding:28px 32px 40px}
.member-team-view[hidden]{display:none!important}
.member-team-heading h1{margin:0 0 10px;font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.5;color:var(--ink)}
.member-team-panel{margin-top:20px}
.member-team-number{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.member-team-number-value,.member-team-user-id{color:var(--ink);user-select:text}
.member-team-number-value{font-size:15px;font-variant-numeric:tabular-nums}
.member-team-panel h2{margin:22px 0 8px;font-family:var(--serif);font-size:17px;font-weight:500;color:var(--ink)}
.member-team-table-wrap{width:100%;overflow-x:auto}
.member-team-table{width:100%;border-collapse:collapse;font-size:13px;color:var(--ink)}
.member-team-table th,.member-team-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.member-team-table th{color:var(--muted);font-size:11px;font-weight:500}
.member-team-user-id{margin-left:8px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.member-team-actions{min-width:180px}
.member-team-actions .button{min-height:32px;padding:6px 10px;font-size:12px}
.member-team-actions .button:disabled{opacity:.45;cursor:default}
.member-team-rebind{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink)}
.member-team-rebind-select{box-sizing:border-box;max-width:220px;padding:7px 8px;border:1px solid #cfd6c7;border-radius:4px;background:#fafbf7;color:var(--ink);font:inherit;font-size:12px}
.member-team-message{min-height:20px;margin:12px 0 0;color:var(--muted);font-size:12px}
.member-team-message.is-error{color:#a43f37}
@media(max-width:700px){.member-team-view{padding:20px 16px}.member-team-panel{padding:18px}.member-team-table th,.member-team-table td{padding:10px 7px}.member-team-actions{min-width:160px}}
