.meta-plan{margin:0 16px 22px;padding:16px;border:1px solid #ded5b9;border-radius:12px;background:#fcfaf4}
.detail .meta-plan{margin:0 0 22px}
.meta-plan h3{margin:0;font-size:16px}
.meta-plan .field{margin-top:12px}
.meta-plan textarea{display:block;width:100%;min-height:140px;margin-top:6px;resize:vertical}
.meta-public{margin:16px 0}
.meta-public h2{margin:0 0 12px;font-size:16px}
.meta-plan-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}

/* Compact Meta Ads in every calendar view. */
.meta-calendar-line{display:flex;align-items:center;gap:6px;min-width:0;width:100%;height:100%;white-space:nowrap;overflow:hidden;font-size:11px;font-weight:700;line-height:1}
.meta-calendar-network{display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap;color:#61542d}
.meta-calendar-network .channel-logo{display:block;width:15px;height:15px;flex:none}
.meta-calendar-status.status{display:inline-flex;align-items:center;justify-content:center;flex:none;width:17px;height:17px;padding:0;background:transparent;border-radius:0}
.meta-calendar-status svg{display:block;width:15px;height:15px}
.meta-calendar-title{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26313a;font-weight:600}
.ad-span,.month-week-row .ad-span{display:flex!important;align-items:center;height:32px!important;padding:0 19px!important;overflow:hidden!important}
.ad-span .meta-calendar-line{min-width:0}
.ad-span .ad-resize-handle{width:15px}
.list-slot .meta-ad-segment{display:flex;align-items:center;position:relative;height:32px;min-height:32px;padding:0 14px!important;overflow:hidden}
.list-slot .meta-ad-segment .ad-resize-handle{width:11px;height:100%;top:0;cursor:ew-resize}
.customer-portal .portal-post.portal-ad-span{display:flex;align-items:center;grid-template-columns:none;height:32px;min-height:32px;padding:0 8px;overflow:hidden}
.customer-portal .portal-ad-span .meta-calendar-line{min-width:0}
@media(max-width:760px){.meta-calendar-line{gap:4px;font-size:9px}.meta-calendar-network{gap:3px}.meta-calendar-network .channel-logo{width:13px;height:13px}.meta-calendar-status.status{display:inline-flex;width:14px;height:14px}.meta-calendar-status svg{width:13px;height:13px}.ad-span,.month-week-row .ad-span{padding:0 15px!important}.ad-span .ad-resize-handle{width:12px}}

.short-ad .meta-calendar-network>span{display:none}

.list-slot .meta-ad-segment:has(.feedback-bubble){padding-right:29px!important}
.customer-portal .portal-post.portal-ad-span:has(.feedback-bubble){padding-right:27px}
.list-slot .meta-ad-segment .feedback-bubble,.customer-portal .portal-post.portal-ad-span .feedback-bubble{top:7px;right:4px;bottom:auto;width:16px;height:16px}
.list-slot .meta-ad-segment .feedback-bubble svg,.customer-portal .portal-post.portal-ad-span .feedback-bubble svg{width:10px;height:10px}

/* Keep month dates in their own row above the Meta Ads lanes. */
.month-week-row:has(.ad-span) .month-date{min-height:48px;align-items:flex-start;position:relative;z-index:4}
.month-week-row .ad-spans{top:60px}
