﻿/* Shared activity workspace: readable type colors, independent written status. */
.plan-view-toggle,.plan-period-options{display:flex;gap:4px;padding:4px;background:#f1edf5;border-radius:9px}.plan-view-toggle button,.plan-period-options button{border:0;background:transparent;font-size:14px}.plan-view-toggle .selected,.plan-period-options .selected{background:#432253;color:white;box-shadow:0 1px 3px #32174522}.plan-toolbar{flex-wrap:wrap;align-items:end;gap:14px}.plan-toolbar label{min-width:140px;font-size:14px;flex:1}.plan-toolbar select,.plan-toolbar input{width:100%;font-size:14px;min-height:42px}.plan-toolbar .plan-search{flex:1.7;min-width:240px}.plan-calendar{overflow:hidden;padding:0}.plan-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px 12px;flex-wrap:wrap}.plan-date-nav{display:flex;gap:6px}.plan-date-nav button{min-height:40px;min-width:40px}.plan-period h2{font-size:22px;text-transform:capitalize;margin:0}.plan-period p{font-size:14px;color:#626073;margin:5px 0}.plan-calendar-tools{padding:8px 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.plan-legend{display:flex;gap:14px;flex-wrap:wrap}.plan-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#454052}.plan-legend-item i{width:10px;height:10px;background:var(--plan-ink);border-radius:50%}.plan-go-date{display:flex;align-items:center;gap:8px;font-size:14px}.plan-go-date input{font-size:14px;min-height:38px}.plan-weekdays,.plan-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.plan-weekdays{background:#432253;color:#fff}.plan-weekdays span{padding:12px 8px;text-align:center;font-weight:600;font-size:14px}.plan-day{min-width:0;min-height:170px;border-right:1px solid #e6e1ec;border-bottom:1px solid #e6e1ec;padding:9px;background:white}.plan-day:nth-child(7n){border-right:0}.plan-outside{background:#f8f7fa}.plan-day-head{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:9px}.plan-day-date{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:0;min-height:32px}.plan-day-number{font-size:16px;font-weight:700;min-width:30px;min-height:30px;display:grid;place-items:center;border-radius:50%}.plan-today .plan-day-number{background:#432253;color:#fff}.plan-day-name{display:none}.plan-today-word{font-size:12px;color:#704197;font-weight:700}.plan-day-add{border:0!important;background:transparent!important;padding:5px!important;min-height:32px;min-width:32px;color:#704197}.plan-day-add svg{width:17px;height:17px}.plan-day-events{display:grid;gap:8px}.plan-event{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;min-width:0;padding:10px;border:1px solid color-mix(in srgb,var(--plan-ink) 16%,white);border-left:4px solid var(--plan-ink);border-radius:7px;background:var(--plan-bg);color:#272234;gap:6px;white-space:normal;line-height:1.35;box-shadow:none}.plan-event:hover{background:var(--plan-bg);box-shadow:0 2px 6px #32174518;filter:brightness(.98)}.plan-event-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px;color:var(--plan-ink);font-size:13px}.plan-event-top time{font-size:14px;font-weight:750}.plan-event strong{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.plan-event-company{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#514c60}.plan-event-bottom{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:2px}.plan-event-owner{font-size:12px;color:#575267;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-status{font-size:12px;font-weight:650;padding:3px 7px;border-radius:5px;display:inline-flex;white-space:nowrap;line-height:1.4}.plan-status-late{background:#fbe4e6;color:#a22537}.plan-status-done{background:#def0e3;color:#20613c}.plan-status-scheduled{background:#e2eafb;color:#2b4f85}.plan-tone-call{--plan-ink:#1f5d9c;--plan-bg:#eaf2fc}.plan-tone-whatsapp{--plan-ink:#166d4e;--plan-bg:#e8f5ec}.plan-tone-email{--plan-ink:#8a5d15;--plan-bg:#fff3d9}.plan-tone-meeting{--plan-ink:#704197;--plan-bg:#f3eafc}.plan-tone-proposal{--plan-ink:#a34251;--plan-bg:#fbeff0}.plan-tone-other{--plan-ink:#44536d;--plan-bg:#ecf0f6}.plan-no-events{font-size:13px;color:#777184;padding:12px 0}.plan-more{width:100%;margin-top:8px;font-size:13px!important;color:#60367a;background:#f5f0f9;border:0;white-space:normal}.plan-calendar-note,.plan-empty-period{font-size:14px;color:#625b70;padding:14px 24px;margin:0;line-height:1.6}.plan-empty-period{background:#f7f4fa;color:#432253}.plan-single-day{padding:22px 24px;display:grid;gap:14px;max-width:960px;margin:auto}.plan-single-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.plan-single-heading h3{font-size:19px;text-transform:capitalize}.plan-event-large{padding:18px;gap:8px}.plan-event-large strong{font-size:17px;-webkit-line-clamp:unset}.plan-event-large .plan-event-company,.plan-event-large .plan-event-owner{font-size:14px;white-space:normal}.plan-week .plan-day{min-height:340px}.plan-list-title{display:block;padding:0;border:0;background:transparent;color:#432253;font-weight:700;font-size:15px;text-align:left;line-height:1.5;white-space:normal;margin-bottom:6px}.plan-type-label{display:inline-flex;font-size:13px;color:var(--plan-ink);background:var(--plan-bg);padding:4px 8px;border-radius:5px}.plan-list table{font-size:14px}.plan-list td{vertical-align:top;white-space:normal}.plan-list td small{font-size:13px;line-height:1.5}.plan-list td>strong{display:block}.plan-list .actions{flex-wrap:wrap}.plan-detail-header{display:flex;gap:10px}.plan-detail-title{font-size:22px;line-height:1.4}.plan-detail-notes{white-space:pre-wrap;font-size:15px;line-height:1.6}.plan-calendar button:focus-visible,.plan-list button:focus-visible,.plan-view-toggle button:focus-visible{outline:3px solid #8a5eab;outline-offset:3px}
@media(min-width:761px) and (max-width:1100px){.plan-day{padding:6px}.plan-event{padding:8px 6px}.plan-event-owner{display:none}.plan-weekdays span{font-size:13px}.plan-calendar-heading{padding:18px}.plan-period h2{font-size:20px}}
@media(max-width:760px){.plan-calendar-heading{padding:18px 16px;gap:16px}.plan-period{order:-1;width:100%}.plan-period h2{font-size:21px}.plan-calendar-tools{padding:0 16px 18px}.plan-legend{gap:10px 14px}.plan-go-date{width:100%}.plan-weekdays{display:none}.plan-days{display:block}.plan-month .plan-day:not(.plan-has-events):not(.plan-today),.plan-month .plan-outside{display:none}.plan-day{min-height:0;padding:16px;border-right:0}.plan-day-head{margin-bottom:12px}.plan-day-name{display:inline;font-size:15px;text-transform:capitalize}.plan-day-number{font-size:18px}.plan-day-events{gap:10px}.plan-event{padding:13px;gap:7px}.plan-event strong{font-size:16px}.plan-event-top,.plan-event-company,.plan-event-owner{font-size:14px}.plan-event-top time{font-size:15px}.plan-status{font-size:13px}.plan-week .plan-day{min-height:0}.plan-single-day{padding:16px}.plan-calendar-note,.plan-empty-period{padding:16px}.plan-toolbar label,.plan-toolbar .plan-search{min-width:100%;width:100%}.plan-list table,.plan-list tbody,.plan-list tr,.plan-list td{display:block;width:100%}.plan-list thead{display:none}.plan-list tr{border-bottom:1px solid #e6e1ec;padding:14px 16px}.plan-list td{border:0;padding:6px 0}.plan-list td:before{content:attr(data-label);display:block;font-size:12px;color:#6c6479;margin-bottom:3px}.plan-list-title{font-size:16px}.plan-list table{min-width:0}.plan-list{overflow:visible}.plan-view-toggle button{min-height:42px}.plan-period-options button{min-height:40px}}
/* Keep controls readable instead of squeezing labels at narrower widths. */
.plan-toolbar label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:170px}.plan-toolbar .plan-search{min-width:260px}.plan-go-date{white-space:nowrap}.plan-go-date input{width:155px}.page-heading:has(.plan-view-toggle)>.actions{flex-wrap:wrap}
@media(max-width:760px){.page-heading:has(.plan-view-toggle){flex-direction:column;align-items:stretch;gap:16px}.page-heading:has(.plan-view-toggle)>div:first-child{width:100%}.page-heading:has(.plan-view-toggle)>.actions{width:100%;justify-content:flex-start;gap:10px}.page-heading:has(.plan-view-toggle) button{font-size:14px;min-height:42px}.plan-toolbar label,.plan-toolbar .plan-search{min-width:100%}.plan-go-date input{flex:1;width:100%}}
