/* Desktop home only. Existing data, permissions and navigation stay with their owners. */
@media (min-width: 1024px) {
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc {
  display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(330px,1fr);gap:16px!important;
  max-width:1760px;margin:0 auto;padding:6px 0 16px;align-items:start;
}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc>*{min-width:0;box-sizing:border-box}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-card {
  grid-column:1/-1;padding:8px 0 12px!important;margin:0!important;background:none!important;box-shadow:none!important;border:0!important;overflow:visible;
}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc :is(.welcome-decor1,.welcome-decor2,.welcome-avatar){display:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-greeting{font-size:26px!important;color:var(--color-text-primary)!important;letter-spacing:.5px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-sub{color:var(--color-text-secondary)!important;font-size:12px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-content{gap:16px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-time{padding:0 14px 0 0!important;background:none!important;border:0!important;box-shadow:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc :is(.wt-label,.wt-date){color:var(--color-text-primary)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .wt-label{color:var(--color-text-secondary)!important;font-size:11px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .wt-date{font-size:14px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .bill-btn{padding:8px 14px!important;border-radius:6px!important;height:36px!important;min-height:36px!important;line-height:18px!important;box-shadow:none!important;font-size:12px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row{grid-column:1/-1;gap:12px!important;margin:0 0 1px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row .kpi-card{padding:16px!important;height:118px!important;min-height:118px!important;border-color:var(--color-border)!important;border-radius:9px!important;box-shadow:none!important;position:relative;order:4}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-card:nth-child(1){order:1;border-top:3px solid var(--color-primary)!important;padding-top:14px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-card:nth-child(2){order:2}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-card:nth-child(6){order:3}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-icon-wrap{display:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-body{gap:5px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row .kpi-card .kpi-label{font-size:12px!important;color:var(--color-text-secondary)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row .kpi-card .kpi-value{font-size:clamp(22px,1.8vw,30px)!important;line-height:1.5!important;font-weight:700!important;letter-spacing:-.3px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row .kpi-card:first-child .kpi-value{color:var(--color-primary)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .kpi-row .kpi-card .kpi-sub{font-size:10px!important;line-height:1.5!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-overview{display:contents!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc :is(.workspace-home-card,.w3d-home-card){margin:0!important;padding:18px 20px!important;border:1px solid var(--color-border)!important;border-radius:9px!important;background:var(--color-bg-card)!important;box-shadow:none!important;color:var(--color-text-primary)!important;min-width:0}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-shortcuts{grid-column:1;grid-row:3}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc [aria-label="销售趋势"]{grid-column:1;grid-row:4/span 2;align-self:stretch;display:flex;flex-direction:column}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc [aria-label="业务待办"]{grid-column:2;grid-row:3/span 2}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-card{grid-column:2;grid-row:5;background:linear-gradient(120deg,var(--color-bg-card),var(--color-primary-bg))!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-card-head{margin-bottom:14px;min-height:22px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-card h2{font-size:15px!important;line-height:1.5;color:var(--color-text-primary)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-card p{font-size:11px!important;line-height:1.5;color:var(--color-text-secondary)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-shortcut-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-entry-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:8px;color:var(--color-primary);background:var(--color-primary-bg)}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-entry-icon svg{width:20px;height:20px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-shortcut-grid .workspace-home-entry{display:flex!important;flex-direction:column;gap:9px;padding:8px 0!important;border:0!important;border-radius:7px!important;background:transparent!important;min-height:78px!important;font-size:12px!important;text-align:center!important;line-height:1.5!important;white-space:normal!important;box-shadow:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-shortcut-grid .workspace-home-entry:hover{background:var(--color-primary-bg)!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-shortcut-grid .workspace-home-arrow{display:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc [aria-label="业务待办"] .workspace-home-entry{padding:12px 2px!important;min-height:61px!important;gap:11px!important;border-top:0!important;border-bottom:1px solid var(--color-border)!important;border-radius:4px!important;background:none!important;font-size:13px!important;box-shadow:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc [aria-label="业务待办"] .workspace-home-entry:last-child{border-bottom:0!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc [aria-label="业务待办"] .workspace-home-entry small{font-size:11px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-trend-chart{width:100%;height:clamp(225px,19vw,310px)!important;flex:1;min-height:220px;margin-top:5px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-trend-chart text{font-size:8px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-home-link{font-size:12px!important;box-shadow:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-heading{gap:8px;align-items:flex-start}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-heading b{font-size:15px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-heading text{font-size:11px!important;line-height:1.5}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-card button{font-size:11px!important;padding:5px 8px!important;white-space:nowrap;box-shadow:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px;padding-top:12px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-metrics>view:last-child,html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-metrics>uni-view:last-child{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid var(--color-border);padding-top:8px}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-metrics b{font-size:24px!important;line-height:1.4}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .w3d-home-metrics text{font-size:11px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc>.quick-section{display:none!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc>button{grid-column:1/-1;margin:0!important;border:1px solid var(--color-border)!important;border-radius:8px!important;background:var(--color-bg-card)!important;color:var(--color-primary)!important;padding:12px!important;font-size:13px!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc:has(.workspace-home-single){display:flex!important}
html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}
html.erp-workspace-v2.erp-workspace-navigation[data-theme='night-office'] .pc-layout .home-pc :is(.workspace-home-link,.workspace-home-arrow,.workspace-home-entry-icon){color:var(--color-accent)!important}
html.erp-workspace-v2.erp-workspace-navigation[data-theme='night-office'] .pc-layout .home-pc .workspace-trend-line,html.erp-workspace-v2.erp-workspace-navigation[data-theme='night-office'] .pc-layout .home-pc .workspace-trend-chart circle{stroke:var(--color-accent)!important}
html.erp-workspace-v2.erp-workspace-navigation[data-theme='night-office'] .pc-layout .home-pc .bill-btn.primary{background:var(--color-primary)!important;color:var(--color-text-primary)!important}
html.erp-workspace-v2.erp-workspace-navigation[data-theme='night-office'] .pc-layout .home-pc .bill-btn.accent{background:var(--color-bg-card)!important;color:var(--color-text-primary)!important}
@media(max-width:1270px){html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc{grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)}html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .workspace-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-right{gap:8px}html.erp-workspace-v2.erp-workspace-navigation .pc-layout .home-pc .welcome-time{display:none!important}}
}
