.activity-card,.tasks-card{min-width:0}.activity-card>.card-title{align-items:center;gap:16px;margin-bottom:22px}.activity-card h2{font-size:22px;line-height:1.3}.activity-log-label{font-size:14px;color:var(--ui-muted,#687585);margin-bottom:10px}.activity-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.activity-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:10px 14px;border:1px solid var(--ui-line,#e4eaf2);border-radius:14px;background:var(--ui-surface,#fff);color:var(--ui-ink,#192331);font:inherit;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 2px 5px #102b4310;transition:background .16s,transform .16s}.activity-action:hover{background:var(--ui-raised,#f0f5fa);transform:translateY(-1px)}.activity-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--blue,#1675d6)}.activity-action-phone svg{color:#208460}.activity-toolbar,.task-toolbar{display:flex;gap:12px;align-items:center}.activity-toolbar .search,.task-toolbar .search{flex:1;min-width:0;max-width:none}.activity-toolbar label,.task-list-heading label{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--ui-muted,#687585)}.activity-toolbar select,.task-toolbar select,.task-list-heading select{margin:0;width:auto;min-height:44px;font-size:14px}.activity-history-list{max-height:min(650px,65dvh);overflow-y:auto;overflow-wrap:anywhere;scrollbar-gutter:stable;margin-top:12px}.activity-row{display:flex;gap:13px;padding:20px 2px;border-bottom:1px solid var(--ui-line,#e7ebf0)}.activity-row:last-child{border-bottom:0}.activity-symbol{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:var(--ui-raised,#edf3fb);color:var(--blue,#1675d6)}.activity-symbol svg,.activity-pin svg,.task-complete svg,.activity-followup-summary svg,.call-outcome-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.activity-content{min-width:0;flex:1}.activity-row-title{display:flex;align-items:start;justify-content:space-between;gap:12px;font-size:16px;line-height:1.4}.activity-row-title>strong{padding-top:4px}.activity-pin{border:0;background:transparent;color:var(--ui-muted,#687585);cursor:pointer;min-width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex-shrink:0}.activity-pin:hover,.activity-pin.selected{color:var(--blue,#1675d6);background:var(--ui-raised,#edf3fb)}.activity-pin.selected svg{fill:currentColor;fill-opacity:.12}.activity-meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--ui-muted,#687585);font-size:13px;line-height:1.5;margin:3px 0 9px}.activity-detail summary{cursor:pointer;list-style:none;font-size:16px;line-height:1.5}.activity-detail summary::-webkit-details-marker{display:none}.activity-detail summary>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.activity-detail summary>small{display:block;color:var(--blue,#1675d6);font-size:13px;margin-top:3px}.activity-detail[open] summary>span{display:none}.activity-detail[open] summary>small{font-size:0}.activity-detail[open] summary>small:after{content:'Hide detail';font-size:13px}.activity-detail>p{font-size:16px;line-height:1.6;white-space:pre-wrap;margin:6px 0}.activity-followup-summary{display:flex;gap:8px;margin-top:14px;padding:12px;border-radius:11px;background:var(--ui-raised,#f1f5fa)}.activity-followup-summary svg{flex-shrink:0;color:var(--blue,#1675d6)}.activity-followup-summary strong,.activity-followup-summary span{display:block;font-size:14px;line-height:1.5}.activity-followup-summary span{color:var(--ui-muted,#687585);white-space:pre-wrap}.activity-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:13px;color:var(--ui-muted,#687585)}.activity-empty{font-size:15px;line-height:1.6;padding:28px 0;color:var(--ui-muted,#687585)}.call-outcome-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.call-outcome-option{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 14px;border:1px solid var(--ui-line,#e0e7ef);border-radius:16px;background:var(--ui-surface,#fff);color:var(--ui-ink,#192331);font:inherit;cursor:pointer}.call-outcome-option:hover{border-color:var(--blue,#1675d6);background:var(--ui-raised,#eef5ff)}.call-outcome-option svg{width:32px;height:32px;fill:none;stroke:var(--blue,#1675d6);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.call-outcome-option strong{font-size:20px}.call-outcome-option span{font-size:14px;color:var(--ui-muted,#687585)}.call-outcome-toggle{display:flex}.call-outcome-toggle button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:44px}.call-followup{padding:20px;border-radius:14px;background:var(--ui-raised,#f3f6fa);border:1px solid var(--ui-line,#e4eaf1)}.call-followup>.info{font-size:14px;margin-top:14px}.tasks-card{display:flex;flex-direction:column}.tasks-card .card-title{align-items:start;gap:14px}.tasks-card h2{font-size:22px}.tasks-card .card-title .info{margin-top:4px;font-size:14px}.task-toolbar{margin-top:6px}.task-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;border-bottom:1px solid var(--ui-line,#e7ebf0);padding-bottom:10px;font-size:14px;color:var(--ui-muted,#687585)}.task-list-heading select{border:0;background:transparent;max-width:190px;padding-left:5px}.task-list{max-height:min(570px,63dvh);overflow-y:auto;scrollbar-gutter:stable;min-width:0;flex:1}.task-row{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-bottom:1px solid var(--ui-line,#e7ebf0)}.task-row:last-child{border-bottom:0}.task-complete{margin-top:5px;width:23px;min-width:23px;height:23px;border:1.5px solid var(--ui-muted,#8092a4);border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--blue,#1675d6)}.task-complete[aria-pressed=true]{background:var(--blue,#1675d6);border-color:var(--blue,#1675d6);color:#fff}.task-row-main{min-width:0;flex:1}.task-title{font-size:16px!important;font-weight:600!important;text-align:left;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:var(--ui-ink,#192331)!important}.task-row-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--ui-muted,#687585);margin:3px 0 6px}.task-due{font-size:14px;color:var(--ui-muted,#687585)}.task-due.overdue{color:#b14d36}.task-row-actions{display:flex;gap:2px}.task-completed .task-title{color:var(--ui-muted,#687585)!important}.task-link-customer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.activity-card button:focus-visible,.tasks-card button:focus-visible,.call-outcome-option:focus-visible{outline:2px solid var(--blue,#1675d6);outline-offset:3px}
@media(max-width:1100px){.task-row-actions{flex-direction:column}.activity-actions{gap:8px}.activity-action{padding:10px 8px;gap:7px}.task-list-heading>span{display:none}}
@media(max-width:600px){.activity-card,.tasks-card{padding:20px}.activity-card h2{font-size:20px}.activity-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-toolbar{flex-wrap:wrap}.activity-toolbar .search{flex-basis:100%}.activity-toolbar label{margin-left:auto}.activity-row{gap:10px}.activity-symbol{width:30px;height:30px}.activity-history-list{max-height:65dvh}.task-toolbar{flex-wrap:wrap}.task-toolbar .search{flex-basis:100%}.task-row-actions{flex-direction:row}.call-outcome-option{padding:24px 10px}.call-outcome-option span{text-align:center}.call-followup{padding:16px}.task-list-heading{justify-content:flex-end}.task-list{max-height:65dvh}}

.activity-quo-link{display:block;margin:-8px 0 18px}

/* Keep the selected call outcome unmistakable in either theme. */
.call-outcome-toggle button.selected,[data-theme=dark] .call-outcome-toggle button.selected{background:#0969da;color:#fff;box-shadow:0 0 0 1px #0969da;font-weight:600}
