#ep-fab-pop, #ep-proj-pop{
  padding:12px 16px;
  align-items:stretch;
  justify-content:center;
}
.ep-pop__card.ep-pop__card--fab{
  width:min(1200px,calc(100vw - 24px));
  max-width:min(1200px,calc(100vw - 24px));
  height:calc(100vh - 24px);
  max-height:calc(100vh - 24px);
  min-height:0;
  overflow:hidden;
  padding:0;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}
.ep-pop__card--fab .ep-sub-head,
.ep-pop__card--fab .ep-sub-foot{flex:0 0 auto}
.ep-pop__card--fab .ep-sub-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:16px 18px;
}
.ep-fab-empty{margin:0;padding:8px 0;color:var(--muted);font-size:14px;text-align:center}
.fab-proj-produk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0}
.fab-wo-card{border:1px solid #d7dde5;background:#fff;border-radius:18px;padding:18px;text-align:left;min-width:0}
.fab-wo-card.fab-wo-card--filter-hit{
  border:3px solid #0d9488;
  background:rgba(204,251,241,.48);
  box-shadow:0 0 0 1px rgba(13,148,136,.16),inset 0 0 0 9999px rgba(13,148,136,.06);
}
.fab-wo-card-head{position:relative}
.fab-wo-card-head h2{margin:0 0 6px;font-size:2rem;line-height:1.1;text-align:center}
.fab-proj-wo-no{margin:0 0 8px;font-size:1.7rem;font-weight:800;color:#16a34a}
.fab-wo-meta{margin:0 0 12px;padding:0;list-style:none}
.fab-wo-meta li{display:flex;gap:10px;font-size:1rem;line-height:1.35;margin-bottom:2px}
.fab-wo-meta .k{width:110px;color:#1f2937;font-weight:700;flex-shrink:0}
.fab-wo-meta .v{color:#111827;flex:1;min-width:0;overflow-wrap:anywhere}
.fab-wo-meta li.keterangan-row .v,
.fab-wo-meta li.kebutuhan-row .v{color:#14b8a6;font-weight:700}
.fab-wo-meta li.kebutuhan-row .fab-wo-kebutuhan-pelanggan{display:block;margin-top:2px;color:#dc2626;font-weight:400;font-size:.92rem;line-height:1.3}
.fab-wo-body{position:relative;box-sizing:border-box;border-top:1px dashed #cbd5e1;padding-top:10px;margin-top:8px}
.fab-wo-flow{display:flex;flex-direction:column;width:100%;min-width:0;box-sizing:border-box}
.fab-wo-block{padding:0 0 14px;margin:0}
.fab-wo-block:last-child{padding-bottom:0}
.fab-wo-selesai-actions{display:flex;flex-wrap:nowrap;gap:6px;width:100%;margin:0}
.fab-wo-selesai-actions .fab-wo-step-open{flex:1 1 0;min-width:0;width:0;text-align:center;margin:0}
.fab-wo-step-open{display:inline-block;margin:0 0 6px;padding:5px 12px;border:1px solid;font:inherit;font-size:1rem;font-weight:700;border-radius:8px;text-align:left;cursor:pointer;line-height:1.25;background:#fff}
.fab-wo-step-open--dok{border-color:#2563eb;color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.fab-wo-step-open--list{border-color:#2563eb;color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.fab-wo-step-open--cetak{border-color:#0d9488;color:#0f766e;background:#f0fdfa;box-shadow:0 0 0 3px rgba(13,148,136,.18)}
.fab-wo-card--project .fab-wo-body{padding-right:0;--fab-wo-ring-pad:0;display:flex;flex-direction:column;gap:10px}
.fab-wo-card--project .fab-block-selesai{width:100%;margin-right:0}
.fab-wo-card--project .fab-block-proses{width:100%}
.fab-wo-card--project .fab-wo-meta{margin-bottom:8px}
.fab-wo-card--project .fab-wo-meta li{font-size:.86rem;line-height:1.3;margin-bottom:1px}
.fab-wo-card--project .fab-wo-meta .k{width:96px;font-size:.86rem}
.fab-wo-card--project .fab-wo-meta .v{font-size:.86rem}
.fab-wo-card--project .fab-wo-meta li.kebutuhan-row .fab-wo-kebutuhan-pelanggan{font-size:.8rem}
.fab-wo-card--project .fab-wo-selesai-actions .fab-wo-step-open{font-size:.82rem;padding:5px 8px}
.fab-wo-card--project .fab-proj-wo-file{border-color:#94a3b8;color:#475569;background:#f1f5f9;box-shadow:0 0 0 3px rgba(148,163,184,.22)}
.fab-wo-proses-grid{display:flex;align-items:flex-start;width:100%;max-width:100%;box-sizing:border-box;gap:0}
.fab-wo-proses-col{flex:1 1 0;min-width:0;width:0;text-align:left;box-sizing:border-box}
.fab-wo-proses-col-title{margin:0 0 6px;font-size:.88rem;font-weight:700;line-height:1.25;color:#16a34a;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid rgba(22,163,74,.42);padding-bottom:3px}
.fab-wo-proses-col ul{list-style:none;padding:0;margin:2px 0 0;color:inherit;font-size:.72rem;line-height:1.28;text-align:left}
.fab-wo-proses-col ul li.fab-wo-stage-lbl{margin:0 0 1px;overflow-wrap:anywhere;font-weight:600}
.fab-wo-proses-col ul li.fab-wo-stage-lbl::before{content:"- "}
.fab-wo-stage-lbl--antri{color:#dc2626}
.fab-wo-stage-lbl--aktif,.fab-wo-stage-lbl--wo{color:#2563eb}
.fab-wo-stage-lbl--proses{color:#ca8a04}
.fab-wo-stage-lbl--selesai{color:#16a34a}
.fab-proj-wo-stage-key{margin:8px 0 0;padding:8px 0;border-top:1px dashed #94a3b8;border-bottom:1px dashed #94a3b8}
.fab-proj-wo-stage-key-title{margin:0 0 4px;font-size:.78rem;font-weight:700;color:#334155}
.fab-proj-wo-stage-key-list{display:flex;flex-wrap:nowrap;gap:4px 8px;margin:0;padding:0;list-style:none;font-size:.58rem;font-weight:700;line-height:1.25;white-space:nowrap}
.fab-proj-wo-stage-key-list .is-blue{color:#2563eb}
.fab-proj-wo-stage-key-list .is-yellow{color:#ca8a04}
.fab-proj-wo-stage-key-list .is-green{color:#16a34a}
.fab-proj-wo-progress{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:4px}
.fab-proj-wo-legend{margin:0;padding:0;list-style:none;font-size:12px;line-height:1.45;font-weight:700}
.fab-proj-wo-legend .is-orange{color:#ea580c}
.fab-proj-wo-legend .is-red{color:#dc2626}
.fab-proj-wo-legend .is-green{color:#16a34a}
.fab-proj-wo-legend .is-blue{color:#2563eb}
.fab-progress-wrap{position:static;width:auto;padding-bottom:0;display:flex;justify-content:center}
.fab-progress-ring{width:123px;height:123px;border-radius:999px;display:grid;place-items:center;background:#e2e8f0;border:0;padding:0}
.fab-progress-ring .inner{width:86px;height:86px;border-radius:999px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.08rem;font-weight:800;color:#4b5563;line-height:1.05;padding:0 2px;box-sizing:border-box}
.fab-progress-ring .inner > span:first-child{display:block;max-width:100%;font-size:1rem;letter-spacing:-0.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.fab-progress-ring--static{cursor:default}
.fab-wo-card--project .fab-progress-wrap{position:static;width:auto;padding-bottom:0}
@media(max-width:720px){
  .fab-proj-produk-grid{grid-template-columns:1fr}
  .fab-wo-card--project .fab-wo-card-head h2{font-size:1.15rem;line-height:1.2}
  .fab-wo-card--project .fab-proj-wo-no{font-size:1.15rem;margin-bottom:6px}
  .fab-wo-card--project .fab-wo-meta li{font-size:.62rem;line-height:1.2}
  .fab-wo-card--project .fab-wo-meta .k{width:68px;font-size:.6rem}
  .fab-wo-card--project .fab-wo-meta .v{font-size:.62rem}
  .fab-wo-card--project .fab-wo-meta li.kebutuhan-row .fab-wo-kebutuhan-pelanggan{font-size:.58rem}
  .fab-wo-card--project .fab-wo-selesai-actions .fab-wo-step-open{font-size:.68rem;padding:4px 4px}
  .fab-wo-card--project .fab-wo-proses-col-title{font-size:.62rem;line-height:1.15;white-space:normal}
  .fab-wo-card--project .fab-wo-proses-col ul{font-size:.5rem;line-height:1.15}
  .fab-wo-card--project .fab-wo-proses-col ul li.fab-wo-stage-lbl{margin-bottom:0}
  .fab-proj-wo-stage-key{margin-top:6px;padding:6px 0}
  .fab-proj-wo-stage-key-title{font-size:.7rem}
  .fab-proj-wo-stage-key-list{font-size:.5rem;gap:2px 6px}
}
.ep-pop--fab-layer{z-index:140}
.ep-pop--fab-over{z-index:150}
#ep-fab-dok-pop, #ep-fab-file-pop, #ep-fab-pdf-pop, #ep-fab-cetak-pop, #ep-fab-dok-video-view{
  padding:12px 16px;
  align-items:stretch;
  justify-content:center;
}
.ep-pop__card--fab .ep-sub-foot{
  flex:0 0 auto;padding:10px 16px 14px;display:flex;justify-content:flex-end;gap:8px;
}
.ep-pop__card--fab-dok{max-width:min(1180px,calc(100vw - 16px));max-height:92vh;overflow:auto;padding:16px 16px 12px;width:100%}
.ep-pop__card--fab-file{max-width:min(860px,calc(100vw - 16px));max-height:92vh;overflow:auto;padding:16px;width:100%}
.ep-pop__card--cetak{
  width:min(920px,calc(100vw - 24px));
  max-width:min(920px,calc(100vw - 24px));
  height:calc(100vh - 24px);
  max-height:calc(100vh - 24px);
  display:flex;flex-direction:column;overflow:hidden;
}
.ep-sub-head--cetak{align-items:center;gap:12px}
.ep-cetak-head-actions{
  display:flex;align-items:center;gap:8px;flex:0 0 auto;
}
.ep-cetak-print-btn{
  width:auto;min-width:88px;padding:8px 16px;font-size:13px;font-weight:700;
  border:0;border-radius:10px;cursor:pointer;font-family:inherit;
}
.ep-fab-iframe-stage{
  flex:1 1 auto;min-height:0;padding:0 16px 8px;display:flex;box-sizing:border-box;
}
.ep-fab-iframe-stage iframe{
  flex:1 1 auto;width:100%;min-height:0;height:100%;border:1px solid #e2e8f0;border-radius:10px;background:#fff;
}
.ep-fab-dok-video-stage{
  flex:1 1 auto;min-height:0;padding:16px;display:flex;align-items:center;justify-content:center;
  background:#f8fafc;box-sizing:border-box;
}
.ep-fab-dok-video-stage iframe{
  width:min(1100px,100%);aspect-ratio:16/9;height:auto;max-height:calc(100vh - 180px);
  border:0;border-radius:10px;background:#0f172a;
}
.fab-wo-bahan-wo-no{margin:0 0 8px;font-size:1.35rem;font-weight:800;color:#16a34a}
.fab-wo-bahan-meta{margin:0 0 12px}
.fab-wo-dok-menu-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;margin:0 0 14px;width:100%}
.fab-wo-dok-menu-actions .fab-wo-step-open{flex:1 1 0;min-width:148px;margin:0;text-align:center}
.fab-wo-dok-foot{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0}
.fab-wo-bahan-panel-back{display:inline-block;margin:0 0 10px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit;font-size:13px;cursor:pointer}
.fab-wo-dok-foto-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 8px}
.fab-wo-dok-foto-slot{aspect-ratio:4/3;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;text-align:center;min-height:120px}
.fab-wo-dok-foto-slot-num{font-size:.72rem;font-weight:700;color:#64748b}
.fab-wo-dok-foto-slot-empty{font-size:.78rem;color:#94a3b8;line-height:1.35}
.fab-wo-dok-foto-slot--filled{border-style:solid;padding:0;overflow:hidden;position:relative;background:#fff}
.fab-wo-dok-foto-lamps{position:absolute;top:6px;left:6px;display:flex;gap:4px;z-index:2;pointer-events:none}
.fab-wo-dok-foto-lamp{width:10px;height:10px;border-radius:999px;background:#cbd5e1;box-shadow:0 0 0 2px rgba(15,23,42,.35)}
.fab-wo-dok-foto-lamp.lamp-host.is-on{background:#eab308}
.fab-wo-dok-foto-lamps .fab-wo-dok-foto-lamp.lamp-host.is-on.is-thumb{background:#dc2626}
.fab-wo-dok-foto-lamp.lamp-syn.is-on{background:#2563eb}
.fab-wo-dok-foto-slot-img{width:100%;height:100%;object-fit:cover;display:block;min-height:120px;cursor:pointer}
.fab-wo-dok-foto-nas{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px 12px 22px;background:#f8fafc;color:#64748b}
.fab-wo-dok-foto-nas-text{font-size:.78rem;line-height:1.35;max-width:90%}
.fab-wo-dok-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fab-wo-dok-video-slot{border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#fff}
.fab-wo-dok-video-slot-title{margin:0 0 8px;font-size:13px}
.fab-wo-dok-video-slot-player{aspect-ratio:16/9;background:#0f172a;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.fab-wo-dok-video-slot-player iframe{width:100%;height:100%;border:0}
.fab-wo-dok-video-slot-empty{color:#94a3b8;font-size:13px}
.fab-wo-dok-video-link-row{display:flex;gap:6px;margin-top:8px}
.fab-wo-dok-video-link-row .input{flex:1;min-width:0;padding:8px;border:1px solid #e2e8f0;border-radius:8px;font:inherit;font-size:12px}
.fab-wo-dok-video-link-row .btn{display:inline-flex;align-items:center;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;text-decoration:none;font-size:12px;font-weight:700}
.fab-proj-foto-view-stage{display:flex;align-items:center;gap:8px}
.fab-proj-foto-preview{flex:1;min-height:240px;display:grid;place-items:center;background:#0f172a;border-radius:10px;overflow:hidden}
.fab-proj-foto-preview img{max-width:100%;max-height:70vh;object-fit:contain}
.fab-proj-foto-nav{width:40px;height:40px;border:0;border-radius:999px;background:#fff;font-size:22px;cursor:pointer}
.fab-proj-foto-view-pos,.fab-proj-data-folder{margin:8px 0 0;font-size:13px;color:#475569}
.fab-wo-table-wrap{border:1px solid #dbe2ea;border-radius:10px;overflow:auto;background:#fff;max-height:430px}
.fab-wo-table{width:100%;border-collapse:separate;border-spacing:0}
.fab-wo-table thead th{background:#f8fafc;font-size:13px;text-align:left;padding:10px 12px;border-bottom:1px solid #dbe2ea}
.fab-wo-table tbody td{padding:10px 12px;border-bottom:1px solid #eef2f7;font-size:13px;vertical-align:top}
.fab-wo-empty{text-align:center;color:#64748b}
.fab-wo-doc-name-row{display:flex;gap:8px;align-items:flex-start}
.fab-wo-doc-lamps{display:flex;gap:4px;margin-top:4px}
.fab-wo-doc-name{word-break:break-word;overflow-wrap:anywhere;white-space:normal;line-height:1.4}
.fab-wo-doc-btns{display:flex;flex-wrap:wrap;gap:6px}
.fab-wo-doc-btns--pdf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:148px}
.fab-wo-doc-btns .btn,.fab-wo-doc-btns .fab-mini-btn{
  padding:5px 10px;font-size:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer;
  box-sizing:border-box;text-align:center;justify-content:center;
}
.fab-wo-doc-btns .btn:disabled,.fab-wo-doc-btns .fab-mini-btn:disabled{opacity:.5;cursor:not-allowed}
.fab-wo-doc-pending{font-size:12px;color:#b45309;margin-top:4px}
.fab-wo-kerja-pdf-frame{width:100%;min-height:70vh;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.fab-histori-hint{margin:0 0 12px;font-size:13px;color:#64748b}

.ep-proj-view-head{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;flex:0 0 auto;width:100%;box-sizing:border-box}
.ep-proj-view-head .ep-sub-head{width:100%;margin:0;padding:14px 16px 8px;border-bottom:0;box-sizing:border-box}
.ep-proj-view-tabs{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;
  flex:0 0 auto;width:100%;margin:0;padding:0 16px 10px;box-sizing:border-box;
}
.ep-proj-view-tab{
  margin:0;padding:8px 6px;border:1px solid var(--teal);border-radius:8px;
  background:#fff;color:var(--teal);font:inherit;font-size:.82rem;font-weight:700;
  line-height:1.25;text-align:center;cursor:pointer;width:100%;min-width:0;min-height:42px;
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
}
.ep-proj-view-tab:hover{background:rgba(13,148,136,.12)}
.ep-proj-view-tab.is-active{background:rgba(13,148,136,.16);border-color:var(--teal);color:var(--teal-dark);box-shadow:0 0 0 3px rgba(13,148,136,.18)}
.ep-proj-view-body{
  flex:1 1 auto;min-height:0;overflow:auto;margin:0 16px 16px;padding:14px;
  border:1px dashed var(--teal);border-radius:12px;background:rgba(13,148,136,.04);
}
.ep-proj-view-pane[hidden]{display:none!important}
.ep-proj-foto-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ep-proj-foto-slot{
  aspect-ratio:9/16;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  padding:8px;text-align:center;position:relative;overflow:hidden;
}
.ep-proj-foto-slot.is-filled{border-style:solid;padding:0;background:#0f172a}
.ep-proj-foto-slot img{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer}
.ep-proj-foto-num{font-size:.72rem;font-weight:700;color:#64748b}
.ep-proj-foto-empty{font-size:.78rem;color:#94a3b8;line-height:1.35;padding:8px}
.ep-proj-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-proj-video-slot{border:1px dashed #99f6e4;border-radius:12px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:10px}
.ep-proj-video-title{margin:0;font-size:.92rem;font-weight:800;color:var(--teal-dark)}
.ep-proj-video-caption{font-size:.86rem;font-weight:700;color:#0f172a}
.ep-proj-video-player{position:relative;aspect-ratio:16/9;border-radius:8px;background:#0f172a;overflow:hidden;min-height:140px;display:flex;align-items:center;justify-content:center}
.ep-proj-video-player iframe{width:100%;height:100%;border:0}
.ep-proj-video-empty{color:#94a3b8;font-size:.82rem;padding:12px;text-align:center}
.ep-proj-video-link a{
  display:inline-flex;align-items:center;padding:8px 10px;border:1px solid var(--teal);
  border-radius:8px;background:#fff;text-decoration:none;font-size:12px;font-weight:700;color:var(--teal);white-space:nowrap;
}
.ep-proj-files-wrap{overflow:auto;max-width:100%}
.ep-proj-file-nav-bar{display:flex;align-items:flex-start;gap:8px;margin:0 0 10px;min-width:0}
.ep-proj-file-back{flex:0 0 auto;min-width:36px;padding:5px 10px;line-height:1.2;font-weight:700;border:1px solid var(--teal);border-radius:8px;background:#fff;color:var(--teal);cursor:pointer;font:inherit}
.ep-proj-file-path{flex:1 1 0;min-width:0;font-size:14px;font-weight:400;font-style:italic;color:#334155;line-height:1.4;overflow-wrap:anywhere;word-break:break-word}
.ep-proj-folder-open{border:0;background:transparent;padding:0;font:inherit;font-weight:700;color:var(--teal-dark);cursor:pointer;text-align:left}
.ep-proj-folder-open:hover{text-decoration:underline}
.ep-proj-files-table{width:100%;border-collapse:collapse}
.ep-proj-files-table th,.ep-proj-files-table td{padding:8px 10px;border-bottom:1px solid #e2ecea;text-align:left;vertical-align:middle;font-size:13px}
.ep-proj-files-table th{background:rgba(13,148,136,.12);color:var(--teal-dark)}
.ep-proj-file-acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.ep-proj-file-acts .btn{padding:6px 10px;font-size:12px;border:1px solid var(--teal);border-radius:8px;background:#fff;color:var(--teal);cursor:pointer;font-weight:700}
.ep-proj-file-acts .btn:disabled{opacity:.45;cursor:not-allowed}
.ep-proj-files-table--file-docs .fab-wo-doc-btns .btn{
  padding:6px 10px;font-size:12px;border:1px solid var(--teal);border-radius:8px;background:#fff;color:var(--teal);font-weight:700;
}
.ep-proj-files-table--file-docs .fab-wo-doc-btns .btn:disabled{opacity:.45;cursor:not-allowed}
#ep-proj-file-pop{
  background:#eef6f5;
  padding:12px 16px;
  align-items:stretch;
  justify-content:center;
}
#ep-proj-file-pop .ep-sub-head--proj-file{align-items:flex-start;padding:10px 14px}
#ep-proj-file-pop .ep-sub-head--proj-file h3{
  flex:1 1 auto;min-width:0;margin:0;padding-right:8px;
  font-size:13px;font-weight:700;line-height:1.35;color:var(--teal-dark);
  word-break:break-word;overflow-wrap:anywhere;white-space:normal;
}
#ep-proj-file-pop .ep-sub-head--proj-file .ep-pop__close{flex:0 0 auto;margin-top:1px}
.ep-proj-file-stage{
  flex:1 1 auto;min-height:0;overflow:auto;
  background:#f8fafc;padding:12px 16px 8px;
  display:flex;flex-direction:column;box-sizing:border-box;
}
.ep-proj-file-progress{flex:0 0 auto;max-width:720px;width:100%;margin:24px auto 0;box-sizing:border-box}
.ep-proj-file-wait{margin:0 0 10px;font-size:.92rem;font-weight:700;color:var(--teal-dark);text-align:center}
.ep-proj-file-bar{height:12px;border-radius:999px;background:#d9eee9;overflow:hidden}
.ep-proj-file-bar>span{display:block;height:100%;width:0;background:var(--teal);border-radius:999px;transition:width .25s ease}
.ep-proj-file-pages{flex:1 1 auto;min-height:0;width:100%}
.ep-proj-file-sheet{
  width:min(1120px,100%);margin:12px auto;background:#fff;
  box-shadow:0 1px 8px rgba(15,23,42,.08);border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;
}
.ep-proj-file-sheet canvas{display:block;width:100%;height:auto;background:#fff}
.ep-proj-note{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.55;color:#0f172a;min-height:160px}
.ep-proj-produk-bar{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;position:relative;z-index:20;width:100%}
.ep-proj-produk-label{font-size:12px;font-weight:700;margin:0}
.ep-proj-produk-row{display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;width:100%}
.ep-proj-produk-combo{position:relative;flex:1 1 auto;min-width:0;display:block}
.ep-proj-produk-row .input{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit}
.ep-proj-produk-actions{flex:0 0 auto;display:flex;gap:8px;align-items:center}
.ep-proj-produk-actions .btn{padding:8px 12px;border-radius:8px;border:1px solid var(--teal);background:#fff;color:var(--teal);font-weight:700;cursor:pointer;white-space:nowrap;font:inherit}
.ep-proj-produk-suggest{
  position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:90;
  margin:0;padding:4px 0;list-style:none;max-height:240px;overflow:auto;
  background:#fff;border:1px solid var(--line);border-radius:8px;
  box-shadow:0 12px 28px rgba(15,23,42,.18);
}
.ep-proj-produk-suggest[hidden]{display:none!important}
.ep-proj-produk-suggest-item{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:13px;font-weight:600;color:#0f172a;cursor:pointer}
.ep-proj-produk-suggest-item input{flex:0 0 auto;width:16px;height:16px;margin:0;accent-color:#0d9488}
.ep-proj-produk-suggest-item span{min-width:0}
.ep-proj-produk-suggest-item mark{background:#ccfbf1;color:#115e59;font-weight:800;padding:0}
.ep-proj-produk-suggest-item[aria-selected="true"],.ep-proj-produk-suggest-item:hover{background:#f0fdfa;color:#0f766e}
.ep-proj-produk-suggest-empty{padding:8px 12px;font-size:13px;font-weight:600;color:var(--muted)}
.ep-proj-hint{margin:0;font-size:13px;color:var(--muted)}
.ep-proj-foto-dl{
  display:inline-block;margin-left:8px;padding:8px 12px;border-radius:8px;
  border:1px solid var(--teal);color:var(--teal);background:#fff;
  font:inherit;font-weight:700;font-size:13px;cursor:pointer;box-sizing:border-box;
}
.ep-proj-foto-dl[hidden]{display:none!important}

@media(max-width:720px){
  #ep-fab-pop,#ep-proj-pop,#ep-fab-dok-pop,#ep-fab-file-pop,#ep-fab-pdf-pop,#ep-fab-cetak-pop,#ep-fab-dok-video-view,#ep-proj-file-pop,
  .ep-pop.ep-pop--fab-over,.ep-pop.ep-pop--fab-layer{
    padding-bottom:calc(12px + var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px));
    box-sizing:border-box;
  }
  .ep-pop__card.ep-pop__card--fab{
    height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
    max-height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
  }
  .ep-pop__card--fab .ep-sub-body,
  .ep-proj-view-body,
  .ep-proj-file-stage{
    padding-bottom:calc(16px + var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px) + 8px);
    scroll-padding-bottom:calc(var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px) + 12px);
  }
  .ep-pop__card--fab .ep-sub-foot{
    padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));
  }
  .fab-wo-table-wrap{max-height:none}
  .ep-fab-iframe-stage{
    padding-bottom:calc(8px + var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px));
  }
  .ep-pop__card--cetak{
    height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
    max-height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
  }
  .ep-pop__card--fab-file,
  .ep-pop__card--fab-dok{
    max-height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
    padding-bottom:calc(12px + var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px));
    scroll-padding-bottom:calc(var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px) + 12px);
  }
  .ep-pop__card--proj-file{
    max-height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px));
  }
  .fab-wo-dok-foto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fab-wo-dok-video-grid{grid-template-columns:1fr}
  .fab-wo-dok-menu-actions .fab-wo-step-open{flex:1 1 calc(50% - 4px);min-width:0;font-size:.78rem}
  #ep-proj-pop .ep-pop__card.ep-pop__card--fab{
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    scroll-padding-bottom:calc(var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px) + 12px);
    padding-bottom:calc(var(--bottomnav-h,88px) + env(safe-area-inset-bottom,0px) + 4px);
  }
  #ep-proj-pop .ep-proj-view-head .ep-sub-head{padding:10px 14px 6px}
  #ep-proj-pop .ep-proj-view-head{gap:6px}
  .ep-proj-view-tabs{grid-template-columns:1fr;padding:0 12px 8px;gap:5px}
  .ep-proj-view-tab{
    min-height:32px;
    padding:5px 8px;
    font-size:.84rem;
    line-height:1.2;
    border-radius:7px;
  }
  #ep-proj-pop .ep-proj-view-body{
    flex:0 0 auto;
    overflow:visible;
    min-height:calc(100dvh - 24px - var(--bottomnav-h,88px) - env(safe-area-inset-bottom,0px) - 200px);
    margin:0 12px 12px;
    padding-bottom:14px;
    scroll-padding-bottom:0;
  }
  .ep-proj-foto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-proj-video-grid{grid-template-columns:1fr}
  .ep-proj-view-body{margin:0 12px 12px}
  .ep-proj-produk-row{flex-wrap:wrap;align-items:stretch}
  .ep-proj-produk-combo{flex:1 1 100%;width:100%}
  .ep-proj-produk-actions{
    flex:1 1 100%;width:100%;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  }
  .ep-proj-produk-actions .btn{
    width:100%;padding:6px 10px;min-height:34px;font-size:13px;
    text-align:center;box-sizing:border-box;
  }
  .ep-proj-produk-row .input{padding:7px 10px;font-size:14px}
  .fab-wo-table--file-docs thead,
  .ep-proj-files-table--file-docs thead{display:none}
  .fab-wo-table--file-docs tbody tr.ep-file-doc-row,
  .ep-proj-files-table--file-docs tbody tr.ep-file-doc-row{
    display:block;border:1px solid #dbe2ea;border-radius:10px;margin:0 0 10px;padding:12px;background:#fff;
  }
  .fab-wo-table--file-docs tbody tr.ep-file-doc-row:last-child,
  .ep-proj-files-table--file-docs tbody tr.ep-file-doc-row:last-child{margin-bottom:0}
  .fab-wo-table--file-docs tbody td.ep-file-doc-cell,
  .ep-proj-files-table--file-docs tbody td.ep-file-doc-cell{
    display:block;padding:0;border:0;
  }
  .fab-wo-table--file-docs tbody td.ep-file-doc-cell--name,
  .ep-proj-files-table--file-docs tbody td.ep-file-doc-cell--name{margin-bottom:4px}
  .fab-wo-table--file-docs tbody td.ep-file-doc-cell--size,
  .ep-proj-files-table--file-docs tbody td.ep-file-doc-cell--size{
    display:block;margin-bottom:10px;
    font-size:12px;font-weight:600;line-height:1.35;color:#64748b;
    font-variant-numeric:tabular-nums;
  }
  .fab-wo-table--file-docs .fab-wo-doc-name,
  .ep-proj-files-table--file-docs .fab-wo-doc-name{
    font-size:14px;font-weight:700;line-height:1.4;
    word-break:break-word;overflow-wrap:anywhere;white-space:normal;
  }
  .fab-wo-table--file-docs tbody td.ep-file-doc-cell--acts,
  .ep-proj-files-table--file-docs tbody td.ep-file-doc-cell--acts{margin-top:0}
  .ep-proj-folder-row .ep-file-doc-cell--size{display:none!important;margin:0}
  .ep-proj-folder-open{white-space:normal;font-size:14px}
  .fab-wo-table--file-docs .fab-wo-doc-btns--pdf,
  .ep-proj-files-table--file-docs .fab-wo-doc-btns--pdf{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:none;margin:0;
  }
  .fab-wo-table--file-docs .fab-wo-doc-btns--solo,
  .ep-proj-files-table--file-docs .fab-wo-doc-btns--solo{
    display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;max-width:none;margin:0;
  }
  .fab-wo-table--file-docs .fab-wo-doc-btns .btn,
  .fab-wo-table--file-docs .fab-wo-doc-btns .fab-mini-btn,
  .ep-proj-files-table--file-docs .fab-wo-doc-btns .btn,
  .ep-proj-files-table--file-docs .fab-wo-doc-btns .fab-mini-btn{
    width:100%;padding:10px 12px;font-size:13px;font-weight:700;
  }
  .fab-wo-table-wrap:has(.fab-wo-table--file-docs){
    border:0;background:transparent;max-height:none;overflow:visible;
  }
  .ep-proj-files-wrap:has(.ep-proj-files-table--file-docs){overflow:visible}
  #ep-proj-file-pop .ep-sub-head--proj-file h3{font-size:12px}
}

