/* TMA Quotations UI v24: Inventory location flow. Segmented control adapted from 21st.dev "Segmented Control" (ddoemonn):
   accessible radiogroup, roving focus with arrow keys, sliding thumb; recoloured to the app's plum, motion via CSS only. */
.tma-seg{position:relative;display:inline-grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));padding:3px;border:1px solid #DDD6E3;border-radius:9px;background:#F6F4F8;box-shadow:inset 0 1px 2px rgba(35,25,43,.07);user-select:none;min-height:38px}
.tma-seg-thumb{position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--n));transform:translateX(calc(var(--i) * 100%));border-radius:6px;background:#603060;box-shadow:0 1px 2px rgba(35,25,43,.28);transition:transform .22s cubic-bezier(.3,.7,.4,1)}
.tma-seg-opt{position:relative;z-index:1;padding:6px 12px;border:0;border-radius:6px;background:none;font-size:13px;font-weight:600;line-height:18px;color:#6B6276;white-space:nowrap;cursor:pointer}
.tma-seg-opt:hover{color:#23192B}
.tma-seg-opt.is-on{color:#fff}
.tma-seg-opt:focus-visible{outline:2px solid #AD1F68;outline-offset:1px}
.tma-seg.is-disabled{opacity:.7}
.tma-seg.is-disabled .tma-seg-opt{cursor:not-allowed}
.tma-seg-field{display:flex;flex-direction:column;gap:0}
.tma-seg-field .tma-seg{width:100%}
.tma-seg-wide{grid-column:span 2}
.tma-mp-staff{display:flex;align-items:center;gap:12px;margin:2px 0 12px;padding:8px 12px;border-radius:8px;background:#EFE6F1;color:#23192B;font-size:13px;line-height:1.45}
.tma-mp-staff-n{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#603060;color:#fff;font-size:18px;font-weight:700}
.tma-mp-roles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px 16px}
.tma-mp-role .label{display:block;margin-bottom:4px}
.tma-mp-subhead{margin:16px 0 8px;font-size:14px;font-weight:700;color:#23192B}
.tma-mp-subhead:first-child{margin-top:0}
@media (pointer:coarse){.tma-seg-opt{min-height:40px}}
@media (max-width:767px){.tma-seg-opt{padding:8px 10px}}
@media (prefers-reduced-motion:reduce){.tma-seg-thumb{transition:none}}
