/* Muse-inspired compact workbench. Business and TV styling stay outside this scope. */
@media screen {
 #wf-home .ehd-dashboard{--ehd-ink:#33302e;--ehd-muted:#786f67;--ehd-primary:var(--muse-brand,var(--erp44-brand,#c24b78));--ehd-soft:var(--muse-brand-soft,var(--erp44-soft,#f7e7ee));--ehd-info:#3e7cb1;--ehd-line:#e8dfd6;font-family:inherit;color:var(--ehd-ink);max-width:1680px;margin:0 auto 12px;font-size:13px;line-height:1.45}
 #wf-home .ehd-dashboard *{box-sizing:border-box}
 #wf-home .ehd-dashboard svg{width:18px;height:18px;flex:none;vertical-align:middle}
 #wf-home .ehd-dashboard button{font:inherit;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s}
 #wf-home .ehd-dashboard button:focus-visible{outline:2px solid var(--ehd-primary);outline-offset:3px}
 #wf-home .ehd-dashboard button:disabled{cursor:wait;opacity:.55}
 #wf-home .ehd-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px}
 #wf-home .ehd-heading>div:first-child{display:flex;align-items:baseline;gap:12px;min-width:0}
 #wf-home .ehd-eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--ehd-muted);margin-bottom:3px}
 #wf-home .ehd-heading h1{font-size:17px;line-height:1.4;font-weight:650;margin:0;color:var(--ehd-ink)}
 #wf-home .ehd-heading p{margin:0;color:var(--ehd-muted);font-size:12px}
 #wf-home .ehd-heading-actions{display:flex;align-items:center;gap:12px;flex:none;font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-dashboard .ehd-refresh{background:white;border:1px solid var(--ehd-line);border-radius:7px;padding:4px 9px;color:var(--ehd-muted);min-height:28px}
 #wf-home .ehd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
 #wf-home .ehd-metric{position:relative;background:white;border:1px solid var(--ehd-line);border-radius:10px;padding:9px 13px;min-width:0;box-shadow:none}
 #wf-home .ehd-metric-shipping{border-top:3px solid var(--ehd-primary);padding-top:7px}
 #wf-home .ehd-metric-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
 #wf-home .ehd-metric-module{font-size:11px;color:var(--ehd-muted);white-space:nowrap}
 #wf-home .ehd-metric-number{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-height:34px}
 #wf-home .ehd-metric-number>[data-ehd-kpi-extra]{font-size:12px;color:var(--ehd-muted);font-variant-numeric:tabular-nums}
 #wf-home .ehd-metric-top h2{font-size:12px;line-height:1.4;color:var(--ehd-muted);font-weight:500;margin:0}
 #wf-home .ehd-metric-icon{width:18px;height:18px;display:grid;place-items:center;color:var(--ehd-muted)}
 #wf-home .ehd-metric-icon svg{width:15px;height:15px}
 #wf-home .ehd-metric-value{display:block;font-size:23px;font-weight:650;line-height:1.2;letter-spacing:-.4px;margin:4px 0 2px;font-variant-numeric:tabular-nums;color:var(--ehd-ink);overflow-wrap:anywhere}
 #wf-home .ehd-metric-value small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--ehd-muted)}
 #wf-home .ehd-metric-value.is-unavailable{font-size:13px;line-height:27px;letter-spacing:0;font-weight:500;color:var(--ehd-muted)}
 #wf-home .ehd-metric p{font-size:11px;color:var(--ehd-muted);margin:0;padding-right:20px;line-height:1.4}
 #wf-home .ehd-metric p[data-tone="danger"]{color:#cf4444;font-weight:500}
 #app #wf-home .ehd-dashboard :is(.ehd-metric-link,.ehd-text-link){display:inline-flex;align-items:center;gap:4px;width:auto;min-height:24px!important;padding:2px 0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#3e7cb1!important;font-size:12px!important;line-height:1.4;text-align:left;font-weight:500}
 #wf-home .ehd-metric-link svg,#wf-home .ehd-text-link svg{width:13px;height:13px}
 #app #wf-home .ehd-dashboard .ehd-metric-link{position:absolute;bottom:6px;right:8px;min-height:22px!important;width:22px;justify-content:center;padding:1px 0!important}
 #wf-home .ehd-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}
 #wf-home .ehd-dashboard :is(.ehd-metric-link,.ehd-text-link):hover{text-decoration:underline;text-underline-offset:3px}
 #wf-home .ehd-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:12px;margin-bottom:12px;align-items:start}
 #wf-home :is(.ehd-primary-column,.ehd-secondary-column){display:flex;flex-direction:column;gap:12px;min-width:0}
 #wf-home .ehd-card{background:white;border:1px solid var(--ehd-line);border-radius:10px;padding:11px 14px;min-width:0}
 #wf-home .ehd-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
 #wf-home .ehd-card-head h2,#wf-home .ehd-login-card h2{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.5;font-weight:650;color:var(--ehd-ink)}
 #wf-home .ehd-card-head>span{font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-card-head h2 svg{width:16px;height:16px;color:var(--ehd-primary)}
 #wf-home .ehd-card-head h2 [data-ehd-urgent]{font-size:11px;color:#cf4444;font-weight:500}
 #wf-home .ehd-todo-row{display:grid;grid-template-columns:44px minmax(0,1fr) 84px 86px;align-items:center;gap:9px;padding:8px 0;min-height:74px;border-bottom:1px solid var(--ehd-line)}
 #wf-home .ehd-todo-row:first-child{padding-top:3px}
 #wf-home .ehd-todo-row:last-child{border-bottom:0;padding-bottom:2px}
 #wf-home .ehd-todo-mark{display:grid;place-items:center;width:44px;height:36px;padding:3px;border-radius:7px;background:#e7f0f8;color:var(--ehd-info);flex:none;font-size:10px;font-weight:650;overflow:hidden;white-space:nowrap;text-align:center;line-height:1.2;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
 #wf-home .ehd-sku-mark{color:#fff}
 #wf-home .ehd-sku-mark>span{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;word-break:normal}
 #wf-home .ehd-sku-mark[data-sku-size="medium"]{font-size:9px}
 #wf-home .ehd-sku-mark[data-sku-size="long"]{font-size:8px;letter-spacing:-.3px}
 #wf-home .ehd-sku-mark[data-sku-color="0"]{background:#a5537a}
 #wf-home .ehd-sku-mark[data-sku-color="1"]{background:#766298}
 #wf-home .ehd-sku-mark[data-sku-color="2"]{background:#9d6b34}
 #wf-home .ehd-sku-mark[data-sku-color="3"]{background:#ae5140}
 #wf-home .ehd-sku-mark[data-sku-color="4"]{background:#527b69}
 #wf-home .ehd-sku-mark[data-sku-color="5"]{background:#4d718b}
 #wf-home .ehd-todo-copy{min-width:0;flex:1}
 #wf-home .ehd-todo-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
 #wf-home .ehd-todo-copy p{font-size:11px;color:var(--ehd-muted);margin:2px 0 0;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #wf-home .ehd-todo-third{display:flex;align-items:center;gap:8px;height:24px;font-size:11px;color:var(--ehd-muted);white-space:nowrap;overflow:hidden}
 #wf-home .ehd-todo-third .ehd-task-kind{color:var(--ehd-info);font-size:11px;font-weight:500}
 #wf-home .ehd-identity-note{margin:8px 0 0;font-size:11px;color:var(--ehd-muted);line-height:1.4}
 #wf-home .ehd-count{font-size:11px;font-weight:600;padding:2px 8px;border-radius:12px;background:#e7f0f8;color:var(--ehd-info);white-space:nowrap;font-variant-numeric:tabular-nums}
 #wf-home .ehd-todo-status{justify-self:stretch;text-align:center;line-height:20px;padding:1px 5px}
 #wf-home .ehd-count[data-tone="warn"]{background:#fff1d9;color:#9b660e}
 #wf-home .ehd-count[data-tone="ok"]{background:#e6f3ec;color:#2f8f66}
 #wf-home .ehd-count[data-tone="danger"]{background:#fce6e5;color:#cf4444}
 #app #wf-home .ehd-dashboard .ehd-action{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;min-height:32px;padding:5px 10px;font-size:12px;font-weight:600;line-height:1.4;border-radius:8px;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
 #app #wf-home .ehd-dashboard .ehd-action.primary{background:var(--ehd-primary)!important;color:#fff!important;border:1px solid var(--ehd-primary)!important;box-shadow:0 2px 5px #52374014}
 #app #wf-home .ehd-dashboard .ehd-action.secondary{background:transparent!important;color:#746e69!important;border:1px solid transparent!important}
 #wf-home .ehd-action svg{width:12px;height:12px}
 #app #wf-home .ehd-dashboard .ehd-action.primary:hover{box-shadow:0 3px 8px #52374024;filter:none}
 #wf-home .ehd-action.secondary:hover{text-decoration:underline;text-underline-offset:3px}
 #wf-home .ehd-source-notice{margin:0 0 7px;padding:6px 9px;background:#fff6e5;color:#926312;border-radius:6px;font-size:11px;line-height:1.5}
 #wf-home .ehd-todo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
 #wf-home .ehd-todo-toolbar>div{display:flex;gap:5px;flex-wrap:wrap}
 #app #wf-home .ehd-dashboard .ehd-filter{padding:5px 10px;min-height:30px;background:#fff;border:1px solid var(--ehd-line);border-radius:7px;color:var(--ehd-muted);font-size:12px}
 #app #wf-home .ehd-dashboard .ehd-filter[aria-pressed="true"]{background:var(--ehd-soft)!important;border-color:var(--ehd-primary)!important;color:var(--ehd-primary)!important;font-weight:600}
 #wf-home .ehd-todo-search{display:flex;align-items:center;gap:8px;flex:0 1 350px;font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-todo-search>span{white-space:nowrap}
 #wf-home .ehd-todo-search input{width:100%;min-width:0;height:32px;border:1px solid var(--ehd-line);border-radius:7px;padding:5px 9px;background:#fff;font:inherit;color:var(--ehd-ink)}
 #wf-home .ehd-todo-scope{font-size:11px;line-height:1.5;color:var(--ehd-muted);padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid var(--ehd-line)}
 #wf-home .ehd-todo-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-all-todos .ehd-todo-row{min-height:52px}
 #wf-home .ehd-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 #wf-home .ehd-shortcuts button,#wf-home .ehd-link{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--ehd-line);border-radius:7px;background:#fff;padding:6px 8px;color:var(--ehd-ink);line-height:1.5;font-size:12px;text-align:left;min-width:0;white-space:normal}
 #wf-home .ehd-shortcuts button svg,#wf-home .ehd-link svg{width:13px;height:13px;color:var(--ehd-primary)}
 #wf-home .ehd-shortcuts button:hover,#wf-home .ehd-link:hover,#wf-home .ehd-refresh:hover{background:var(--ehd-soft);border-color:var(--ehd-primary);color:var(--ehd-ink)}
 #wf-home .ehd-recent-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--ehd-line);padding:8px 0;min-height:46px}
 #wf-home .ehd-recent-item:first-child{padding-top:0}
 #wf-home .ehd-recent-item:last-child{padding-bottom:0;border:0}
 #wf-home .ehd-recent-item>div{min-width:0}
 #wf-home .ehd-recent-item strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
 #wf-home .ehd-recent-item small{display:block;font-size:11px;color:var(--ehd-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #wf-home .ehd-recent-item .ehd-recent-qty{font-size:12px;color:var(--ehd-muted);font-weight:400}
 #wf-home .ehd-recent-amount{flex:none;text-align:right;font-variant-numeric:tabular-nums}
 #wf-home .ehd-purchase-summary dl{display:grid;gap:7px;margin:0}
 #wf-home .ehd-purchase-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
 #wf-home .ehd-purchase-summary dt{font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-purchase-summary dd{font-size:14px;font-weight:600;margin:0;font-variant-numeric:tabular-nums}
 #wf-home .ehd-caption,#wf-home .ehd-empty{font-size:11px;line-height:1.5;color:var(--ehd-muted);margin:7px 0 0}
 #wf-home .ehd-empty.is-complete{padding:8px 10px;border-radius:7px;background:#e6f3ec;color:#2f8f66}
 #wf-home .ehd-caption{padding-top:7px;border-top:1px dashed var(--ehd-line)}
 #wf-home .ehd-resume-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
 #wf-home .ehd-resume h3{font-size:12px;font-weight:500;color:var(--ehd-muted);margin:0 0 9px}
 #wf-home .ehd-resume .ehd-link{margin-top:7px;min-height:34px}
 #wf-home .ehd-favorite{display:flex;gap:4px;align-items:stretch}
 #wf-home .ehd-favorite>.ehd-link{flex:1}
 #wf-home .ehd-dashboard .ehd-unfavorite{border:0;background:transparent;color:var(--ehd-primary);padding:5px 9px}
 #wf-home .ehd-summary{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin-top:10px;font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-summary svg{width:14px;height:14px}
 #wf-home .ehd-summary>span{margin-left:auto}
 #wf-home .ehd-login-card{margin-bottom:18px}
 #wf-home .ehd-login-card .ehd-shortcuts{margin-top:14px}
 #wf-nav .wf-nav-item>button[data-wf-open]{display:flex;align-items:center;gap:6px;min-width:0}
 #wf-nav .wf-nav-count{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:auto;padding:0 5px;border-radius:9px;background:#e8e1d9;color:#786f67;font-size:10px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums}
}
@media screen and (max-width:1150px){#wf-home .ehd-metrics{gap:9px}#wf-home .ehd-metric{padding:9px 11px}#wf-home .ehd-metric-shipping{padding-top:7px}#wf-home .ehd-columns{gap:10px;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}#wf-home .ehd-card{padding:10px 12px}#wf-home .ehd-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:900px){#wf-home .ehd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#wf-home .ehd-columns{grid-template-columns:1fr}#wf-home .ehd-secondary-column{display:grid;grid-template-columns:1fr 1fr}}
@media screen and (max-width:600px){#wf-home .ehd-heading{align-items:flex-start}#wf-home .ehd-heading>div:first-child{display:block}#wf-home .ehd-heading-actions{flex-direction:column;align-items:flex-end;gap:6px}#wf-home .ehd-heading h1{font-size:16px}#wf-home .ehd-secondary-column,#wf-home .ehd-resume-grid{display:grid;grid-template-columns:1fr}#wf-home .ehd-todo-mark{display:none}#wf-home .ehd-metric p{min-height:31px}#app .wf-muse-v2 #wf-home .ehd-todo-row,#wf-home .ehd-todo-row{grid-template-columns:minmax(0,1fr) 86px;grid-template-areas:"copy action" "status action";gap:3px 8px}#wf-home .ehd-todo-copy{grid-area:copy}#wf-home .ehd-todo-status{grid-area:status;justify-self:start;min-width:74px}#wf-home .ehd-action{grid-area:action}#wf-home .ehd-count{max-width:84px;white-space:normal;text-align:center}#wf-home .ehd-summary>span{margin-left:0}}
@media screen and (prefers-reduced-motion:reduce){#wf-home .ehd-dashboard button{transition:none}}


/* Local work tips: a quiet strip beside the tabs, with a separate reading page. */
@media screen {
  html:root:root body .wf-tab-row{display:flex;align-items:center;gap:14px;min-width:0;flex-shrink:0;padding-right:16px;background:#eceaf4;border-bottom:1px solid var(--erp44-line);container-type:inline-size}
  html:root:root body .wf-tab-row #wf-tabs{flex:0 1 auto;min-width:0;max-width:calc(100% - 270px);overflow-x:auto;min-height:44px;border-bottom:0}
  html:root:root body .wf-tab-row:has(#wt-strip[hidden]) #wf-tabs{max-width:100%;flex:1}
  html:root:root body #wt-strip{display:flex;align-items:center;gap:10px;flex:1 1 300px;min-width:240px;max-width:100%;height:36px;overflow:hidden;position:relative;border-radius:9px;border:1px solid color-mix(in srgb,var(--erp44-brand) 14%,#e5e4f1);background:linear-gradient(110deg,#fff9,var(--erp44-soft) 60%,#eeedf980);color:var(--erp44-ink)}
  html:root:root body #wt-strip[hidden],html:root:root body #wt-page[hidden]{display:none!important}
  html:root:root body #wt-strip .wt-strip-brand{display:flex;align-items:center;gap:6px;flex:none;max-width:124px;margin:0;padding:0 10px;align-self:stretch;border:0;border-right:1px solid var(--erp44-line);border-radius:0;background:#ffffff75!important;color:var(--erp44-brand-strong)!important;font-size:12px!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html:root:root body #wt-strip .wt-window{display:block;overflow:hidden;min-width:0;flex:1;mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 16px),transparent)}
  html:root:root body #wt-strip .wt-track{display:flex;width:max-content;align-items:center;will-change:transform}
  html:root:root body #wt-strip .wt-group{display:flex;align-items:center;width:max-content;gap:22px;padding-right:22px;flex:none}
  html:root:root body #wt-strip .wt-ticker-item{display:inline-flex;align-items:center;gap:8px;flex:none;padding:3px 0!important;min-height:28px;line-height:22px;white-space:nowrap;border:0!important;border-radius:0;background:transparent!important;color:var(--erp44-ink)!important;font-size:13px!important;box-shadow:none}
  html:root:root body #wt-strip .wt-ticker-item:hover .wt-snippet{text-decoration:underline;text-decoration-color:var(--erp44-brand);text-underline-offset:4px}
  html:root:root body #wt-strip .wt-ticker-item:focus-visible{outline:2px solid var(--erp44-brand);outline-offset:0}
  html:root:root body .wt-tag{display:inline-flex;align-items:center;gap:4px;border:1px solid #d7d7ec;background:#eeedf9;color:#615887;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:600;line-height:1.55;white-space:nowrap}
  html:root:root body .wt-tag[data-tone="warm"],html:root:root body .wt-tag.wt-cheer{color:#8d5370;background:#faeaf2;border-color:#eed0df}
  html:root:root body .wt-tag[data-tone="mint"],html:root:root body .wt-tag.wt-data{color:#3c725e;background:#eaf5ef;border-color:#cfe5d8}
  html:root:root body #wt-strip .wt-track.wt-running{animation:wt-drift var(--wt-duration,60s) linear infinite}
  html:root:root body #wt-strip.wt-paused .wt-track,html:root:root body #wt-strip:hover .wt-track,html:root:root body #wt-strip:focus-within .wt-track{animation-play-state:paused}
  html:root:root body #wt-page{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 85% 0,#e7e4fb85,transparent 40%),radial-gradient(ellipse at 10% 5%,#fae8f070,transparent 45%),var(--erp44-bg);padding:24px 30px 45px;color:var(--erp44-ink)}
  html:root:root body .wt-detail{max-width:1400px;margin:0 auto;font-size:14px;line-height:1.75}
  html:root:root body .wt-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(118deg,#fffafeee,#f2eefcdd 65%,#eceafacc);border:1px solid #e1dbed;border-radius:20px;padding:26px 30px;margin-bottom:20px;box-shadow:0 7px 30px #62527d09}
  html:root:root body .wt-hero:after{content:'✧';position:absolute;right:45px;top:-60px;color:#bfb4da45;font-size:230px;line-height:1;z-index:-1;transform:rotate(15deg)}
  html:root:root body .wt-eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;color:#8a7094;text-transform:uppercase}
  html:root:root body .wt-hero h1{font-size:29px;line-height:1.4;letter-spacing:.4px;margin:5px 0 6px;color:#383450;font-weight:650}
  html:root:root body .wt-hero>p{margin:0;color:#6c6481;max-width:760px;font-size:14px;line-height:1.75}
  html:root:root body .wt-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px;font-size:12px;color:#79728b}
  html:root:root body .wt-hero-meta>span{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1px solid #e5dced;border-radius:20px;background:#ffffff90}
  html:root:root body .wt-detail-layout{display:grid;grid-template-columns:244px minmax(0,1fr);gap:20px;align-items:start}
  html:root:root body .wt-topic-nav{display:flex;flex-direction:column;gap:8px;background:#ffffffbb;border:1px solid var(--erp44-line);border-radius:16px;padding:13px;min-width:0;position:sticky;top:0}
  html:root:root body .wt-topic-nav h2{margin:4px 7px 9px;font-size:15px;color:#524866}
  html:root:root body .wt-topic-nav button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;border:1px solid transparent;background:transparent!important;color:var(--erp44-ink)!important;padding:11px 13px!important;border-radius:11px!important;text-align:left;font-size:13px!important;line-height:1.6}
  html:root:root body .wt-topic-nav button:is(:hover,[aria-current="true"],[aria-selected="true"],.active){border-color:color-mix(in srgb,var(--erp44-brand) 28%,#e0ddeb);background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important;box-shadow:none}
  html:root:root body .wt-topic-nav button small{color:#82788e;font-size:11px;font-weight:400;line-height:1.5}
  html:root:root body .wt-article{background:#fff;border:1px solid #e1dfea;border-radius:17px;box-shadow:0 8px 25px #66557d06;padding:28px 32px;min-width:0;overflow-wrap:anywhere}
  html:root:root body .wt-article-head{padding-bottom:19px;border-bottom:1px solid #ece8f2;margin-bottom:20px}
  html:root:root body .wt-article-head h2{font-size:24px;font-weight:650;line-height:1.5;margin:9px 0;color:#36344f}
  html:root:root body .wt-article-head p{font-size:15px;color:#6f6581;line-height:1.85;margin:0;max-width:850px}
  html:root:root body .wt-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:20px 0 25px}
  html:root:root body .wt-fact{display:flex;flex-direction:column;gap:7px;padding:17px 19px;background:#f2f1fb;border:1px solid #e6e2f2;border-radius:12px}
  html:root:root body .wt-fact:nth-child(2){background:#fcf0f5;border-color:#eedce6}
  html:root:root body .wt-fact:nth-child(3){background:#eef7f1;border-color:#daebe0}
  html:root:root body .wt-fact :is(span,small){color:#71697e;font-size:12px}
  html:root:root body .wt-fact strong{font-size:25px;line-height:1.3;font-weight:650;color:#3b3659;font-variant-numeric:tabular-nums}
  html:root:root body .wt-section{margin:24px 0}
  html:root:root body .wt-section h3{font-size:16px;font-weight:600;color:#51465f;margin:0 0 10px;display:flex;align-items:center;gap:9px}
  html:root:root body .wt-section h3:before{content:'';width:4px;height:15px;border-radius:3px;background:var(--erp44-brand);opacity:.65}
  html:root:root body .wt-section p{margin:0;color:#665e73;line-height:1.95}
  html:root:root body .wt-section ol{padding-left:23px;margin:0;display:grid;gap:12px;color:#554b67}
  html:root:root body .wt-section li{padding-left:5px;line-height:1.95}
  html:root:root body .wt-section li::marker{color:var(--erp44-brand);font-weight:650}
  html:root:root body .wt-source{font-size:12px;line-height:1.85;padding:12px 16px;background:#f7f5fb;color:#81788c;border:1px dashed #ded7e8;border-radius:10px;margin:22px 0 18px}
  html:root:root body .wt-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;border-top:1px solid #ede9f2;padding-top:20px;margin-top:20px}
  html:root:root body .wt-actions button,html:root:root body .wt-hero-meta button{border:1px solid #dcd6e7;background:#fff!important;color:#695b7c!important;border-radius:9px!important;padding:9px 15px!important;font-size:13px!important;min-height:36px;box-shadow:none}
  html:root:root body .wt-actions button.wt-primary{background:var(--erp44-brand)!important;color:#fff!important;border-color:var(--erp44-brand);box-shadow:0 4px 12px color-mix(in srgb,var(--erp44-brand) 15%,transparent)}
  html:root:root body .wt-actions button:hover,html:root:root body .wt-hero-meta button:hover{background:var(--erp44-soft)!important;color:var(--erp44-brand-strong)!important}
  html:root:root body .wt-actions button.wt-primary:hover{background:var(--erp44-brand-strong)!important;color:#fff!important}
  html:root:root body .wt-feedback{font-size:12px;color:#6c7480;line-height:1.8;margin-top:12px;min-height:21px}
  @keyframes wt-drift{from{transform:translateX(0)}to{transform:translateX(var(--wt-distance,-900px))}}
}
@media screen and (max-width:1100px){html:root:root body #wt-page{padding:20px}html:root:root body .wt-detail-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}html:root:root body .wt-article{padding:22px}html:root:root body .wt-hero{padding:22px}}
@media screen and (max-width:900px){html:root:root body .wf-tab-row{flex-wrap:wrap;gap:0;padding:0 10px 5px}html:root:root body .wf-tab-row #wf-tabs{max-width:100%;flex:1 1 100%}html:root:root body #wt-strip{flex-basis:100%;min-width:0}}
@media screen and (max-width:700px){html:root:root body .wt-detail-layout{grid-template-columns:1fr}html:root:root body .wt-topic-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body .wt-topic-nav h2{grid-column:1/-1}html:root:root body #wt-page{padding:12px}html:root:root body .wt-hero h1{font-size:23px}html:root:root body .wt-article-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html:root:root body #wt-strip .wt-track.wt-running{animation:none;transform:none;will-change:auto}html:root:root body #wt-strip .wt-window{overflow-x:auto;mask-image:none}html:root:root body #wt-strip .wt-copy{display:none}}
@media print{.wf-tab-row,#wt-page{display:none!important}}

/* Eight original, transparent expression frames; all animation stays local. */
@media screen {
  html:root:root body .wt-mascot{--wt-x1:0%;--wt-x2:33.333333%;--wt-y:0%;display:inline-block;width:38px;height:38px;flex:none;background-image:none /* retired work tips */;background-size:400% 200%;background-repeat:no-repeat;background-position:var(--wt-x1) var(--wt-y);animation:wt-meme 4.8s steps(1,end) infinite;pointer-events:none;vertical-align:middle}
  html:root:root body .wt-mascot[data-mood="question"]{--wt-x1:66.666667%;--wt-x2:100%;animation-duration:5.4s}
  html:root:root body .wt-mascot[data-mood="cheer"]{--wt-y:100%;animation-duration:3.6s}
  html:root:root body .wt-mascot[data-mood="calm"]{--wt-x1:66.666667%;--wt-x2:100%;--wt-y:100%;animation-duration:6.2s}
  html:root:root body #wt-strip{height:42px}
  html:root:root body #wt-strip .wt-ticker-item{padding:1px 0!important}
  html:root:root body .wt-hero>.wt-mascot{position:absolute;right:28px;bottom:0;width:142px;height:142px;filter:drop-shadow(0 5px 8px #8d688b12)}
  html:root:root body .wt-hero:has(>.wt-mascot){padding-right:192px;min-height:180px}
  html:root:root body #wt-strip:is(:hover,:focus-within,.wt-paused) .wt-mascot,html:root:root body #wt-page .wt-mascot{animation-play-state:paused}
  html:root:root body :is(#wt-strip,#wt-page).wt-motion-off .wt-mascot{animation:none}
  html:root:root body .wt-topic-heading{display:flex;justify-content:space-between;gap:10px;margin:3px 7px 6px;font-size:13px;color:var(--erp44-brand-strong);font-weight:600}
  html:root:root body .wt-topic-nav{max-height:max(280px,calc(100dvh - 435px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  html:root:root body .wt-topic-nav button{flex-direction:row;align-items:flex-start;gap:9px;flex-shrink:0;height:auto;min-height:72px}
  html:root:root body .wt-topic-nav button>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
  html:root:root body .wt-topic-nav button em{font-style:normal;white-space:nowrap;font-size:10px;color:var(--erp44-brand)}
  html:root:root body .wt-source{display:flex;flex-wrap:wrap;gap:6px 14px}
  html:root:root body .wt-topic-icon{font-size:19px}
  html:root:root body .wt-note{border-left:3px solid #d3c0dc;border-radius:4px;background:#f8f4fb;padding:12px 16px;margin:18px 0;font-size:13px;color:#73617c}
  html:root:root body .wt-empty{padding:18px;color:#81718d;font-size:14px;line-height:1.9}
  @keyframes wt-meme{0%,74%,100%{background-position:var(--wt-x1) var(--wt-y)}75%,88%{background-position:var(--wt-x2) var(--wt-y)}}
}
@media screen and (max-width:700px){html:root:root body .wt-hero>.wt-mascot{width:85px;height:85px;right:10px}html:root:root body .wt-hero:has(>.wt-mascot){padding-right:98px;min-height:160px}}
@media(prefers-reduced-motion:reduce){html:root:root body .wt-mascot{animation:none!important}}

/* A failed source is actionable and never presented as an empty business queue. */
html:root:root body .ehd-read-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 16px;background:#fff5e5;border:1px solid #efd3a8;border-radius:10px;color:#78501f;font-size:13px;line-height:1.6}
html:root:root body .ehd-read-status>span{min-width:0}
html:root:root body .ehd-read-status button{flex-shrink:0}
@media(max-width:700px){html:root:root body .ehd-read-status{align-items:flex-start;flex-wrap:wrap}}

/* Home action opens the same sales workspace, preserving its unfinished form. */
html:root:root body #wf-home .ehd-dashboard .ehd-quick-sale{background:var(--ehd-primary);color:#fff;border:1px solid var(--ehd-primary);border-radius:8px;padding:7px 13px;font-weight:600;min-height:34px;box-shadow:0 2px 5px #7d355712}
@media(max-width:900px){#wf-home .ehd-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}#wf-home .ehd-heading{align-items:flex-start}}
