/* Dense operations dashboard and product-first preparation. */
.lg-workspace .lg-product-head{display:flex;align-items:flex-start;gap:7px;justify-content:space-between;margin-bottom:3px}
.lg-workspace .lg-product-heading-text{min-width:0;flex:1}
body #app .lg-workspace .lg-product-head h3{margin:0;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
body #app .lg-workspace button.lg-open-product{display:inline-flex;align-items:baseline;justify-content:flex-start;text-align:left;gap:6px;padding:0;min-height:0;margin:0;background:none;border:0;border-radius:0;color:#242424;font:inherit;font-weight:700;white-space:normal;box-shadow:none;overflow-wrap:anywhere}
body #app .lg-workspace button.lg-open-product:hover{color:var(--lg-pink)}
.lg-workspace .lg-open-product>span{color:var(--lg-pink);font-size:16px;line-height:1}
body #app .lg-workspace .lg-product-head button.lg-product-edit{flex:0 0 auto;min-height:23px;padding:3px 5px;gap:3px;font-size:9px;font-weight:500;line-height:1.2;border-radius:4px;white-space:nowrap;margin:0}
.lg-workspace .lg-product-edit svg{width:12px;height:12px}
.lg-workspace .lg-product-description{display:block;font-size:10px;line-height:1.4;color:#786b73;overflow-wrap:anywhere;margin:2px 0 4px}
.lg-workspace .lg-product-receipt{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 5px;border-radius:4px;margin:2px 0;font-size:9px;line-height:1.35;background:#efefec;color:#635c60}
.lg-workspace .lg-receipt-done,.lg-workspace .lg-badge.done{background:#eaf5eb;color:#28643b;border:1px solid #c6dfca}
.lg-workspace .lg-receipt-partial{background:#fff3d6;color:#875d12;border:1px solid #ecd7a4}
body #app .lg-workspace .lg-product-steps button{position:relative;min-width:0;min-height:43px;gap:3px;padding:5px 1px;font-size:9px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
body #app .lg-workspace .lg-product-steps button>span:not(.lg-step-mark){font-size:inherit;line-height:1.2;max-width:100%}
body #app .lg-workspace .lg-product-steps .lg-step-done{background:#eaf5eb;border-color:#b9d7bf;color:#28643b}
body #app .lg-workspace .lg-product-steps .lg-step-partial{background:#fff6e3;border-color:#e7d09b;color:#875d12}
.lg-workspace .lg-step-mark{position:absolute;right:3px;top:2px;font-size:9px;font-weight:800;line-height:1}
.lg-workspace .lg-dashboard-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:9px 0 7px}
.lg-workspace .lg-dashboard-heading h3{font-size:11px;letter-spacing:.03em;margin:0;font-weight:700}
.lg-workspace .lg-dashboard-heading>span{font-size:10px;color:#756b70}
.lg-workspace .lg-dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:9px}
.lg-workspace .lg-dashboard-kpis article{position:relative;display:grid;gap:3px;padding:10px 12px;border-radius:6px;border-top-width:2px}
.lg-workspace .lg-dashboard-kpis article>svg{position:absolute;right:9px;top:10px;color:#9b8791;width:17px;height:17px}
.lg-workspace .lg-dashboard-kpis strong{font-size:25px;line-height:1.1}
.lg-workspace .lg-dashboard-kpis span{font-size:11px;font-weight:600}
.lg-workspace .lg-dashboard-kpis small{font-size:9px;color:#756b70}
.lg-workspace .lg-dashboard-charts{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.lg-workspace .lg-dashboard .lg-panel{padding:11px 13px;margin:0 0 9px;border-radius:6px}
.lg-workspace .lg-dashboard .lg-panel h3{font-size:12px;margin:0 0 9px}
.lg-workspace .lg-progress-row{display:grid;grid-template-columns:90px 55px minmax(0,1fr) 65px;align-items:center;gap:8px;margin:11px 0;font-size:10px}
.lg-workspace .lg-progress-row>strong{font-weight:600;text-align:right;font-size:10px}
.lg-workspace .lg-progress-row>small{font-size:9px;color:#756b70;text-align:right}
.lg-workspace .lg-progress-track,.lg-workspace .lg-mini-track{height:6px;background:#efeeea;border-radius:4px;overflow:hidden}
.lg-workspace .lg-progress-track i,.lg-workspace .lg-mini-track i{display:block;height:100%;background:var(--lg-pink);border-radius:4px}
.lg-workspace .lg-dashboard-footnote{font-size:9px;color:#756b70;margin:8px 0 0}
.lg-workspace .lg-category-track{display:flex;height:9px;background:#eee;border-radius:5px;overflow:hidden;margin:4px 0 7px}
.lg-workspace .lg-category-track i{background:var(--lg-pink)}
.lg-workspace .lg-category-track b{background:#b9982d}
.lg-workspace .lg-category-legend{display:flex;justify-content:space-between;font-size:10px;color:#6d6268;margin-bottom:7px}
.lg-workspace .lg-category-legend span:first-child::before,.lg-workspace .lg-category-legend span:last-child::before{content:'';display:inline-block;width:7px;height:7px;margin-right:5px;background:var(--lg-pink);border-radius:2px}
.lg-workspace .lg-category-legend span:last-child::before{background:#b9982d}
.lg-workspace .lg-dashboard-positions{display:grid;grid-template-columns:1fr 1fr;gap:3px 10px;max-height:105px;overflow:auto;scrollbar-width:thin}
body #app .lg-workspace .lg-dashboard-positions button{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border:0;border-bottom:1px solid #eee;border-radius:0;background:none;font-size:10px;text-align:left}
.lg-workspace .lg-dashboard-positions b{white-space:nowrap;color:var(--lg-pink)}
.lg-workspace .lg-dashboard-alert{font-size:10px;margin:7px 0 0;padding:6px 8px;background:#fff6e3;color:#875d12;border-radius:4px}
.lg-workspace .lg-dashboard-lower{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:9px;align-items:start}
.lg-workspace .lg-dashboard .lg-heading{margin-bottom:6px}
.lg-workspace .lg-dashboard .lg-heading h3{margin:0}
.lg-workspace .lg-dashboard .lg-heading>span{font-size:10px;color:#756b70}
body #app .lg-workspace .lg-dashboard .lg-heading button{min-height:23px;padding:3px 6px;font-size:9px;border-radius:4px}
.lg-workspace .lg-dashboard-table-wrap{overflow:auto;max-height:none;scrollbar-width:thin}
.lg-workspace .lg-dashboard-table{width:100%;border-collapse:collapse;font-size:10px}
body #app .lg-workspace .lg-dashboard-table th,body #app .lg-workspace .lg-dashboard-table td{padding:7px 6px;border-bottom:1px solid #eee;text-align:left;font-size:10px}
.lg-workspace .lg-dashboard-table thead th{position:sticky;top:0;z-index:1;background:#f8f7f4;font-size:9px;color:#756b70;font-weight:600}
.lg-workspace .lg-dashboard-table tbody th{font-weight:500;min-width:120px}
body #app .lg-workspace .lg-dashboard-table button{padding:3px 5px;font-size:9px;min-height:22px;border-radius:4px;white-space:nowrap}
.lg-workspace .lg-mini-track{height:3px;margin-top:4px;width:75px}
.lg-workspace .lg-dashboard-activity{list-style:none;padding:0;margin:0}
.lg-workspace .lg-dashboard-activity li{display:grid;gap:3px;padding:8px 0;border-bottom:1px solid #eee;font-size:10px}
.lg-workspace .lg-dashboard-activity li:last-child{border-bottom:0}
.lg-workspace .lg-dashboard-activity small{font-size:9px;color:#756b70}
.lg-workspace .lg-product-sheet{width:min(1050px,100%)}
.lg-workspace .lg-sheet-eyebrow{margin:0 0 4px;color:var(--lg-pink);font-size:9px;font-weight:700;letter-spacing:.04em}
.lg-workspace .lg-product-sheet .lg-editor-head{margin-bottom:10px;align-items:flex-start}
.lg-workspace .lg-product-sheet .lg-editor-head h3{font-size:17px;margin:0 0 4px}
.lg-workspace .lg-product-sheet .lg-editor-head small{font-size:10px;color:#756b70}
.lg-workspace .lg-sheet-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0}
.lg-workspace .lg-sheet-kpis>span{display:grid;gap:5px;background:#f5f3f2;padding:9px 11px;border-radius:5px;font-size:10px;color:#756b70}
.lg-workspace .lg-sheet-kpis b{font-size:20px;color:#242424}
.lg-workspace .lg-sheet-note{font-size:11px;line-height:1.4;color:#756b70;margin:9px 0 12px}
.lg-workspace .lg-product-plan-head,.lg-workspace .lg-product-plan-row{display:grid;grid-template-columns:minmax(150px,2fr) repeat(3,55px) minmax(135px,1.2fr) 80px 82px;gap:8px;align-items:center}
.lg-workspace .lg-product-plan-head{background:#f5f3f2;border-radius:4px;padding:7px 8px;font-size:10px;color:#756b70}
.lg-workspace .lg-product-plan-row{padding:9px 8px;border-bottom:1px solid #eee;font-size:11px}
.lg-workspace .lg-sheet-destination{display:grid;gap:3px;min-width:0}
.lg-workspace .lg-sheet-destination b{font-size:11px;font-weight:600;overflow-wrap:anywhere}
.lg-workspace .lg-sheet-destination small{font-size:9px;color:#756b70}
body #app .lg-workspace .lg-product-plan-row input,body #app .lg-workspace .lg-product-plan-row select{width:100%;min-width:0;min-height:29px;padding:5px 6px;border:1px solid #d8d4d6;border-radius:4px;background:white;font-size:11px}
body #app .lg-workspace .lg-product-plan-row button{min-height:28px;padding:5px 7px;font-size:10px;border-radius:4px;border-color:#d8b1c7;color:var(--lg-pink)}
.lg-workspace .lg-product-plan-row.lg-plan-done{background:#f4f8f3;color:#356941}
.lg-workspace .lg-product-sheet .lg-editor-actions{font-size:11px;padding-top:12px}
@media(max-width:1100px){.lg-workspace .lg-dashboard-lower{grid-template-columns:1fr}.lg-workspace .lg-dashboard-activity{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.lg-workspace .lg-progress-row{grid-template-columns:70px 42px minmax(0,1fr) 55px;gap:5px}}
@media(max-width:760px){
 .lg-workspace .lg-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lg-workspace .lg-dashboard-charts{grid-template-columns:1fr}
 .lg-workspace .lg-dashboard-heading{align-items:flex-start;flex-direction:column;gap:3px}
 .lg-workspace .lg-product-plan-head{display:none}
 .lg-workspace .lg-product-plan-row{grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:6px;border:1px solid #eee;border-radius:5px}
 .lg-workspace .lg-sheet-destination{grid-column:1/-1}
 .lg-workspace .lg-product-plan-row>span[data-label],.lg-workspace .lg-product-plan-row>strong[data-label]{display:grid;gap:4px}
 .lg-workspace .lg-product-plan-row>[data-label]::before{content:attr(data-label);font-size:9px;color:#756b70;font-weight:400}
 .lg-workspace .lg-product-plan-row>select{grid-column:1}
 .lg-workspace .lg-sheet-kpis b{font-size:17px}
 .lg-workspace .lg-dashboard-activity{grid-template-columns:1fr}
 body #app .lg-workspace .lg-product-head h3{font-size:14px}
 .lg-workspace .lg-product-description{font-size:11px}
 body #app .lg-workspace .lg-product-plan-row input,body #app .lg-workspace .lg-product-plan-row select{font-size:16px}
}

/* Desktop summaries grow with their rows; use the page scroll, not nested panes. */
@media(min-width:1024px){
 .lg-workspace .lg-dashboard-table-wrap{overflow:visible}
 .lg-workspace .lg-dashboard-table thead th{position:static}
 .lg-workspace .lg-dashboard-positions{max-height:none;overflow:visible}
}

/* The whole summary card is an accessible shortcut to its live filtered list. */
body #app .lg-workspace .lg-dashboard-kpis>button.lg-summary-card{position:relative;display:grid;align-items:start;align-content:start;justify-content:stretch;justify-items:start;gap:3px;box-sizing:border-box;width:100%;min-width:0;min-height:94px;padding:10px 12px;border:1px solid #ddd8d8;border-top:2px solid #ce007f;border-radius:6px;background:#fff;color:#231f20;text-align:left;font:inherit;cursor:pointer;white-space:normal}body #app .lg-workspace .lg-summary-card>svg{position:absolute;right:9px;top:10px;width:17px;height:17px;color:#9b8791}body #app .lg-workspace .lg-summary-card>strong{font-size:25px;line-height:1.1}body #app .lg-workspace .lg-summary-card:hover{background:#fff5fb;border-color:#ce007f}body #app .lg-workspace .lg-summary-card:focus-visible{outline:3px solid #ce007f;outline-offset:2px}.lg-summary-filter{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;margin:0 0 10px;border:1px solid #e5b4d1;border-radius:6px;background:#fceaf5;font-size:11px}.lg-summary-filter>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.lg-summary-filter svg{width:14px;height:14px;color:#ce007f}.lg-workspace .lg-summary-filter button{padding:5px 8px;min-height:29px;font-size:11px;flex:none}@media print{.lg-summary-filter{display:none}}
