/* Television brand, shared by the portal and each independent business frame.
   Screen-only presentation: routes, event targets, dialog geometry and print stay owned by existing modules. */
@media screen {
  :root {
    --erp44-bg:#f8f4ef; --erp44-surface:#fffdfa; --erp44-ink:#553e53;
    --erp44-muted:#816978; --erp44-line:#e7d8df; --erp44-brand:#a83c72;
    --erp44-brand-strong:#89305d; --erp44-soft:#f9edf3; --erp44-gold:#a66117;
    --erp44-purple:#75436e; --erp44-shadow:0 4px 20px #553e5306;
    --ink:var(--erp44-ink); --erp-ink:var(--erp44-ink); --muted:var(--erp44-muted);
    --line:var(--erp44-line); --erp-line:var(--erp44-line); --paper:var(--erp44-bg);
    --blue:var(--erp44-brand); --brand:var(--erp44-brand); --primary:var(--erp44-brand);
    --orange:var(--erp44-brand); --erp-orange:var(--erp44-brand); --erp-blue:var(--erp44-brand);
    --erp-soft:var(--erp44-soft); --nav:var(--erp44-surface);
    --erp-money:#a66117; --erp-qty:#75436e; --erp-pending:#955b10; --erp-success:#267354; --erp-danger:#bb3e4c;
    font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
    color:var(--erp44-ink); background:var(--erp44-bg); font-synthesis:none;
  }
  body {color:var(--erp44-ink);background:var(--erp44-bg);font-size:15px;line-height:1.6}
  body :is(input,select,textarea,button) {font-family:inherit}
  body :is(h1,h2,h3,h4) {color:var(--erp44-ink);font-style:normal;line-height:1.4}
  body h1 {font-size:26px;font-weight:750;letter-spacing:0}
  body h2 {font-size:20px;font-weight:700}
  body h3 {font-size:17px;font-weight:650}
  body :is(.workspace .heading h1,.workspace .card-header h2,.eh-focus-panel h2) {color:var(--erp44-purple)}
  body summary {color:var(--erp44-purple)}
  body :is(.sub,.secondary,.muted,.s-hint,.cw-sub,.cw-footnote,.hint,.subtle,.footer-note) {color:var(--erp44-muted)}
  body :is(label,.field,.field>span) {color:var(--erp44-ink);font-weight:600}
  body :is(input,select,textarea) {color:var(--erp44-ink);border-color:#d9c8d2;background-color:#fff;border-radius:9px;accent-color:var(--erp44-brand)}
  body :is(input,textarea)::placeholder {color:#8c7a88;opacity:1}
  body :is(input,select,textarea):focus {border-color:var(--erp44-brand);box-shadow:0 0 0 3px #a83c7210}
  body :is(input,select,textarea,button,a):focus-visible {outline:2px solid var(--erp44-brand);outline-offset:3px}
  body :is(button,.shell button,dialog button) {background-color:#fffdfa;border-color:var(--erp44-line);color:var(--erp44-purple);border-radius:9px;font-weight:550}
  body :is(button,.shell button,dialog button):hover {background-color:var(--erp44-soft);border-color:#cc9ab4;color:var(--erp44-brand-strong)}
  body button[data-erp-tone] {--erp-action34:var(--erp44-brand);--erp-action-soft34:#fff8fb;--erp-action-line34:#e7cbd9}
  body button:is([data-erp-tone=stock],[data-erp-tone=export]) {--erp-action34:#2d7664;--erp-action-soft34:#f0f7f2;--erp-action-line34:#ccdfd3}
  body button:is([data-erp-tone=people],[data-erp-tone=photo],[data-erp-tone=promote]) {--erp-action34:#75436e;--erp-action-soft34:#f7f0f7;--erp-action-line34:#e2cfe1}
  body button:is([data-erp-tone=account],[data-erp-tone=edit]) {--erp-action34:#97601e;--erp-action-soft34:#fff8ef;--erp-action-line34:#ead7b9}
  body button[data-erp-tone=neutral] {--erp-action34:#6e5b6a;--erp-action-soft34:#faf7f9;--erp-action-line34:#e3d9e0}
  body button[data-erp-tone=danger] {--erp-action34:#b83c4b;--erp-action-soft34:#fff4f4;--erp-action-line34:#efc7cb}
  html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]),
  html body :is(button.primary,button[type=submit],input[type=submit],button[data-erp-tone=primary],a.primary) {
    color:#fff!important;background:var(--erp44-brand)!important;border-color:var(--erp44-brand)!important;box-shadow:0 3px 7px #a83c7212;
  }
  html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]):hover,
  html body :is(button.primary,button[type=submit],input[type=submit],button[data-erp-tone=primary],a.primary):hover {
    color:#fff!important;background:var(--erp44-brand-strong)!important;border-color:var(--erp44-brand-strong)!important;
  }
  html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order] {color:#fff!important;background:var(--erp44-brand)!important;border-color:var(--erp44-brand)!important}
  html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order]:hover {background:var(--erp44-brand-strong)!important;border-color:var(--erp44-brand-strong)!important}
  body :is(button.link,a:not(.home-entry)) {color:var(--erp44-brand)}
  body button.link {background:transparent;border-color:transparent}
  body :is(.nav button.active,.nav button[aria-selected=true],.tabs button.active,.cw-tabs button.active,.detail-tabs button[aria-selected=true],.wf-module-tabs button.active,button.selected,button[aria-pressed=true]) {color:var(--erp44-brand-strong)!important;background:var(--erp44-soft)!important;border-color:#d3a5bd!important}
  html body :is(.tabs,.cw-tabs,.detail-tabs,.wf-module-tabs,.dash-period) button:is(.active,.selected,[aria-selected=true],[aria-pressed=true]) {color:var(--erp44-brand-strong)!important;background:var(--erp44-soft)!important;border-color:#d3a5bd!important;box-shadow:inset 0 -3px var(--erp44-brand)}
  body [data-erp-value=money] {color:var(--erp-money)!important}
  body [data-erp-value=quantity] {color:var(--erp-qty)!important}
  body [data-erp-value=pending] {color:var(--erp-pending)!important}
  body [data-erp-value=success] {color:var(--erp-success)!important}
  body [data-erp-value=danger] {color:var(--erp-danger)!important}
  body :is(.tag,.badge,.s-badge,.status) {background:#f6eef5;color:var(--erp44-purple);border-color:#e3cfdf}
  /* Customer tiers share one light badge shape across lists, profiles and home. */
  html body :is(.wf-normal,.wf-vip) {
    display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;
    min-height:26px;padding:3px 11px;border:1px solid #e5d5e2;border-radius:999px;
    font-size:13px;line-height:1.5;font-weight:600;letter-spacing:.02em;
    color:#75436e;background:#f6eff7;box-shadow:none;
  }
  html body .wf-vip {color:#875317;background:#fff4df;border-color:#e8d3aa}
  body :is(.info,.hint,.note,.wf-tools,.selection-bar,.connection-card) {background:#fbf5f8;border-color:var(--erp44-line);color:var(--erp44-ink)}
  body .progress i {background:var(--erp44-brand)}
  body .progress.orange i {background:#c29451}
  body :is(.checks label:has(input:checked)) {background:var(--erp44-soft);border-color:#d3a5bd;color:var(--erp44-brand-strong)}
  /* Shared page rhythm and data surfaces. Do not set display on functional containers. */
  body :is(.workspace,.sales-shell,#s-content,.wf-main iframe,.wf-shell) {background:var(--erp44-bg);color:var(--erp44-ink)}
  body .workspace {padding-top:26px}
  body :is(.heading,.s-heading,.cw-heading) {gap:18px;margin-bottom:22px}
  body :is(.heading,.s-heading,.cw-heading) p {color:var(--erp44-muted);font-size:14px;line-height:1.7}
  body :is(.card,.s-panel,.s-stat,.dash-panel,.wf-home-card,.wf-home-panel,.card-maintenance,.wf-chart,.s-good,.style-card,.metric) {background:var(--erp44-surface);border-color:var(--erp44-line);border-radius:14px;box-shadow:var(--erp44-shadow)}
  body :is(.card-header,.s-panel-head) {gap:14px;flex-wrap:wrap}
  body .card-header {margin-bottom:18px}
  body :is(.toolbar,.s-toolbar,.filters,.catalog-tools) {gap:12px}
  body .toolbar {padding:16px;border:1px solid var(--erp44-line);border-radius:11px;background:#fcf8fa;margin-bottom:22px}
  body .toolbar label {font-size:13px;gap:7px}
  body .toolbar :is(input,select) {min-height:40px;font-size:14px}
  body :is(.metrics,.cw-metrics) {gap:14px}
  body :is(.metric,.cw-metrics>button,.info-cell,.form-ledger) {background:var(--erp44-surface);border-color:var(--erp44-line)}
  body .metric {padding:20px;border-top:3px solid #e5c5d6}
  body .metric:first-child {border-top-color:var(--erp44-brand)}
  body .metric .value {font-size:28px;line-height:1.3;color:var(--erp44-purple);margin:10px 0 6px}
  body .table-wrap {border-color:var(--erp44-line);border-radius:11px}
  body :is(th,.shell th,.workspace th) {background:#f5edf2!important;color:#705269!important;border-color:var(--erp44-line)!important;font-size:13px;font-weight:650;line-height:1.5}
  body :is(td,.workspace td) {border-color:#eee4e9;font-size:14px;line-height:1.65}
  body tbody tr:nth-child(even)>td {background-color:#fcf9fa}
  body tbody tr:hover>td {background-color:#fbf0f6}
  body .empty {padding:44px 20px;color:var(--erp44-muted)}
  body .empty h2 {color:var(--erp44-ink);font-size:19px}
  body :is(.placeholder,.s-empty-photo,.s-card-grid .s-good>.s-empty-photo,.s-card-grid .s-good>img.s-photo) {background:#f6f0f3;border-color:var(--erp44-line);color:var(--erp44-muted)}
  body .pagination {font-size:13px;color:var(--erp44-muted);padding-top:8px}
  /* Light brand navigation, including independently opened workspaces. */
  body :is(.wf-sidebar,.side,.shell>aside) {background:var(--erp44-surface);color:var(--erp44-ink);border-color:var(--erp44-line)}
  body :is(.brand,.brand strong) {color:var(--erp44-purple)}
  body :is(.brandmark,.brand-logo) {background:linear-gradient(145deg,#bb6794,#92527f);color:#fff}
  body :is(.brand small,.nav-label,.aside-bottom,.side-bottom) {color:var(--erp44-muted)}
  html body .nav .menu-group :is(summary,button,a) {color:var(--erp44-ink);background:transparent}
  html body :is(.nav button,.nav .menu-group a):hover {background:var(--erp44-soft);color:var(--erp44-brand-strong)}
  html body :is(.shell aside,.side) .nav :is(button.active,a.active) {background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important;box-shadow:inset 3px 0 var(--erp44-brand);border-color:#e0bfce!important}
  body :is(.topbar,.workspace-return,#wf-page-actions) {background:var(--erp44-surface);border-color:var(--erp44-line);color:var(--erp44-muted)}
  html body .wf-shell>.wf-header {background:linear-gradient(115deg,#fffaf4,#f8eaf2)!important;border-bottom:1px solid #e2cbd8;box-shadow:0 2px 10px #75436e08;color:var(--erp44-ink)}
  html body .wf-header>strong {color:var(--erp44-purple)!important;font-size:18px}
  html body .wf-header>strong:before {background:linear-gradient(145deg,#ba6696,#8c557d);color:white}
  html body .wf-header #wf-module-tabs button {color:var(--erp44-purple);background:transparent;border-color:transparent;font-size:14px;font-weight:600}
  html body .wf-header #wf-module-tabs button:hover {background:#ffffffb3;color:var(--erp44-brand-strong)}
  html body .wf-header #wf-module-tabs button.active {background:var(--erp44-brand)!important;color:white!important;border-color:var(--erp44-brand)!important;box-shadow:0 3px 8px #a83c721a}
  html body .wf-sidebar h2 {border-color:var(--erp44-line);background:#f9f0f5;color:var(--erp44-purple)}
  html body .wf-sidebar h2>button {background:transparent;color:var(--erp44-purple)!important;font-size:15px!important;font-weight:650!important}
  html body #wf-home-button {color:var(--erp44-purple)!important;border-color:var(--erp44-line);background:#fcf6f9!important;border-radius:9px}
  html body #wf-home-button.active {background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important;border-color:#d3a5bd!important}
  html body #wf-nav .wf-nav-item>button {color:#705a6b;font-size:14px;background:transparent}
  html body #wf-nav .wf-nav-item:has(>button.active),html body #wf-nav .wf-nav-item>button.active {color:var(--erp44-brand-strong)!important;background:var(--erp44-soft)!important;border-color:#dfc2d2!important;border-left-color:var(--erp44-brand)!important}
  html body #wf-nav .wf-nav-item>button:hover {background:#fcf3f8;color:var(--erp44-brand-strong)}
  body .wf-tabs {background:#f2e9ef;border-color:var(--erp44-line)}
  html body .wf-tabs button {color:#7b5c72;background:transparent;font-size:13px}
  html body .wf-tabs .active {background:var(--erp44-surface);border-color:var(--erp44-brand);color:var(--erp44-brand-strong)}
  html body .wf-tabs>span.active {border-bottom-color:var(--erp44-brand)!important}
  /* Homepage artwork keeps its four module illustrations and all interaction targets. */
  body #wf-home {background:var(--erp44-bg)}
  body :is(.wf-welcome,.wf-home-help,.wf-home-date,.wf-home-state,.wf-home-card p) {color:var(--erp44-muted)}
  body .wf-home-card {--home-accent:var(--erp44-purple);border-top-color:#cda4c0}
  body .wf-home-card h2 {font-size:24px;color:var(--erp44-purple)}
  body .wf-home-shortcuts button {background:#fcf7fa;color:var(--erp44-purple);border-color:var(--erp44-line);border-radius:9px}
  body .eh-home-preview {background:linear-gradient(120deg,#fffaf3,#fbecf4);border-color:#ead5e1;color:var(--erp44-ink)}
  body .eh-hero-heading h1 {color:var(--erp44-purple)}
  body :is(.eh-eyebrow,.eh-focus-index,.eh-scene-caption,.eh-focus-desc,.eh-home-preview .eh-footnote) {color:var(--erp44-muted)}
  body .eh-focus-panel {background:#fffdfa;border-color:var(--erp44-line)}
  html body .eh-focus-enter {background:var(--erp44-brand)!important;border-color:var(--erp44-brand)!important;color:white!important}
  body .eh-scene-area {background:linear-gradient(120deg,#fcf2ed,#f8ecf6);border-color:var(--erp44-line)}
  /* Drawers/forms only change palette; open/closed state, scroll and dimensions remain untouched. */
  body dialog:not(#output) {color:var(--erp44-ink);background:var(--erp44-surface);border-color:var(--erp44-line)}
  body dialog:not(#output)::backdrop {background:#49334466;backdrop-filter:blur(2px)}
  html body .erp-drawer-head34 {background:var(--erp44-surface)!important;border-color:var(--erp44-line)!important}
  html body .erp-drawer-head34 :is(h1,h2,h3) {color:var(--erp44-purple)!important}
  html body .erp-drawer-scroll34 {background:var(--erp44-surface)!important}
  html body .erp-drawer-foot34 {background:#fcf7fa!important;border-color:var(--erp44-line)!important}
  body :is(.form-grid,.s-formgrid) label {font-size:14px}
  body :is(.settings-tabs,.detail-tabs) {border-color:var(--erp44-line)}
  body .settings-tabs button {color:var(--erp44-muted);border-radius:8px 8px 0 0}
  html body .settings-tabs button.selected {background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important;border-bottom-color:var(--erp44-brand)!important}
  body :is(.admin-grant,.admin-perms,.photo-upload,.upload-label,.card-maintenance,.catalog-search) {border-color:var(--erp44-line);background:#fcf8fa;color:var(--erp44-ink)}
  html body .login .login-brand {background:linear-gradient(140deg,#75436e,#a83c72)!important}
  body .login-brand :is(h1,h2,h3,p,a) {color:white}
  body .login form {border-color:var(--erp44-line);border-radius:18px;box-shadow:var(--erp44-shadow)}
  html body :is(.shipment-action-bar,.order-selection-bar,.purchase-selection-bar,.account-selection-bar,.card-selection-bar) {background:#65445f!important;border-color:#65445f;color:#fff}
  /* Catalog photo/selection surfaces retain availability and checked-state semantics. */
  html body #s-content .catalog-search.card-search.catalog-search38 {background:#fcf5f9!important;border-color:var(--erp44-line)!important}
  body :is(.cc42-selection,.cc42-stock,.cc42-info,.cc42-status-intro,.cc43-quote-panel,.cs38-summary) {background:#fcf6f9;border-color:var(--erp44-line)}
  body .cc42-card .cc42-photo {background:#f7f1f5!important}
  body :is(.cc42-card .cc42-body h3,.cc43-quote-panel h3) {color:var(--erp44-ink)}
  body .cc42-card .cc42-price {color:var(--erp44-gold)}
  body .cc42-card .cc43-pick:not(.cc43-picked):not(:disabled) {background:#fcf0f7!important;color:var(--erp44-brand-strong)!important;border-color:var(--erp44-line)}
  body :is(.cc43-quote-panel p,.cc42-info dt,.cc42-price small) {color:var(--erp44-muted)}
  body #notice {background:#65445f}
  /* Workplace profile, search and notices. No white ticker container or publishing shortcut. */
  html body .wf-header .wp44-quicksearch #wf-search {background:#fffdfa;border-color:#e4cbd8;color:var(--erp44-ink);font-size:14px;box-shadow:0 2px 8px #75436e08}
  body .wp44-quicksearch>svg {stroke:#986e8a}
  body .wp44-quicksearch kbd {color:#a08499;background:#faf1f7;border-color:#ead7e3}
  html body .wf-header #wp44-account-button {color:var(--erp44-ink);background:transparent;border-color:transparent}
  html body .wf-header #wp44-account-button:hover,html body .wf-header #wp44-account-button[aria-expanded=true] {background:#ffffffb3!important;color:var(--erp44-brand-strong)!important;border-color:#e4cbd8!important}
  body :is(.wp44-account-copy small,.wp44-chevron) {color:var(--erp44-muted)}
  body .wp44-account img {border-color:#ecd4e1}
  body #wp44-account-menu {background:var(--erp44-surface);border-color:var(--erp44-line);color:var(--erp44-ink);box-shadow:0 14px 38px #553e5320}
  body #wp44-account-menu button {background:transparent;color:var(--erp44-purple)}
  body #wp44-account-menu button:hover {background:var(--erp44-soft);color:var(--erp44-brand)}
  body :is(.wp44-drawer,.wp44-dialog,.wp44-dialog-head,.wp44-dialog-footer,.wp44-announcement,.wp44-board-toolbar) {background:var(--erp44-surface);color:var(--erp44-ink);border-color:var(--erp44-line)}
  body :is(.wp44-dialog-head h2,.wp44-product-heading h3,.wp44-profile-intro h3,.wp44-announcement-top strong,.wp44-compose-title h3,.wp44-avatar-field legend,.wp44-dialog label,.wp44-announcement-content) {color:var(--erp44-ink)}
  body :is(.wp44-hint,.wp44-board-caption,.wp44-dialog label small,.wp44-product-facts span,.wp44-product-heading p,.wp44-profile-intro p,.wp44-profile-intro small,.wp44-announcement-top small,.wp44-menu-identity) {color:var(--erp44-muted)}
  body :is(.wp44-permissions,.wp44-stock-summary,.wp44-center-tabs,.wp44-announcement-list) {background:#fcf5f9;border-color:var(--erp44-line)}
  body .wp44-center-tabs button {color:var(--erp44-muted);font-size:14px}
  html body .wp44-center-tabs button[aria-selected=true],html body .wp44-board-tabs button[aria-selected=true] {background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important;border-color:#ddb6cb!important}
  html body .wp44-avatar-option[aria-pressed=true] {border-color:var(--erp44-brand)!important;background:var(--erp44-soft)!important;box-shadow:0 0 0 2px #eed0e1}
  body .wp44-avatar-group {margin:0 0 15px}
  body .wp44-avatar-group h4 {margin:0 0 9px;font-size:12px;font-weight:650;color:var(--erp44-muted)}
  body :is(.wp44-stock-summary strong,.wp44-sku,.wp44-result strong) {color:var(--erp44-purple)}
  html body .wp44-result {color:var(--erp44-ink)!important;border-color:var(--erp44-line)!important;background:var(--erp44-surface)!important}
  html body .wp44-result:hover {background:var(--erp44-soft)!important;border-color:#cca1b8!important}
  body .wp44-announcement-content {font-size:15px;line-height:1.85}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {color:var(--erp44-ink);background:transparent!important;min-height:48px}
  body .wp44-ticker-window {line-height:46px;padding-block:5px}
  body .wp44-ticker-item {font-size:16px;line-height:36px;gap:11px}
  body .wp44-ticker-item>img {width:30px;height:30px;flex-basis:30px;border:1px solid #dbbdcf;background:#fffdfa}
  body .wp44-ticker-item>strong {font-size:14px;font-weight:650;max-width:112px;color:var(--erp44-purple)}
  body .wp44-notice-text {color:var(--erp44-ink);font-weight:500}
  body .wp44-ticker-empty {font-size:14px;color:var(--erp44-muted);opacity:1}
  body .wp44-ticker-group {gap:38px;padding-right:38px}
  body .wp44-tag-icon {display:block;width:18px;height:18px;flex:0 0 18px;overflow:visible}
  body .wp44-tag-label {display:inline-block;line-height:inherit}
  body .wp44-tag {gap:5px}
  html body .wf-header .wp44-ticker .wp44-tag {position:relative;font-size:13px;font-weight:750;line-height:1.45;padding:4px 9px;border:1px solid #dfc6da;border-radius:9px;gap:6px;color:#75436e;background:#f6e9f3!important;transform-origin:center;will-change:transform}
  html body .wf-header .wp44-ticker .wp44-tag::before {content:none}
  html body .wf-header .wp44-ticker .wp44-tag .wp44-tag-icon {transform-origin:center}
  html body .wf-header .wp44-ticker .wp44-tag-notice {animation:erp44-tag-notice 3.2s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-urgent {color:#b43b4a;background:#ffe7eb!important;border-color:#e9a6b2;animation:erp44-tag-urgent 2.4s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-urgent .wp44-tag-icon {animation:erp44-icon-bolt 2.4s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-attention {color:#956016;background:#fff1d8!important;border-color:#e4c28a;animation:erp44-tag-attention 2.8s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-attention .wp44-tag-icon {transform-origin:50% 15%;animation:erp44-icon-bell 2.8s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-focus {color:#75436e;background:#f2e3f5!important;border-color:#d2abd7;animation:erp44-tag-focus 3s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-focus .wp44-tag-pupils {animation:erp44-icon-peek 3s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer {color:#2e765b;background:#e8f5e8!important;border-color:#b7d9bb;animation:erp44-tag-cheer 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer .wp44-tag-icon {animation:erp44-icon-rocket 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer .wp44-tag-flame {animation:erp44-icon-flame 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag:is(.wp44-tag-urgent,.wp44-tag-cheer)::after {content:'';position:absolute;inset:-3px;border:2px solid currentColor;border-radius:12px;opacity:0;pointer-events:none;animation:erp44-tag-ring 2.6s ease-out infinite}
  html body .wf-header .wp44-ticker:is(:hover,:focus-within,.wp44-is-paused) :is(.wp44-ticker-running,.wp44-tag,.wp44-tag *),
  html body .wf-header .wp44-ticker:is(:hover,:focus-within,.wp44-is-paused) .wp44-tag::after {animation-play-state:paused}
  @keyframes erp44-tag-notice {0%,55%,100%{transform:rotate(0)}12%{transform:rotate(-4deg) scale(1.06)}25%{transform:rotate(3deg)}38%{transform:rotate(0)}}
  @keyframes erp44-tag-urgent {0%,45%,100%{transform:scale(1)}10%{transform:translateY(-3px) scale(1.12) rotate(-3deg)}20%{transform:scale(.98) rotate(3deg)}32%{transform:scale(1.07) rotate(0)}}
  @keyframes erp44-tag-attention {0%,48%,100%{transform:translateY(0)}15%{transform:translateY(-4px)}30%{transform:translateY(1px)}}
  @keyframes erp44-tag-focus {0%,55%,100%{transform:rotate(0)}16%{transform:translateY(-3px) rotate(-3deg)}34%{transform:translateY(0) rotate(2deg)}}
  @keyframes erp44-tag-cheer {0%,55%,100%{transform:translateY(0) scale(1)}16%{transform:translateY(-6px) scale(1.1) rotate(-2deg)}30%{transform:translateY(1px) scale(.97)}42%{transform:translateY(-2px) scale(1.03)}}
  @keyframes erp44-icon-bolt {0%,45%,100%{transform:rotate(0) scale(1)}10%,28%{transform:rotate(-14deg) scale(1.17)}18%,36%{transform:rotate(12deg) scale(1.06)}}
  @keyframes erp44-icon-bell {0%,50%,100%{transform:rotate(0)}10%,26%{transform:rotate(-24deg)}18%,34%{transform:rotate(22deg)}42%{transform:rotate(-10deg)}}
  @keyframes erp44-icon-peek {0%,55%,100%{transform:translateX(0)}15%,25%{transform:translateX(-2.5px)}35%,45%{transform:translateX(1.5px)}}
  @keyframes erp44-icon-rocket {0%,65%,100%{transform:translate(0,0)}20%{transform:translate(3px,-4px) rotate(7deg)}38%{transform:translate(-1px,1px) rotate(-4deg)}50%{transform:translate(1px,-1px)}}
  @keyframes erp44-icon-flame {0%,65%,100%{stroke-dasharray:8;stroke-dashoffset:0}20%,45%{stroke-dasharray:3;stroke-dashoffset:3}}
  @keyframes erp44-tag-ring {0%,5%{opacity:0;transform:scale(.92)}12%{opacity:.35}38%,100%{opacity:0;transform:scale(1.17)}}
}
@media screen and (max-width:1000px) {
  body .wp44-ticker-item {font-size:15px}
  html body .wf-header>strong {font-size:16px}
  html body .wf-header #wf-module-tabs button {font-size:13px}
}
@media screen and (max-width:700px) {
  body h1 {font-size:23px}
  body .toolbar {padding:12px;gap:10px}
  body .metric {padding:15px}
  body .metric .value {font-size:25px}
  html body .wf-header>strong {font-size:14px}
  html body .wf-header #wf-module-tabs button {font-size:12px}
  html body .wf-header .wp44-ticker {min-height:46px}
  body .wp44-ticker-item {font-size:14px;gap:9px;line-height:34px}
  body .wp44-ticker-item>strong {font-size:13px;max-width:92px}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:12px}
  body .wp44-ticker-item>img {width:28px;height:28px;flex-basis:28px}
  body .wp44-drawer {top:215px}
}
@media screen and (prefers-reduced-motion:reduce) {
  html body .wf-header .wp44-ticker :is(.wp44-tag,.wp44-tag *),html body .wf-header .wp44-ticker .wp44-tag::after {animation:none!important;transform:none!important;box-shadow:none;will-change:auto}
  html body .wf-header .wp44-ticker .wp44-tag::after {opacity:0}
}
/* Signature and complete daily copy above; work controls and notices below. */
@media screen {
  html body .wf-shell > header.wf-header {
    grid-template-columns:220px minmax(0,1fr) 340px 170px;
    grid-template-rows:minmax(80px,auto) 42px;gap:10px 20px;align-items:center;
    min-height:0;padding:12px 22px;background:#f6f2ef!important;color:#493943;z-index:90;
    border:0;border-bottom:1px solid #ded5da;box-shadow:0 3px 14px #49394305;
  }
  html body .wf-shell > header.wf-header > strong.hb44-brand {
    grid-column:1;grid-row:1;width:100%;max-width:100%;min-height:68px;height:auto;
    border:0;align-self:center;
  }
  html body .wf-header > .hb44-status-panel {grid-column:2;grid-row:1}
  html body .wf-header .wp44-quicksearch {grid-column:1;grid-row:2;width:220px;max-width:100%;align-self:center}
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search {
    min-height:41px;border:1px solid #d7cdd4;border-radius:9px;background:#fffdfa!important;
    color:#493943;font-size:14px;box-shadow:0 2px 6px #49394303;
  }
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search:focus {border-color:#866b80;box-shadow:0 0 0 3px #866b8012;outline:none}
  html body .wf-header .wp44-quicksearch>svg {stroke:#897383}
  html body .wf-header .wp44-quicksearch kbd {background:#f2eeef;color:#91808e;border-color:#e4dbe0;font-size:10px}
  html body .wf-shell > header.wf-header #wf-module-tabs {
    grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;
    min-width:0;width:auto;max-width:none;margin:0;padding:0;gap:5px;overflow:visible;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs button {
    flex:0 0 auto;padding:8px 13px;min-height:38px;line-height:20px;border:1px solid transparent;
    border-radius:8px;background:transparent!important;color:#695564!important;font-size:14px;font-weight:650;
    box-shadow:none!important;transition:background .2s,color .2s,border-color .2s;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs button:hover {background:#eae2e8!important;color:#493943!important;border-color:#dcd0d9!important}
  html body .wf-shell > header.wf-header #wf-module-tabs button.active {background:#655366!important;color:#fffdfa!important;border-color:#655366!important;box-shadow:0 2px 5px #49394310!important}
  html body .wf-shell > header.wf-header #wf-module-tabs button:focus-visible {outline:2px solid #866b80;outline-offset:2px}
  html body .wf-header .wp44-account {grid-column:4;grid-row:1;align-self:center;justify-self:end;max-width:180px}
  html body .wf-shell > header.wf-header #wp44-account-button {
    min-width:0;max-width:180px;padding:5px 9px;gap:10px;border:1px solid transparent;border-radius:9px;
    background:transparent!important;color:#493943!important;
  }
  html body .wf-shell > header.wf-header #wp44-account-button:hover,
  html body .wf-shell > header.wf-header #wp44-account-button[aria-expanded=true] {background:#eae2e8!important;border-color:#dcd0d9!important;color:#493943!important}
  html body .wf-header .wp44-account img {width:36px;height:36px;border:1px solid #d9c9d4;box-shadow:0 0 0 3px #fffaf7;background:#fffaf7}
  html body .wf-header .wp44-account-copy {gap:2px}
  html body .wf-header .wp44-account-copy strong {font-size:13px;max-width:98px;color:#574252}
  html body .wf-header .wp44-account-copy small {font-size:10px;max-width:106px;color:#8b7c85}
  html body .wf-header .wp44-chevron {color:#8b7c85;font-size:13px}
  html body .wf-header #wp44-account-menu {top:calc(100% + 9px);border-color:#dcd0d9;background:#fffdfa;box-shadow:0 14px 34px #49394319}
  html body .wf-header #wp44-account-menu button {color:#574252}
  html body .wf-header #wp44-account-menu button:hover {background:#eee7ec;color:#493943}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {
    grid-column:2/5;grid-row:2;width:auto;max-width:none;min-height:42px;padding:0 0 0 16px;border:0;border-left:1px solid #e2d9de;
    border-radius:0;background:transparent!important;gap:10px;color:#493943;align-self:stretch;
  }
  html body .wf-header .wp44-ticker::before {content:'工作动态';flex:0 0 auto;font-size:10px;letter-spacing:1px;font-weight:650;color:#93828e;padding-right:10px;border-right:1px solid #dcd0d9;line-height:14px}
  html body .wf-header .wp44-ticker-window {line-height:40px;padding-block:4px;mask-image:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
  html body .wf-header .wp44-ticker-item {font-size:15px;line-height:32px;gap:9px}
  html body .wf-header .wp44-ticker-item>strong {font-size:13px;color:#766074;font-weight:600}
  html body .wf-header .wp44-notice-text {color:#4b4149;font-weight:500}
  html body .wf-header .wp44-ticker-item>img {width:26px;height:26px;flex-basis:26px;border-color:#d9c9d4}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:12px;padding:3px 7px;border-radius:7px;gap:4px}
  html body .wf-header .wp44-tag-icon {width:16px;height:16px;flex-basis:16px}
  html body .wp44-drawer {top:calc(var(--wp44-header-bottom,124px) + 10px)!important}
}
@media screen and (max-width:1200px) {
  html body .wf-shell > header.wf-header {grid-template-columns:200px minmax(0,1fr) 296px 145px;column-gap:15px;padding-inline:18px}
  html body .wf-header .wp44-quicksearch {width:200px}
  html body .wf-shell > header.wf-header #wf-module-tabs {gap:2px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {padding-inline:10px;font-size:13px}
}
@media screen and (max-width:1100px) {
  html body #wf-home .wf-tv-actions {flex:0 0 100%;margin-left:0}
}
@media screen and (max-width:650px) {
  html body #wf-home .wf-tv-actions :is(a,button) {min-width:0;max-width:100%;white-space:normal}
}
@media screen and (max-width:1000px) {
  html body .wf-shell > header.wf-header {grid-template-columns:195px minmax(0,1fr) 145px;grid-template-rows:minmax(92px,auto) 40px 42px;gap:8px 16px;padding:12px 18px}
  html body .wf-shell > header.wf-header > strong.hb44-brand {grid-column:1;grid-row:1}
  html body .wf-header > .hb44-status-panel {grid-column:2;grid-row:1}
  html body .wf-header .wp44-quicksearch {grid-column:1;grid-row:2;width:195px}
  html body .wf-header .wp44-account {grid-column:3;grid-row:1}
  html body .wf-shell > header.wf-header #wf-module-tabs {grid-column:2/4;grid-row:2;justify-content:flex-start;gap:8px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {padding:6px 13px;min-height:34px}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {grid-column:1/-1;grid-row:3;border-left:0;border-top:1px solid #e2d9de;padding:0}
}
@media screen and (max-width:700px) {
  html body .wf-shell > header.wf-header {grid-template-columns:minmax(0,1fr) auto;grid-template-rows:62px auto 40px 36px 42px;gap:7px 12px;padding:10px 14px}
  html body .wf-shell > header.wf-header > strong.hb44-brand {grid-column:1;grid-row:1;min-width:0;width:100%;min-height:58px}
  html body .wf-header > .hb44-status-panel {grid-column:1/-1;grid-row:2}
  html body .wf-header .wp44-account {grid-column:2;grid-row:1;max-width:140px}
  html body .wf-shell > header.wf-header #wp44-account-button {max-width:140px;padding:4px;gap:7px}
  html body .wf-header .wp44-account img {width:32px;height:32px}
  html body .wf-header .wp44-account-copy strong {font-size:12px;max-width:76px}
  html body .wf-header .wp44-account-copy small {font-size:9px;max-width:80px}
  html body .wf-header .wp44-quicksearch {grid-column:1/-1;grid-row:3;width:220px}
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search {font-size:13px;min-height:39px}
  html body .wf-shell > header.wf-header #wf-module-tabs {grid-column:1/-1;grid-row:4;justify-content:space-between;width:100%;gap:4px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {flex:1;min-width:0;padding:5px 6px;font-size:12px;min-height:33px}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {grid-column:1/-1;grid-row:5;min-height:42px}
  html body .wf-header .wp44-ticker::before {font-size:9px;letter-spacing:0;padding-right:7px}
  html body .wf-header .wp44-ticker-item {font-size:14px;gap:8px}
  html body .wf-header .wp44-ticker-item>strong {font-size:12px;max-width:88px}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:11px}
  html body .wf-header .wp44-ticker-window {padding-block:4px;line-height:38px}
}
@media screen and (max-width:390px) {
  html body .wf-shell > header.wf-header {padding-inline:10px;column-gap:10px}
  html body .wf-header .wp44-account-copy strong {max-width:60px}
  html body .wf-header .wp44-ticker::before {content:'动态'}
}
@media screen and (max-height:560px) {
  html body .wp44-drawer {top:12px!important;bottom:12px;z-index:120}
  html body .wp44-drawer .wp44-dialog-head {padding:12px 18px}
}
