
.bebs-tab{border:none;background:none;padding:8px 14px;font-size:12.5px;font-weight:700;cursor:pointer;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px;display:inline-flex;align-items:center;gap:6px}
.bebs-tab.on{color:var(--blue);border-bottom-color:var(--blue)}
/* W24: UM tables scroll INSIDE their wrappers, never the page; long cells
   truncate with tooltips (titles set in the renderers). */
#module-usermgmt .um-table td,#module-usermgmt .um-table th{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#module-usermgmt .um-table td:last-child{max-width:none}
@media (max-width: 900px) {
  .um-table{min-width:640px}
}
@media (max-width: 860px) {
  .um-filterbar>input,.um-filterbar>select{flex:1 1 45%;min-width:0;width:auto;box-sizing:border-box}
  .um-filterbar #umfSearch{flex:1 1 100%}
  .um-filterbar .btn{flex:1 1 100%;justify-content:center}
  #module-usermgmt .um-table td,#module-usermgmt .um-table th{max-width:170px}
  #module-usermgmt .um-table td:last-child{max-width:none}
}
.bebs-tl{display:inline-flex;align-items:center;gap:0;vertical-align:middle}
.bebs-tl .seg{width:26px;height:5px;border-radius:3px;margin-right:3px;background:#e0e3e8}
.bebs-tl .seg.done{background:#399845}
.bebs-tl .seg.cur{background:var(--blue);animation:bebsPulse 1.6s ease-in-out infinite}
.bebs-tl .seg.warn{background:#d98e28}
@keyframes bebsPulse{0%,100%{opacity:1}50%{opacity:.45}}
.bebs-tl-steps{display:flex;gap:0;align-items:flex-start;margin:8px 0 2px}
.bebs-tl-step{flex:1;text-align:center;position:relative;font-size:10.5px;color:var(--muted)}
.bebs-tl-step .dot{width:14px;height:14px;border-radius:50%;background:#e0e3e8;margin:0 auto 4px;border:2px solid #fff;box-shadow:0 0 0 1px #d5d5d8;position:relative;z-index:2}
.bebs-tl-step.done .dot{background:#399845;box-shadow:0 0 0 1px #399845}
.bebs-tl-step.cur .dot{background:var(--blue);box-shadow:0 0 0 1px var(--blue);animation:bebsPulse 1.6s ease-in-out infinite}
.bebs-tl-step:not(:first-child)::before{content:'';position:absolute;top:6px;left:-50%;width:100%;height:2px;background:#e0e3e8;z-index:1}
.bebs-tl-step.done:not(:first-child)::before{background:#399845}
.bebs-tl-step.cur:not(:first-child)::before{background:#399845}
.bebs-tl-step.na .dot{background:#8fce9b;box-shadow:0 0 0 1px #399845}
.bebs-tl-step.na:not(:first-child)::before{background:#399845}
.bebs-tl-step.na + .bebs-tl-step.done::before{background:#399845}
.bebs-tl-step b{display:block;color:var(--text);font-size:10.5px}
/* Shared collapsible sections (Account, B/EBS settings) */
.ade-collapse summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;user-select:none}
.ade-collapse summary::-webkit-details-marker{display:none}
.ade-collapse .ade-collapse-chev{font-size:12px;color:var(--muted);transition:transform .15s ease}
.ade-collapse[open] > summary .ade-collapse-chev{transform:rotate(90deg)}
.ade-collapse summary:hover{color:var(--blue)}
@media (max-width: 900px) {
  .dash-grid{grid-template-columns:repeat(2, 1fr) !important}
  .dash-grid > div{grid-column:span 2 !important}
}
@media (max-width: 760px) {
  #mtModal .modal-card, #mtMgrModal .modal-card, #deCompModal .modal-card{width:100vw !important;max-width:100vw !important;max-height:96vh !important;border-radius:10px 10px 0 0}
  .locdet-grid{grid-template-columns:1fr !important}
  .locdocs-grid{grid-template-columns:1fr !important}
  #mtModal table{font-size:11px !important}
  #mtMgrModal .um-mini{padding:4px 8px}
}
@media (max-width: 760px) {
  .nm-scroll table{font-size:10px;min-width:640px !important}
  .nm-scroll th, .nm-scroll td{padding:2px 3px !important}
  .nm-scroll td:first-child, .nm-scroll th:first-child{max-width:110px;overflow:hidden;text-overflow:ellipsis}
}
