.tracking-card { border: 1px solid #dce5e1; border-radius: 14px; padding: 18px; margin-top: 14px; }
.tracking-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.field-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dce5e1; border: 1px solid #dce5e1; border-radius: 10px; overflow: hidden; }
.field-list > div { background: #fff; padding: 12px; min-height: 72px; }
.field-list dt { font-size: .71rem; text-transform: uppercase; letter-spacing: .04em; color: #67756f; }
.field-list dd { margin: 6px 0 0; font-weight: 650; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .field-list { grid-template-columns: 1fr; } .field-wide { grid-column: 1; } }
.system-credit { width: min(1180px, calc(100% - 32px)); margin: 26px auto 10px; text-align: center; color: #67756f; font-size: .76rem; }
.wide-data { min-width: 2400px; }
.stat-card { background: #fff; border: 1px solid #dce5e1; border-radius: 17px; padding: 22px; color: #20302b; box-shadow: 0 3px 14px rgba(27,53,44,.035); transition: transform .15s,border-color .15s; }
.stat-card:hover { transform: translateY(-2px); border-color: #83bea9; }
.stat-card strong { display: block; font-size: 2rem; color: #087f5b; }
.stat-card span { display: block; color: #67756f; font-size: .86rem; }
.stat-card small { display: block; margin-top: 10px; color: #087f5b; font-weight: 700; }
.period-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.edit-hint { color: #087f5b; font-weight: 700; white-space: nowrap; }
.report-filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;align-items:end}.report-filters label{display:flex;flex-direction:column;gap:7px;font-size:.85rem;font-weight:700}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.agent-card{display:flex;flex-direction:column;gap:14px}.agent-card h2{margin:8px 0 3px}.agent-card p{margin:0;color:#67756f}.agent-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.agent-counts span{background:#f4f7f5;border-radius:9px;padding:9px;font-size:.72rem}.agent-counts strong{display:block;font-size:1.2rem;color:#087f5b}@media(max-width:900px){.team-grid{grid-template-columns:1fr 1fr}.report-filters{grid-template-columns:1fr 1fr}}@media(max-width:600px){.team-grid{grid-template-columns:1fr}}
.household-actions{display:flex;flex-direction:column;gap:5px;text-align:right;font-weight:700}.member-add{display:grid;grid-template-columns:1fr auto;gap:10px}.member-list{display:grid;gap:8px}.member-list article{display:flex;align-items:center;gap:12px;border:1px solid #dce5e1;border-radius:12px;padding:12px}.member-list form{margin-left:auto}.link-danger{border:0;background:none;color:#b42318;cursor:pointer;font-weight:700}.household-summary{grid-template-columns:repeat(2,minmax(180px,1fr));max-width:600px}@media(max-width:760px){.member-add{grid-template-columns:1fr}.household-actions{font-size:.82rem}}
.sheet-filters{grid-template-columns:repeat(5,minmax(160px,1fr))}.sheet-tabs{display:flex;gap:3px;overflow:auto;padding:0 3px;margin-bottom:8px}.sheet-tabs a{white-space:nowrap;background:#e8eeeb;color:#40504a;padding:9px 14px;border-radius:8px 8px 0 0;font-size:.78rem;font-weight:700}.sheet-tabs a.active{background:#087f5b;color:#fff}.sheet-shell{background:#fff;border:1px solid #b8c4bf;border-radius:3px;overflow:auto;max-height:68vh;box-shadow:0 5px 20px rgba(20,45,36,.08)}.sheet-grid{border-collapse:separate;border-spacing:0;min-width:2850px;font-size:.78rem}.sheet-grid th,.sheet-grid td{border-right:1px solid #d6ddda;border-bottom:1px solid #d6ddda;padding:0;height:38px;background:#fff}.sheet-grid thead th{position:sticky;top:0;z-index:4;background:#eef2f0;color:#37453f;padding:8px 9px;min-width:145px;text-transform:none;letter-spacing:0}.sheet-grid thead th:nth-child(2){min-width:255px}.sheet-grid thead th:last-child{min-width:190px}.sheet-grid .row-number{position:sticky;left:0;z-index:3;min-width:45px;width:45px;text-align:center;background:#eef2f0;color:#6a7671;font-weight:600}.sheet-grid thead .row-number{z-index:6}.sheet-grid input,.sheet-grid select,.sheet-grid textarea{border:0;border-radius:0;min-height:37px;height:37px;padding:7px 9px;font-size:.78rem;background:transparent;box-shadow:none;outline:none}.sheet-grid textarea{resize:none;min-width:260px}.sheet-grid input:focus,.sheet-grid select:focus,.sheet-grid textarea:focus{outline:2px solid #2878c8;outline-offset:-2px;background:#fff}.sheet-grid .calculated{padding:8px 9px;background:#f8faf9;color:#5d6964}.sheet-grid .saving{background:#fff7d6}.sheet-grid .saved{background:#ddf6e9}.sheet-grid .save-error{background:#fee9e7}.sheet-status{background:#e5f4ed;color:#086047;padding:8px 12px;border-radius:20px;font-size:.8rem;font-weight:750}.sheet-help{color:#67756f;font-size:.82rem}.sheet-grid tr:hover td{background-color:#f7fbf9}@media(max-width:760px){.sheet-filters{grid-template-columns:1fr 1fr}.sheet-shell{max-height:72vh}.sheet-grid{font-size:.75rem}}
.sheet-grid .pending{background:#fff1bd}
