/* Dashboard only. Existing Groups and Ticket cards stay unchanged. */
#overview .groups-preview .table-wrap{padding:0 16px 16px;overflow:visible}
#overview .groups-preview{container-type:inline-size}
#overview #overviewGroups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
#overview .dashboard-group-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:14px;border:1px solid #e4eaf3;border-left:3px solid #b5b8ff;border-radius:8px;background:#fff;box-shadow:0 3px 9px #1b3b6510;font-size:13px}
#overview .dashboard-group-card:nth-child(3n+2){border-left-color:#89d5ed}#overview .dashboard-group-card:nth-child(3n){border-left-color:#89dfc8}
.dashboard-group-head{display:flex;justify-content:space-between;gap:9px;align-items:start}.dashboard-group-head>div{min-width:0}
#overview .dashboard-group-head h3{margin:0 0 5px;color:#101827;font-size:16px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
.dashboard-group-head small{color:#35455f;font-size:12px}
.dashboard-group-head button{flex:none;border:0;background:#f1f5fa;color:#657694;border-radius:6px;width:30px;height:30px;cursor:pointer}
.dashboard-group-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dashboard-group-balances div{min-width:0}.dashboard-group-balances strong{display:block;font-size:13px;line-height:1.5;color:#142033;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.dashboard-group-balances span{display:block;margin-top:3px;font-size:12px;color:#536581}.dashboard-group-balances .dashboard-paid strong,.dashboard-group-balances .dashboard-paid span{color:#119148}.dashboard-group-balances .dashboard-due strong{color:#e73543}
.dashboard-group-actions{display:grid;grid-template-columns:1fr 1.8fr;gap:8px;margin-top:auto}.dashboard-group-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:35px;padding:8px 5px;border:0;border-radius:6px;background:#075cf6;color:#fff;font-size:12px;cursor:pointer;line-height:1.3}.dashboard-group-actions button:last-child{background:#0aad57}.dashboard-group-actions svg{width:14px;height:14px;flex:none}.dashboard-group-actions button:hover{filter:brightness(.94)}.dashboard-last-reminder{font-size:10px;color:#72819a;line-height:1.4}.dashboard-group-card button:focus-visible{outline:3px solid #8bb8ff;outline-offset:2px}
@container(max-width:800px){#overview #overviewGroups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:480px){#overview #overviewGroups{grid-template-columns:1fr}}
.reference-shell .reference-search{height:42px;padding:8px 12px;gap:11px;max-width:540px;border-radius:10px;background:#f5f7fb;border-color:#e6ecf5}.reference-shell .reference-search input{font-size:13px;color:#344865}.reference-shell .reference-search input::placeholder{color:#73819a}.reference-shell .reference-search svg{width:18px;height:18px}.reference-shell .reference-search select{font-size:11px;max-width:95px}
.reference-activity #referenceActivity{padding:0 17px 15px}.reference-activity #referenceActivity article{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 0}.reference-activity-copy{min-width:0}.reference-activity .reference-activity-copy strong{font-size:13px;line-height:1.5;color:#152033;font-weight:650}.reference-activity .reference-activity-copy p{font-size:12px;line-height:1.55;margin:3px 0 0;overflow-wrap:anywhere}.reference-activity-time{font-size:11px;color:#536581;text-align:right;max-width:90px;line-height:1.5}.reference-activity-symbol{width:40px;height:40px;border-radius:12px}.reference-activity-symbol svg{width:23px;height:23px}.reference-activity-symbol.activity-money{background:#ddf5e8;color:#07994c}.reference-activity-symbol.activity-groups,.reference-activity-symbol.activity-plane{background:#e4efff;color:#075cf6}.reference-activity-symbol.activity-loan,.reference-activity-symbol.activity-clock{background:#fff0db;color:#ee9800}
#overview .reference-recent-payments table{font-size:13px;line-height:1.5}#overview .reference-recent-payments th{font-size:12px;letter-spacing:0;text-transform:none;padding:12px 10px}#overview .reference-recent-payments td{padding:15px 10px;color:#526581}#overview .reference-recent-payments td strong{font-size:13px;color:#243955}#overview .reference-recent-payments td:nth-child(4){color:#354763;font-weight:500;white-space:nowrap}.reference-payment-type{display:inline-flex;padding:4px 9px;border-radius:6px;background:#e6f5ec;color:#128747;font-size:11px}
.reference-shell .sidebar{top:0;box-sizing:border-box;display:flex;flex-direction:column}.reference-shell .sidebar nav,.reference-shell .sidebar .sidebar-brand{flex-shrink:0}.reference-shell .sidebar .sidebar-connection{margin:auto 16px 0;padding-top:14px;flex-shrink:0}.reference-shell .sidebar .sidebar-note{display:block;margin:12px 16px 0;flex-shrink:0}.reference-shell .sidebar .sidebar-footer{margin:12px 0 0;flex-shrink:0}
#notifications .panel{padding:20px}#notifications .notification-list{gap:14px}#notifications .notification-list article{padding:18px;gap:14px;border-radius:12px}#notifications .notification-list strong{font-size:15px;line-height:1.5}#notifications .notification-list p{font-size:14px;line-height:1.7;margin:7px 0}#notifications .notification-list small{font-size:12px}#notifications .notification-list button{padding:10px 14px;font-size:13px;min-height:40px;border-radius:8px}
#payments .table-wrap{padding:0 18px 18px}#payments table{font-size:14px}#payments th{padding:14px 12px;font-size:12px}#payments td{padding:16px 12px;line-height:1.6;vertical-align:top}#payments td strong{font-size:14px}#payments td small{display:block;margin-top:5px;font-size:12px;line-height:1.5;color:#718098}#payments .receipt-actions{gap:8px;min-width:150px}#payments .receipt-actions :is(a,button){display:inline-flex;justify-content:center;align-items:center;min-height:36px;padding:8px 11px;border:1px solid #ccd9ec;border-radius:8px;background:#eef4ff;color:#2356a4;font:600 12px/1.3 Inter,Segoe UI,sans-serif;text-decoration:none;cursor:pointer}#payments .receipt-actions .undo-payment{background:#fff1f2;border-color:#efc8ce;color:#b63245}#payments .receipt-actions :is(a,button):hover{filter:brightness(.95)}
#office-payments .office-approval-actions{display:flex;flex-wrap:wrap;gap:8px}.office-delete-request,.office-person-actions .office-archive-person{min-height:36px;padding:8px 12px;border:1px solid #efc8ce;border-radius:8px;background:#fff1f2;color:#b63245;font-size:12px;cursor:pointer}
@media(min-width:821px){.reference-sidebar-collapsed .sidebar .sidebar-note,.reference-sidebar-collapsed .sidebar .sidebar-connection,.reference-sidebar-collapsed .sidebar .sidebar-footer{display:none}}
@media(max-width:820px){.reference-shell .reference-search{max-width:none;height:44px}.reference-shell .reference-search input{font-size:16px}#notifications .notification-list article{grid-template-columns:32px minmax(0,1fr);padding:15px}#notifications .notification-list button{grid-column:2;justify-self:start}#notifications .panel{padding:14px}}

#overview .reference-recent-payments .table-wrap{padding:0 16px 16px}#overview .reference-recent-payments table{min-width:610px;border:1px solid #e4eaf3;border-radius:7px;border-collapse:separate;border-spacing:0;overflow:hidden;width:100%}#overview .reference-recent-payments th{background:#f0f4fa;font-weight:500;color:#4a5e80;text-align:left;padding:10px 15px}#overview .reference-recent-payments td{padding:11px 15px;border-bottom:1px solid #e9edf5;font-size:13px;line-height:1.45}#overview .reference-recent-payments td strong{font-size:13px;font-weight:500}#overview .reference-recent-payments tr:last-child td{border-bottom:0}#overview .reference-recent-payments .reference-payment-type{padding:4px 11px;border-radius:6px;background:#d7f3e1;color:#08863a;font-size:12px;font-weight:550}#overview .reference-recent-payments .reference-payment-type.adjustment{background:#e7effd;color:#315d9e}
