
/* Final simple IN/OUT: one top button + selfie capture/upload, no auto OUT */
#adminSelfAttPanel,
#mgrSelfAttPanel,
#attSection,
.dt17-att-autoout-card,
.dt17-att-controlled-note,
.dt17-simple-att-note{
  display:none!important;
}
.dt17-simple-top-att{
  position:sticky;
  top:var(--nav-h,56px);
  z-index:999;
  margin:8px auto 12px;
  width:min(860px,calc(100% - 18px));
  border-radius:18px;
  background:#fff;
  border:1px solid #dbeafe;
  box-shadow:0 8px 24px rgba(15,23,42,.10);
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.dt17-simple-top-att-left{display:flex;align-items:center;gap:10px;min-width:0;}
.dt17-simple-top-att-icon{
  width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;font-weight:950;box-shadow:0 8px 18px rgba(37,99,235,.22);flex:0 0 auto;
}
.dt17-simple-top-att-title{font-size:14px;font-weight:950;color:#0f172a;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dt17-simple-top-att-sub{margin-top:3px;font-size:11px;font-weight:800;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px;}
.dt17-simple-top-att-btn{
  border:0;border-radius:15px;height:42px;min-width:112px;padding:0 18px;color:#fff;font-weight:950;font-size:14px;
  display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.16);
}
.dt17-simple-top-att-btn.in{background:linear-gradient(135deg,#10b981,#059669);}
.dt17-simple-top-att-btn.out{background:linear-gradient(135deg,#f59e0b,#f97316);}
.dt17-simple-top-att-btn:disabled{opacity:.65;cursor:wait;}
.dt17-simple-top-att-mini{font-size:10px;font-weight:950;color:#2563eb;background:#eff6ff;border-radius:999px;padding:4px 8px;white-space:nowrap;}
.dt17-selfie-modal{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.58);display:none;align-items:center;justify-content:center;padding:14px;}
.dt17-selfie-modal.show{display:flex;}
.dt17-selfie-box{width:min(430px,100%);background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.35);overflow:hidden;border:1px solid rgba(226,232,240,.9);}
.dt17-selfie-head{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#eff6ff,#f8fafc);}
.dt17-selfie-head b{font-size:15px;color:#0f172a;font-weight:950;}
.dt17-selfie-x{border:0;background:#fff;color:#64748b;width:34px;height:34px;border-radius:50%;font-size:18px;font-weight:900;cursor:pointer;box-shadow:0 4px 12px rgba(15,23,42,.08);}
.dt17-selfie-body{padding:16px;text-align:center;}
.dt17-selfie-video,.dt17-selfie-preview{width:min(280px,100%);aspect-ratio:1/1;border-radius:22px;background:#020617;object-fit:cover;border:3px solid #e0f2fe;display:none;margin:0 auto 12px;}
.dt17-selfie-video{transform:scaleX(-1);}
.dt17-selfie-preview{background:#f8fafc;}
.dt17-selfie-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
.dt17-selfie-action{border:1px solid #dbeafe;border-radius:15px;min-height:46px;background:#f8fafc;color:#0f172a;font-size:13px;font-weight:950;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;}
.dt17-selfie-action.primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:0;box-shadow:0 10px 18px rgba(16,185,129,.22);}
.dt17-selfie-action.warn{background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;border:0;box-shadow:0 10px 18px rgba(249,115,22,.22);}
.dt17-selfie-note{font-size:11px;color:#64748b;font-weight:800;line-height:1.45;margin:8px 0 0;}
.dt17-selfie-canvas,.dt17-selfie-file{display:none;}
@media(max-width:560px){
  .dt17-simple-top-att{width:calc(100% - 12px);margin:6px auto 10px;padding:9px;border-radius:16px;top:var(--nav-h,52px);}
  .dt17-simple-top-att-icon{width:36px;height:36px;}
  .dt17-simple-top-att-title{font-size:13px;}
  .dt17-simple-top-att-sub{font-size:10.5px;max-width:160px;}
  .dt17-simple-top-att-btn{height:40px;min-width:96px;border-radius:13px;padding:0 13px;font-size:13px;}
  .dt17-simple-top-att-mini{display:none;}
  .dt17-selfie-box{border-radius:20px;}
  .dt17-selfie-body{padding:14px;}
  .dt17-selfie-actions{grid-template-columns:1fr;}
}
