/* Workflow board: horizontal step columns, due-date calendar and team chat. */
.wf-page{display:flex;flex-direction:column;gap:14px;font-size:13px;color:#303531}
.wf-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #d5dcd3;border-radius:3px;padding:10px 14px}
.wf-toolbar label{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}
.wf-toolbar select,.wf-toolbar input[type=search]{min-height:34px;padding:6px 9px;font-size:13px}
.wf-user{display:flex;align-items:center;gap:14px}
.wf-search input{min-width:260px}
.wf-hint{color:#727a6c;font-size:12px;margin-left:auto}
.wf-chip{display:inline-flex;align-items:center;gap:6px;background:#eef3e5;color:#456826;border:1px solid #cfdcbb;border-radius:14px;padding:3px 6px 3px 10px;font-weight:600}
.wf-chip-x{border:0;background:none;color:#456826;font-size:15px;line-height:1;padding:0 4px;cursor:pointer}
.wf-link{border:0;background:none;color:#357b95;cursor:pointer;font-size:12px;padding:0}
.wf-board-wrap{display:flex;gap:14px;align-items:stretch;min-height:520px}
.wf-board{flex:1;display:flex;gap:12px;overflow-x:auto;padding:4px 4px 14px;scroll-snap-type:x proximity;min-width:0}
.wf-column{flex:0 0 290px;width:290px;min-width:0;display:flex;flex-direction:column;background:#f3f6ee;border:1px solid #d5dcd3;border-radius:4px;max-height:78vh;scroll-snap-align:start}
.wf-column-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:2px solid #8daf5e;background:#fff;border-radius:4px 4px 0 0;position:sticky;top:0}
.wf-column-head h2{font-size:14px;font-weight:600;margin:0;text-transform:uppercase;letter-spacing:.3px;color:#3b4235}
.wf-count{background:#e8f1dc;color:#4f782a;font-weight:600;border-radius:12px;padding:2px 9px;font-size:12px}
.wf-column[data-step="Voided"] .wf-column-head{border-bottom-color:#c46a4c}
.wf-column[data-step="Archive"] .wf-column-head{border-bottom-color:#9aa39a}
.wf-column[data-step="Invoice"] .wf-column-head{border-bottom-color:#3c8bb0}
.wf-cards{flex:1;min-width:0;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:9px;transition:background .15s}
.wf-cards.wf-drop{background:#e5efd6;outline:2px dashed #8daf5e;outline-offset:-6px}
.wf-card{min-width:0;background:#fff;border:1px solid #d9dfd4;border-left:4px solid #8daf5e;border-radius:4px;padding:9px 10px;cursor:grab;box-shadow:0 1px 2px rgba(40,50,30,.06)}
.wf-card:hover{box-shadow:0 2px 6px rgba(40,50,30,.14)}
.wf-card.wf-dragging{opacity:.45}
.wf-card.wf-overdue{border-left-color:#c46a4c}
.wf-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.wf-card-top a{color:#357b95;font-size:13px}
.wf-status{font-size:10px;font-weight:600;background:#edf0e8;color:#666e5f;padding:2px 6px;border-radius:3px;white-space:nowrap}
.wf-customer{font-weight:600;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wf-title{color:#4d554b;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4}
.wf-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font-size:11px;color:#727a6c}
.wf-overdue .wf-meta span:first-child{color:#b04a2c;font-weight:600}
.wf-people{display:flex;align-items:center;gap:4px;margin-top:8px;flex-wrap:wrap}
.wf-avatar{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#648b39;color:#fff;font-size:10px;font-weight:700}
.wf-assign{min-height:24px;font-size:11px;padding:2px 4px;border:1px dashed #bcc7b0;background:#fbfcfa;color:#596450;max-width:120px;margin-left:auto}
.wf-actions{display:flex;justify-content:space-between;margin-top:8px;gap:6px}
.wf-actions .wf-move{border:1px solid #cfd8c6;background:#f8f9f6;border-radius:3px;padding:3px 10px;font-size:12px;cursor:pointer;color:#456826}
.wf-actions .wf-move:hover{background:#e8f1dc}
.wf-actions .wf-move:only-child{margin-left:auto}
.wf-empty{color:#74806c;font-size:12px;text-align:center;padding:14px 6px;margin:0}
.wf-calendar{background:#fff;border:1px solid #d5dcd3;border-radius:3px}
.wf-calendar summary{cursor:pointer;padding:10px 14px;font-weight:600;color:#3b4235;list-style:revert}
.wf-cal-nav{display:flex;gap:8px;padding:0 14px 8px}
.wf-cal-nav .small-button{padding:5px 10px;font-size:12px;border:1px solid #cfd8c6;background:#f8f9f6;border-radius:3px;cursor:pointer}
.wf-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:0 10px 10px}
.wf-cal-nav{align-items:center}.wf-cal-nav .wf-cal-total{margin-left:auto;color:#727a6c;font-size:12px}
.wf-dow{font-size:11px;font-weight:600;color:#7b8571;text-align:center;padding:4px 0}
.wf-day{position:relative;min-height:46px;border:1px solid #e3e8dc;border-radius:3px;background:#fbfcfa;text-align:left;padding:4px 6px;font-size:11px;cursor:pointer;display:flex;flex-direction:column;gap:2px;color:#303531}
.wf-day:hover{background:#f0f5e8}
.wf-day-pad{background:transparent;border-color:transparent;cursor:default}
.wf-day-num{font-weight:600}
.wf-today .wf-day-num{color:#456826;text-decoration:underline}
.wf-day-selected{background:#e5efd6;border-color:#8daf5e;box-shadow:inset 0 0 0 1px #8daf5e}
.wf-day-count{position:absolute;top:4px;right:5px;background:#648b39;color:#fff;border-radius:10px;padding:1px 6px;font-size:10px;font-weight:700}
.wf-day-jobs{display:flex;flex-direction:column;gap:1px;overflow:hidden}
.wf-day-jobs em{font-style:normal;color:#357b95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wf-day-jobs em b{font-weight:600;color:#456826}
.wf-ev-cancelled{text-decoration:line-through;opacity:.6}
/* Outlook connection bar, sign-in code and the selected day's events */
.wf-outlook{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 14px 10px;padding:8px 12px;background:#f8f9f6;border:1px solid #e3e8dc;border-radius:3px;font-size:12px}
.wf-outlook p{margin:0;flex:1 1 100%;line-height:1.5}
.wf-outlook label{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#596450;margin:0}
.wf-outlook input{min-height:30px;padding:4px 8px;font-size:12px;min-width:300px}
.wf-outlook button.primary{padding:6px 12px}
.wf-outlook-ok{background:#eef3e5;border-color:#cfdcbb;color:#456826}
.wf-outlook-error{margin:0 14px 10px;color:#b04a2c;font-size:12px}
.wf-outlook-help{flex:1 1 100%;font-size:12px}
.wf-outlook-help summary{cursor:pointer;color:#357b95}
.wf-outlook-help ol{margin:6px 0 0;padding-left:20px;line-height:1.5}
.wf-code{font-size:16px;font-weight:700;letter-spacing:2px;background:#fff;border:1px solid #cfd8c6;padding:2px 8px;border-radius:3px;color:#303531}
.wf-day-detail{margin:0 10px 10px;padding:10px 12px;border:1px solid #d5dcd3;border-radius:3px;background:#fbfcfa;display:flex;flex-direction:column;gap:4px}
.wf-day-detail strong{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:4px}
.wf-event{display:grid;grid-template-columns:110px 1fr;gap:2px 10px;font-size:12px;padding:5px 0;border-top:1px solid #eef1ea}
.wf-event-time{color:#456826;font-weight:600}
.wf-event-subject a{color:#357b95}
.wf-event-where,.wf-event-who{grid-column:2;color:#727a6c;font-size:11px}
.wf-chat{flex:0 0 360px;display:flex;flex-direction:column;background:#fff;border:1px solid #d5dcd3;border-radius:4px;max-height:78vh}
.wf-chat-closed{flex-basis:auto}
.wf-chat-closed .wf-chat-body{display:none}
.wf-chat-body{display:flex;flex:1;min-height:0}
.wf-conv-list{flex:0 0 118px;border-right:1px solid #e3e8dc;overflow-y:auto;background:#fbfcfa;display:flex;flex-direction:column}
.wf-conv{display:flex;align-items:center;gap:6px;border:0;border-bottom:1px solid #eef1ea;background:none;text-align:left;padding:9px 8px;font-size:12px;cursor:pointer;color:#3b4235;position:relative;line-height:1.3}
.wf-conv .wf-avatar{width:20px;height:20px;font-size:9px;flex-shrink:0}
.wf-conv.active{background:#e8f1dc;color:#456826;font-weight:600;box-shadow:inset 3px 0 #8daf5e}
.wf-conv:hover{background:#f0f5e8}
.wf-unread{margin-left:auto;background:#c46a4c;color:#fff;border-radius:10px;padding:1px 6px;font-size:10px;font-weight:700}
.wf-chat-room{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}
.wf-room-title{padding:7px 12px;border-bottom:1px solid #e3e8dc;font-weight:600;font-size:12px}
.wf-room-title small{display:block;font-weight:400;color:#8a9281;font-size:11px}
.wf-msg-mine{background:#f3f8ec;border-radius:4px;padding:4px 6px;margin:0 0 0 12px}
.wf-msg-private{font-size:10px;text-transform:uppercase;letter-spacing:.3px;color:#8a6a3c;background:#fbf3e6;border-radius:3px;padding:1px 4px;margin-left:6px}
.wf-chat-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:2px solid #8daf5e;background:#f8f9f6}
.wf-chat-log{flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:10px;min-height:200px}
.wf-msg{font-size:12px;line-height:1.45}
.wf-msg-author{font-weight:700;color:#456826}
.wf-msg-time{color:#8a9281;margin-left:6px;font-size:11px}
.wf-msg-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#303531;margin-top:2px}
.wf-chat-form{display:flex;gap:6px;padding:8px;border-top:1px solid #e3e8dc}
.wf-chat-form input{flex:1;min-height:34px;padding:6px 9px}
.wf-chat-form button{padding:6px 12px}
@media(max-width:900px){.wf-board-wrap{flex-direction:column}.wf-chat{flex-basis:auto;max-height:420px}.wf-conv-list{flex-basis:96px}.wf-column{flex-basis:250px}.wf-hint{margin-left:0}.wf-search input{min-width:0;width:100%}.wf-day{min-height:44px}.wf-day-jobs{display:none}}
