/* CareSync v0.37.1 - home/header and office activity layout polish */
header{gap:18px;align-items:center}header .brand{flex:0 0 auto}header nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 14px}header nav a{white-space:nowrap}
.home-dashboard{max-width:1050px;margin:28px auto}.home-intro{display:flex;align-items:center;gap:24px;background:#fff;border:1px solid #dbe7ec;border-radius:20px;padding:24px 28px;box-shadow:0 8px 24px rgba(20,65,85,.06)}.home-intro img{width:118px;height:118px;object-fit:contain;flex:0 0 118px}.home-intro h1{margin:2px 0 6px;font-size:2rem;color:#073f67}.home-intro p{margin:0;color:#607b8c}.home-kicker{font-size:.78rem;font-weight:800;letter-spacing:.09em;color:#1683ad!important}.home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.home-action{display:grid;grid-template-columns:54px 1fr;column-gap:12px;align-items:center;background:#fff;border:1px solid #dbe7ec;border-radius:18px;padding:20px;text-decoration:none;color:#073f67;box-shadow:0 6px 18px rgba(20,65,85,.05)}.home-action:hover{border-color:#2d9d78;transform:translateY(-1px)}.home-action-icon{grid-row:1/3;font-size:2rem}.home-action b{font-size:1.12rem}.home-action small{color:#607b8c;font-size:.88rem;line-height:1.35}.home-shortcuts{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}.home-shortcuts a{background:#eef6f8;border-radius:999px;padding:8px 13px;text-decoration:none;color:#174f69;font-weight:700}
.reviewtable td[data-label="Activities"]{min-width:170px;max-width:230px}.reviewtable td[data-label="Activities"] .activity-office-pill{white-space:normal;line-height:1.2;margin:2px 1px;max-width:100%}
@media(max-width:900px){header{align-items:flex-start}header nav{justify-content:flex-start}.home-dashboard{margin-top:16px}}
@media(max-width:700px){.home-intro{padding:18px;gap:14px}.home-intro img{width:78px;height:78px;flex-basis:78px}.home-intro h1{font-size:1.55rem}.home-actions{grid-template-columns:1fr}.home-action{padding:16px}.home-shortcuts{justify-content:flex-start}}

/* CareSync v0.37.2 - keep visit activities with the client instead of widening the office table */
.visit-activities{margin-top:8px;max-width:260px}.visit-activities>small{display:block;margin-bottom:4px;font-weight:700;color:#607b8c}.visit-activity-list{display:flex;flex-wrap:wrap;gap:4px}.visit-activity-list .activity-office-pill{white-space:normal;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
