/* Shift exit · first_shift board (from EJM trainer). No invent. */
    /* WFM Total–like month schedule (first_shift trainer) */
    .wfm-toolbar{
      display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 8px;
    }
    .wfm-month-nav{display:inline-flex;align-items:center;gap:6px}
    .wfm-nav-btn{
      width:28px;height:28px;border:1px solid #c6cdd7;border-radius:6px;background:#fff;
      color:#1f2a37;font-size:18px;line-height:1;cursor:pointer;padding:0;
    }
    .wfm-nav-btn:hover{border-color:#2fc6f6;background:#eaf8fd}
    .wfm-month-lbl{
      min-width:132px;text-align:center;font-size:13px;font-weight:700;color:#1f2a37;
      text-transform:lowercase;
    }
    .wfm-legend{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
    .wfm-leg{display:inline-flex}
    .wfm-toolbar .iv-sel-chip{margin-left:4px;margin-right:auto;max-width:min(360px,42vw)}
    .wfm-board{
      --wfm-cell:42px;--wfm-label:148px;
      overflow:auto;max-width:100%;border:1px solid #c9d1db;border-radius:8px;background:#fff;
      max-height:min(420px,55vh);
    }
    .wfm-row,.wfm-group{
      display:grid;grid-template-columns:var(--wfm-label) repeat(var(--wfm-days), var(--wfm-cell));
      width:max-content;min-width:100%;align-items:stretch;
    }
    .wfm-group{background:#f5f7f8;border-bottom:1px solid #e6e9ec}
    .wfm-group-lbl{
      font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
      color:#828b95;padding:6px 8px;background:#f5f7f8;
    }
    .wfm-group-span{background:#f5f7f8}
    .wfm-sticky{
      position:sticky;left:0;z-index:4;background:#fff;
      box-shadow:2px 0 4px -2px rgba(20,28,40,.14);
      border-right:1px solid #c9d1db;box-sizing:border-box;
    }
    .wfm-corner{
      font-size:11px;font-weight:700;color:#828b95;padding:6px 8px;
      background:#eef2f6;display:flex;align-items:flex-end;
    }
    .wfm-row--head{position:relative!important;top:auto!important;z-index:2;background:#eef2f6}
    .wfm-row--head .wfm-sticky{z-index:3;background:#eef2f6}
    .wfm-col-h{
      display:flex;flex-direction:column;align-items:center;justify-content:center;
      gap:1px;padding:4px 0;font-size:11px;border-left:1px solid #d5dde6;
      background:#eef2f6;color:#1f2a37;font-weight:700;cursor:pointer;box-sizing:border-box;
      min-height:36px;
    }
    .wfm-col-h.is-we{color:#b42318;background:#fdecea}
    /* Today — like interview week header: wash + full-width bottom underline */
    .wfm-col-h.is-today{
      background:#e8f6fc;color:#0b6e99;
      box-shadow:inset 0 -2px 0 #2fc6f6;
      position:relative;z-index:2;
    }
    .wfm-col-h.is-today.is-we{
      background:#fdecea;color:#b42318;
      box-shadow:inset 0 -2px 0 #2fc6f6;
    }
    .wfm-col-h.is-today .wfm-dn{border-bottom:0;padding-bottom:0}
    .wfm-col-h.is-sel{box-shadow:none;background:inherit;z-index:1}
    .wfm-col-h.is-today.is-sel{
      background:#e8f6fc;box-shadow:inset 0 -2px 0 #2fc6f6;
    }
    .wfm-dn{line-height:1.1}
    .wfm-dw{font-size:10px;font-weight:600;opacity:.85;text-transform:lowercase}
    .wfm-person{
      display:flex;flex-direction:column;justify-content:center;gap:1px;
      padding:4px 8px;min-height:var(--wfm-cell);background:#fff;
    }
    .wfm-row.is-cand-row .wfm-person{background:#f3fbfe}
    .wfm-row.is-locked-row{opacity:.55;filter:grayscale(.35)}
    .wfm-row.is-locked-row .wfm-person{background:#f0f2f4;color:#828b95}
    .wfm-pname{font-size:12px;font-weight:650;color:#1f2a37;line-height:1.2;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:132px}
    .wfm-pmeta{font-size:10px;color:#828b95;line-height:1.2}
    .wfm-cell{
      width:var(--wfm-cell);height:var(--wfm-cell);min-width:var(--wfm-cell);min-height:var(--wfm-cell);
      margin:0;padding:2px;box-sizing:border-box;border:0;border-left:1px solid #e6e9ec;
      border-top:1px solid #e6e9ec;background:#fff;display:flex;flex-direction:column;
      align-items:center;justify-content:center;gap:1px;font:inherit;cursor:default;
      position:relative;
    }
    button.wfm-cell{cursor:pointer}
    button.wfm-cell.is-empty:hover{background:#eaf8fd}
    .wfm-cell.is-empty::after{
      content:"";position:absolute;inset:5px;border:1px solid #c6cdd7;border-radius:5px;pointer-events:none;
    }
    button.wfm-cell.is-empty:hover::after{border-color:#2fc6f6}
    .wfm-cell.is-we{background:#fff8f7}
    .wfm-cell.is-today{
      background:#f3fbfe;
      box-shadow:none;
      z-index:1;
    }
    .wfm-cell.is-today.is-we{background:#fff8f7}
    .wfm-row:last-child .wfm-cell.is-today,
    .wfm-board--locked .wfm-row:last-child .wfm-cell.is-today{
      box-shadow:none;
    }
    .wfm-cell.is-blocked{background:#eceff2;cursor:default}
    .wfm-cell.is-blocked.is-today{background:rgba(47,198,246,.08)}
    .wfm-cell.is-blocked::after{display:none}
    .wfm-cell.is-row-locked{pointer-events:none}
    .wfm-cell.is-filled{padding:3px 2px}
    .wfm-cell.is-filled::after{
      content:"";position:absolute;inset:3px;border:1px solid transparent;border-radius:6px;
      background:#f7f9fb;z-index:0;pointer-events:none;
    }
    .wfm-cell.is-cand::after{background:#e8f6fc;border-color:#b6e2f2}
    .wfm-cell.is-sel{z-index:2}
    .wfm-cell.is-sel::before{
      content:"";position:absolute;inset:1px;border:2px solid #2067b0;border-radius:6px;
      pointer-events:none;z-index:2;
    }
    .wfm-cell.is-sel.is-today::before{inset:1px}
    .wfm-chip{
      position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;
      min-width:18px;height:14px;padding:0 3px;border-radius:3px;
      font-size:9px;font-weight:800;font-style:normal !important;font-synthesis:none;
      line-height:1;letter-spacing:.02em;font-family:inherit;
    }
    i.wfm-chip{font-style:normal !important}
    .wfm-chip--ya{background:#cfe8f8;color:#0b5f8a}
    .wfm-chip--nn{background:#f8d0d0;color:#a12828}
    .wfm-chip--ot{background:#e0d4f5;color:#5b3d8a}
    .wfm-chip--do{background:#ddd6f0;color:#5a4a7a}
    .wfm-chip--u{background:#d8dde3;color:#535c69}
    .wfm-chip--b{background:#ffe2b8;color:#8a5a00}
    .wfm-chip--one{background:#d8f0c8;color:#3f6b00}
    .wfm-chip--st{background:#cfe8f8;color:#0b5f8a}

    /* Плавающая карточка: превью следующего EJM, пока оформление на основном экране */
    .ejm-paper-float{
      position:fixed;right:16px;bottom:16px;z-index:80;
      width:min(380px,calc(100vw - 32px));
      background:#fff;border:1px solid #b6e2f2;border-radius:12px;
      box-shadow:0 12px 40px rgba(20,28,40,.18);pointer-events:auto;
    }
    .ejm-ejm-float .ejm-paper-float-h{background:#e8f6fc;border-bottom-color:#b6e2f2}
    .ejm-ejm-float .ejm-paper-float-h em{color:#0b6e99}
    .ejm-paper-float.is-collapsed{width:auto;min-width:220px}
    .ejm-paper-float-h{
      display:flex;align-items:center;justify-content:space-between;gap:8px;
      padding:10px 12px;background:#fff8e6;border-bottom:1px solid #f0e0b8;
      border-radius:12px 12px 0 0;cursor:pointer;
    }
    .ejm-paper-float.is-collapsed .ejm-paper-float-h{border-radius:12px;border-bottom:0}
    .ejm-paper-float-h strong{font-size:13px;color:#1f2a37}
    .ejm-paper-float-h em{font-style:normal;font-size:11px;color:#8a5a00;margin-left:6px}
    .ejm-paper-float-body{padding:12px;display:flex;flex-direction:column;gap:10px}
    .ejm-paper-float.is-collapsed .ejm-paper-float-body{display:none}
    .ejm-paper-float .ob-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
    .ejm-summary{display:flex;flex-direction:column;gap:10px}
    .ejm-summary-row{
      display:flex;justify-content:space-between;gap:12px;padding:8px 10px;
      background:#f7f9fb;border:1px solid #e6e9ec;border-radius:8px;font-size:13px;
    }
    .ejm-summary-row span{color:#535c69}
    .ejm-summary-row b{color:#1f2a37;font-weight:700;text-align:right}
    .wfm-tm{
      position:relative;z-index:1;font-size:9px;font-weight:650;color:#1f2a37;line-height:1;
      white-space:nowrap;
    }
    .wfm-row.is-cand-row .wfm-cell.is-empty::after{border-color:#9ecfe0}
    .wfm-split{display:flex;flex-direction:column;gap:8px}
    .wfm-board--active{max-height:none}
    .wfm-board--locked{
      position:relative;max-height:min(220px,32vh);opacity:.92;
      pointer-events:none;user-select:none;
    }
    .wfm-lock-veil{
      position:absolute;inset:0;z-index:8;
      display:flex;align-items:center;justify-content:center;
      background:rgba(244,246,248,.72);
      backdrop-filter:grayscale(.35);
    }
    .wfm-lock-veil-txt{
      padding:8px 14px;border-radius:6px;background:rgba(255,255,255,.92);
      border:1px dashed #b0b7c3;color:#6b7785;font-size:12px;font-weight:650;
      letter-spacing:.01em;text-align:center;max-width:86%;
    }
    /* internship multi: диапазон + счётчик выбранных vs план (без +1) */
    .wfm-period-bar{
      display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
      margin:0 0 8px;padding:8px 10px;background:#f7f9fb;border:1px solid #e6e9ec;border-radius:8px;
    }
    .wfm-period-lab{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#535c69}
    .wfm-period-lab input[type=date]{font:inherit;padding:4px 6px;border:1px solid #c6cdd3;border-radius:6px;background:#fff}
    .wfm-period-n{font-size:13px;font-weight:700;color:#1f2a37}
    .wfm-period-n.is-short{color:#b42318}
    .wfm-period-warn{font-size:12px;font-weight:600;color:#b42318}
    .wfm-check{
      position:absolute;top:2px;right:2px;z-index:3;
      font-size:10px;line-height:1;font-weight:800;color:#0b6e4f;
    }
    .wfm-cell{position:relative}
    .wfm-cell.is-past{opacity:.45;cursor:not-allowed}
    button.wfm-cell.is-past:disabled{pointer-events:none}
    .wfm-cell.is-plan-slot{background:#f3fbf6}
    .wfm-plus-btn{display:none !important}
