/* Shared planned-action labels: neutral future, current work orange, urgent red. */
body[data-crm-appearance]{--schedule-ink:#36506a;--schedule-bg:#edf1f5;--schedule-current-ink:#825011;--schedule-current-bg:#fff1d9;--schedule-urgent-ink:#9e2929;--schedule-urgent-bg:#fdecec}
body[data-crm-appearance=night]{--schedule-ink:#e8edf3;--schedule-bg:#2d4a65;--schedule-current-ink:#ffd09b;--schedule-current-bg:#573c26;--schedule-urgent-ink:#ffc0b8;--schedule-urgent-bg:#593139}
:is(#deal-board,#partner-board,#record-schedule-summary) .board-schedule-badge{font-size:12px;min-width:0;max-width:100%;line-height:1.45;border:1px solid transparent}
:is(#deal-board,#partner-board,#record-schedule-summary) .board-schedule-badge.future{color:var(--schedule-ink);background:var(--schedule-bg)}
:is(#deal-board,#partner-board,#record-schedule-summary) .board-schedule-badge.today{color:var(--schedule-current-ink);background:var(--schedule-current-bg)}
:is(#deal-board,#partner-board,#record-schedule-summary) .board-schedule-badge.urgent{color:var(--schedule-urgent-ink);background:var(--schedule-urgent-bg)}
.record-schedule-summary{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;grid-column:1/-1;min-width:0;padding:12px 0;border-bottom:1px solid var(--line)}
.record-schedule-summary>small{flex:1 1 100%;font-size:12px;color:var(--muted)}
.record-schedule-summary .board-schedule-badge{margin:0;flex:0 1 auto}
.record-schedule-title{min-width:0;flex:1 1 180px;font-size:13px;line-height:1.45;overflow-wrap:anywhere;color:var(--ink)}
body[data-crm-appearance=night] .record-schedule-summary>small{color:var(--appearance-muted)}
body[data-crm-appearance=night] .record-schedule-title{color:var(--appearance-ink)}
@media(max-width:480px){.record-schedule-summary{gap:6px}.record-schedule-title{flex-basis:100%}}
body[data-crm-appearance=night] :is(#deal-board,#partner-board) .board-card{background:var(--appearance-soft)!important;border-color:var(--appearance-line)!important;color:var(--appearance-ink)}
body[data-crm-appearance=night] :is(#deal-board,#partner-board) .board-card-heading b{color:var(--appearance-ink)}
body[data-crm-appearance=night] :is(#deal-board,#partner-board) .board-card>small,body[data-crm-appearance=night] :is(#deal-board,#partner-board) .board-card-footer{color:var(--appearance-muted)}
:is(#deal-board,#partner-board) .board-card:focus-visible{outline:3px solid var(--navy-3);outline-offset:2px}
body[data-crm-appearance=night] :is(#deal-board,#partner-board) .board-card:focus-visible{outline-color:var(--appearance-muted)}
.record-schedule-state{display:block;margin-top:2px;font-size:inherit;font-weight:700;line-height:1.35;color:inherit}
