#customer-grid .card{background:#fffefa;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 12px #283a2410}#customer-grid .toolbar,#customer-grid .bottom,#customer-grid .summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px}#customer-grid .toolbar{justify-content:space-between;border-bottom:1px solid var(--line)}#customer-grid .toolbar div,#customer-grid .bottom div,#customer-grid .actions{display:flex;flex-wrap:wrap;gap:8px}#customer-grid .search{display:flex;align-items:center;gap:8px}#customer-grid .search input{width:min(260px,60vw)}#customer-grid input,#customer-grid select,#customer-grid button{font:inherit;border:1px solid #bfc9bd;border-radius:7px;background:#fffefa;color:inherit;padding:8px 11px}#customer-grid button{cursor:pointer;font-weight:650}#customer-grid button:hover{background:#eef2eb}#customer-grid button:focus-visible,#customer-grid a:focus-visible{outline:2px solid #3d71a0;outline-offset:2px}#customer-grid .primary{background:#244334;color:white;border-color:#244334}#customer-grid .primary:hover{background:#355746}#customer-grid .scroll{overflow:auto}#customer-grid table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}#customer-grid th,#customer-grid td{padding:10px 12px;border-bottom:1px solid #e7e9e0}#customer-grid th{font-size:13px;background:#eef1e9}#customer-grid th button{padding:0;border:0;background:transparent}#customer-grid td.money{text-align:right;font-variant-numeric:tabular-nums}#customer-grid .name{font-weight:750}#customer-grid .active-row .name{color:#205687}#customer-grid .folder,#customer-grid .row-menu{padding:4px 7px;background:transparent;border-color:transparent}#customer-grid .folder{color:#8e5008;background:#fff4d9}#customer-grid .sold{white-space:nowrap;font-weight:650}#customer-grid .sold i{font-style:normal;font-size:16px;margin-right:5px}#customer-grid .open i{color:#2266a0}#customer-grid .closed i{color:#237246}#customer-grid .unsold{color:#58685e}#customer-grid .group td{background:#f2f4ed;font-weight:750}#customer-grid .summary{background:#eaf0e7;gap:12px 25px}#customer-grid .summary b{font-variant-numeric:tabular-nums}#customer-grid .summary span{white-space:nowrap}#customer-grid .bottom{justify-content:space-between}#customer-grid .legend{margin:12px 0;color:var(--muted);display:flex;gap:18px;flex-wrap:wrap;font-size:13px}#customer-grid dialog{width:min(520px,calc(100% - 24px));border:1px solid var(--line);border-radius:14px;padding:21px;background:#fffefa;color:inherit}#customer-grid dialog::backdrop{background:#14271d66}#customer-grid .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}#customer-grid .choices{display:grid;gap:9px;margin:14px 0}#customer-grid .choices label{display:flex;align-items:center;gap:6px}#customer-grid .choices button,#customer-grid .choices a{text-align:left}#customer-grid .choices a{color:#205687;padding:4px}#customer-grid .sheet{margin-top:12px;padding:18px}#customer-grid .sheet:empty{display:none}#customer-grid .sheet p{margin:8px 0}#customer-grid .bars{display:grid;gap:6px;margin:10px 0}#customer-grid .bars progress{width:100%;height:13px;accent-color:#407754}#customer-grid .quiet{color:var(--muted)}#customer-grid #announcement{min-height:1.3em}

#customer-grid .group-zone{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--line);background:#f8faf4;color:var(--muted);font-size:13px}#customer-grid .group-zone.drag{background:#e4efe5;outline:2px dashed #597f64;outline-offset:-3px}#customer-grid .summary{display:block;padding:16px 18px}#customer-grid .summary-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}#customer-grid .summary-title h2{font-size:17px}#customer-grid .summary-title small{color:var(--muted)}#customer-grid .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 22px;margin-top:10px}#customer-grid .metric{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #d6e0d4;font-size:13px}#customer-grid .metric b{font-size:15px}#customer-grid .metric.profit b,#customer-grid .profit-value{color:#1f6946}#customer-grid .metric.rate b{color:#70511d}#customer-grid .record-facts{display:flex;flex-wrap:wrap;gap:10px 22px;padding:12px 0}#customer-grid .record-facts small{display:block;color:var(--muted)}#customer-grid .record-facts strong{font-variant-numeric:tabular-nums}#customer-grid .job-tabs{display:flex;gap:6px;margin:9px 0 14px;flex-wrap:wrap}#customer-grid .job-tabs [aria-pressed=true]{background:#244334;color:#fff}#customer-grid .job-tab-body{padding:13px 0;border-top:1px solid var(--line)}

#customer-grid button { font-size: .86rem; }
#customer-grid .card { margin-bottom: 12px; }
#customer-grid .bottom button { white-space: nowrap; }
#customer-grid .scroll { max-height: 50vh; }
#customer-grid th { position: sticky; top: 0; z-index: 1; }
#customer-grid .chart-bar-row button[aria-pressed=true] { background:#e8eee6; }
@media (max-width:930px) { #customer-grid .metrics {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:490px) { #customer-grid .metrics {grid-template-columns:1fr} }
@media print {
 body.print-customer-grid .workspace {display:block}
 body.print-customer-grid .sidebar, body.print-customer-grid .topbar,
 body.print-customer-grid #customer-grid .toolbar, body.print-customer-grid #customer-grid .bottom,
 body.print-customer-grid #customer-grid .group-zone, body.print-customer-grid #customer-grid .legend,
 body.print-customer-grid #customer-grid .folder, body.print-customer-grid #customer-grid .row-menu,
 body.print-customer-grid #customer-grid th:first-child, body.print-customer-grid #customer-grid td:first-child,
 body.print-customer-grid #customer-grid th:last-child, body.print-customer-grid #customer-grid td:last-child,
 body.print-customer-grid #customer-grid #detail { display:none }
 body.print-customer-grid #customer-grid .scroll {overflow:visible;max-height:none}
 body.print-customer-grid #customer-grid table {white-space:normal;font-size:9pt}
 body.print-customer-grid #customer-grid th,body.print-customer-grid #customer-grid td {padding:4px}
 body.print-customer-labels .workspace {display:block}
 body.print-customer-labels .sidebar,body.print-customer-labels .topbar,
 body.print-customer-labels .page-title,body.print-customer-labels #customer-grid > :not(#detail),
 body.print-customer-labels #customer-grid .dialog-head,body.print-customer-labels #customer-grid #detail button {display:none}
 body.print-customer-labels #customer-grid .labels {display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
}
#customer-grid [hidden], #editor label[hidden] { display: none; }
