/* Activity is a full-width case ledger, not a narrow widget. */
.activity-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:28px;align-items:end;margin:0 0 18px;padding:32px 36px;border-radius:18px;background:linear-gradient(118deg,#071b37,#0a3975 70%,#0b5ca4);color:#fff}
.activity-overview .eyebrow{color:#a6d4ff;font-size:.75rem;letter-spacing:.11em}
.activity-overview h2{max-width:690px;margin:9px 0;font-size:clamp(1.75rem,3vw,2.625rem);line-height:1.14;letter-spacing:-.035em}
.activity-overview p{max-width:680px;margin:0;color:#d8e9fc;font-size:1rem;line-height:1.55}
.activity-honesty{display:block;margin-top:18px;color:#c0d9f1;font-size:.75rem;line-height:1.45}
.activity-overview-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.activity-overview-stats>div{min-width:0;padding:17px;border:1px solid #9fcfff50;border-radius:12px;background:#ffffff12}
.activity-overview-stats strong{display:block;font-size:2rem;line-height:1.05;font-weight:700}
.activity-overview-stats span{display:block;margin-top:5px;color:#d8e9fc;font-size:.875rem;line-height:1.35}
.activity-page{max-width:none;width:100%;border-color:#d6e2ef}
.activity-page .section-head{padding:22px 26px 8px}
.activity-page .section-head h2{font-size:1.375rem;line-height:1.25;color:#16395f}
.activity-page .section-head .subtle{font-size:.875rem;color:#526b85}
.activity-page .activity-tools{padding:12px 26px 20px;gap:14px}
.activity-page .activity-tools label{font-size:.875rem;line-height:1.4;color:#345777}
.activity-page .activity-tools input,.activity-page .activity-tools select{min-height:44px;font-size:1rem}
.activity-page .activity-results{font-size:.875rem;color:#526b85;padding-bottom:10px}
.activity-page .activity-feed{padding:0 26px 14px;min-height:120px}
.activity-page .activity-event{display:grid;grid-template-columns:14px minmax(0,1fr) auto 20px;align-items:center;gap:16px;min-height:100px;padding:17px 8px;border-top:1px solid #e4ecf5;color:#173858}
.activity-page .activity-event:hover{background:#f3f8fe;color:#0b376c}
.activity-page .activity-event .event-dot{width:10px;height:10px;margin:0;border-radius:50%;background:#4f9ced;box-shadow:0 0 0 4px #e7f2ff}
.activity-page .activity-event[data-activity-kind="decision"] .event-dot{background:#8062c7;box-shadow:0 0 0 4px #f0ebfb}
.activity-page .activity-event[data-activity-kind="access"] .event-dot{background:#278970;box-shadow:0 0 0 4px #e5f5ef}
.activity-page .activity-event[data-activity-kind="customer"] .event-dot{background:#bc7c23;box-shadow:0 0 0 4px #fff3df}
.activity-page .activity-event>span:nth-child(2){min-width:0}
.activity-page .activity-event strong{display:block;margin:0 0 4px;font-size:1rem;color:#16395f}
.activity-page .activity-event span span{display:block;font-size:.875rem;line-height:1.5;color:#3f5e7b;overflow-wrap:anywhere}
.activity-page .activity-event small{display:block;margin-top:5px;font-size:.75rem;line-height:1.45;color:#637b94;overflow-wrap:anywhere}
.activity-page .activity-kind{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid #d5e4f3;border-radius:999px;background:#f0f7ff;color:#185b9b;font-size:.75rem;font-weight:700;white-space:nowrap}
.activity-page .activity-event[data-activity-kind="decision"] .activity-kind{background:#f4efff;color:#5e4598;border-color:#e3d7f9}
.activity-page .activity-event[data-activity-kind="access"] .activity-kind{background:#eaf7f1;color:#176c55;border-color:#c9eadc}
.activity-page .activity-event[data-activity-kind="customer"] .activity-kind{background:#fff6e7;color:#86560f;border-color:#f2dfbb}
.activity-page .activity-event>svg{width:18px;color:#216fbd}
.activity-page .activity-empty{margin:0 26px 24px;padding:16px;border:1px dashed #bdd2e7;border-radius:10px;color:#476989;font-size:.875rem}
.activity-page :focus-visible{outline:2px solid #0766c6;outline-offset:2px}
@media(max-width:760px){.activity-overview{grid-template-columns:1fr;padding:24px}.activity-overview-stats{max-width:430px}.activity-page .section-head{align-items:start;flex-direction:column;padding:20px 18px 8px}.activity-page .activity-tools{padding:12px 18px 18px}.activity-page .activity-feed{padding:0 18px 12px}}
@media(max-width:520px){.activity-overview{padding:20px;border-radius:14px}.activity-overview h2{font-size:1.75rem}.activity-page .activity-tools label{width:100%}.activity-page .activity-tools input,.activity-page .activity-tools select{width:100%;max-width:none}.activity-page .activity-results{width:100%;padding:0}.activity-page .activity-event{grid-template-columns:12px minmax(0,1fr) 20px;gap:10px;align-items:start;padding:16px 2px}.activity-page .activity-event .event-dot{grid-column:1;grid-row:1 / 3;margin-top:8px}.activity-page .activity-event>span:nth-child(2){grid-column:2;grid-row:2}.activity-page .activity-kind{grid-column:2;grid-row:1;justify-self:start;min-height:28px}.activity-page .activity-event>svg{grid-column:3;grid-row:1 / 3;margin-top:8px}}
@media(forced-colors:active){.activity-overview,.activity-page,.activity-page .activity-kind{border:1px solid CanvasText}.activity-page .activity-event .event-dot{box-shadow:none}}
@media(max-width:520px){.workspace-subbar{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;padding:0 16px 8px;gap:0 8px}.workspace-subbar #workspace-navigation{display:contents}.workspace-subbar .workspace-nav{grid-column:1 / -1;grid-row:1;width:100%;justify-content:space-between;gap:5px}.workspace-subbar .workspace-nav button{font-size:.75rem;padding:0 3px}.workspace-subbar .guide-tools{grid-column:1;grid-row:2;display:flex;gap:8px;align-items:center}.workspace-subbar .workspace-more{grid-column:2;grid-row:2}.workspace-subbar .workspace-more>summary{min-height:44px}}
@media(max-width:520px){.activity-overview{padding:17px}.activity-overview h2{font-size:1.5rem;margin:5px 0}.activity-overview p{font-size:.875rem;line-height:1.4}.activity-honesty{margin-top:9px}.activity-overview-stats>div{padding:9px}.activity-overview-stats strong{font-size:1.5rem}.activity-overview-stats span{font-size:.75rem;margin-top:2px}}
