
  #pending-add-btn { 
    display: none; 
    position: absolute; 
    top: 12px; 
    right: 145px; 
    width: 42px; 
    height: 42px; 
    background: #f43f5e !important; 
    color: white !important; 
    border-radius: 12px; 
    cursor: pointer; 
    z-index: 1000; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    transition: all 0.2s ease; 
    border: 1px solid rgba(255,255,255,0.2);
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
  }
  .split-active #pending-add-btn { display: flex !important; }
  #pending-add-btn:active { transform: scale(0.9); background: #e11d48 !important; }
  #pending-add-btn .plus-char { font-size: 28px; font-weight: 400; margin-bottom: 4px; }
  #pending-editor-modal { 
      display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; 
      background: rgba(0,0,0,0.7); z-index: 99999 !important; backdrop-filter: blur(5px); 
      align-items: center; justify-content: center; 
  }
  .je-modal-scroll {
      max-height: calc(90vh - 120px);
      overflow-y: auto;
      padding-right: 0;
      margin-bottom: 15px;
      scrollbar-width: none; 
      -ms-overflow-style: none; 
  }
  .je-modal-scroll::-webkit-scrollbar { display: none; }
  .alloc-tech-group { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
  .alloc-tech-btn { 
      flex: 1; 
      min-width: 60px; 
      padding: 10px 5px; 
      border-radius: 10px; 
      border: 1.5px solid #cbd5e1; 
      background: white; 
      color: #475569; 
      font-weight: 800; 
      font-size: 12px; 
      cursor: pointer; 
      transition: 0.2s; 
      text-align: center;
      font-family: inherit;
  }
  .alloc-tech-btn:active { transform: scale(0.95); }
  .alloc-tech-btn.active { background: #3498db !important; color: white !important; border-color: #3498db !important; box-shadow: 0 2px 6px rgba(52,152,219,0.3); }
  .alloc-date-input { border-radius: 10px !important; color: #1e293b !important; font-weight: 800 !important; cursor: pointer; text-align: center; }
  #date-picker-overlay { z-index: 100005 !important; }
  .pe-box { 
      background: white; 
      width: 92%; 
      max-width: 450px; 
      border-radius: 20px; 
      padding: 25px; 
      box-sizing: border-box; 
      box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
      max-height: 90vh; 
      overflow-y: auto; 
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 
      -webkit-font-smoothing: antialiased; 
      scrollbar-width: none; 
  }
  .pe-box::-webkit-scrollbar { display: none; }
  .color-picker-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 5px; margin-bottom: 15px; }
  .color-dot { width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: 0.2s; position: relative; }
  .color-dot.active { border-color: #1e293b; transform: scale(1.1); box-shadow: 0 0 10px rgba(0,0,0,0.15); }
  .color-dot.active::after { content: '✓'; position: absolute; color: white; font-size: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
  #pending-editor-modal .price-parts-row { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
  #pending-editor-modal .je-price-wrapper { position: relative; }
  #pending-editor-modal .je-price-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-weight: 700; color: #64748b; pointer-events: none; font-size: 14px; }
  #pending-editor-modal .je-price-input { padding-left: 24px !important; font-variant-numeric: tabular-nums; }
  #pending-editor-modal .pb-top-row { display: flex; align-items: center; gap: 6px; height: 40px; }
  #pending-editor-modal .pb-top-left { flex: 1 1 auto; min-width: 0; }
  #pending-editor-modal .pb-controls { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; background: #fff; height: 38px; }
  #pending-editor-modal .pb-btn { width: 36px; height: 100%; border: none; background: #f1f5f9; color: #1e293b; font-size: 18px; font-weight: 700; cursor: pointer; padding: 0; font-family: inherit; }
  #pending-editor-modal .pb-btn:active { background: #e2e8f0; }
  #pending-editor-modal .pb-val { min-width: 34px; text-align: center; font-weight: 800; font-size: 15px; color: #0f172a; font-variant-numeric: tabular-nums; }
  #pending-editor-modal .pb-toggle-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: #475569; font-size: 12px; cursor: pointer; flex: 0 0 auto; padding: 0; }
  #pending-editor-modal .pb-v-row { display: grid; grid-template-columns: 56px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 0; }
  #pending-editor-modal .pb-v-row .pb-controls { height: 32px; }
  #pending-editor-modal .pb-v-row .pb-btn { width: 30px; font-size: 16px; }
  #pending-editor-modal .pb-v-name { font-size: 11px; font-weight: 800; color: #475569; letter-spacing: .3px; }
  #pending-editor-modal .pb-v-memo { height: 32px; min-width: 0; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 8px; font-size: 12.5px; font-family: inherit; box-sizing: border-box; width: 100%; }
  #pending-editor-modal .color-picker-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
  @media (max-width: 420px) { #pending-editor-modal .color-dot { width: 28px; height: 28px; } }
  #pending-editor-modal .pe-box { font-family:var(--tsp-ff, Inter, sans-serif) !important; padding:20px 20px 16px; border-radius:18px; max-width:480px; }
  #pending-editor-modal .pe-box input, #pending-editor-modal .pe-box textarea, #pending-editor-modal .pe-box button { font-family:var(--tsp-ff, Inter, sans-serif) !important; -webkit-font-smoothing:antialiased; }
  #pending-editor-modal .je-header-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px !important; }
  #pending-editor-modal .je-title { font-size:17px !important; font-weight:800 !important; color:#0f172a !important; letter-spacing:-.1px; text-align:left !important; }
  #pending-editor-modal .je-delete-btn { height:32px; padding:0 14px !important; border-radius:16px !important; background:#fff !important; color:#dc2626 !important; border:1px solid #fecaca !important; font-size:12px !important; font-weight:700 !important; letter-spacing:.3px; }
  #pending-editor-modal .je-delete-btn:hover { background:#fef2f2 !important; }
  #pending-editor-modal .je-modal-scroll { max-height:calc(100dvh - 190px); margin-bottom:12px; }
  #pending-editor-modal .je-f-row { display:flex; gap:8px; margin-bottom:8px; }
  #pending-editor-modal .je-f-col { flex:1; min-width:0; }
  #pending-editor-modal .je-f-label { font-size:9.5px !important; font-weight:800 !important; color:#64748b !important; letter-spacing:.3px; text-transform:uppercase; margin:0 0 4px 2px; text-align:left; }
  #pending-editor-modal .pe-fl { position:relative; }
  #pending-editor-modal .pe-fl > .je-f-label { position:absolute; left:11px; top:6px; margin:0; z-index:1; pointer-events:none; }
  #pending-editor-modal .pe-fl .je-f-input { height:46px; padding:19px 11px 5px !important; border:1px solid #dde3ea !important; border-radius:9px !important; font-size:15px !important; font-weight:600 !important; color:#0f172a; background:#fff; box-sizing:border-box; width:100%; outline:none; }
  #pending-editor-modal .pe-fl .je-f-input:focus { border-color:#6366f1 !important; box-shadow:0 0 0 3px rgba(99,102,241,.1); }
  #pending-editor-modal .pe-fl:focus-within > .je-f-label { color:#6366f1 !important; }
  #pending-editor-modal .pe-fl .je-f-textarea { height:auto; min-height:70px; padding-top:22px !important; line-height:1.4; resize:none; }
  #pending-editor-modal #pe-ticket { background:#f8fafc !important; color:#c2410c !important; letter-spacing:.2px; }
  #pending-editor-modal #pe-model { color:#2563eb !important; letter-spacing:.2px; }
  #pending-editor-modal .pe-fl .je-price-wrapper { position:static; }
  #pending-editor-modal .pe-fl .je-price-icon { top:auto; bottom:9px; transform:none; left:11px; font-size:15px; }
  #pending-editor-modal .pe-fl .je-price-input { padding-left:24px !important; }
  #pending-editor-modal .price-parts-row { gap:8px; margin-bottom:8px; align-items:flex-end; }
  #pending-editor-modal .pb-top-row { height:46px; }
  #pending-editor-modal .pb-controls { height:46px; border-color:#dde3ea; border-radius:9px; }
  #pending-editor-modal .pb-btn { width:40px; font-size:18px; background:#f8fafc; }
  #pending-editor-modal .pb-toggle-btn { width:46px; height:46px; border-color:#dde3ea; border-radius:9px; }
  #pending-editor-modal .grid-divider { margin:12px 0 !important; border-top:1px solid #e2e8f0 !important; }
  #pending-editor-modal .alloc-tech-group { gap:6px; margin-top:2px; }
  #pending-editor-modal .alloc-tech-btn { flex:0 0 auto; min-width:0; display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 14px; border-radius:20px; border:1px solid #dde3ea; background:#fff; color:#334155; font-size:14px; font-weight:700; box-shadow:none; }
  #pending-editor-modal .alloc-tech-btn i { width:10px; height:10px; border-radius:50%; background:var(--tc, #64748b); }
  #pending-editor-modal .alloc-tech-btn.active { background:var(--tc, #2563eb) !important; border-color:var(--tc, #2563eb) !important; color:#fff !important; box-shadow:none; }
  #pending-editor-modal .alloc-tech-btn.active i { background:#fff; }
  #pending-editor-modal .pe-assign-row { display:flex; flex-direction:column; gap:10px; }
  #pending-editor-modal #pe-alloc-date { text-align:left !important; cursor:pointer; color:#0f172a !important; }
  #pending-editor-modal .je-btn-row { display:flex !important; flex-direction:row !important; align-items:center; gap:8px; margin:0; }
  #pending-editor-modal .je-btn-row .je-btn { flex:1 1 0 !important; margin:0 !important; width:auto !important; }
  #pending-editor-modal .je-btn-row .je-btn-cancel { background:#fff !important; color:#334155 !important; border:1px solid #cbd5e1 !important; }
  #pending-editor-modal .je-btn-row .je-btn-cancel:hover { background:#f1f5f9 !important; }
  #pending-editor-modal .je-btn-row .je-btn-save { background:#2563eb !important; color:#fff !important; border:0 !important; }
  #pending-editor-modal .je-btn-row .je-btn-save:hover { background:#1d4ed8 !important; }
  #pending-editor-modal .je-f-label { text-align:left !important; }
  #pending-editor-modal .alloc-tech-btn b { font-weight:700; }
  #pending-editor-modal #pe-update-btn { background:#fff !important; color:#047857 !important; border:1px solid #a7f3d0 !important; }
  #pending-editor-modal #pe-update-btn:hover { background:#ecfdf5 !important; }
  #pending-editor-modal #pe-save-btn { flex:1.3 1 0 !important; }
